From ac8fcb80f0eb191cc5e87dba7bee045dbb549c49 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 30 May 2022 03:39:18 +0000 Subject: [PATCH] Generated 2020-05-18 for dataworks-public. --- CHANGELOG | 3 + VERSION | 2 +- dataworks-public/CMakeLists.txt | 52 ++ .../dataworks-public/Dataworks_publicClient.h | 104 ++++ .../model/AbolishDataServiceApiRequest.h | 80 ++- .../model/AddProjectMemberToRoleRequest.h | 86 ++-- .../model/AddToMetaCategoryRequest.h | 74 ++- .../ApprovePermissionApplyOrderRequest.h | 80 ++- .../model/CheckFileDeploymentRequest.h | 80 ++- .../model/CheckMetaPartitionRequest.h | 98 ++-- .../model/CheckMetaTableRequest.h | 92 ++-- .../model/CreateBusinessRequest.h | 98 ++-- .../model/CreateConnectionRequest.h | 104 ++-- .../model/CreateDISyncTaskRequest.h | 98 ++-- .../model/CreateDagComplementRequest.h | 128 +++-- .../model/CreateDagTestRequest.h | 92 ++-- .../CreateDataServiceApiAuthorityRequest.h | 92 ++-- .../model/CreateDataServiceApiRequest.h | 158 +++--- .../model/CreateDataServiceFolderRequest.h | 92 ++-- .../model/CreateDataServiceGroupRequest.h | 92 ++-- .../model/CreateDataSourceRequest.h | 104 ++-- .../model/CreateExportMigrationRequest.h | 98 ++-- .../model/CreateFileRequest.h | 236 +++++---- .../model/CreateFolderRequest.h | 80 ++- .../model/CreateImportMigrationRequest.h | 116 ++--- .../model/CreateManualDagRequest.h | 110 ++-- .../model/CreateMetaCategoryRequest.h | 80 ++- .../model/CreatePermissionApplyOrderRequest.h | 129 +++-- .../model/CreateProjectMemberRequest.h | 86 ++-- .../model/CreateQualityEntityRequest.h | 92 ++-- .../model/CreateQualityFollowerRequest.h | 86 ++-- .../model/CreateQualityRelativeNodeRequest.h | 110 ++-- .../model/CreateQualityRuleRequest.h | 170 +++---- .../model/CreateRemindRequest.h | 152 +++--- .../model/CreateTableLevelRequest.h | 86 ++-- .../model/CreateTableRequest.h | 205 ++++---- .../model/CreateTableThemeRequest.h | 86 ++-- .../model/CreateUdfFileRequest.h | 134 +++-- .../model/DeleteBusinessRequest.h | 80 ++- .../model/DeleteConnectionRequest.h | 68 ++- .../model/DeleteDISyncTaskRequest.h | 80 ++- .../DeleteDataServiceApiAuthorityRequest.h | 86 ++-- .../model/DeleteDataServiceApiRequest.h | 80 ++- .../model/DeleteDataSourceRequest.h | 68 ++- .../model/DeleteFileRequest.h | 80 ++- .../model/DeleteFolderRequest.h | 80 ++- .../model/DeleteFromMetaCategoryRequest.h | 74 ++- .../model/DeleteMetaCategoryRequest.h | 68 ++- .../model/DeleteProjectMemberRequest.h | 74 ++- .../model/DeleteQualityEntityRequest.h | 80 ++- .../model/DeleteQualityFollowerRequest.h | 74 ++- .../model/DeleteQualityRelativeNodeRequest.h | 110 ++-- .../model/DeleteQualityRuleRequest.h | 74 ++- .../model/DeleteRemindRequest.h | 68 ++- .../model/DeleteTableLevelRequest.h | 74 ++- .../model/DeleteTableRequest.h | 86 ++-- .../model/DeleteTableThemeRequest.h | 74 ++- .../model/DeployDISyncTaskRequest.h | 80 ++- .../model/DeployFileRequest.h | 92 ++-- .../model/DesensitizeDataRequest.h | 74 ++- .../EstablishRelationTableToBusinessRequest.h | 92 ++-- .../model/ExportDataSourcesRequest.h | 104 ++-- ...nerateDISyncTaskConfigForCreatingRequest.h | 86 ++-- ...nerateDISyncTaskConfigForUpdatingRequest.h | 92 ++-- .../model/GetBaselineConfigRequest.h | 68 ++- .../model/GetBaselineKeyPathRequest.h | 80 ++- .../model/GetBaselineStatusRequest.h | 80 ++- .../model/GetBusinessRequest.h | 80 ++- .../model/GetDDLJobStatusRequest.h | 68 ++- .../model/GetDISyncInstanceInfoRequest.h | 80 ++- .../model/GetDISyncTaskMetricInfoRequest.h | 86 ++-- .../model/GetDISyncTaskRequest.h | 80 ++- .../dataworks-public/model/GetDagRequest.h | 74 ++- .../model/GetDataServiceApiRequest.h | 80 ++- .../model/GetDataServiceApiResult.h | 4 +- .../model/GetDataServiceApiTestRequest.h | 42 ++ .../model/GetDataServiceApiTestResult.h | 62 +++ .../model/GetDataServiceApplicationRequest.h | 80 ++- .../model/GetDataServiceApplicationResult.h | 2 +- .../model/GetDataServiceFolderRequest.h | 80 ++- .../model/GetDataServiceGroupRequest.h | 80 ++- .../model/GetDataServicePublishedApiRequest.h | 80 ++- .../model/GetDataServicePublishedApiResult.h | 4 +- .../model/GetDataSourceMetaRequest.h | 92 ++-- .../model/GetDeploymentRequest.h | 80 ++- .../model/GetDutyRosterRequest.h | 54 ++ .../model/GetDutyRosterResult.h | 65 +++ .../model/GetExtensionRequest.h | 42 ++ .../model/GetExtensionResult.h | 75 +++ .../dataworks-public/model/GetFileRequest.h | 86 ++-- .../model/GetFileTypeStatisticRequest.h | 74 ++- .../model/GetFileTypeStatisticResult.h | 2 +- .../model/GetFileVersionRequest.h | 86 ++-- .../dataworks-public/model/GetFolderRequest.h | 86 ++-- .../model/GetIDEEventDetailRequest.h | 74 ++- .../model/GetInstanceConsumeTimeRankRequest.h | 74 ++- .../model/GetInstanceCountTrendRequest.h | 80 ++- .../model/GetInstanceErrorRankRequest.h | 68 ++- .../model/GetInstanceLogRequest.h | 74 ++- .../model/GetInstanceRequest.h | 74 ++- .../model/GetInstanceStatusCountRequest.h | 80 ++- .../model/GetInstanceStatusStatisticRequest.h | 92 ++-- .../model/GetManualDagInstancesRequest.h | 80 ++- .../model/GetMetaCategoryRequest.h | 80 ++- .../model/GetMetaCategoryResult.h | 2 +- .../model/GetMetaColumnLineageRequest.h | 116 ++--- .../model/GetMetaDBInfoRequest.h | 86 ++-- .../model/GetMetaDBTableListRequest.h | 98 ++-- .../model/GetMetaTableBasicInfoRequest.h | 98 ++-- .../model/GetMetaTableChangeLogRequest.h | 104 ++-- .../model/GetMetaTableColumnRequest.h | 104 ++-- .../model/GetMetaTableFullInfoRequest.h | 104 ++-- .../model/GetMetaTableIntroWikiRequest.h | 74 ++- .../model/GetMetaTableLineageRequest.h | 110 ++-- .../model/GetMetaTableListByCategoryRequest.h | 80 ++- .../model/GetMetaTableOutputRequest.h | 92 ++-- .../model/GetMetaTablePartitionRequest.h | 104 ++-- .../model/GetMetaTableThemeLevelRequest.h | 74 ++- .../model/GetMigrationProcessRequest.h | 74 ++- .../model/GetMigrationSummaryRequest.h | 74 ++- .../model/GetNodeChildrenRequest.h | 74 ++- .../model/GetNodeCodeRequest.h | 74 ++- .../model/GetNodeOnBaselineRequest.h | 68 ++- .../model/GetNodeParentsRequest.h | 74 ++- .../dataworks-public/model/GetNodeRequest.h | 74 ++- .../model/GetNodeTypeListInfoRequest.h | 98 ++-- .../model/GetOpRiskDataRequest.h | 92 ++-- .../model/GetOpSensitiveDataRequest.h | 92 ++-- .../model/GetOptionValueForProjectRequest.h | 45 ++ .../model/GetOptionValueForProjectResult.h | 51 ++ .../GetPermissionApplyOrderDetailRequest.h | 68 ++- .../model/GetProjectDetailRequest.h | 68 ++- .../model/GetProjectRequest.h | 68 ++- .../model/GetQualityEntityRequest.h | 86 ++-- .../model/GetQualityFollowerRequest.h | 74 ++- .../model/GetQualityRuleRequest.h | 74 ++- .../dataworks-public/model/GetRemindRequest.h | 68 ++- .../model/GetSensitiveDataRequest.h | 80 ++- .../model/GetSuccessInstanceTrendRequest.h | 68 ++- .../model/GetTopicInfluenceRequest.h | 68 ++- .../dataworks-public/model/GetTopicRequest.h | 68 ++- .../model/ImportDataSourcesRequest.h | 74 ++- .../model/ListAlertMessagesRequest.h | 110 ++-- .../model/ListBaselineConfigsRequest.h | 110 ++-- .../model/ListBaselineStatusesRequest.h | 122 +++-- .../model/ListBusinessRequest.h | 92 ++-- .../model/ListCalcEnginesRequest.h | 98 ++-- .../model/ListConnectionsRequest.h | 110 ++-- .../ListCurrentTasksForResourceGroupRequest.h | 54 ++ .../ListCurrentTasksForResourceGroupResult.h | 76 +++ .../ListCurrentUsageForResourceGroupRequest.h | 45 ++ .../ListCurrentUsageForResourceGroupResult.h | 62 +++ .../model/ListDIProjectConfigRequest.h | 80 ++- .../dataworks-public/model/ListDagsRequest.h | 74 ++- .../ListDataServiceApiAuthoritiesRequest.h | 92 ++-- .../model/ListDataServiceApiTestRequest.h | 45 ++ .../model/ListDataServiceApiTestResult.h | 62 +++ .../model/ListDataServiceApisRequest.h | 104 ++-- .../model/ListDataServiceApisResult.h | 4 +- .../ListDataServiceApplicationsRequest.h | 86 ++-- .../ListDataServiceAuthorizedApisRequest.h | 92 ++-- .../model/ListDataServiceFoldersRequest.h | 98 ++-- .../model/ListDataServiceGroupsRequest.h | 92 ++-- .../model/ListDataServiceGroupsResult.h | 2 +- .../ListDataServicePublishedApisRequest.h | 104 ++-- .../ListDataServicePublishedApisResult.h | 4 +- .../model/ListDataSourcesRequest.h | 110 ++-- .../model/ListDataSourcesResult.h | 4 +- .../model/ListDeploymentsRequest.h | 122 +++-- .../model/ListDutyRostersRequest.h | 51 ++ .../model/ListDutyRostersResult.h | 63 +++ .../model/ListExtensionsRequest.h | 45 ++ .../model/ListExtensionsResult.h | 72 +++ .../model/ListFileTypeRequest.h | 98 ++-- .../model/ListFileVersionsRequest.h | 92 ++-- .../dataworks-public/model/ListFilesRequest.h | 122 +++-- .../model/ListFoldersRequest.h | 92 ++-- .../ListHistoryTasksForResourceGroupRequest.h | 57 +++ .../ListHistoryTasksForResourceGroupResult.h | 75 +++ .../model/ListInstanceAmountRequest.h | 80 ++- .../model/ListInstancesRequest.h | 140 +++--- .../model/ListManualDagInstancesRequest.h | 80 ++- .../model/ListMetaDBRequest.h | 92 ++-- .../model/ListMigrationsRequest.h | 54 ++ .../model/ListMigrationsResult.h | 79 +++ .../model/ListNodeIORequest.h | 80 ++- .../model/ListNodeInputOrOutputRequest.h | 80 ++- .../model/ListNodesByBaselineRequest.h | 68 ++- .../model/ListNodesByOutputRequest.h | 80 ++- .../dataworks-public/model/ListNodesRequest.h | 110 ++-- .../model/ListPermissionApplyOrdersRequest.h | 128 +++-- .../model/ListPermissionApplyOrdersResult.h | 2 +- .../model/ListProgramTypeCountRequest.h | 74 ++- .../model/ListProjectIdsRequest.h | 68 ++- .../model/ListProjectMembersRequest.h | 80 ++- .../model/ListProjectMembersResult.h | 2 +- .../model/ListProjectRolesRequest.h | 68 ++- .../model/ListProjectRolesResult.h | 2 +- .../model/ListProjectsRequest.h | 74 ++- .../model/ListQualityResultsByEntityRequest.h | 98 ++-- .../model/ListQualityResultsByRuleRequest.h | 98 ++-- .../model/ListQualityRulesRequest.h | 86 ++-- .../model/ListRefDISyncTasksRequest.h | 98 ++-- .../model/ListRemindsRequest.h | 104 ++-- .../model/ListResourceGroupsRequest.h | 80 ++- .../model/ListResourceGroupsResult.h | 4 +- .../model/ListSuccessInstanceAmountRequest.h | 68 ++- .../model/ListTableLevelRequest.h | 86 ++-- .../model/ListTableThemeRequest.h | 86 ++-- .../model/ListTopicsRequest.h | 116 ++--- .../model/ListUsageForResourceGroupRequest.h | 51 ++ .../model/ListUsageForResourceGroupResult.h | 64 +++ .../model/PublishDataServiceApiRequest.h | 80 ++- ...ueryDISyncTaskConfigProcessResultRequest.h | 80 ++- .../model/QueryPublicModelEngineRequest.h | 74 ++- .../RemoveProjectMemberFromRoleRequest.h | 80 ++- .../model/RestartInstanceRequest.h | 74 ++- .../model/ResumeInstanceRequest.h | 74 ++- .../model/RevokeColumnPermissionRequest.h | 98 ++-- .../model/RevokeTablePermissionRequest.h | 98 ++-- .../model/RunCycleDagNodesRequest.h | 128 +++-- .../model/RunManualDagNodesRequest.h | 116 ++--- .../model/RunSmokeTestRequest.h | 92 ++-- .../model/RunTriggerNodeRequest.h | 86 ++-- .../model/ScanSensitiveDataRequest.h | 68 ++- .../model/SearchMetaTablesRequest.h | 104 ++-- .../model/SearchNodesByOutputRequest.h | 74 ++- .../model/SetDataSourceShareRequest.h | 92 ++-- .../model/SetSuccessInstanceRequest.h | 74 ++- .../model/StartDISyncInstanceRequest.h | 86 ++-- .../model/StartMigrationRequest.h | 74 ++- .../model/StopDISyncInstanceRequest.h | 80 ++- .../model/StopInstanceRequest.h | 74 ++- .../model/SubmitFileRequest.h | 86 ++-- .../model/SuspendInstanceRequest.h | 74 ++- .../model/TerminateDISyncInstanceRequest.h | 80 ++- .../model/TestDataServiceApiRequest.h | 73 +++ .../model/TestDataServiceApiResult.h | 55 ++ .../model/TestNetworkConnectionRequest.h | 86 ++-- .../model/TopTenElapsedTimeInstanceRequest.h | 68 ++- .../model/TopTenErrorTimesInstanceRequest.h | 68 ++- .../model/UpdateBusinessRequest.h | 98 ++-- .../model/UpdateConnectionRequest.h | 92 ++-- .../model/UpdateDIProjectConfigRequest.h | 86 ++-- .../model/UpdateDISyncTaskRequest.h | 92 ++-- .../model/UpdateDataServiceApiRequest.h | 140 +++--- .../model/UpdateDataSourceRequest.h | 92 ++-- .../model/UpdateFileRequest.h | 236 +++++---- .../model/UpdateFolderRequest.h | 86 ++-- .../model/UpdateIDEEventResultRequest.h | 86 ++-- .../model/UpdateMetaCategoryRequest.h | 80 ++- .../model/UpdateMetaTableIntroWikiRequest.h | 74 ++- .../model/UpdateMetaTableRequest.h | 122 +++-- .../model/UpdateNodeOwnerRequest.h | 80 ++- .../model/UpdateNodeRunModeRequest.h | 80 ++- .../model/UpdateQualityFollowerRequest.h | 86 ++-- .../model/UpdateQualityRuleRequest.h | 182 ++++--- .../model/UpdateRemindRequest.h | 164 +++--- .../model/UpdateTableAddColumnRequest.h | 88 ++-- .../model/UpdateTableLevelRequest.h | 92 ++-- .../model/UpdateTableModelInfoRequest.h | 92 ++-- .../model/UpdateTableRequest.h | 205 ++++---- .../model/UpdateTableThemeRequest.h | 80 ++- .../model/UpdateUdfFileRequest.h | 134 +++-- .../model/UpdateWorkbenchEventResultRequest.h | 86 ++-- .../src/Dataworks-publicClient.cc | 468 ++++++++++++++++++ .../src/model/AbolishDataServiceApiRequest.cc | 70 ++- .../src/model/AbolishDataServiceApiResult.cc | 12 +- .../model/AddProjectMemberToRoleRequest.cc | 82 ++- .../src/model/AddToMetaCategoryRequest.cc | 58 +-- .../ApprovePermissionApplyOrderRequest.cc | 70 ++- .../src/model/CheckFileDeploymentRequest.cc | 70 ++- .../src/model/CheckMetaPartitionRequest.cc | 106 ++-- .../src/model/CheckMetaTableRequest.cc | 94 ++-- .../src/model/CreateBusinessRequest.cc | 106 ++-- .../src/model/CreateConnectionRequest.cc | 118 ++--- .../src/model/CreateDISyncTaskRequest.cc | 106 ++-- .../src/model/CreateDagComplementRequest.cc | 166 +++---- .../src/model/CreateDagTestRequest.cc | 94 ++-- .../CreateDataServiceApiAuthorityRequest.cc | 94 ++-- .../src/model/CreateDataServiceApiRequest.cc | 226 ++++----- .../src/model/CreateDataServiceApiResult.cc | 12 +- .../model/CreateDataServiceFolderRequest.cc | 94 ++-- .../model/CreateDataServiceGroupRequest.cc | 94 ++-- .../src/model/CreateDataSourceRequest.cc | 118 ++--- .../src/model/CreateDataSourceResult.cc | 4 +- .../src/model/CreateExportMigrationRequest.cc | 106 ++-- .../src/model/CreateFileRequest.cc | 382 ++++++-------- .../src/model/CreateFolderRequest.cc | 70 ++- .../src/model/CreateImportMigrationRequest.cc | 142 +++--- .../src/model/CreateManualDagRequest.cc | 130 +++-- .../src/model/CreateMetaCategoryRequest.cc | 70 ++- .../CreatePermissionApplyOrderRequest.cc | 150 +++--- .../src/model/CreateProjectMemberRequest.cc | 82 ++- .../src/model/CreateQualityEntityRequest.cc | 94 ++-- .../src/model/CreateQualityFollowerRequest.cc | 82 ++- .../model/CreateQualityRelativeNodeRequest.cc | 130 +++-- .../src/model/CreateQualityRuleRequest.cc | 250 ++++------ .../src/model/CreateRemindRequest.cc | 214 ++++---- .../src/model/CreateTableLevelRequest.cc | 82 ++- .../src/model/CreateTableRequest.cc | 292 +++++------ .../src/model/CreateTableThemeRequest.cc | 82 ++- .../src/model/CreateUdfFileRequest.cc | 178 +++---- .../src/model/DeleteBusinessRequest.cc | 70 ++- .../src/model/DeleteConnectionRequest.cc | 46 +- .../src/model/DeleteDISyncTaskRequest.cc | 70 ++- .../DeleteDataServiceApiAuthorityRequest.cc | 82 ++- .../src/model/DeleteDataServiceApiRequest.cc | 70 ++- .../src/model/DeleteDataServiceApiResult.cc | 12 +- .../src/model/DeleteDataSourceRequest.cc | 46 +- .../src/model/DeleteDataSourceResult.cc | 4 +- .../src/model/DeleteFileRequest.cc | 70 ++- .../src/model/DeleteFolderRequest.cc | 70 ++- .../model/DeleteFromMetaCategoryRequest.cc | 58 +-- .../src/model/DeleteMetaCategoryRequest.cc | 46 +- .../src/model/DeleteProjectMemberRequest.cc | 58 +-- .../src/model/DeleteQualityEntityRequest.cc | 70 ++- .../src/model/DeleteQualityFollowerRequest.cc | 58 +-- .../model/DeleteQualityRelativeNodeRequest.cc | 130 +++-- .../src/model/DeleteQualityRuleRequest.cc | 58 +-- .../src/model/DeleteRemindRequest.cc | 46 +- .../src/model/DeleteTableLevelRequest.cc | 58 +-- .../src/model/DeleteTableRequest.cc | 82 ++- .../src/model/DeleteTableThemeRequest.cc | 58 +-- .../src/model/DeployDISyncTaskRequest.cc | 70 ++- .../src/model/DeployFileRequest.cc | 94 ++-- .../src/model/DesensitizeDataRequest.cc | 58 +-- ...EstablishRelationTableToBusinessRequest.cc | 94 ++-- .../src/model/ExportDataSourcesRequest.cc | 118 ++--- ...erateDISyncTaskConfigForCreatingRequest.cc | 82 ++- ...erateDISyncTaskConfigForUpdatingRequest.cc | 94 ++-- .../src/model/GetBaselineConfigRequest.cc | 46 +- .../src/model/GetBaselineKeyPathRequest.cc | 70 ++- .../src/model/GetBaselineStatusRequest.cc | 70 ++- .../src/model/GetBusinessRequest.cc | 70 ++- .../src/model/GetDDLJobStatusRequest.cc | 46 +- .../src/model/GetDISyncInstanceInfoRequest.cc | 70 ++- .../model/GetDISyncTaskMetricInfoRequest.cc | 82 ++- .../src/model/GetDISyncTaskRequest.cc | 70 ++- dataworks-public/src/model/GetDagRequest.cc | 58 +-- .../src/model/GetDataServiceApiRequest.cc | 70 ++- .../src/model/GetDataServiceApiResult.cc | 168 +++---- .../src/model/GetDataServiceApiTestRequest.cc | 36 ++ .../src/model/GetDataServiceApiTestResult.cc | 66 +++ .../model/GetDataServiceApplicationRequest.cc | 70 ++- .../model/GetDataServiceApplicationResult.cc | 16 +- .../src/model/GetDataServiceFolderRequest.cc | 70 ++- .../src/model/GetDataServiceFolderResult.cc | 24 +- .../src/model/GetDataServiceGroupRequest.cc | 70 ++- .../src/model/GetDataServiceGroupResult.cc | 28 +- .../GetDataServicePublishedApiRequest.cc | 70 ++- .../model/GetDataServicePublishedApiResult.cc | 180 +++---- .../src/model/GetDataSourceMetaRequest.cc | 94 ++-- .../src/model/GetDeploymentRequest.cc | 70 ++- .../src/model/GetDutyRosterRequest.cc | 72 +++ .../src/model/GetDutyRosterResult.cc | 70 +++ .../src/model/GetExtensionRequest.cc | 36 ++ .../src/model/GetExtensionResult.cc | 88 ++++ dataworks-public/src/model/GetFileRequest.cc | 82 ++- .../src/model/GetFileTypeStatisticRequest.cc | 58 +-- .../src/model/GetFileTypeStatisticResult.cc | 4 +- .../src/model/GetFileVersionRequest.cc | 82 ++- .../src/model/GetFolderRequest.cc | 82 ++- .../src/model/GetIDEEventDetailRequest.cc | 58 +-- .../GetInstanceConsumeTimeRankRequest.cc | 58 +-- .../src/model/GetInstanceCountTrendRequest.cc | 70 ++- .../src/model/GetInstanceErrorRankRequest.cc | 46 +- .../src/model/GetInstanceLogRequest.cc | 58 +-- .../src/model/GetInstanceLogResult.cc | 12 +- .../src/model/GetInstanceRequest.cc | 58 +-- .../model/GetInstanceStatusCountRequest.cc | 70 ++- .../GetInstanceStatusStatisticRequest.cc | 94 ++-- .../src/model/GetManualDagInstancesRequest.cc | 70 ++- .../src/model/GetMetaCategoryRequest.cc | 70 ++- .../src/model/GetMetaCategoryResult.cc | 40 +- .../src/model/GetMetaColumnLineageRequest.cc | 142 +++--- .../src/model/GetMetaDBInfoRequest.cc | 82 ++- .../src/model/GetMetaDBTableListRequest.cc | 106 ++-- .../src/model/GetMetaTableBasicInfoRequest.cc | 106 ++-- .../src/model/GetMetaTableChangeLogRequest.cc | 118 ++--- .../src/model/GetMetaTableColumnRequest.cc | 118 ++--- .../src/model/GetMetaTableFullInfoRequest.cc | 118 ++--- .../src/model/GetMetaTableIntroWikiRequest.cc | 58 +-- .../src/model/GetMetaTableLineageRequest.cc | 130 +++-- .../GetMetaTableListByCategoryRequest.cc | 70 ++- .../src/model/GetMetaTableOutputRequest.cc | 94 ++-- .../src/model/GetMetaTablePartitionRequest.cc | 118 ++--- .../model/GetMetaTableThemeLevelRequest.cc | 58 +-- .../src/model/GetMigrationProcessRequest.cc | 58 +-- .../src/model/GetMigrationSummaryRequest.cc | 58 +-- .../src/model/GetNodeChildrenRequest.cc | 58 +-- .../src/model/GetNodeCodeRequest.cc | 58 +-- .../src/model/GetNodeCodeResult.cc | 12 +- .../src/model/GetNodeOnBaselineRequest.cc | 46 +- .../src/model/GetNodeParentsRequest.cc | 58 +-- dataworks-public/src/model/GetNodeRequest.cc | 58 +-- dataworks-public/src/model/GetNodeResult.cc | 68 +-- .../src/model/GetNodeTypeListInfoRequest.cc | 106 ++-- .../src/model/GetOpRiskDataRequest.cc | 94 ++-- .../src/model/GetOpSensitiveDataRequest.cc | 94 ++-- .../model/GetOptionValueForProjectRequest.cc | 45 ++ .../model/GetOptionValueForProjectResult.cc | 51 ++ .../GetPermissionApplyOrderDetailRequest.cc | 46 +- .../GetPermissionApplyOrderDetailResult.cc | 16 +- .../src/model/GetProjectDetailRequest.cc | 46 +- .../src/model/GetProjectRequest.cc | 46 +- .../src/model/GetQualityEntityRequest.cc | 82 ++- .../src/model/GetQualityFollowerRequest.cc | 58 +-- .../src/model/GetQualityRuleRequest.cc | 58 +-- .../src/model/GetRemindRequest.cc | 46 +- .../src/model/GetSensitiveDataRequest.cc | 70 ++- .../model/GetSuccessInstanceTrendRequest.cc | 46 +- .../src/model/GetTopicInfluenceRequest.cc | 46 +- dataworks-public/src/model/GetTopicRequest.cc | 46 +- .../src/model/ImportDataSourcesRequest.cc | 58 +-- .../src/model/ListAlertMessagesRequest.cc | 130 +++-- .../src/model/ListBaselineConfigsRequest.cc | 130 +++-- .../src/model/ListBaselineStatusesRequest.cc | 154 +++--- .../src/model/ListBusinessRequest.cc | 94 ++-- .../src/model/ListCalcEnginesRequest.cc | 106 ++-- .../src/model/ListConnectionsRequest.cc | 130 +++-- ...ListCurrentTasksForResourceGroupRequest.cc | 72 +++ .../ListCurrentTasksForResourceGroupResult.cc | 104 ++++ ...ListCurrentUsageForResourceGroupRequest.cc | 45 ++ .../ListCurrentUsageForResourceGroupResult.cc | 75 +++ .../src/model/ListDIProjectConfigRequest.cc | 70 ++- dataworks-public/src/model/ListDagsRequest.cc | 58 +-- .../ListDataServiceApiAuthoritiesRequest.cc | 94 ++-- .../ListDataServiceApiAuthoritiesResult.cc | 40 +- .../model/ListDataServiceApiTestRequest.cc | 45 ++ .../src/model/ListDataServiceApiTestResult.cc | 71 +++ .../src/model/ListDataServiceApisRequest.cc | 118 ++--- .../src/model/ListDataServiceApisResult.cc | 168 +++---- .../ListDataServiceApplicationsRequest.cc | 82 ++- .../ListDataServiceApplicationsResult.cc | 12 +- .../ListDataServiceAuthorizedApisRequest.cc | 94 ++-- .../ListDataServiceAuthorizedApisResult.cc | 40 +- .../model/ListDataServiceFoldersRequest.cc | 106 ++-- .../src/model/ListDataServiceFoldersResult.cc | 16 +- .../src/model/ListDataServiceGroupsRequest.cc | 94 ++-- .../src/model/ListDataServiceGroupsResult.cc | 28 +- .../ListDataServicePublishedApisRequest.cc | 118 ++--- .../ListDataServicePublishedApisResult.cc | 180 +++---- .../src/model/ListDataSourcesRequest.cc | 130 +++-- .../src/model/ListDataSourcesResult.cc | 36 +- .../src/model/ListDeploymentsRequest.cc | 154 +++--- .../src/model/ListDutyRostersRequest.cc | 63 +++ .../src/model/ListDutyRostersResult.cc | 66 +++ .../src/model/ListExtensionsRequest.cc | 45 ++ .../src/model/ListExtensionsResult.cc | 82 +++ .../src/model/ListFileTypeRequest.cc | 106 ++-- .../src/model/ListFileTypeResult.cc | 4 +- .../src/model/ListFileVersionsRequest.cc | 94 ++-- .../src/model/ListFilesRequest.cc | 154 +++--- .../src/model/ListFoldersRequest.cc | 94 ++-- ...ListHistoryTasksForResourceGroupRequest.cc | 81 +++ .../ListHistoryTasksForResourceGroupResult.cc | 102 ++++ .../src/model/ListInstanceAmountRequest.cc | 70 ++- .../src/model/ListInstancesRequest.cc | 190 +++---- .../model/ListManualDagInstancesRequest.cc | 70 ++- .../src/model/ListMetaDBRequest.cc | 94 ++-- .../src/model/ListMigrationsRequest.cc | 72 +++ .../src/model/ListMigrationsResult.cc | 101 ++++ .../src/model/ListNodeIORequest.cc | 70 ++- .../src/model/ListNodeInputOrOutputRequest.cc | 70 ++- .../src/model/ListNodeInputOrOutputResult.cc | 12 +- .../src/model/ListNodesByBaselineRequest.cc | 46 +- .../src/model/ListNodesByOutputRequest.cc | 70 ++- .../src/model/ListNodesByOutputResult.cc | 72 +-- .../src/model/ListNodesRequest.cc | 130 +++-- dataworks-public/src/model/ListNodesResult.cc | 64 +-- .../model/ListPermissionApplyOrdersRequest.cc | 166 +++---- .../model/ListPermissionApplyOrdersResult.cc | 4 +- .../src/model/ListProgramTypeCountRequest.cc | 58 +-- .../src/model/ListProjectIdsRequest.cc | 46 +- .../src/model/ListProjectMembersRequest.cc | 70 ++- .../src/model/ListProjectMembersResult.cc | 16 +- .../src/model/ListProjectRolesRequest.cc | 46 +- .../src/model/ListProjectRolesResult.cc | 8 +- .../src/model/ListProjectsRequest.cc | 58 +-- .../ListQualityResultsByEntityRequest.cc | 106 ++-- .../model/ListQualityResultsByRuleRequest.cc | 106 ++-- .../src/model/ListQualityRulesRequest.cc | 82 ++- .../src/model/ListRefDISyncTasksRequest.cc | 106 ++-- .../src/model/ListRemindsRequest.cc | 118 ++--- .../src/model/ListResourceGroupsRequest.cc | 70 ++- .../src/model/ListResourceGroupsResult.cc | 52 +- .../model/ListSuccessInstanceAmountRequest.cc | 46 +- .../src/model/ListTableLevelRequest.cc | 82 ++- .../src/model/ListTableThemeRequest.cc | 82 ++- .../src/model/ListTopicsRequest.cc | 142 +++--- .../model/ListUsageForResourceGroupRequest.cc | 63 +++ .../model/ListUsageForResourceGroupResult.cc | 87 ++++ .../src/model/PublishDataServiceApiRequest.cc | 70 ++- .../src/model/PublishDataServiceApiResult.cc | 12 +- ...eryDISyncTaskConfigProcessResultRequest.cc | 70 ++- .../model/QueryPublicModelEngineRequest.cc | 58 +-- .../RemoveProjectMemberFromRoleRequest.cc | 70 ++- .../src/model/RestartInstanceRequest.cc | 58 +-- .../src/model/RestartInstanceResult.cc | 12 +- .../src/model/ResumeInstanceRequest.cc | 58 +-- .../src/model/ResumeInstanceResult.cc | 12 +- .../model/RevokeColumnPermissionRequest.cc | 106 ++-- .../src/model/RevokeTablePermissionRequest.cc | 106 ++-- .../src/model/RunCycleDagNodesRequest.cc | 166 +++---- .../src/model/RunManualDagNodesRequest.cc | 142 +++--- .../src/model/RunSmokeTestRequest.cc | 94 ++-- .../src/model/RunSmokeTestResult.cc | 12 +- .../src/model/RunTriggerNodeRequest.cc | 82 ++- .../src/model/ScanSensitiveDataRequest.cc | 46 +- .../src/model/SearchMetaTablesRequest.cc | 118 ++--- .../src/model/SearchNodesByOutputRequest.cc | 58 +-- .../src/model/SetDataSourceShareRequest.cc | 94 ++-- .../src/model/SetSuccessInstanceRequest.cc | 58 +-- .../src/model/SetSuccessInstanceResult.cc | 12 +- .../src/model/StartDISyncInstanceRequest.cc | 82 ++- .../src/model/StartMigrationRequest.cc | 58 +-- .../src/model/StopDISyncInstanceRequest.cc | 70 ++- .../src/model/StopInstanceRequest.cc | 58 +-- .../src/model/StopInstanceResult.cc | 12 +- .../src/model/SubmitFileRequest.cc | 82 ++- .../src/model/SuspendInstanceRequest.cc | 58 +-- .../src/model/SuspendInstanceResult.cc | 12 +- .../model/TerminateDISyncInstanceRequest.cc | 70 ++- .../src/model/TestDataServiceApiRequest.cc | 101 ++++ .../src/model/TestDataServiceApiResult.cc | 52 ++ .../src/model/TestNetworkConnectionRequest.cc | 82 ++- .../model/TopTenElapsedTimeInstanceRequest.cc | 46 +- .../model/TopTenErrorTimesInstanceRequest.cc | 46 +- .../src/model/UpdateBusinessRequest.cc | 106 ++-- .../src/model/UpdateConnectionRequest.cc | 94 ++-- .../src/model/UpdateDIProjectConfigRequest.cc | 82 ++- .../src/model/UpdateDISyncTaskRequest.cc | 94 ++-- .../src/model/UpdateDataServiceApiRequest.cc | 190 +++---- .../src/model/UpdateDataServiceApiResult.cc | 12 +- .../src/model/UpdateDataSourceRequest.cc | 94 ++-- .../src/model/UpdateDataSourceResult.cc | 4 +- .../src/model/UpdateFileRequest.cc | 382 ++++++-------- .../src/model/UpdateFolderRequest.cc | 82 ++- .../src/model/UpdateIDEEventResultRequest.cc | 82 ++- .../src/model/UpdateMetaCategoryRequest.cc | 70 ++- .../model/UpdateMetaTableIntroWikiRequest.cc | 58 +-- .../src/model/UpdateMetaTableRequest.cc | 154 +++--- .../src/model/UpdateNodeOwnerRequest.cc | 70 ++- .../src/model/UpdateNodeRunModeRequest.cc | 70 ++- .../src/model/UpdateQualityFollowerRequest.cc | 82 ++- .../src/model/UpdateQualityRuleRequest.cc | 274 +++++----- .../src/model/UpdateRemindRequest.cc | 238 ++++----- .../src/model/UpdateTableAddColumnRequest.cc | 72 ++- .../src/model/UpdateTableLevelRequest.cc | 94 ++-- .../src/model/UpdateTableModelInfoRequest.cc | 94 ++-- .../src/model/UpdateTableRequest.cc | 292 +++++------ .../src/model/UpdateTableThemeRequest.cc | 70 ++- .../src/model/UpdateUdfFileRequest.cc | 178 +++---- .../UpdateWorkbenchEventResultRequest.cc | 82 ++- 555 files changed, 23168 insertions(+), 23174 deletions(-) create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiRequest.h create mode 100644 dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiResult.h create mode 100644 dataworks-public/src/model/GetDataServiceApiTestRequest.cc create mode 100644 dataworks-public/src/model/GetDataServiceApiTestResult.cc create mode 100644 dataworks-public/src/model/GetDutyRosterRequest.cc create mode 100644 dataworks-public/src/model/GetDutyRosterResult.cc create mode 100644 dataworks-public/src/model/GetExtensionRequest.cc create mode 100644 dataworks-public/src/model/GetExtensionResult.cc create mode 100644 dataworks-public/src/model/GetOptionValueForProjectRequest.cc create mode 100644 dataworks-public/src/model/GetOptionValueForProjectResult.cc create mode 100644 dataworks-public/src/model/ListCurrentTasksForResourceGroupRequest.cc create mode 100644 dataworks-public/src/model/ListCurrentTasksForResourceGroupResult.cc create mode 100644 dataworks-public/src/model/ListCurrentUsageForResourceGroupRequest.cc create mode 100644 dataworks-public/src/model/ListCurrentUsageForResourceGroupResult.cc create mode 100644 dataworks-public/src/model/ListDataServiceApiTestRequest.cc create mode 100644 dataworks-public/src/model/ListDataServiceApiTestResult.cc create mode 100644 dataworks-public/src/model/ListDutyRostersRequest.cc create mode 100644 dataworks-public/src/model/ListDutyRostersResult.cc create mode 100644 dataworks-public/src/model/ListExtensionsRequest.cc create mode 100644 dataworks-public/src/model/ListExtensionsResult.cc create mode 100644 dataworks-public/src/model/ListHistoryTasksForResourceGroupRequest.cc create mode 100644 dataworks-public/src/model/ListHistoryTasksForResourceGroupResult.cc create mode 100644 dataworks-public/src/model/ListMigrationsRequest.cc create mode 100644 dataworks-public/src/model/ListMigrationsResult.cc create mode 100644 dataworks-public/src/model/ListUsageForResourceGroupRequest.cc create mode 100644 dataworks-public/src/model/ListUsageForResourceGroupResult.cc create mode 100644 dataworks-public/src/model/TestDataServiceApiRequest.cc create mode 100644 dataworks-public/src/model/TestDataServiceApiResult.cc diff --git a/CHANGELOG b/CHANGELOG index d96e2075e..3b8be2b81 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-05-30 Version: 1.36.1138 +- Generated 2020-05-18 for `dataworks-public`. + 2022-05-27 Version: 1.36.1137 - Release DetectLymph DetectPanc. diff --git a/VERSION b/VERSION index 73b24ba22..045d867a0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1137 \ No newline at end of file +1.36.1138 \ No newline at end of file diff --git a/dataworks-public/CMakeLists.txt b/dataworks-public/CMakeLists.txt index b186f29f4..4f87e5250 100644 --- a/dataworks-public/CMakeLists.txt +++ b/dataworks-public/CMakeLists.txt @@ -161,6 +161,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetDagResult.h include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h + include/alibabacloud/dataworks-public/model/GetDataServiceApiTestRequest.h + include/alibabacloud/dataworks-public/model/GetDataServiceApiTestResult.h include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h @@ -173,6 +175,10 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetDataSourceMetaResult.h include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h include/alibabacloud/dataworks-public/model/GetDeploymentResult.h + include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h + include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h + include/alibabacloud/dataworks-public/model/GetExtensionRequest.h + include/alibabacloud/dataworks-public/model/GetExtensionResult.h include/alibabacloud/dataworks-public/model/GetFileRequest.h include/alibabacloud/dataworks-public/model/GetFileResult.h include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h @@ -247,6 +253,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/GetOpRiskDataResult.h include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h include/alibabacloud/dataworks-public/model/GetOpSensitiveDataResult.h + include/alibabacloud/dataworks-public/model/GetOptionValueForProjectRequest.h + include/alibabacloud/dataworks-public/model/GetOptionValueForProjectResult.h include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailResult.h include/alibabacloud/dataworks-public/model/GetProjectRequest.h @@ -283,12 +291,18 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListCalcEnginesResult.h include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h include/alibabacloud/dataworks-public/model/ListConnectionsResult.h + include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h + include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h + include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupRequest.h + include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h include/alibabacloud/dataworks-public/model/ListDIProjectConfigResult.h include/alibabacloud/dataworks-public/model/ListDagsRequest.h include/alibabacloud/dataworks-public/model/ListDagsResult.h include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesResult.h + include/alibabacloud/dataworks-public/model/ListDataServiceApiTestRequest.h + include/alibabacloud/dataworks-public/model/ListDataServiceApiTestResult.h include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h @@ -305,6 +319,10 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h include/alibabacloud/dataworks-public/model/ListDeploymentsResult.h + include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h + include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h + include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h + include/alibabacloud/dataworks-public/model/ListExtensionsResult.h include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h include/alibabacloud/dataworks-public/model/ListFileTypeResult.h include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h @@ -313,6 +331,8 @@ set(dataworks-public_public_header_model 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/ListHistoryTasksForResourceGroupRequest.h + include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupResult.h include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h include/alibabacloud/dataworks-public/model/ListInstanceAmountResult.h include/alibabacloud/dataworks-public/model/ListInstancesRequest.h @@ -321,6 +341,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListManualDagInstancesResult.h include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h include/alibabacloud/dataworks-public/model/ListMetaDBResult.h + include/alibabacloud/dataworks-public/model/ListMigrationsRequest.h + include/alibabacloud/dataworks-public/model/ListMigrationsResult.h include/alibabacloud/dataworks-public/model/ListNodeIORequest.h include/alibabacloud/dataworks-public/model/ListNodeIOResult.h include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h @@ -363,6 +385,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/ListTableThemeResult.h include/alibabacloud/dataworks-public/model/ListTopicsRequest.h include/alibabacloud/dataworks-public/model/ListTopicsResult.h + include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupRequest.h + include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h include/alibabacloud/dataworks-public/model/PublishDataServiceApiResult.h include/alibabacloud/dataworks-public/model/QueryDISyncTaskConfigProcessResultRequest.h @@ -411,6 +435,8 @@ set(dataworks-public_public_header_model include/alibabacloud/dataworks-public/model/SuspendInstanceResult.h include/alibabacloud/dataworks-public/model/TerminateDISyncInstanceRequest.h include/alibabacloud/dataworks-public/model/TerminateDISyncInstanceResult.h + include/alibabacloud/dataworks-public/model/TestDataServiceApiRequest.h + include/alibabacloud/dataworks-public/model/TestDataServiceApiResult.h include/alibabacloud/dataworks-public/model/TestNetworkConnectionRequest.h include/alibabacloud/dataworks-public/model/TestNetworkConnectionResult.h include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h @@ -608,6 +634,8 @@ set(dataworks-public_src src/model/GetDagResult.cc src/model/GetDataServiceApiRequest.cc src/model/GetDataServiceApiResult.cc + src/model/GetDataServiceApiTestRequest.cc + src/model/GetDataServiceApiTestResult.cc src/model/GetDataServiceApplicationRequest.cc src/model/GetDataServiceApplicationResult.cc src/model/GetDataServiceFolderRequest.cc @@ -620,6 +648,10 @@ set(dataworks-public_src src/model/GetDataSourceMetaResult.cc src/model/GetDeploymentRequest.cc src/model/GetDeploymentResult.cc + src/model/GetDutyRosterRequest.cc + src/model/GetDutyRosterResult.cc + src/model/GetExtensionRequest.cc + src/model/GetExtensionResult.cc src/model/GetFileRequest.cc src/model/GetFileResult.cc src/model/GetFileTypeStatisticRequest.cc @@ -694,6 +726,8 @@ set(dataworks-public_src src/model/GetOpRiskDataResult.cc src/model/GetOpSensitiveDataRequest.cc src/model/GetOpSensitiveDataResult.cc + src/model/GetOptionValueForProjectRequest.cc + src/model/GetOptionValueForProjectResult.cc src/model/GetPermissionApplyOrderDetailRequest.cc src/model/GetPermissionApplyOrderDetailResult.cc src/model/GetProjectRequest.cc @@ -730,12 +764,18 @@ set(dataworks-public_src src/model/ListCalcEnginesResult.cc src/model/ListConnectionsRequest.cc src/model/ListConnectionsResult.cc + src/model/ListCurrentTasksForResourceGroupRequest.cc + src/model/ListCurrentTasksForResourceGroupResult.cc + src/model/ListCurrentUsageForResourceGroupRequest.cc + src/model/ListCurrentUsageForResourceGroupResult.cc src/model/ListDIProjectConfigRequest.cc src/model/ListDIProjectConfigResult.cc src/model/ListDagsRequest.cc src/model/ListDagsResult.cc src/model/ListDataServiceApiAuthoritiesRequest.cc src/model/ListDataServiceApiAuthoritiesResult.cc + src/model/ListDataServiceApiTestRequest.cc + src/model/ListDataServiceApiTestResult.cc src/model/ListDataServiceApisRequest.cc src/model/ListDataServiceApisResult.cc src/model/ListDataServiceApplicationsRequest.cc @@ -752,6 +792,10 @@ set(dataworks-public_src src/model/ListDataSourcesResult.cc src/model/ListDeploymentsRequest.cc src/model/ListDeploymentsResult.cc + src/model/ListDutyRostersRequest.cc + src/model/ListDutyRostersResult.cc + src/model/ListExtensionsRequest.cc + src/model/ListExtensionsResult.cc src/model/ListFileTypeRequest.cc src/model/ListFileTypeResult.cc src/model/ListFileVersionsRequest.cc @@ -760,6 +804,8 @@ set(dataworks-public_src src/model/ListFilesResult.cc src/model/ListFoldersRequest.cc src/model/ListFoldersResult.cc + src/model/ListHistoryTasksForResourceGroupRequest.cc + src/model/ListHistoryTasksForResourceGroupResult.cc src/model/ListInstanceAmountRequest.cc src/model/ListInstanceAmountResult.cc src/model/ListInstancesRequest.cc @@ -768,6 +814,8 @@ set(dataworks-public_src src/model/ListManualDagInstancesResult.cc src/model/ListMetaDBRequest.cc src/model/ListMetaDBResult.cc + src/model/ListMigrationsRequest.cc + src/model/ListMigrationsResult.cc src/model/ListNodeIORequest.cc src/model/ListNodeIOResult.cc src/model/ListNodeInputOrOutputRequest.cc @@ -810,6 +858,8 @@ set(dataworks-public_src src/model/ListTableThemeResult.cc src/model/ListTopicsRequest.cc src/model/ListTopicsResult.cc + src/model/ListUsageForResourceGroupRequest.cc + src/model/ListUsageForResourceGroupResult.cc src/model/PublishDataServiceApiRequest.cc src/model/PublishDataServiceApiResult.cc src/model/QueryDISyncTaskConfigProcessResultRequest.cc @@ -858,6 +908,8 @@ set(dataworks-public_src src/model/SuspendInstanceResult.cc src/model/TerminateDISyncInstanceRequest.cc src/model/TerminateDISyncInstanceResult.cc + src/model/TestDataServiceApiRequest.cc + src/model/TestDataServiceApiResult.cc src/model/TestNetworkConnectionRequest.cc src/model/TestNetworkConnectionResult.cc src/model/TopTenElapsedTimeInstanceRequest.cc diff --git a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h index 1a7db056e..8b0ef8986 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/Dataworks_publicClient.h @@ -162,6 +162,8 @@ #include "model/GetDagResult.h" #include "model/GetDataServiceApiRequest.h" #include "model/GetDataServiceApiResult.h" +#include "model/GetDataServiceApiTestRequest.h" +#include "model/GetDataServiceApiTestResult.h" #include "model/GetDataServiceApplicationRequest.h" #include "model/GetDataServiceApplicationResult.h" #include "model/GetDataServiceFolderRequest.h" @@ -174,6 +176,10 @@ #include "model/GetDataSourceMetaResult.h" #include "model/GetDeploymentRequest.h" #include "model/GetDeploymentResult.h" +#include "model/GetDutyRosterRequest.h" +#include "model/GetDutyRosterResult.h" +#include "model/GetExtensionRequest.h" +#include "model/GetExtensionResult.h" #include "model/GetFileRequest.h" #include "model/GetFileResult.h" #include "model/GetFileTypeStatisticRequest.h" @@ -248,6 +254,8 @@ #include "model/GetOpRiskDataResult.h" #include "model/GetOpSensitiveDataRequest.h" #include "model/GetOpSensitiveDataResult.h" +#include "model/GetOptionValueForProjectRequest.h" +#include "model/GetOptionValueForProjectResult.h" #include "model/GetPermissionApplyOrderDetailRequest.h" #include "model/GetPermissionApplyOrderDetailResult.h" #include "model/GetProjectRequest.h" @@ -284,12 +292,18 @@ #include "model/ListCalcEnginesResult.h" #include "model/ListConnectionsRequest.h" #include "model/ListConnectionsResult.h" +#include "model/ListCurrentTasksForResourceGroupRequest.h" +#include "model/ListCurrentTasksForResourceGroupResult.h" +#include "model/ListCurrentUsageForResourceGroupRequest.h" +#include "model/ListCurrentUsageForResourceGroupResult.h" #include "model/ListDIProjectConfigRequest.h" #include "model/ListDIProjectConfigResult.h" #include "model/ListDagsRequest.h" #include "model/ListDagsResult.h" #include "model/ListDataServiceApiAuthoritiesRequest.h" #include "model/ListDataServiceApiAuthoritiesResult.h" +#include "model/ListDataServiceApiTestRequest.h" +#include "model/ListDataServiceApiTestResult.h" #include "model/ListDataServiceApisRequest.h" #include "model/ListDataServiceApisResult.h" #include "model/ListDataServiceApplicationsRequest.h" @@ -306,6 +320,10 @@ #include "model/ListDataSourcesResult.h" #include "model/ListDeploymentsRequest.h" #include "model/ListDeploymentsResult.h" +#include "model/ListDutyRostersRequest.h" +#include "model/ListDutyRostersResult.h" +#include "model/ListExtensionsRequest.h" +#include "model/ListExtensionsResult.h" #include "model/ListFileTypeRequest.h" #include "model/ListFileTypeResult.h" #include "model/ListFileVersionsRequest.h" @@ -314,6 +332,8 @@ #include "model/ListFilesResult.h" #include "model/ListFoldersRequest.h" #include "model/ListFoldersResult.h" +#include "model/ListHistoryTasksForResourceGroupRequest.h" +#include "model/ListHistoryTasksForResourceGroupResult.h" #include "model/ListInstanceAmountRequest.h" #include "model/ListInstanceAmountResult.h" #include "model/ListInstancesRequest.h" @@ -322,6 +342,8 @@ #include "model/ListManualDagInstancesResult.h" #include "model/ListMetaDBRequest.h" #include "model/ListMetaDBResult.h" +#include "model/ListMigrationsRequest.h" +#include "model/ListMigrationsResult.h" #include "model/ListNodeIORequest.h" #include "model/ListNodeIOResult.h" #include "model/ListNodeInputOrOutputRequest.h" @@ -364,6 +386,8 @@ #include "model/ListTableThemeResult.h" #include "model/ListTopicsRequest.h" #include "model/ListTopicsResult.h" +#include "model/ListUsageForResourceGroupRequest.h" +#include "model/ListUsageForResourceGroupResult.h" #include "model/PublishDataServiceApiRequest.h" #include "model/PublishDataServiceApiResult.h" #include "model/QueryDISyncTaskConfigProcessResultRequest.h" @@ -412,6 +436,8 @@ #include "model/SuspendInstanceResult.h" #include "model/TerminateDISyncInstanceRequest.h" #include "model/TerminateDISyncInstanceResult.h" +#include "model/TestDataServiceApiRequest.h" +#include "model/TestDataServiceApiResult.h" #include "model/TestNetworkConnectionRequest.h" #include "model/TestNetworkConnectionResult.h" #include "model/TopTenElapsedTimeInstanceRequest.h" @@ -685,6 +711,9 @@ namespace AlibabaCloud typedef Outcome GetDataServiceApiOutcome; typedef std::future GetDataServiceApiOutcomeCallable; typedef std::function&)> GetDataServiceApiAsyncHandler; + typedef Outcome GetDataServiceApiTestOutcome; + typedef std::future GetDataServiceApiTestOutcomeCallable; + typedef std::function&)> GetDataServiceApiTestAsyncHandler; typedef Outcome GetDataServiceApplicationOutcome; typedef std::future GetDataServiceApplicationOutcomeCallable; typedef std::function&)> GetDataServiceApplicationAsyncHandler; @@ -703,6 +732,12 @@ namespace AlibabaCloud typedef Outcome GetDeploymentOutcome; typedef std::future GetDeploymentOutcomeCallable; typedef std::function&)> GetDeploymentAsyncHandler; + typedef Outcome GetDutyRosterOutcome; + typedef std::future GetDutyRosterOutcomeCallable; + typedef std::function&)> GetDutyRosterAsyncHandler; + typedef Outcome GetExtensionOutcome; + typedef std::future GetExtensionOutcomeCallable; + typedef std::function&)> GetExtensionAsyncHandler; typedef Outcome GetFileOutcome; typedef std::future GetFileOutcomeCallable; typedef std::function&)> GetFileAsyncHandler; @@ -814,6 +849,9 @@ namespace AlibabaCloud typedef Outcome GetOpSensitiveDataOutcome; typedef std::future GetOpSensitiveDataOutcomeCallable; typedef std::function&)> GetOpSensitiveDataAsyncHandler; + typedef Outcome GetOptionValueForProjectOutcome; + typedef std::future GetOptionValueForProjectOutcomeCallable; + typedef std::function&)> GetOptionValueForProjectAsyncHandler; typedef Outcome GetPermissionApplyOrderDetailOutcome; typedef std::future GetPermissionApplyOrderDetailOutcomeCallable; typedef std::function&)> GetPermissionApplyOrderDetailAsyncHandler; @@ -868,6 +906,12 @@ namespace AlibabaCloud typedef Outcome ListConnectionsOutcome; typedef std::future ListConnectionsOutcomeCallable; typedef std::function&)> ListConnectionsAsyncHandler; + typedef Outcome ListCurrentTasksForResourceGroupOutcome; + typedef std::future ListCurrentTasksForResourceGroupOutcomeCallable; + typedef std::function&)> ListCurrentTasksForResourceGroupAsyncHandler; + typedef Outcome ListCurrentUsageForResourceGroupOutcome; + typedef std::future ListCurrentUsageForResourceGroupOutcomeCallable; + typedef std::function&)> ListCurrentUsageForResourceGroupAsyncHandler; typedef Outcome ListDIProjectConfigOutcome; typedef std::future ListDIProjectConfigOutcomeCallable; typedef std::function&)> ListDIProjectConfigAsyncHandler; @@ -877,6 +921,9 @@ namespace AlibabaCloud typedef Outcome ListDataServiceApiAuthoritiesOutcome; typedef std::future ListDataServiceApiAuthoritiesOutcomeCallable; typedef std::function&)> ListDataServiceApiAuthoritiesAsyncHandler; + typedef Outcome ListDataServiceApiTestOutcome; + typedef std::future ListDataServiceApiTestOutcomeCallable; + typedef std::function&)> ListDataServiceApiTestAsyncHandler; typedef Outcome ListDataServiceApisOutcome; typedef std::future ListDataServiceApisOutcomeCallable; typedef std::function&)> ListDataServiceApisAsyncHandler; @@ -901,6 +948,12 @@ namespace AlibabaCloud typedef Outcome ListDeploymentsOutcome; typedef std::future ListDeploymentsOutcomeCallable; typedef std::function&)> ListDeploymentsAsyncHandler; + typedef Outcome ListDutyRostersOutcome; + typedef std::future ListDutyRostersOutcomeCallable; + typedef std::function&)> ListDutyRostersAsyncHandler; + typedef Outcome ListExtensionsOutcome; + typedef std::future ListExtensionsOutcomeCallable; + typedef std::function&)> ListExtensionsAsyncHandler; typedef Outcome ListFileTypeOutcome; typedef std::future ListFileTypeOutcomeCallable; typedef std::function&)> ListFileTypeAsyncHandler; @@ -913,6 +966,9 @@ namespace AlibabaCloud typedef Outcome ListFoldersOutcome; typedef std::future ListFoldersOutcomeCallable; typedef std::function&)> ListFoldersAsyncHandler; + typedef Outcome ListHistoryTasksForResourceGroupOutcome; + typedef std::future ListHistoryTasksForResourceGroupOutcomeCallable; + typedef std::function&)> ListHistoryTasksForResourceGroupAsyncHandler; typedef Outcome ListInstanceAmountOutcome; typedef std::future ListInstanceAmountOutcomeCallable; typedef std::function&)> ListInstanceAmountAsyncHandler; @@ -925,6 +981,9 @@ namespace AlibabaCloud typedef Outcome ListMetaDBOutcome; typedef std::future ListMetaDBOutcomeCallable; typedef std::function&)> ListMetaDBAsyncHandler; + typedef Outcome ListMigrationsOutcome; + typedef std::future ListMigrationsOutcomeCallable; + typedef std::function&)> ListMigrationsAsyncHandler; typedef Outcome ListNodeIOOutcome; typedef std::future ListNodeIOOutcomeCallable; typedef std::function&)> ListNodeIOAsyncHandler; @@ -988,6 +1047,9 @@ namespace AlibabaCloud typedef Outcome ListTopicsOutcome; typedef std::future ListTopicsOutcomeCallable; typedef std::function&)> ListTopicsAsyncHandler; + typedef Outcome ListUsageForResourceGroupOutcome; + typedef std::future ListUsageForResourceGroupOutcomeCallable; + typedef std::function&)> ListUsageForResourceGroupAsyncHandler; typedef Outcome PublishDataServiceApiOutcome; typedef std::future PublishDataServiceApiOutcomeCallable; typedef std::function&)> PublishDataServiceApiAsyncHandler; @@ -1060,6 +1122,9 @@ namespace AlibabaCloud typedef Outcome TerminateDISyncInstanceOutcome; typedef std::future TerminateDISyncInstanceOutcomeCallable; typedef std::function&)> TerminateDISyncInstanceAsyncHandler; + typedef Outcome TestDataServiceApiOutcome; + typedef std::future TestDataServiceApiOutcomeCallable; + typedef std::function&)> TestDataServiceApiAsyncHandler; typedef Outcome TestNetworkConnectionOutcome; typedef std::future TestNetworkConnectionOutcomeCallable; typedef std::function&)> TestNetworkConnectionAsyncHandler; @@ -1356,6 +1421,9 @@ namespace AlibabaCloud 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; + GetDataServiceApiTestOutcome getDataServiceApiTest(const Model::GetDataServiceApiTestRequest &request)const; + void getDataServiceApiTestAsync(const Model::GetDataServiceApiTestRequest& request, const GetDataServiceApiTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDataServiceApiTestOutcomeCallable getDataServiceApiTestCallable(const Model::GetDataServiceApiTestRequest& 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; @@ -1374,6 +1442,12 @@ namespace AlibabaCloud 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; + GetDutyRosterOutcome getDutyRoster(const Model::GetDutyRosterRequest &request)const; + void getDutyRosterAsync(const Model::GetDutyRosterRequest& request, const GetDutyRosterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDutyRosterOutcomeCallable getDutyRosterCallable(const Model::GetDutyRosterRequest& request) const; + GetExtensionOutcome getExtension(const Model::GetExtensionRequest &request)const; + void getExtensionAsync(const Model::GetExtensionRequest& request, const GetExtensionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetExtensionOutcomeCallable getExtensionCallable(const Model::GetExtensionRequest& 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; @@ -1485,6 +1559,9 @@ namespace AlibabaCloud GetOpSensitiveDataOutcome getOpSensitiveData(const Model::GetOpSensitiveDataRequest &request)const; void getOpSensitiveDataAsync(const Model::GetOpSensitiveDataRequest& request, const GetOpSensitiveDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetOpSensitiveDataOutcomeCallable getOpSensitiveDataCallable(const Model::GetOpSensitiveDataRequest& request) const; + GetOptionValueForProjectOutcome getOptionValueForProject(const Model::GetOptionValueForProjectRequest &request)const; + void getOptionValueForProjectAsync(const Model::GetOptionValueForProjectRequest& request, const GetOptionValueForProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOptionValueForProjectOutcomeCallable getOptionValueForProjectCallable(const Model::GetOptionValueForProjectRequest& request) const; GetPermissionApplyOrderDetailOutcome getPermissionApplyOrderDetail(const Model::GetPermissionApplyOrderDetailRequest &request)const; void getPermissionApplyOrderDetailAsync(const Model::GetPermissionApplyOrderDetailRequest& request, const GetPermissionApplyOrderDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetPermissionApplyOrderDetailOutcomeCallable getPermissionApplyOrderDetailCallable(const Model::GetPermissionApplyOrderDetailRequest& request) const; @@ -1539,6 +1616,12 @@ namespace AlibabaCloud 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; + ListCurrentTasksForResourceGroupOutcome listCurrentTasksForResourceGroup(const Model::ListCurrentTasksForResourceGroupRequest &request)const; + void listCurrentTasksForResourceGroupAsync(const Model::ListCurrentTasksForResourceGroupRequest& request, const ListCurrentTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCurrentTasksForResourceGroupOutcomeCallable listCurrentTasksForResourceGroupCallable(const Model::ListCurrentTasksForResourceGroupRequest& request) const; + ListCurrentUsageForResourceGroupOutcome listCurrentUsageForResourceGroup(const Model::ListCurrentUsageForResourceGroupRequest &request)const; + void listCurrentUsageForResourceGroupAsync(const Model::ListCurrentUsageForResourceGroupRequest& request, const ListCurrentUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCurrentUsageForResourceGroupOutcomeCallable listCurrentUsageForResourceGroupCallable(const Model::ListCurrentUsageForResourceGroupRequest& request) const; ListDIProjectConfigOutcome listDIProjectConfig(const Model::ListDIProjectConfigRequest &request)const; void listDIProjectConfigAsync(const Model::ListDIProjectConfigRequest& request, const ListDIProjectConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDIProjectConfigOutcomeCallable listDIProjectConfigCallable(const Model::ListDIProjectConfigRequest& request) const; @@ -1548,6 +1631,9 @@ namespace AlibabaCloud 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; + ListDataServiceApiTestOutcome listDataServiceApiTest(const Model::ListDataServiceApiTestRequest &request)const; + void listDataServiceApiTestAsync(const Model::ListDataServiceApiTestRequest& request, const ListDataServiceApiTestAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDataServiceApiTestOutcomeCallable listDataServiceApiTestCallable(const Model::ListDataServiceApiTestRequest& 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; @@ -1572,6 +1658,12 @@ namespace AlibabaCloud ListDeploymentsOutcome listDeployments(const Model::ListDeploymentsRequest &request)const; void listDeploymentsAsync(const Model::ListDeploymentsRequest& request, const ListDeploymentsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDeploymentsOutcomeCallable listDeploymentsCallable(const Model::ListDeploymentsRequest& request) const; + ListDutyRostersOutcome listDutyRosters(const Model::ListDutyRostersRequest &request)const; + void listDutyRostersAsync(const Model::ListDutyRostersRequest& request, const ListDutyRostersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDutyRostersOutcomeCallable listDutyRostersCallable(const Model::ListDutyRostersRequest& request) const; + ListExtensionsOutcome listExtensions(const Model::ListExtensionsRequest &request)const; + void listExtensionsAsync(const Model::ListExtensionsRequest& request, const ListExtensionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListExtensionsOutcomeCallable listExtensionsCallable(const Model::ListExtensionsRequest& request) const; ListFileTypeOutcome listFileType(const Model::ListFileTypeRequest &request)const; void listFileTypeAsync(const Model::ListFileTypeRequest& request, const ListFileTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFileTypeOutcomeCallable listFileTypeCallable(const Model::ListFileTypeRequest& request) const; @@ -1584,6 +1676,9 @@ namespace AlibabaCloud 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; + ListHistoryTasksForResourceGroupOutcome listHistoryTasksForResourceGroup(const Model::ListHistoryTasksForResourceGroupRequest &request)const; + void listHistoryTasksForResourceGroupAsync(const Model::ListHistoryTasksForResourceGroupRequest& request, const ListHistoryTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHistoryTasksForResourceGroupOutcomeCallable listHistoryTasksForResourceGroupCallable(const Model::ListHistoryTasksForResourceGroupRequest& request) const; ListInstanceAmountOutcome listInstanceAmount(const Model::ListInstanceAmountRequest &request)const; void listInstanceAmountAsync(const Model::ListInstanceAmountRequest& request, const ListInstanceAmountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListInstanceAmountOutcomeCallable listInstanceAmountCallable(const Model::ListInstanceAmountRequest& request) const; @@ -1596,6 +1691,9 @@ namespace AlibabaCloud ListMetaDBOutcome listMetaDB(const Model::ListMetaDBRequest &request)const; void listMetaDBAsync(const Model::ListMetaDBRequest& request, const ListMetaDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListMetaDBOutcomeCallable listMetaDBCallable(const Model::ListMetaDBRequest& request) const; + ListMigrationsOutcome listMigrations(const Model::ListMigrationsRequest &request)const; + void listMigrationsAsync(const Model::ListMigrationsRequest& request, const ListMigrationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMigrationsOutcomeCallable listMigrationsCallable(const Model::ListMigrationsRequest& 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; @@ -1659,6 +1757,9 @@ namespace AlibabaCloud 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; + ListUsageForResourceGroupOutcome listUsageForResourceGroup(const Model::ListUsageForResourceGroupRequest &request)const; + void listUsageForResourceGroupAsync(const Model::ListUsageForResourceGroupRequest& request, const ListUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListUsageForResourceGroupOutcomeCallable listUsageForResourceGroupCallable(const Model::ListUsageForResourceGroupRequest& 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; @@ -1731,6 +1832,9 @@ namespace AlibabaCloud TerminateDISyncInstanceOutcome terminateDISyncInstance(const Model::TerminateDISyncInstanceRequest &request)const; void terminateDISyncInstanceAsync(const Model::TerminateDISyncInstanceRequest& request, const TerminateDISyncInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TerminateDISyncInstanceOutcomeCallable terminateDISyncInstanceCallable(const Model::TerminateDISyncInstanceRequest& request) const; + TestDataServiceApiOutcome testDataServiceApi(const Model::TestDataServiceApiRequest &request)const; + void testDataServiceApiAsync(const Model::TestDataServiceApiRequest& request, const TestDataServiceApiAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + TestDataServiceApiOutcomeCallable testDataServiceApiCallable(const Model::TestDataServiceApiRequest& request) const; TestNetworkConnectionOutcome testNetworkConnection(const Model::TestNetworkConnectionRequest &request)const; void testNetworkConnectionAsync(const Model::TestNetworkConnectionRequest& request, const TestNetworkConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TestNetworkConnectionOutcomeCallable testNetworkConnectionCallable(const Model::TestNetworkConnectionRequest& request) const; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h index 1d9bff82d..a048556c9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AbolishDataServiceApiRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ABOLISHDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h index ea63af3aa..309cf7a58 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AddProjectMemberToRoleRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDPROJECTMEMBERTOROLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h index 526af41c3..a1280a126 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/AddToMetaCategoryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryRequest : public RpcServiceRequest - { - - public: - AddToMetaCategoryRequest(); - ~AddToMetaCategoryRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - std::string tableGuid_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT AddToMetaCategoryRequest : public RpcServiceRequest { +public: + AddToMetaCategoryRequest(); + ~AddToMetaCategoryRequest(); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + long getCategoryId() const; + void setCategoryId(long categoryId); + +private: + std::string tableGuid_; + long categoryId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ADDTOMETACATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h index a66120aa9..d67833de5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ApprovePermissionApplyOrderRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ApprovePermissionApplyOrderRequest : public RpcServiceRequest - { - - public: - ApprovePermissionApplyOrderRequest(); - ~ApprovePermissionApplyOrderRequest(); - - std::string getFlowId()const; - void setFlowId(const std::string& flowId); - std::string getApproveComment()const; - void setApproveComment(const std::string& approveComment); - int getApproveAction()const; - void setApproveAction(int approveAction); - - private: - std::string flowId_; - std::string approveComment_; - int approveAction_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ApprovePermissionApplyOrderRequest : public RpcServiceRequest { +public: + ApprovePermissionApplyOrderRequest(); + ~ApprovePermissionApplyOrderRequest(); + std::string getFlowId() const; + void setFlowId(const std::string &flowId); + std::string getApproveComment() const; + void setApproveComment(const std::string &approveComment); + int getApproveAction() const; + void setApproveAction(int approveAction); + +private: + std::string flowId_; + std::string approveComment_; + int approveAction_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_APPROVEPERMISSIONAPPLYORDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h index 549555ced..78a4e4ff5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckFileDeploymentRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckFileDeploymentRequest : public RpcServiceRequest - { - - public: - CheckFileDeploymentRequest(); - ~CheckFileDeploymentRequest(); - - std::string getCheckDetailUrl()const; - void setCheckDetailUrl(const std::string& checkDetailUrl); - std::string getCheckerInstanceId()const; - void setCheckerInstanceId(const std::string& checkerInstanceId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string checkDetailUrl_; - std::string checkerInstanceId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckFileDeploymentRequest : public RpcServiceRequest { +public: + CheckFileDeploymentRequest(); + ~CheckFileDeploymentRequest(); + std::string getCheckDetailUrl() const; + void setCheckDetailUrl(const std::string &checkDetailUrl); + std::string getCheckerInstanceId() const; + void setCheckerInstanceId(const std::string &checkerInstanceId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string checkDetailUrl_; + std::string checkerInstanceId_; + std::string status_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKFILEDEPLOYMENTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h index 6f42d838e..087f68db2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaPartitionRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionRequest : public RpcServiceRequest - { - - public: - CheckMetaPartitionRequest(); - ~CheckMetaPartitionRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getPartition()const; - void setPartition(const std::string& partition); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string partition_; - std::string tableGuid_; - std::string databaseName_; - std::string clusterId_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaPartitionRequest : public RpcServiceRequest { +public: + CheckMetaPartitionRequest(); + ~CheckMetaPartitionRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getPartition() const; + void setPartition(const std::string &partition); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string dataSourceType_; + std::string partition_; + std::string tableGuid_; + std::string databaseName_; + std::string clusterId_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETAPARTITIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h index f3329ac10..69cadbb2e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CheckMetaTableRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableRequest : public RpcServiceRequest - { - - public: - CheckMetaTableRequest(); - ~CheckMetaTableRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string tableGuid_; - std::string databaseName_; - std::string clusterId_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CheckMetaTableRequest : public RpcServiceRequest { +public: + CheckMetaTableRequest(); + ~CheckMetaTableRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string dataSourceType_; + std::string tableGuid_; + std::string databaseName_; + std::string clusterId_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CHECKMETATABLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h index 496a5c518..1ef9fffe2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateBusinessRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateBusinessRequest : public RpcServiceRequest - { - - public: - CreateBusinessRequest(); - ~CreateBusinessRequest(); - - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getBusinessName()const; - void setBusinessName(const std::string& businessName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - std::string getUseType()const; - void setUseType(const std::string& useType); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - - private: - std::string owner_; - std::string businessName_; - std::string description_; - long projectId_; - std::string useType_; - std::string projectIdentifier_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateBusinessRequest : public RpcServiceRequest { +public: + CreateBusinessRequest(); + ~CreateBusinessRequest(); + std::string getOwner() const; + void setOwner(const std::string &owner); + std::string getBusinessName() const; + void setBusinessName(const std::string &businessName); + std::string getDescription() const; + void setDescription(const std::string &description); + long getProjectId() const; + void setProjectId(long projectId); + std::string getUseType() const; + void setUseType(const std::string &useType); + std::string getProjectIdentifier() const; + void setProjectIdentifier(const std::string &projectIdentifier); + +private: + std::string owner_; + std::string businessName_; + std::string description_; + long projectId_; + std::string useType_; + std::string projectIdentifier_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEBUSINESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h index 77a12749d..b7d6295e4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateConnectionRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATECONNECTIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h index bc0aab504..6318235d8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDISyncTaskRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDISYNCTASKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDISYNCTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDISyncTaskRequest : public RpcServiceRequest - { - - public: - CreateDISyncTaskRequest(); - ~CreateDISyncTaskRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getTaskParam()const; - void setTaskParam(const std::string& taskParam); - std::string getTaskName()const; - void setTaskName(const std::string& taskName); - std::string getTaskContent()const; - void setTaskContent(const std::string& taskContent); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string taskType_; - std::string clientToken_; - std::string taskParam_; - std::string taskName_; - std::string taskContent_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDISYNCTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDISYNCTASKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDISYNCTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDISyncTaskRequest : public RpcServiceRequest { +public: + CreateDISyncTaskRequest(); + ~CreateDISyncTaskRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getTaskParam() const; + void setTaskParam(const std::string &taskParam); + std::string getTaskName() const; + void setTaskName(const std::string &taskName); + std::string getTaskContent() const; + void setTaskContent(const std::string &taskContent); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string taskType_; + std::string clientToken_; + std::string taskParam_; + std::string taskName_; + std::string taskContent_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDISYNCTASKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h index f38ff1909..be8248c37 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagComplementRequest.h @@ -1,78 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGCOMPLEMENTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h index 4c06790b0..872273050 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDagTestRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDAGTESTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h index c55fa464e..e3f958975 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiAuthorityRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiAuthorityRequest : public RpcServiceRequest - { - - public: - CreateDataServiceApiAuthorityRequest(); - ~CreateDataServiceApiAuthorityRequest(); - - long getAuthorizedProjectId()const; - void setAuthorizedProjectId(long authorizedProjectId); - long getTenantId()const; - void setTenantId(long tenantId); - long getEndTime()const; - void setEndTime(long endTime); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long authorizedProjectId_; - long tenantId_; - long endTime_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiAuthorityRequest : public RpcServiceRequest { +public: + CreateDataServiceApiAuthorityRequest(); + ~CreateDataServiceApiAuthorityRequest(); + long getAuthorizedProjectId() const; + void setAuthorizedProjectId(long authorizedProjectId); + long getTenantId() const; + void setTenantId(long tenantId); + long getEndTime() const; + void setEndTime(long endTime); + long getProjectId() const; + void setProjectId(long projectId); + long getApiId() const; + void setApiId(long apiId); + +private: + long authorizedProjectId_; + long tenantId_; + long endTime_; + long projectId_; + long apiId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIAUTHORITYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h index fe7e93e8c..0d46f4b41 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceApiRequest.h @@ -1,93 +1,87 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiRequest : public RpcServiceRequest - { - - public: - CreateDataServiceApiRequest(); - ~CreateDataServiceApiRequest(); - - std::string getScriptDetails()const; - void setScriptDetails(const std::string& scriptDetails); - int getRequestMethod()const; - void setRequestMethod(int requestMethod); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - std::string getApiPath()const; - void setApiPath(const std::string& apiPath); - std::string getWizardDetails()const; - void setWizardDetails(const std::string& wizardDetails); - int getApiMode()const; - void setApiMode(int apiMode); - int getVisibleRange()const; - void setVisibleRange(int visibleRange); - std::string getApiDescription()const; - void setApiDescription(const std::string& apiDescription); - int getTimeout()const; - void setTimeout(int timeout); - long getFolderId()const; - void setFolderId(long folderId); - std::string getRegistrationDetails()const; - void setRegistrationDetails(const std::string& registrationDetails); - std::string getApiName()const; - void setApiName(const std::string& apiName); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getProtocols()const; - void setProtocols(const std::string& protocols); - long getProjectId()const; - void setProjectId(long projectId); - int getResponseContentType()const; - void setResponseContentType(int responseContentType); - - private: - std::string scriptDetails_; - int requestMethod_; - std::string groupId_; - std::string apiPath_; - std::string wizardDetails_; - int apiMode_; - int visibleRange_; - std::string apiDescription_; - int timeout_; - long folderId_; - std::string registrationDetails_; - std::string apiName_; - long tenantId_; - std::string protocols_; - long projectId_; - int responseContentType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceApiRequest : public RpcServiceRequest { +public: + CreateDataServiceApiRequest(); + ~CreateDataServiceApiRequest(); + std::string getScriptDetails() const; + void setScriptDetails(const std::string &scriptDetails); + int getRequestMethod() const; + void setRequestMethod(int requestMethod); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + std::string getApiPath() const; + void setApiPath(const std::string &apiPath); + std::string getWizardDetails() const; + void setWizardDetails(const std::string &wizardDetails); + int getApiMode() const; + void setApiMode(int apiMode); + int getVisibleRange() const; + void setVisibleRange(int visibleRange); + std::string getApiDescription() const; + void setApiDescription(const std::string &apiDescription); + int getTimeout() const; + void setTimeout(int timeout); + long getFolderId() const; + void setFolderId(long folderId); + std::string getRegistrationDetails() const; + void setRegistrationDetails(const std::string ®istrationDetails); + std::string getApiName() const; + void setApiName(const std::string &apiName); + long getTenantId() const; + void setTenantId(long tenantId); + std::string getProtocols() const; + void setProtocols(const std::string &protocols); + long getProjectId() const; + void setProjectId(long projectId); + int getResponseContentType() const; + void setResponseContentType(int responseContentType); + +private: + std::string scriptDetails_; + int requestMethod_; + std::string groupId_; + std::string apiPath_; + std::string wizardDetails_; + int apiMode_; + int visibleRange_; + std::string apiDescription_; + int timeout_; + long folderId_; + std::string registrationDetails_; + std::string apiName_; + long tenantId_; + std::string protocols_; + long projectId_; + int responseContentType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h index a0d2961be..501c514e1 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceFolderRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderRequest : public RpcServiceRequest - { - - public: - CreateDataServiceFolderRequest(); - ~CreateDataServiceFolderRequest(); - - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getFolderName()const; - void setFolderName(const std::string& folderName); - long getProjectId()const; - void setProjectId(long projectId); - long getParentId()const; - void setParentId(long parentId); - - private: - std::string groupId_; - long tenantId_; - std::string folderName_; - long projectId_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceFolderRequest : public RpcServiceRequest { +public: + CreateDataServiceFolderRequest(); + ~CreateDataServiceFolderRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + long getTenantId() const; + void setTenantId(long tenantId); + std::string getFolderName() const; + void setFolderName(const std::string &folderName); + long getProjectId() const; + void setProjectId(long projectId); + long getParentId() const; + void setParentId(long parentId); + +private: + std::string groupId_; + long tenantId_; + std::string folderName_; + long projectId_; + long parentId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEFOLDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h index 4423e3a08..2b8301884 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataServiceGroupRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceGroupRequest : public RpcServiceRequest - { - - public: - CreateDataServiceGroupRequest(); - ~CreateDataServiceGroupRequest(); - - std::string getApiGatewayGroupId()const; - void setApiGatewayGroupId(const std::string& apiGatewayGroupId); - long getTenantId()const; - void setTenantId(long tenantId); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - std::string getGroupName()const; - void setGroupName(const std::string& groupName); - - private: - std::string apiGatewayGroupId_; - long tenantId_; - std::string description_; - long projectId_; - std::string groupName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataServiceGroupRequest : public RpcServiceRequest { +public: + CreateDataServiceGroupRequest(); + ~CreateDataServiceGroupRequest(); + std::string getApiGatewayGroupId() const; + void setApiGatewayGroupId(const std::string &apiGatewayGroupId); + long getTenantId() const; + void setTenantId(long tenantId); + std::string getDescription() const; + void setDescription(const std::string &description); + long getProjectId() const; + void setProjectId(long projectId); + std::string getGroupName() const; + void setGroupName(const std::string &groupName); + +private: + std::string apiGatewayGroupId_; + long tenantId_; + std::string description_; + long projectId_; + std::string groupName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASERVICEGROUPREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h index c4fa3ce71..9c3ab3c3f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateDataSourceRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataSourceRequest : public RpcServiceRequest - { - - public: - CreateDataSourceRequest(); - ~CreateDataSourceRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - 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); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string dataSourceType_; - std::string description_; - std::string content_; - std::string subType_; - std::string name_; - int envType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateDataSourceRequest : public RpcServiceRequest { +public: + CreateDataSourceRequest(); + ~CreateDataSourceRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + 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); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string dataSourceType_; + std::string description_; + std::string content_; + std::string subType_; + std::string name_; + int envType_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEDATASOURCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateExportMigrationRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateExportMigrationRequest.h index bb3e0f99a..f9bb53caf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateExportMigrationRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateExportMigrationRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEEXPORTMIGRATIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEEXPORTMIGRATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateExportMigrationRequest : public RpcServiceRequest - { - - public: - CreateExportMigrationRequest(); - ~CreateExportMigrationRequest(); - - std::string getExportObjectStatus()const; - void setExportObjectStatus(const std::string& exportObjectStatus); - std::string getExportMode()const; - void setExportMode(const std::string& exportMode); - long getIncrementalSince()const; - void setIncrementalSince(long incrementalSince); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string exportObjectStatus_; - std::string exportMode_; - long incrementalSince_; - std::string name_; - std::string description_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEEXPORTMIGRATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEEXPORTMIGRATIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEEXPORTMIGRATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateExportMigrationRequest : public RpcServiceRequest { +public: + CreateExportMigrationRequest(); + ~CreateExportMigrationRequest(); + std::string getExportObjectStatus() const; + void setExportObjectStatus(const std::string &exportObjectStatus); + std::string getExportMode() const; + void setExportMode(const std::string &exportMode); + long getIncrementalSince() const; + void setIncrementalSince(long incrementalSince); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string exportObjectStatus_; + std::string exportMode_; + long incrementalSince_; + std::string name_; + std::string description_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEEXPORTMIGRATIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h index 05bdb8fa6..2fba43c6c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFileRequest.h @@ -1,132 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileRequest : public RpcServiceRequest - { - - public: - CreateFileRequest(); - ~CreateFileRequest(); - - int getFileType()const; - void setFileType(int fileType); - std::string getDependentNodeIdList()const; - void setDependentNodeIdList(const std::string& dependentNodeIdList); - std::string getContent()const; - void setContent(const std::string& content); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - long getResourceGroupId()const; - void setResourceGroupId(long resourceGroupId); - bool getStartImmediately()const; - void setStartImmediately(bool startImmediately); - long getProjectId()const; - void setProjectId(long projectId); - std::string getAdvancedSettings()const; - void setAdvancedSettings(const std::string& advancedSettings); - long getStartEffectDate()const; - void setStartEffectDate(long startEffectDate); - std::string getCycleType()const; - void setCycleType(const std::string& cycleType); - std::string getOwner()const; - void setOwner(const std::string& owner); - int getAutoRerunIntervalMillis()const; - void setAutoRerunIntervalMillis(int autoRerunIntervalMillis); - std::string getInputList()const; - void setInputList(const std::string& inputList); - std::string getRerunMode()const; - void setRerunMode(const std::string& rerunMode); - std::string getConnectionName()const; - void setConnectionName(const std::string& connectionName); - std::string getOutputParameters()const; - void setOutputParameters(const std::string& outputParameters); - std::string getParaValue()const; - void setParaValue(const std::string& paraValue); - std::string getResourceGroupIdentifier()const; - void setResourceGroupIdentifier(const std::string& resourceGroupIdentifier); - int getAutoRerunTimes()const; - void setAutoRerunTimes(int autoRerunTimes); - std::string getCronExpress()const; - void setCronExpress(const std::string& cronExpress); - long getEndEffectDate()const; - void setEndEffectDate(long endEffectDate); - std::string getFileName()const; - void setFileName(const std::string& fileName); - std::string getInputParameters()const; - void setInputParameters(const std::string& inputParameters); - 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); - bool getAutoParsing()const; - void setAutoParsing(bool autoParsing); - std::string getSchedulerType()const; - void setSchedulerType(const std::string& schedulerType); - - private: - int fileType_; - std::string dependentNodeIdList_; - std::string content_; - std::string projectIdentifier_; - long resourceGroupId_; - bool startImmediately_; - long projectId_; - std::string advancedSettings_; - long startEffectDate_; - std::string cycleType_; - std::string owner_; - int autoRerunIntervalMillis_; - std::string inputList_; - std::string rerunMode_; - std::string connectionName_; - std::string outputParameters_; - std::string paraValue_; - std::string resourceGroupIdentifier_; - int autoRerunTimes_; - std::string cronExpress_; - long endEffectDate_; - std::string fileName_; - std::string inputParameters_; - bool stop_; - std::string dependentType_; - std::string fileFolderPath_; - std::string fileDescription_; - bool autoParsing_; - std::string schedulerType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateFileRequest : public RpcServiceRequest { +public: + CreateFileRequest(); + ~CreateFileRequest(); + int getFileType() const; + void setFileType(int fileType); + std::string getDependentNodeIdList() const; + void setDependentNodeIdList(const std::string &dependentNodeIdList); + std::string getContent() const; + void setContent(const std::string &content); + std::string getProjectIdentifier() const; + void setProjectIdentifier(const std::string &projectIdentifier); + long getResourceGroupId() const; + void setResourceGroupId(long resourceGroupId); + bool getStartImmediately() const; + void setStartImmediately(bool startImmediately); + long getProjectId() const; + void setProjectId(long projectId); + std::string getAdvancedSettings() const; + void setAdvancedSettings(const std::string &advancedSettings); + long getStartEffectDate() const; + void setStartEffectDate(long startEffectDate); + std::string getCycleType() const; + void setCycleType(const std::string &cycleType); + std::string getOwner() const; + void setOwner(const std::string &owner); + int getAutoRerunIntervalMillis() const; + void setAutoRerunIntervalMillis(int autoRerunIntervalMillis); + std::string getInputList() const; + void setInputList(const std::string &inputList); + std::string getRerunMode() const; + void setRerunMode(const std::string &rerunMode); + std::string getConnectionName() const; + void setConnectionName(const std::string &connectionName); + std::string getOutputParameters() const; + void setOutputParameters(const std::string &outputParameters); + std::string getParaValue() const; + void setParaValue(const std::string ¶Value); + std::string getResourceGroupIdentifier() const; + void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier); + int getAutoRerunTimes() const; + void setAutoRerunTimes(int autoRerunTimes); + std::string getCronExpress() const; + void setCronExpress(const std::string &cronExpress); + long getEndEffectDate() const; + void setEndEffectDate(long endEffectDate); + std::string getFileName() const; + void setFileName(const std::string &fileName); + std::string getInputParameters() const; + void setInputParameters(const std::string &inputParameters); + 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); + bool getAutoParsing() const; + void setAutoParsing(bool autoParsing); + std::string getSchedulerType() const; + void setSchedulerType(const std::string &schedulerType); + +private: + int fileType_; + std::string dependentNodeIdList_; + std::string content_; + std::string projectIdentifier_; + long resourceGroupId_; + bool startImmediately_; + long projectId_; + std::string advancedSettings_; + long startEffectDate_; + std::string cycleType_; + std::string owner_; + int autoRerunIntervalMillis_; + std::string inputList_; + std::string rerunMode_; + std::string connectionName_; + std::string outputParameters_; + std::string paraValue_; + std::string resourceGroupIdentifier_; + int autoRerunTimes_; + std::string cronExpress_; + long endEffectDate_; + std::string fileName_; + std::string inputParameters_; + bool stop_; + std::string dependentType_; + std::string fileFolderPath_; + std::string fileDescription_; + bool autoParsing_; + std::string schedulerType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h index 2bfa9d123..5db579a49 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateFolderRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEFOLDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateImportMigrationRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateImportMigrationRequest.h index 0ff627c1f..331784d4c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateImportMigrationRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateImportMigrationRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEIMPORTMIGRATIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEIMPORTMIGRATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateImportMigrationRequest : public RpcServiceRequest - { - - public: - CreateImportMigrationRequest(); - ~CreateImportMigrationRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getCommitRule()const; - void setCommitRule(const std::string& commitRule); - std::string getWorkspaceMap()const; - void setWorkspaceMap(const std::string& workspaceMap); - std::string getCalculateEngineMap()const; - void setCalculateEngineMap(const std::string& calculateEngineMap); - std::string getPackageFile()const; - void setPackageFile(const std::string& packageFile); - std::string getName()const; - void setName(const std::string& name); - std::string getPackageType()const; - void setPackageType(const std::string& packageType); - long getProjectId()const; - void setProjectId(long projectId); - std::string getResourceGroupMap()const; - void setResourceGroupMap(const std::string& resourceGroupMap); - - private: - std::string description_; - std::string commitRule_; - std::string workspaceMap_; - std::string calculateEngineMap_; - std::string packageFile_; - std::string name_; - std::string packageType_; - long projectId_; - std::string resourceGroupMap_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEIMPORTMIGRATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEIMPORTMIGRATIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEIMPORTMIGRATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateImportMigrationRequest : public RpcServiceRequest { +public: + CreateImportMigrationRequest(); + ~CreateImportMigrationRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getCommitRule() const; + void setCommitRule(const std::string &commitRule); + std::string getWorkspaceMap() const; + void setWorkspaceMap(const std::string &workspaceMap); + std::string getCalculateEngineMap() const; + void setCalculateEngineMap(const std::string &calculateEngineMap); + std::string getPackageFile() const; + void setPackageFile(const std::string &packageFile); + std::string getName() const; + void setName(const std::string &name); + std::string getPackageType() const; + void setPackageType(const std::string &packageType); + long getProjectId() const; + void setProjectId(long projectId); + std::string getResourceGroupMap() const; + void setResourceGroupMap(const std::string &resourceGroupMap); + +private: + std::string description_; + std::string commitRule_; + std::string workspaceMap_; + std::string calculateEngineMap_; + std::string packageFile_; + std::string name_; + std::string packageType_; + long projectId_; + std::string resourceGroupMap_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEIMPORTMIGRATIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h index 8f9a1f8d3..838463d54 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateManualDagRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateManualDagRequest : public RpcServiceRequest - { - - public: - CreateManualDagRequest(); - ~CreateManualDagRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDagParameters()const; - void setDagParameters(const std::string& dagParameters); - std::string getIncludeNodeIds()const; - void setIncludeNodeIds(const std::string& includeNodeIds); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); - std::string getExcludeNodeIds()const; - void setExcludeNodeIds(const std::string& excludeNodeIds); - std::string getFlowName()const; - void setFlowName(const std::string& flowName); - std::string getNodeParameters()const; - void setNodeParameters(const std::string& nodeParameters); - - private: - std::string projectEnv_; - std::string projectName_; - std::string dagParameters_; - std::string includeNodeIds_; - std::string bizDate_; - std::string excludeNodeIds_; - std::string flowName_; - std::string nodeParameters_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateManualDagRequest : public RpcServiceRequest { +public: + CreateManualDagRequest(); + ~CreateManualDagRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getDagParameters() const; + void setDagParameters(const std::string &dagParameters); + std::string getIncludeNodeIds() const; + void setIncludeNodeIds(const std::string &includeNodeIds); + std::string getBizDate() const; + void setBizDate(const std::string &bizDate); + std::string getExcludeNodeIds() const; + void setExcludeNodeIds(const std::string &excludeNodeIds); + std::string getFlowName() const; + void setFlowName(const std::string &flowName); + std::string getNodeParameters() const; + void setNodeParameters(const std::string &nodeParameters); + +private: + std::string projectEnv_; + std::string projectName_; + std::string dagParameters_; + std::string includeNodeIds_; + std::string bizDate_; + std::string excludeNodeIds_; + std::string flowName_; + std::string nodeParameters_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMANUALDAGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h index a119ad7b4..b9cbad48a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateMetaCategoryRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEMETACATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h index 15fdfba03..b6c24823f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreatePermissionApplyOrderRequest.h @@ -1,80 +1,71 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreatePermissionApplyOrderRequest : public RpcServiceRequest - { - public: - struct ApplyObject - { - struct ColumnMetaList - { - std::string name; - }; - std::vector columnMetaList; - std::string name; - std::string actions; - }; - - public: - CreatePermissionApplyOrderRequest(); - ~CreatePermissionApplyOrderRequest(); - - std::string getApplyReason()const; - void setApplyReason(const std::string& applyReason); - std::string getMaxComputeProjectName()const; - void setMaxComputeProjectName(const std::string& maxComputeProjectName); - std::vector getApplyObject()const; - void setApplyObject(const std::vector& applyObject); - std::string getApplyUserIds()const; - void setApplyUserIds(const std::string& applyUserIds); - long getDeadline()const; - void setDeadline(long deadline); - int getWorkspaceId()const; - void setWorkspaceId(int workspaceId); - int getOrderType()const; - void setOrderType(int orderType); - std::string getEngineType()const; - void setEngineType(const std::string& engineType); - - private: - std::string applyReason_; - std::string maxComputeProjectName_; - std::vector applyObject_; - std::string applyUserIds_; - long deadline_; - int workspaceId_; - int orderType_; - std::string engineType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreatePermissionApplyOrderRequest : public RpcServiceRequest { +public: + struct ApplyObject { + struct ColumnMetaList { + std::string name; + }; + std::vector columnMetaList; + std::string name; + std::string actions; + }; + CreatePermissionApplyOrderRequest(); + ~CreatePermissionApplyOrderRequest(); + std::string getApplyReason() const; + void setApplyReason(const std::string &applyReason); + std::string getMaxComputeProjectName() const; + void setMaxComputeProjectName(const std::string &maxComputeProjectName); + std::vector getApplyObject() const; + void setApplyObject(const std::vector &applyObject); + std::string getApplyUserIds() const; + void setApplyUserIds(const std::string &applyUserIds); + long getDeadline() const; + void setDeadline(long deadline); + int getWorkspaceId() const; + void setWorkspaceId(int workspaceId); + int getOrderType() const; + void setOrderType(int orderType); + std::string getEngineType() const; + void setEngineType(const std::string &engineType); + +private: + std::string applyReason_; + std::string maxComputeProjectName_; + std::vector applyObject_; + std::string applyUserIds_; + long deadline_; + int workspaceId_; + int orderType_; + std::string engineType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPERMISSIONAPPLYORDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h index 2366912f0..ebf74c1b9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateProjectMemberRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEPROJECTMEMBERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h index 857287651..d2f124ef8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityEntityRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityRequest : public RpcServiceRequest - { - - public: - CreateQualityEntityRequest(); - ~CreateQualityEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - int getEntityLevel()const; - void setEntityLevel(int entityLevel); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string projectName_; - int entityLevel_; - std::string matchExpression_; - std::string envType_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateQualityEntityRequest : public RpcServiceRequest { +public: + CreateQualityEntityRequest(); + ~CreateQualityEntityRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + int getEntityLevel() const; + void setEntityLevel(int entityLevel); + std::string getMatchExpression() const; + void setMatchExpression(const std::string &matchExpression); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string projectName_; + int entityLevel_; + std::string matchExpression_; + std::string envType_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYENTITYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h index 7ddf641b8..26c07de19 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityFollowerRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYFOLLOWERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h index 400d941cb..5db113027 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRelativeNodeRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRELATIVENODEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h index 64b8603ff..de7a78f98 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateQualityRuleRequest.h @@ -1,99 +1,93 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEQUALITYRULEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h index eb9cbe204..3a8f2300d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateRemindRequest.h @@ -1,90 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEREMINDREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h index da4bb41f7..a49d00329 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableLevelRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableLevelRequest : public RpcServiceRequest - { - - public: - CreateTableLevelRequest(); - ~CreateTableLevelRequest(); - - int getLevelType()const; - void setLevelType(int levelType); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - - private: - int levelType_; - std::string name_; - std::string description_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableLevelRequest : public RpcServiceRequest { +public: + CreateTableLevelRequest(); + ~CreateTableLevelRequest(); + int getLevelType() const; + void setLevelType(int levelType); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + long getProjectId() const; + void setProjectId(long projectId); + +private: + int levelType_; + std::string name_; + std::string description_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLELEVELREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h index 806ff2e38..b51342322 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableRequest.h @@ -1,118 +1,109 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableRequest : public RpcServiceRequest - { - public: - struct Columns - { - int seqNumber; - bool isPartitionCol; - std::string columnNameCn; - int length; - std::string comment; - std::string columnName; - std::string columnType; - }; - struct Themes - { - int themeLevel; - long themeId; - }; - - public: - CreateTableRequest(); - ~CreateTableRequest(); - - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::vector getColumns()const; - void setColumns(const std::vector& columns); - int getLifeCycle()const; - void setLifeCycle(int lifeCycle); - std::vector getThemes()const; - void setThemes(const std::vector& themes); - long getLogicalLevelId()const; - void setLogicalLevelId(long logicalLevelId); - std::string getEndpoint()const; - void setEndpoint(const std::string& endpoint); - int getEnvType()const; - void setEnvType(int envType); - int getHasPart()const; - void setHasPart(int hasPart); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - long getProjectId()const; - void setProjectId(long projectId); - long getCategoryId()const; - void setCategoryId(long categoryId); - int getVisibility()const; - void setVisibility(int visibility); - long getPhysicsLevelId()const; - void setPhysicsLevelId(long physicsLevelId); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - int getIsView()const; - void setIsView(int isView); - std::string getExternalTableType()const; - void setExternalTableType(const std::string& externalTableType); - std::string getLocation()const; - void setLocation(const std::string& location); - std::string getComment()const; - void setComment(const std::string& comment); - - private: - std::string clientToken_; - std::vector columns_; - int lifeCycle_; - std::vector themes_; - long logicalLevelId_; - std::string endpoint_; - int envType_; - int hasPart_; - std::string tableName_; - std::string appGuid_; - long projectId_; - long categoryId_; - int visibility_; - long physicsLevelId_; - std::string ownerId_; - int isView_; - std::string externalTableType_; - std::string location_; - std::string comment_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableRequest : public RpcServiceRequest { +public: + struct Columns { + int seqNumber; + bool isPartitionCol; + std::string columnNameCn; + int length; + std::string comment; + std::string columnName; + std::string columnType; + }; + struct Themes { + int themeLevel; + long themeId; + }; + CreateTableRequest(); + ~CreateTableRequest(); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::vector getColumns() const; + void setColumns(const std::vector &columns); + int getLifeCycle() const; + void setLifeCycle(int lifeCycle); + std::vector getThemes() const; + void setThemes(const std::vector &themes); + long getLogicalLevelId() const; + void setLogicalLevelId(long logicalLevelId); + std::string getEndpoint() const; + void setEndpoint(const std::string &endpoint); + int getEnvType() const; + void setEnvType(int envType); + int getHasPart() const; + void setHasPart(int hasPart); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getAppGuid() const; + void setAppGuid(const std::string &appGuid); + long getProjectId() const; + void setProjectId(long projectId); + long getCategoryId() const; + void setCategoryId(long categoryId); + int getVisibility() const; + void setVisibility(int visibility); + long getPhysicsLevelId() const; + void setPhysicsLevelId(long physicsLevelId); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + int getIsView() const; + void setIsView(int isView); + std::string getExternalTableType() const; + void setExternalTableType(const std::string &externalTableType); + std::string getLocation() const; + void setLocation(const std::string &location); + std::string getComment() const; + void setComment(const std::string &comment); + +private: + std::string clientToken_; + std::vector columns_; + int lifeCycle_; + std::vector themes_; + long logicalLevelId_; + std::string endpoint_; + int envType_; + int hasPart_; + std::string tableName_; + std::string appGuid_; + long projectId_; + long categoryId_; + int visibility_; + long physicsLevelId_; + std::string ownerId_; + int isView_; + std::string externalTableType_; + std::string location_; + std::string comment_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h index 556d49dd3..f7acbb00a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateTableThemeRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableThemeRequest : public RpcServiceRequest - { - - public: - CreateTableThemeRequest(); - ~CreateTableThemeRequest(); - - int getLevel()const; - void setLevel(int level); - std::string getName()const; - void setName(const std::string& name); - long getProjectId()const; - void setProjectId(long projectId); - long getParentId()const; - void setParentId(long parentId); - - private: - int level_; - std::string name_; - long projectId_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT CreateTableThemeRequest : public RpcServiceRequest { +public: + CreateTableThemeRequest(); + ~CreateTableThemeRequest(); + int getLevel() const; + void setLevel(int level); + std::string getName() const; + void setName(const std::string &name); + long getProjectId() const; + void setProjectId(long projectId); + long getParentId() const; + void setParentId(long parentId); + +private: + int level_; + std::string name_; + long projectId_; + long parentId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATETABLETHEMEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h index 9d7fa586d..58817e001 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/CreateUdfFileRequest.h @@ -1,81 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ + +#include +#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 ¶meterDescription); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_CREATEUDFFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h index e92cd08ec..d28b14785 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteBusinessRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEBUSINESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h index 41a03c35d..edd061b2b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteConnectionRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETECONNECTIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h index 187e04e9c..c12f65d26 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDISyncTaskRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDISYNCTASKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDISYNCTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDISyncTaskRequest : public RpcServiceRequest - { - - public: - DeleteDISyncTaskRequest(); - ~DeleteDISyncTaskRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDISYNCTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDISYNCTASKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDISYNCTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDISyncTaskRequest : public RpcServiceRequest { +public: + DeleteDISyncTaskRequest(); + ~DeleteDISyncTaskRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDISYNCTASKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h index dd6a2eaac..fbee186d7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiAuthorityRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiAuthorityRequest : public RpcServiceRequest - { - - public: - DeleteDataServiceApiAuthorityRequest(); - ~DeleteDataServiceApiAuthorityRequest(); - - long getAuthorizedProjectId()const; - void setAuthorizedProjectId(long authorizedProjectId); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getApiId()const; - void setApiId(long apiId); - - private: - long authorizedProjectId_; - long tenantId_; - long projectId_; - long apiId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataServiceApiAuthorityRequest : public RpcServiceRequest { +public: + DeleteDataServiceApiAuthorityRequest(); + ~DeleteDataServiceApiAuthorityRequest(); + long getAuthorizedProjectId() const; + void setAuthorizedProjectId(long authorizedProjectId); + long getTenantId() const; + void setTenantId(long tenantId); + long getProjectId() const; + void setProjectId(long projectId); + long getApiId() const; + void setApiId(long apiId); + +private: + long authorizedProjectId_; + long tenantId_; + long projectId_; + long apiId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIAUTHORITYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h index 5079ac681..0855c987c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataServiceApiRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h index e077b29e6..4d5d90b05 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteDataSourceRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataSourceRequest : public RpcServiceRequest - { - - public: - DeleteDataSourceRequest(); - ~DeleteDataSourceRequest(); - - long getDataSourceId()const; - void setDataSourceId(long dataSourceId); - - private: - long dataSourceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteDataSourceRequest : public RpcServiceRequest { +public: + DeleteDataSourceRequest(); + ~DeleteDataSourceRequest(); + long getDataSourceId() const; + void setDataSourceId(long dataSourceId); + +private: + long dataSourceId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEDATASOURCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFileRequest.h index 450bbaf28..6944bd6c3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFileRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFILEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFILEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFileRequest : public RpcServiceRequest - { - - public: - DeleteFileRequest(); - ~DeleteFileRequest(); - - 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_DELETEFILEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFILEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteFileRequest : public RpcServiceRequest { +public: + DeleteFileRequest(); + ~DeleteFileRequest(); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h index ec04e5304..cc6c6f8cb 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFolderRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFOLDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h index 86a54b8a9..a93007b6f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteFromMetaCategoryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEFROMMETACATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h index a7d3468d9..904b6f9ea 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteMetaCategoryRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEMETACATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h index 05855e688..ca60fb700 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteProjectMemberRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEPROJECTMEMBERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h index effaab764..c2e225d75 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityEntityRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYENTITYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h index 0c1c87ced..27cd0bcd2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityFollowerRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYFOLLOWERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h index 49078a9d1..107e0019b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRelativeNodeRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRELATIVENODEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h index 70f4456a6..993dad0c2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteQualityRuleRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleRequest : public RpcServiceRequest - { - - public: - DeleteQualityRuleRequest(); - ~DeleteQualityRuleRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getRuleId()const; - void setRuleId(long ruleId); - - private: - std::string projectName_; - long ruleId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteQualityRuleRequest : public RpcServiceRequest { +public: + DeleteQualityRuleRequest(); + ~DeleteQualityRuleRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + long getRuleId() const; + void setRuleId(long ruleId); + +private: + std::string projectName_; + long ruleId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEQUALITYRULEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h index 0e23cb301..f5bc8f7a4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteRemindRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETEREMINDREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h index a023eb189..c8b945c32 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableLevelRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableLevelRequest : public RpcServiceRequest - { - - public: - DeleteTableLevelRequest(); - ~DeleteTableLevelRequest(); - - long getLevelId()const; - void setLevelId(long levelId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long levelId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableLevelRequest : public RpcServiceRequest { +public: + DeleteTableLevelRequest(); + ~DeleteTableLevelRequest(); + long getLevelId() const; + void setLevelId(long levelId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long levelId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLELEVELREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h index b52c5829e..c0218aeba 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableRequest : public RpcServiceRequest - { - - public: - DeleteTableRequest(); - ~DeleteTableRequest(); - - int getEnvType()const; - void setEnvType(int envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - long getProjectId()const; - void setProjectId(long projectId); - - private: - int envType_; - std::string tableName_; - std::string appGuid_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableRequest : public RpcServiceRequest { +public: + DeleteTableRequest(); + ~DeleteTableRequest(); + int getEnvType() const; + void setEnvType(int envType); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getAppGuid() const; + void setAppGuid(const std::string &appGuid); + long getProjectId() const; + void setProjectId(long projectId); + +private: + int envType_; + std::string tableName_; + std::string appGuid_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h index b80fe7eeb..18d35b6ba 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeleteTableThemeRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableThemeRequest : public RpcServiceRequest - { - - public: - DeleteTableThemeRequest(); - ~DeleteTableThemeRequest(); - - long getThemeId()const; - void setThemeId(long themeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long themeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeleteTableThemeRequest : public RpcServiceRequest { +public: + DeleteTableThemeRequest(); + ~DeleteTableThemeRequest(); + long getThemeId() const; + void setThemeId(long themeId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long themeId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DELETETABLETHEMEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployDISyncTaskRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployDISyncTaskRequest.h index 29160ea34..d14f9ae6d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployDISyncTaskRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployDISyncTaskRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYDISYNCTASKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYDISYNCTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployDISyncTaskRequest : public RpcServiceRequest - { - - public: - DeployDISyncTaskRequest(); - ~DeployDISyncTaskRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYDISYNCTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYDISYNCTASKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYDISYNCTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DeployDISyncTaskRequest : public RpcServiceRequest { +public: + DeployDISyncTaskRequest(); + ~DeployDISyncTaskRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYDISYNCTASKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h index 01c69d1e3..bbd789372 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DeployFileRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DEPLOYFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h index 7b934c7bf..1226ab295 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/DesensitizeDataRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DesensitizeDataRequest : public RpcServiceRequest - { - - public: - DesensitizeDataRequest(); - ~DesensitizeDataRequest(); - - std::string getSceneCode()const; - void setSceneCode(const std::string& sceneCode); - std::string getData()const; - void setData(const std::string& data); - - private: - std::string sceneCode_; - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT DesensitizeDataRequest : public RpcServiceRequest { +public: + DesensitizeDataRequest(); + ~DesensitizeDataRequest(); + std::string getSceneCode() const; + void setSceneCode(const std::string &sceneCode); + std::string getData() const; + void setData(const std::string &data); + +private: + std::string sceneCode_; + std::string data_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_DESENSITIZEDATAREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h index 03f0d39ee..995acdc6e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/EstablishRelationTableToBusinessRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_ESTABLISHRELATIONTABLETOBUSINESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDataSourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDataSourcesRequest.h index 28b35d6a3..946dec781 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDataSourcesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ExportDataSourcesRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDATASOURCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDATASOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ExportDataSourcesRequest : public RpcServiceRequest - { - - public: - ExportDataSourcesRequest(); - ~ExportDataSourcesRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - 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); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string dataSourceType_; - int pageNumber_; - std::string subType_; - std::string name_; - int envType_; - int pageSize_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDATASOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDATASOURCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDATASOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ExportDataSourcesRequest : public RpcServiceRequest { +public: + ExportDataSourcesRequest(); + ~ExportDataSourcesRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + 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); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string dataSourceType_; + int pageNumber_; + std::string subType_; + std::string name_; + int envType_; + int pageSize_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_EXPORTDATASOURCESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingRequest.h index bd810147a..231c6e7cb 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForCreatingRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORCREATINGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORCREATINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GenerateDISyncTaskConfigForCreatingRequest : public RpcServiceRequest - { - - public: - GenerateDISyncTaskConfigForCreatingRequest(); - ~GenerateDISyncTaskConfigForCreatingRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getTaskParam()const; - void setTaskParam(const std::string& taskParam); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string taskType_; - std::string clientToken_; - std::string taskParam_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORCREATINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORCREATINGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORCREATINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GenerateDISyncTaskConfigForCreatingRequest : public RpcServiceRequest { +public: + GenerateDISyncTaskConfigForCreatingRequest(); + ~GenerateDISyncTaskConfigForCreatingRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getTaskParam() const; + void setTaskParam(const std::string &taskParam); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string taskType_; + std::string clientToken_; + std::string taskParam_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORCREATINGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h index a8b14279d..e459f1c70 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GenerateDISyncTaskConfigForUpdatingRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORUPDATINGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORUPDATINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GenerateDISyncTaskConfigForUpdatingRequest : public RpcServiceRequest - { - - public: - GenerateDISyncTaskConfigForUpdatingRequest(); - ~GenerateDISyncTaskConfigForUpdatingRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); - std::string getTaskParam()const; - void setTaskParam(const std::string& taskParam); - long getProjectId()const; - void setProjectId(long projectId); - long getTaskId()const; - void setTaskId(long taskId); - - private: - std::string taskType_; - std::string clientToken_; - std::string taskParam_; - long projectId_; - long taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORUPDATINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORUPDATINGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORUPDATINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GenerateDISyncTaskConfigForUpdatingRequest : public RpcServiceRequest { +public: + GenerateDISyncTaskConfigForUpdatingRequest(); + ~GenerateDISyncTaskConfigForUpdatingRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + std::string getClientToken() const; + void setClientToken(const std::string &clientToken); + std::string getTaskParam() const; + void setTaskParam(const std::string &taskParam); + long getProjectId() const; + void setProjectId(long projectId); + long getTaskId() const; + void setTaskId(long taskId); + +private: + std::string taskType_; + std::string clientToken_; + std::string taskParam_; + long projectId_; + long taskId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GENERATEDISYNCTASKCONFIGFORUPDATINGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h index 9d51e46ee..3f468ab21 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineConfigRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINECONFIGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h index bf38b627d..0cb9f9c38 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineKeyPathRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINEKEYPATHREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h index a881aa846..18c085f00 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBaselineStatusRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBASELINESTATUSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h index d0e14981f..931fb95bc 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetBusinessRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETBUSINESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h index de0c01bf4..ba5cf396f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDDLJobStatusRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusRequest : public RpcServiceRequest - { - - public: - GetDDLJobStatusRequest(); - ~GetDDLJobStatusRequest(); - - std::string getTaskId()const; - void setTaskId(const std::string& taskId); - - private: - std::string taskId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDDLJobStatusRequest : public RpcServiceRequest { +public: + GetDDLJobStatusRequest(); + ~GetDDLJobStatusRequest(); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + std::string taskId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDDLJOBSTATUSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h index e2f76c2f5..0e972b1ec 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncInstanceInfoRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCINSTANCEINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCINSTANCEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncInstanceInfoRequest : public RpcServiceRequest - { - - public: - GetDISyncInstanceInfoRequest(); - ~GetDISyncInstanceInfoRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCINSTANCEINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCINSTANCEINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCINSTANCEINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncInstanceInfoRequest : public RpcServiceRequest { +public: + GetDISyncInstanceInfoRequest(); + ~GetDISyncInstanceInfoRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCINSTANCEINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h index 4b98223ed..47fd2ff4f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskMetricInfoRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncTaskMetricInfoRequest : public RpcServiceRequest - { - - public: - GetDISyncTaskMetricInfoRequest(); - ~GetDISyncTaskMetricInfoRequest(); - - long getEndDate()const; - void setEndDate(long endDate); - long getStartDate()const; - void setStartDate(long startDate); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - long endDate_; - long startDate_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncTaskMetricInfoRequest : public RpcServiceRequest { +public: + GetDISyncTaskMetricInfoRequest(); + ~GetDISyncTaskMetricInfoRequest(); + long getEndDate() const; + void setEndDate(long endDate); + long getStartDate() const; + void setStartDate(long startDate); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + long endDate_; + long startDate_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKMETRICINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h index 281804703..b2c6429f3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDISyncTaskRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncTaskRequest : public RpcServiceRequest - { - - public: - GetDISyncTaskRequest(); - ~GetDISyncTaskRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDISyncTaskRequest : public RpcServiceRequest { +public: + GetDISyncTaskRequest(); + ~GetDISyncTaskRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDISYNCTASKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h index 3d4a9cabd..79e0404c4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDagRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDagRequest : public RpcServiceRequest - { - - public: - GetDagRequest(); - ~GetDagRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getDagId()const; - void setDagId(long dagId); - - private: - std::string projectEnv_; - long dagId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDagRequest : public RpcServiceRequest { +public: + GetDagRequest(); + ~GetDagRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getDagId() const; + void setDagId(long dagId); + +private: + std::string projectEnv_; + long dagId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDAGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h index 4832766c1..62200631d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h index 040d885b3..678bb7de6 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiResult.h @@ -132,12 +132,12 @@ namespace AlibabaCloud WizardDetails wizardDetails; int visibleRange; std::vector protocols; - std::string createdTime; std::string description; + std::string createdTime; std::string apiName; + int timeout; std::string creatorId; int requestMethod; - int timeout; long projectId; int responseContentType; std::string operatorId; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestRequest.h new file mode 100644 index 000000000..81905dee1 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPITESTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPITESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiTestRequest : public RpcServiceRequest { +public: + GetDataServiceApiTestRequest(); + ~GetDataServiceApiTestRequest(); + long getTestId() const; + void setTestId(long testId); + +private: + long testId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPITESTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestResult.h new file mode 100644 index 000000000..9a8a7339d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApiTestResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPITESTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPITESTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceApiTestResult : public ServiceResult + { + public: + struct Data + { + std::string costTime; + std::string status; + std::string paramMap; + long retCode; + std::string retResult; + std::string nodesDebugInfo; + long apiId; + std::string debugInfo; + }; + + + GetDataServiceApiTestResult(); + explicit GetDataServiceApiTestResult(const std::string &payload); + ~GetDataServiceApiTestResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPITESTRESULT_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 index 9fd0fc7e9..368d458ec 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEAPPLICATIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h index f4042b343..52b2634f3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceApplicationResult.h @@ -35,8 +35,8 @@ namespace AlibabaCloud struct Data { std::string applicationKey; - std::string applicationName; std::string applicationSecret; + std::string applicationName; long projectId; long applicationId; std::string applicationCode; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h index 1a619de1e..df18c8921 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceFolderRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceFolderRequest : public RpcServiceRequest - { - - public: - GetDataServiceFolderRequest(); - ~GetDataServiceFolderRequest(); - - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - long getFolderId()const; - void setFolderId(long folderId); - - private: - long tenantId_; - long projectId_; - long folderId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceFolderRequest : public RpcServiceRequest { +public: + GetDataServiceFolderRequest(); + ~GetDataServiceFolderRequest(); + long getTenantId() const; + void setTenantId(long tenantId); + long getProjectId() const; + void setProjectId(long projectId); + long getFolderId() const; + void setFolderId(long folderId); + +private: + long tenantId_; + long projectId_; + long folderId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEFOLDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h index c7b4f2583..8a8b82982 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServiceGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceGroupRequest : public RpcServiceRequest - { - - public: - GetDataServiceGroupRequest(); - ~GetDataServiceGroupRequest(); - - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string groupId_; - long tenantId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataServiceGroupRequest : public RpcServiceRequest { +public: + GetDataServiceGroupRequest(); + ~GetDataServiceGroupRequest(); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + long getTenantId() const; + void setTenantId(long tenantId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string groupId_; + long tenantId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEGROUPREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h index 504f5c901..10efb157c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASERVICEPUBLISHEDAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h index d7c5e7575..080672351 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataServicePublishedApiResult.h @@ -145,12 +145,12 @@ namespace AlibabaCloud WizardDetails wizardDetails; int visibleRange; std::vector protocols; - std::string createdTime; std::string description; + std::string createdTime; std::string apiName; + int timeout; std::string creatorId; int requestMethod; - int timeout; long projectId; int responseContentType; std::string operatorId; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataSourceMetaRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataSourceMetaRequest.h index 240703f28..5e2598bf7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataSourceMetaRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDataSourceMetaRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASOURCEMETAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASOURCEMETAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataSourceMetaRequest : public RpcServiceRequest - { - - public: - GetDataSourceMetaRequest(); - ~GetDataSourceMetaRequest(); - - std::string getDatasourceName()const; - void setDatasourceName(const std::string& datasourceName); - long getPageNumber()const; - void setPageNumber(long pageNumber); - long getPageSize()const; - void setPageSize(long pageSize); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string datasourceName_; - long pageNumber_; - long pageSize_; - std::string envType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASOURCEMETAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASOURCEMETAREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASOURCEMETAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDataSourceMetaRequest : public RpcServiceRequest { +public: + GetDataSourceMetaRequest(); + ~GetDataSourceMetaRequest(); + std::string getDatasourceName() const; + void setDatasourceName(const std::string &datasourceName); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string datasourceName_; + long pageNumber_; + long pageSize_; + std::string envType_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDATASOURCEMETAREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h index 8e9d74609..f2ec4bfaa 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDeploymentRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDEPLOYMENTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h new file mode 100644 index 000000000..c2849402f --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDutyRosterRequest : public RpcServiceRequest { +public: + GetDutyRosterRequest(); + ~GetDutyRosterRequest(); + std::string getDutyRosterIdentifier() const; + void setDutyRosterIdentifier(const std::string &dutyRosterIdentifier); + std::string getWatchkeeper() const; + void setWatchkeeper(const std::string &watchkeeper); + std::string getUserType() const; + void setUserType(const std::string &userType); + long getEndTime() const; + void setEndTime(long endTime); + long getBeginTime() const; + void setBeginTime(long beginTime); + +private: + std::string dutyRosterIdentifier_; + std::string watchkeeper_; + std::string userType_; + long endTime_; + long beginTime_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h new file mode 100644 index 000000000..a3289c3bc --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetDutyRosterResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetDutyRosterResult : public ServiceResult + { + public: + struct Paging + { + struct DutyRosterItem + { + std::string watchkeeperName; + std::string watchkeeper; + long startLong; + long endLong; + }; + int totalCount; + std::vector dutyRoster; + int pageSize; + int pageNumber; + }; + + + GetDutyRosterResult(); + explicit GetDutyRosterResult(const std::string &payload); + ~GetDutyRosterResult(); + Paging getPaging()const; + + protected: + void parse(const std::string &payload); + private: + Paging paging_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETDUTYROSTERRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionRequest.h new file mode 100644 index 000000000..aa2b1875c --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETEXTENSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETEXTENSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetExtensionRequest : public RpcServiceRequest { +public: + GetExtensionRequest(); + ~GetExtensionRequest(); + std::string getExtensionCode() const; + void setExtensionCode(const std::string &extensionCode); + +private: + std::string extensionCode_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETEXTENSIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionResult.h new file mode 100644 index 000000000..8ded32088 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetExtensionResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETEXTENSIONRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETEXTENSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetExtensionResult : public ServiceResult + { + public: + struct Extension + { + struct BindEventListItem + { + std::string eventName; + std::string eventCode; + }; + struct EventCategoryListItem + { + std::string categoryCode; + std::string categoryName; + }; + int status; + std::string extensionName; + std::string parameterSetting; + std::string extensionDesc; + std::vector eventCategoryList; + std::string optionSetting; + std::string detailUrl; + std::string extensionCode; + std::vector bindEventList; + std::string helpDocUrl; + long projectTesting; + }; + + + GetExtensionResult(); + explicit GetExtensionResult(const std::string &payload); + ~GetExtensionResult(); + Extension getExtension()const; + + protected: + void parse(const std::string &payload); + private: + Extension extension_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETEXTENSIONRESULT_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 index a06117565..8cd62fd45 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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); - 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: - long projectId_; - long nodeId_; - std::string projectIdentifier_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ + +#include +#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); + 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: + long projectId_; + long nodeId_; + std::string projectIdentifier_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h index bcec31503..4a8d24aae 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileTypeStatisticRequest : public RpcServiceRequest - { - - public: - GetFileTypeStatisticRequest(); - ~GetFileTypeStatisticRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetFileTypeStatisticRequest : public RpcServiceRequest { +public: + GetFileTypeStatisticRequest(); + ~GetFileTypeStatisticRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string projectEnv_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILETYPESTATISTICREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h index ececb154a..252e51cb5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileTypeStatisticResult.h @@ -34,8 +34,8 @@ namespace AlibabaCloud public: struct ProgramTypeAndCount { - std::string programType; int count; + std::string programType; }; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h index 2db9e0ea4..72bc55d44 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFileVersionRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFILEVERSIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h index 6a9af28da..77b56622f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetFolderRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETFOLDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetIDEEventDetailRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetIDEEventDetailRequest.h index a620aa957..a5485f85b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetIDEEventDetailRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetIDEEventDetailRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETIDEEVENTDETAILREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETIDEEVENTDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetIDEEventDetailRequest : public RpcServiceRequest - { - - public: - GetIDEEventDetailRequest(); - ~GetIDEEventDetailRequest(); - - std::string getMessageId()const; - void setMessageId(const std::string& messageId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string messageId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETIDEEVENTDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETIDEEVENTDETAILREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETIDEEVENTDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetIDEEventDetailRequest : public RpcServiceRequest { +public: + GetIDEEventDetailRequest(); + ~GetIDEEventDetailRequest(); + std::string getMessageId() const; + void setMessageId(const std::string &messageId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string messageId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETIDEEVENTDETAILREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h index e88498e14..14650d982 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceConsumeTimeRankRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceConsumeTimeRankRequest : public RpcServiceRequest - { - - public: - GetInstanceConsumeTimeRankRequest(); - ~GetInstanceConsumeTimeRankRequest(); - - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string bizdate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceConsumeTimeRankRequest : public RpcServiceRequest { +public: + GetInstanceConsumeTimeRankRequest(); + ~GetInstanceConsumeTimeRankRequest(); + std::string getBizdate() const; + void setBizdate(const std::string &bizdate); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string bizdate_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECONSUMETIMERANKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h index 994a0d6c7..6ad7c9ecd 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceCountTrendRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceCountTrendRequest : public RpcServiceRequest - { - - public: - GetInstanceCountTrendRequest(); - ~GetInstanceCountTrendRequest(); - - std::string getBeginDate()const; - void setBeginDate(const std::string& beginDate); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string beginDate_; - std::string endDate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceCountTrendRequest : public RpcServiceRequest { +public: + GetInstanceCountTrendRequest(); + ~GetInstanceCountTrendRequest(); + std::string getBeginDate() const; + void setBeginDate(const std::string &beginDate); + std::string getEndDate() const; + void setEndDate(const std::string &endDate); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string beginDate_; + std::string endDate_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCECOUNTTRENDREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h index 22482bc70..27898e30c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceErrorRankRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceErrorRankRequest : public RpcServiceRequest - { - - public: - GetInstanceErrorRankRequest(); - ~GetInstanceErrorRankRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceErrorRankRequest : public RpcServiceRequest { +public: + GetInstanceErrorRankRequest(); + ~GetInstanceErrorRankRequest(); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEERRORRANKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h index 63b6e4fcc..acef15039 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceLogRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCELOGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h index 8f4382fb4..79e8fbbaf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h index 7cdfbaf04..d78b829f3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusCountRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusCountRequest : public RpcServiceRequest - { - - public: - GetInstanceStatusCountRequest(); - ~GetInstanceStatusCountRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - std::string bizDate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusCountRequest : public RpcServiceRequest { +public: + GetInstanceStatusCountRequest(); + ~GetInstanceStatusCountRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getBizDate() const; + void setBizDate(const std::string &bizDate); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string projectEnv_; + std::string bizDate_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSCOUNTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h index 712cd7f84..a4a3ea2a9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetInstanceStatusStatisticRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusStatisticRequest : public RpcServiceRequest - { - - public: - GetInstanceStatusStatisticRequest(); - ~GetInstanceStatusStatisticRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getDagType()const; - void setDagType(const std::string& dagType); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); - std::string getSchedulerType()const; - void setSchedulerType(const std::string& schedulerType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - std::string dagType_; - std::string bizDate_; - std::string schedulerType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetInstanceStatusStatisticRequest : public RpcServiceRequest { +public: + GetInstanceStatusStatisticRequest(); + ~GetInstanceStatusStatisticRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getDagType() const; + void setDagType(const std::string &dagType); + std::string getBizDate() const; + void setBizDate(const std::string &bizDate); + std::string getSchedulerType() const; + void setSchedulerType(const std::string &schedulerType); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string projectEnv_; + std::string dagType_; + std::string bizDate_; + std::string schedulerType_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETINSTANCESTATUSSTATISTICREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h index f44bafcec..3ed82fc90 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetManualDagInstancesRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetManualDagInstancesRequest : public RpcServiceRequest - { - - public: - GetManualDagInstancesRequest(); - ~GetManualDagInstancesRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDagId()const; - void setDagId(const std::string& dagId); - - private: - std::string projectEnv_; - std::string projectName_; - std::string dagId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetManualDagInstancesRequest : public RpcServiceRequest { +public: + GetManualDagInstancesRequest(); + ~GetManualDagInstancesRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getDagId() const; + void setDagId(const std::string &dagId); + +private: + std::string projectEnv_; + std::string projectName_; + std::string dagId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMANUALDAGINSTANCESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h index 78888fd88..80370a8ea 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h index fcb3f053f..b8896e224 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaCategoryResult.h @@ -42,8 +42,8 @@ namespace AlibabaCloud std::string ownerId; std::string lastOperatorId; long createTime; - long parentCategoryId; int depth; + long parentCategoryId; std::string name; }; long totalCount; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h index 4c62a2ff0..fcd90f7b8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaColumnLineageRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaColumnLineageRequest : public RpcServiceRequest - { - - public: - GetMetaColumnLineageRequest(); - ~GetMetaColumnLineageRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getColumnName()const; - void setColumnName(const std::string& columnName); - std::string getColumnGuid()const; - void setColumnGuid(const std::string& columnGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDirection()const; - void setDirection(const std::string& direction); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNum_; - std::string columnName_; - std::string columnGuid_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - std::string direction_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaColumnLineageRequest : public RpcServiceRequest { +public: + GetMetaColumnLineageRequest(); + ~GetMetaColumnLineageRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getColumnName() const; + void setColumnName(const std::string &columnName); + std::string getColumnGuid() const; + void setColumnGuid(const std::string &columnGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getDirection() const; + void setDirection(const std::string &direction); + +private: + std::string dataSourceType_; + std::string clusterId_; + int pageNum_; + std::string columnName_; + std::string columnGuid_; + std::string databaseName_; + int pageSize_; + std::string tableName_; + std::string direction_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETACOLUMNLINEAGEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h index 8082d8e36..ee06824e9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBInfoRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoRequest : public RpcServiceRequest - { - - public: - GetMetaDBInfoRequest(); - ~GetMetaDBInfoRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - - private: - std::string dataSourceType_; - std::string databaseName_; - std::string clusterId_; - std::string appGuid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBInfoRequest : public RpcServiceRequest { +public: + GetMetaDBInfoRequest(); + ~GetMetaDBInfoRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + std::string getAppGuid() const; + void setAppGuid(const std::string &appGuid); + +private: + std::string dataSourceType_; + std::string databaseName_; + std::string clusterId_; + std::string appGuid_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h index d0608bf18..1a62086b7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaDBTableListRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string dataSourceType_; - std::string databaseName_; - int pageSize_; - std::string clusterId_; - std::string appGuid_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaDBTableListRequest : public RpcServiceRequest { +public: + GetMetaDBTableListRequest(); + ~GetMetaDBTableListRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + std::string getAppGuid() const; + void setAppGuid(const std::string &appGuid); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string dataSourceType_; + std::string databaseName_; + int pageSize_; + std::string clusterId_; + std::string appGuid_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETADBTABLELISTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h index b74f12408..b72cf60b9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableBasicInfoRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - bool getExtension()const; - void setExtension(bool extension); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - bool extension_; - std::string tableGuid_; - std::string databaseName_; - std::string clusterId_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableBasicInfoRequest : public RpcServiceRequest { +public: + GetMetaTableBasicInfoRequest(); + ~GetMetaTableBasicInfoRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + bool getExtension() const; + void setExtension(bool extension); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string dataSourceType_; + bool extension_; + std::string tableGuid_; + std::string databaseName_; + std::string clusterId_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEBASICINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h index 35c032dd9..4162cd87b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableChangeLogRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECHANGELOGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h index 36fd4ebd8..a40b1a369 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableColumnRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableColumnRequest : public RpcServiceRequest - { - - public: - GetMetaTableColumnRequest(); - ~GetMetaTableColumnRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNum_; - std::string tableGuid_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableColumnRequest : public RpcServiceRequest { +public: + GetMetaTableColumnRequest(); + ~GetMetaTableColumnRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string dataSourceType_; + std::string clusterId_; + int pageNum_; + std::string tableGuid_; + std::string databaseName_; + int pageSize_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLECOLUMNREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h index a77d9ba42..59032f4c5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableFullInfoRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoRequest : public RpcServiceRequest - { - - public: - GetMetaTableFullInfoRequest(); - ~GetMetaTableFullInfoRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNum_; - std::string tableGuid_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableFullInfoRequest : public RpcServiceRequest { +public: + GetMetaTableFullInfoRequest(); + ~GetMetaTableFullInfoRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + int getPageNum() const; + void setPageNum(int pageNum); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string dataSourceType_; + std::string clusterId_; + int pageNum_; + std::string tableGuid_; + std::string databaseName_; + int pageSize_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEFULLINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h index 6da858faf..30bb0e418 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableIntroWikiRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEINTROWIKIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h index c9c402a6d..19c030350 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableLineageRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableLineageRequest : public RpcServiceRequest - { - - public: - GetMetaTableLineageRequest(); - ~GetMetaTableLineageRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getNextPrimaryKey()const; - void setNextPrimaryKey(const std::string& nextPrimaryKey); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getDirection()const; - void setDirection(const std::string& direction); - - private: - std::string dataSourceType_; - std::string clusterId_; - std::string tableGuid_; - std::string nextPrimaryKey_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - std::string direction_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableLineageRequest : public RpcServiceRequest { +public: + GetMetaTableLineageRequest(); + ~GetMetaTableLineageRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getNextPrimaryKey() const; + void setNextPrimaryKey(const std::string &nextPrimaryKey); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getDirection() const; + void setDirection(const std::string &direction); + +private: + std::string dataSourceType_; + std::string clusterId_; + std::string tableGuid_; + std::string nextPrimaryKey_; + std::string databaseName_; + int pageSize_; + std::string tableName_; + std::string direction_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELINEAGEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h index 89ee744b6..cd8004275 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableListByCategoryRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryRequest : public RpcServiceRequest - { - - public: - GetMetaTableListByCategoryRequest(); - ~GetMetaTableListByCategoryRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - int pageSize_; - int pageNumber_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableListByCategoryRequest : public RpcServiceRequest { +public: + GetMetaTableListByCategoryRequest(); + ~GetMetaTableListByCategoryRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + long getCategoryId() const; + void setCategoryId(long categoryId); + +private: + int pageSize_; + int pageNumber_; + long categoryId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLELISTBYCATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h index b6b089b5d..fd20ae894 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableOutputRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEOUTPUTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h index 480db2420..c71b926ff 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTablePartitionRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getDatabaseName()const; - void setDatabaseName(const std::string& databaseName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNumber_; - std::string tableGuid_; - std::string databaseName_; - int pageSize_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTablePartitionRequest : public RpcServiceRequest { +public: + GetMetaTablePartitionRequest(); + ~GetMetaTablePartitionRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getDatabaseName() const; + void setDatabaseName(const std::string &databaseName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string dataSourceType_; + std::string clusterId_; + int pageNumber_; + std::string tableGuid_; + std::string databaseName_; + int pageSize_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLEPARTITIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h index 2db11c645..57dc14e99 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMetaTableThemeLevelRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableThemeLevelRequest : public RpcServiceRequest - { - - public: - GetMetaTableThemeLevelRequest(); - ~GetMetaTableThemeLevelRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - - private: - std::string dataSourceType_; - std::string tableGuid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMetaTableThemeLevelRequest : public RpcServiceRequest { +public: + GetMetaTableThemeLevelRequest(); + ~GetMetaTableThemeLevelRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + +private: + std::string dataSourceType_; + std::string tableGuid_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMETATABLETHEMELEVELREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationProcessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationProcessRequest.h index 1604a6a81..ce263a9bf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationProcessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationProcessRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONPROCESSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONPROCESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMigrationProcessRequest : public RpcServiceRequest - { - - public: - GetMigrationProcessRequest(); - ~GetMigrationProcessRequest(); - - long getMigrationId()const; - void setMigrationId(long migrationId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long migrationId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONPROCESSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONPROCESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONPROCESSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMigrationProcessRequest : public RpcServiceRequest { +public: + GetMigrationProcessRequest(); + ~GetMigrationProcessRequest(); + long getMigrationId() const; + void setMigrationId(long migrationId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long migrationId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONPROCESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationSummaryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationSummaryRequest.h index cad2498b0..303ae8be6 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationSummaryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetMigrationSummaryRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONSUMMARYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONSUMMARYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMigrationSummaryRequest : public RpcServiceRequest - { - - public: - GetMigrationSummaryRequest(); - ~GetMigrationSummaryRequest(); - - long getMigrationId()const; - void setMigrationId(long migrationId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long migrationId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONSUMMARYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONSUMMARYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONSUMMARYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetMigrationSummaryRequest : public RpcServiceRequest { +public: + GetMigrationSummaryRequest(); + ~GetMigrationSummaryRequest(); + long getMigrationId() const; + void setMigrationId(long migrationId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long migrationId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETMIGRATIONSUMMARYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h index 76fa4d8b3..736a08ce3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeChildrenRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeChildrenRequest : public RpcServiceRequest - { - - public: - GetNodeChildrenRequest(); - ~GetNodeChildrenRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeChildrenRequest : public RpcServiceRequest { +public: + GetNodeChildrenRequest(); + ~GetNodeChildrenRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getNodeId() const; + void setNodeId(long nodeId); + +private: + std::string projectEnv_; + long nodeId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECHILDRENREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h index 331bdb157..ea5367d26 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeCodeRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODECODEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h index 246b8ec68..a4a892a91 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeOnBaselineRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEONBASELINEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h index 0337eccf4..2d2aeb9b1 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeParentsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeParentsRequest : public RpcServiceRequest - { - - public: - GetNodeParentsRequest(); - ~GetNodeParentsRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeParentsRequest : public RpcServiceRequest { +public: + GetNodeParentsRequest(); + ~GetNodeParentsRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getNodeId() const; + void setNodeId(long nodeId); + +private: + std::string projectEnv_; + long nodeId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEPARENTSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h index e60555770..6ed52b62b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h index 38e545aa3..607f77f9c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetNodeTypeListInfoRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeTypeListInfoRequest : public RpcServiceRequest - { - - public: - GetNodeTypeListInfoRequest(); - ~GetNodeTypeListInfoRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - std::string getLocale()const; - void setLocale(const std::string& locale); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string keyword_; - std::string locale_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetNodeTypeListInfoRequest : public RpcServiceRequest { +public: + GetNodeTypeListInfoRequest(); + ~GetNodeTypeListInfoRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + std::string getLocale() const; + void setLocale(const std::string &locale); + long getProjectId() const; + void setProjectId(long projectId); + std::string getProjectIdentifier() const; + void setProjectIdentifier(const std::string &projectIdentifier); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + std::string keyword_; + std::string locale_; + long projectId_; + std::string projectIdentifier_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETNODETYPELISTINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h index d55694b21..e12749961 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpRiskDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpRiskDataRequest : public RpcServiceRequest - { - - public: - GetOpRiskDataRequest(); - ~GetOpRiskDataRequest(); - - std::string getDate()const; - void setDate(const std::string& date); - std::string getRiskType()const; - void setRiskType(const std::string& riskType); - int getPageNo()const; - void setPageNo(int pageNo); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string date_; - std::string riskType_; - int pageNo_; - int pageSize_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpRiskDataRequest : public RpcServiceRequest { +public: + GetOpRiskDataRequest(); + ~GetOpRiskDataRequest(); + std::string getDate() const; + void setDate(const std::string &date); + std::string getRiskType() const; + void setRiskType(const std::string &riskType); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string date_; + std::string riskType_; + int pageNo_; + int pageSize_; + std::string name_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPRISKDATAREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h index 1356d3d82..471e929eb 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOpSensitiveDataRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpSensitiveDataRequest : public RpcServiceRequest - { - - public: - GetOpSensitiveDataRequest(); - ~GetOpSensitiveDataRequest(); - - std::string getDate()const; - void setDate(const std::string& date); - std::string getOpType()const; - void setOpType(const std::string& opType); - int getPageNo()const; - void setPageNo(int pageNo); - std::string getName()const; - void setName(const std::string& name); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string date_; - std::string opType_; - int pageNo_; - std::string name_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOpSensitiveDataRequest : public RpcServiceRequest { +public: + GetOpSensitiveDataRequest(); + ~GetOpSensitiveDataRequest(); + std::string getDate() const; + void setDate(const std::string &date); + std::string getOpType() const; + void setOpType(const std::string &opType); + int getPageNo() const; + void setPageNo(int pageNo); + std::string getName() const; + void setName(const std::string &name); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string date_; + std::string opType_; + int pageNo_; + std::string name_; + int pageSize_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPSENSITIVEDATAREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectRequest.h new file mode 100644 index 000000000..54a63a0ef --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPTIONVALUEFORPROJECTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPTIONVALUEFORPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOptionValueForProjectRequest : public RpcServiceRequest { +public: + GetOptionValueForProjectRequest(); + ~GetOptionValueForProjectRequest(); + std::string getExtensionCode() const; + void setExtensionCode(const std::string &extensionCode); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string extensionCode_; + std::string projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPTIONVALUEFORPROJECTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectResult.h new file mode 100644 index 000000000..225aff83a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetOptionValueForProjectResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPTIONVALUEFORPROJECTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPTIONVALUEFORPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetOptionValueForProjectResult : public ServiceResult + { + public: + + + GetOptionValueForProjectResult(); + explicit GetOptionValueForProjectResult(const std::string &payload); + ~GetOptionValueForProjectResult(); + std::string getOptionValue()const; + + protected: + void parse(const std::string &payload); + private: + std::string optionValue_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETOPTIONVALUEFORPROJECTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h index 408f6a3dd..02369336b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetPermissionApplyOrderDetailRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetPermissionApplyOrderDetailRequest : public RpcServiceRequest - { - - public: - GetPermissionApplyOrderDetailRequest(); - ~GetPermissionApplyOrderDetailRequest(); - - std::string getFlowId()const; - void setFlowId(const std::string& flowId); - - private: - std::string flowId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetPermissionApplyOrderDetailRequest : public RpcServiceRequest { +public: + GetPermissionApplyOrderDetailRequest(); + ~GetPermissionApplyOrderDetailRequest(); + std::string getFlowId() const; + void setFlowId(const std::string &flowId); + +private: + std::string flowId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPERMISSIONAPPLYORDERDETAILREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h index b25ecd04f..f461c6c54 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectDetailRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTDETAILREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h index 7c4153bf4..69a72df95 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetProjectRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectRequest : public RpcServiceRequest - { - - public: - GetProjectRequest(); - ~GetProjectRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetProjectRequest : public RpcServiceRequest { +public: + GetProjectRequest(); + ~GetProjectRequest(); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETPROJECTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h index fa40f0763..c18d940b1 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityEntityRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityEntityRequest : public RpcServiceRequest - { - - public: - GetQualityEntityRequest(); - ~GetQualityEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getMatchExpression()const; - void setMatchExpression(const std::string& matchExpression); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - - private: - std::string projectName_; - std::string matchExpression_; - std::string envType_; - std::string tableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityEntityRequest : public RpcServiceRequest { +public: + GetQualityEntityRequest(); + ~GetQualityEntityRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getMatchExpression() const; + void setMatchExpression(const std::string &matchExpression); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string projectName_; + std::string matchExpression_; + std::string envType_; + std::string tableName_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYENTITYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h index b15419164..8f46805af 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityFollowerRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityFollowerRequest : public RpcServiceRequest - { - - public: - GetQualityFollowerRequest(); - ~GetQualityFollowerRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - long getEntityId()const; - void setEntityId(long entityId); - - private: - std::string projectName_; - long entityId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetQualityFollowerRequest : public RpcServiceRequest { +public: + GetQualityFollowerRequest(); + ~GetQualityFollowerRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + long getEntityId() const; + void setEntityId(long entityId); + +private: + std::string projectName_; + long entityId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYFOLLOWERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h index e2954ef76..899b51546 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetQualityRuleRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETQUALITYRULEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h index 15fb340f0..53a73d85d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetRemindRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETREMINDREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h index 0357f5f80..0ca9881c2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSensitiveDataRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSensitiveDataRequest : public RpcServiceRequest - { - - public: - GetSensitiveDataRequest(); - ~GetSensitiveDataRequest(); - - int getPageNo()const; - void setPageNo(int pageNo); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getName()const; - void setName(const std::string& name); - - private: - int pageNo_; - int pageSize_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSensitiveDataRequest : public RpcServiceRequest { +public: + GetSensitiveDataRequest(); + ~GetSensitiveDataRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getName() const; + void setName(const std::string &name); + +private: + int pageNo_; + int pageSize_; + std::string name_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSENSITIVEDATAREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h index 9da7ddae8..4eb4e1712 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetSuccessInstanceTrendRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSuccessInstanceTrendRequest : public RpcServiceRequest - { - - public: - GetSuccessInstanceTrendRequest(); - ~GetSuccessInstanceTrendRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT GetSuccessInstanceTrendRequest : public RpcServiceRequest { +public: + GetSuccessInstanceTrendRequest(); + ~GetSuccessInstanceTrendRequest(); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETSUCCESSINSTANCETRENDREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h index 0cc6f0583..516689556 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicInfluenceRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICINFLUENCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h index 8b63c775a..8289091cf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/GetTopicRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_GETTOPICREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDataSourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDataSourcesRequest.h index 4b159b320..6f9086313 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDataSourcesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ImportDataSourcesRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDATASOURCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDATASOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ImportDataSourcesRequest : public RpcServiceRequest - { - - public: - ImportDataSourcesRequest(); - ~ImportDataSourcesRequest(); - - std::string getDataSources()const; - void setDataSources(const std::string& dataSources); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string dataSources_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDATASOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDATASOURCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDATASOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ImportDataSourcesRequest : public RpcServiceRequest { +public: + ImportDataSourcesRequest(); + ~ImportDataSourcesRequest(); + std::string getDataSources() const; + void setDataSources(const std::string &dataSources); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string dataSources_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_IMPORTDATASOURCESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h index 9d86c0ac2..4dcaf4268 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListAlertMessagesRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTALERTMESSAGESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h index 22c451c10..444e665a9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineConfigsRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINECONFIGSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h index 6a7c3c74a..190880926 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBaselineStatusesRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBASELINESTATUSESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h index ced0b9f1b..f93ebdffa 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListBusinessRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTBUSINESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h index 439504129..58ca9a03e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCalcEnginesRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCALCENGINESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h index e30140f0f..ce7f16b17 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListConnectionsRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCONNECTIONSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h new file mode 100644 index 000000000..1cbdbbc24 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentTasksForResourceGroupRequest : public RpcServiceRequest { +public: + ListCurrentTasksForResourceGroupRequest(); + ~ListCurrentTasksForResourceGroupRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getResourceGroupIdentifier() const; + void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getStatus() const; + void setStatus(int status); + +private: + std::string projectEnv_; + int pageSize_; + std::string resourceGroupIdentifier_; + int pageNumber_; + int status_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h new file mode 100644 index 000000000..5008324ad --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentTasksForResourceGroupResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTTASKSFORRESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentTasksForResourceGroupResult : public ServiceResult + { + public: + struct Data + { + struct PopTasksForResourceGroupDto + { + int status; + std::string taskId; + std::string projectName; + std::string concurrency; + std::string taskName; + int taskType; + std::string taskSource; + }; + std::vector tasks; + int totalNum; + int pageNum; + int pageSize; + }; + + + ListCurrentTasksForResourceGroupResult(); + explicit ListCurrentTasksForResourceGroupResult(const std::string &payload); + ~ListCurrentTasksForResourceGroupResult(); + 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_LISTCURRENTTASKSFORRESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupRequest.h new file mode 100644 index 000000000..27b29f59a --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentUsageForResourceGroupRequest : public RpcServiceRequest { +public: + ListCurrentUsageForResourceGroupRequest(); + ~ListCurrentUsageForResourceGroupRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getResourceGroupIdentifier() const; + void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier); + +private: + std::string projectEnv_; + std::string resourceGroupIdentifier_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h new file mode 100644 index 000000000..900b03fea --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListCurrentUsageForResourceGroupResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListCurrentUsageForResourceGroupResult : public ServiceResult + { + public: + struct Data + { + float usage; + long recodeTime; + }; + + + ListCurrentUsageForResourceGroupResult(); + explicit ListCurrentUsageForResourceGroupResult(const std::string &payload); + ~ListCurrentUsageForResourceGroupResult(); + int getHttpStatusCode()const; + Data getData()const; + std::string getErrorMessage()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int httpStatusCode_; + Data data_; + std::string errorMessage_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTCURRENTUSAGEFORRESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h index cabf3ad8d..3cde27077 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDIProjectConfigRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIPROJECTCONFIGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIPROJECTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDIProjectConfigRequest : public RpcServiceRequest - { - - public: - ListDIProjectConfigRequest(); - ~ListDIProjectConfigRequest(); - - std::string getDestinationType()const; - void setDestinationType(const std::string& destinationType); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string destinationType_; - std::string sourceType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIPROJECTCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIPROJECTCONFIGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIPROJECTCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDIProjectConfigRequest : public RpcServiceRequest { +public: + ListDIProjectConfigRequest(); + ~ListDIProjectConfigRequest(); + std::string getDestinationType() const; + void setDestinationType(const std::string &destinationType); + std::string getSourceType() const; + void setSourceType(const std::string &sourceType); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string destinationType_; + std::string sourceType_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDIPROJECTCONFIGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDagsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDagsRequest.h index 40a474763..a401508c5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDagsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDagsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDAGSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDagsRequest : public RpcServiceRequest - { - - public: - ListDagsRequest(); - ~ListDagsRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getOpSeq()const; - void setOpSeq(long opSeq); - - private: - std::string projectEnv_; - long opSeq_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDAGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDAGSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDagsRequest : public RpcServiceRequest { +public: + ListDagsRequest(); + ~ListDagsRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getOpSeq() const; + void setOpSeq(long opSeq); + +private: + std::string projectEnv_; + long opSeq_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDAGSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h index c956930b4..d458ede97 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiAuthoritiesRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPIAUTHORITIESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestRequest.h new file mode 100644 index 000000000..6f0271223 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPITESTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPITESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApiTestRequest : public RpcServiceRequest { +public: + ListDataServiceApiTestRequest(); + ~ListDataServiceApiTestRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + long getApiId() const; + void setApiId(long apiId); + +private: + int pageSize_; + long apiId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPITESTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestResult.h new file mode 100644 index 000000000..6605466d9 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApiTestResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPITESTRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPITESTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApiTestResult : public ServiceResult + { + public: + struct DataItem + { + int costTime; + std::string status; + long testId; + std::string paramMap; + long retCode; + long createTime; + std::string retResult; + long apiId; + }; + + + ListDataServiceApiTestResult(); + explicit ListDataServiceApiTestResult(const std::string &payload); + ~ListDataServiceApiTestResult(); + std::vector getData()const; + + protected: + void parse(const std::string &payload); + private: + std::vector data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPITESTRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h index 02cc2e5f1..21788b0c4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApisRequest : public RpcServiceRequest - { - - public: - ListDataServiceApisRequest(); - ~ListDataServiceApisRequest(); - - std::string getApiNameKeyword()const; - void setApiNameKeyword(const std::string& apiNameKeyword); - std::string getApiPathKeyword()const; - void setApiPathKeyword(const std::string& apiPathKeyword); - std::string getCreatorId()const; - void setCreatorId(const std::string& creatorId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string apiNameKeyword_; - std::string apiPathKeyword_; - std::string creatorId_; - int pageNumber_; - int pageSize_; - long tenantId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceApisRequest : public RpcServiceRequest { +public: + ListDataServiceApisRequest(); + ~ListDataServiceApisRequest(); + std::string getApiNameKeyword() const; + void setApiNameKeyword(const std::string &apiNameKeyword); + std::string getApiPathKeyword() const; + void setApiPathKeyword(const std::string &apiPathKeyword); + std::string getCreatorId() const; + void setCreatorId(const std::string &creatorId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + long getTenantId() const; + void setTenantId(long tenantId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string apiNameKeyword_; + std::string apiPathKeyword_; + std::string creatorId_; + int pageNumber_; + int pageSize_; + long tenantId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPISREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h index 26b863b46..3e58d49d5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApisResult.h @@ -134,12 +134,12 @@ namespace AlibabaCloud WizardDetails wizardDetails; int visibleRange; std::vector protocols; - std::string createdTime; std::string description; + std::string createdTime; std::string apiName; + int timeout; std::string creatorId; int requestMethod; - int timeout; long projectId; int responseContentType; std::string operatorId; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h index 85bfcb32a..039d15fbc 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceApplicationsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAPPLICATIONSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h index 47054ab3d..9acad3117 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceAuthorizedApisRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEAUTHORIZEDAPISREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h index 6a8693b37..0ae6dbd00 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceFoldersRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceFoldersRequest : public RpcServiceRequest - { - - public: - ListDataServiceFoldersRequest(); - ~ListDataServiceFoldersRequest(); - - std::string getFolderNameKeyword()const; - void setFolderNameKeyword(const std::string& folderNameKeyword); - std::string getGroupId()const; - void setGroupId(const std::string& groupId); - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string folderNameKeyword_; - std::string groupId_; - int pageSize_; - long tenantId_; - long projectId_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceFoldersRequest : public RpcServiceRequest { +public: + ListDataServiceFoldersRequest(); + ~ListDataServiceFoldersRequest(); + std::string getFolderNameKeyword() const; + void setFolderNameKeyword(const std::string &folderNameKeyword); + std::string getGroupId() const; + void setGroupId(const std::string &groupId); + int getPageSize() const; + void setPageSize(int pageSize); + long getTenantId() const; + void setTenantId(long tenantId); + long getProjectId() const; + void setProjectId(long projectId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string folderNameKeyword_; + std::string groupId_; + int pageSize_; + long tenantId_; + long projectId_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEFOLDERSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h index ed245dd18..3332e65dd 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceGroupsRequest : public RpcServiceRequest - { - - public: - ListDataServiceGroupsRequest(); - ~ListDataServiceGroupsRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - long getTenantId()const; - void setTenantId(long tenantId); - long getProjectId()const; - void setProjectId(long projectId); - std::string getGroupNameKeyword()const; - void setGroupNameKeyword(const std::string& groupNameKeyword); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - long tenantId_; - long projectId_; - std::string groupNameKeyword_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataServiceGroupsRequest : public RpcServiceRequest { +public: + ListDataServiceGroupsRequest(); + ~ListDataServiceGroupsRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + long getTenantId() const; + void setTenantId(long tenantId); + long getProjectId() const; + void setProjectId(long projectId); + std::string getGroupNameKeyword() const; + void setGroupNameKeyword(const std::string &groupNameKeyword); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + long tenantId_; + long projectId_; + std::string groupNameKeyword_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEGROUPSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h index 4a27f8f86..d7d87a0d8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServiceGroupsResult.h @@ -42,8 +42,8 @@ namespace AlibabaCloud std::string createdTime; std::string modifiedTime; std::string creatorId; - std::string apiGatewayGroupId; long projectId; + std::string apiGatewayGroupId; std::string groupId; }; int totalCount; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h index 9fc1a5702..92460a6b4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASERVICEPUBLISHEDAPISREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h index b0982674d..13cf66c3f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataServicePublishedApisResult.h @@ -147,12 +147,12 @@ namespace AlibabaCloud WizardDetails wizardDetails; int visibleRange; std::vector protocols; - std::string createdTime; std::string description; + std::string createdTime; std::string apiName; + int timeout; std::string creatorId; int requestMethod; - int timeout; long projectId; int responseContentType; std::string operatorId; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h index 07b1229ad..93873c6f9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataSourcesRequest : public RpcServiceRequest - { - - public: - ListDataSourcesRequest(); - ~ListDataSourcesRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - 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); - long getProjectId()const; - void setProjectId(long projectId); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - std::string dataSourceType_; - int pageNumber_; - std::string subType_; - std::string name_; - int envType_; - int pageSize_; - long projectId_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDataSourcesRequest : public RpcServiceRequest { +public: + ListDataSourcesRequest(); + ~ListDataSourcesRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + 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); + long getProjectId() const; + void setProjectId(long projectId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string dataSourceType_; + int pageNumber_; + std::string subType_; + std::string name_; + int envType_; + int pageSize_; + long projectId_; + std::string status_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDATASOURCESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h index 54e75c5e5..417115653 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDataSourcesResult.h @@ -38,11 +38,11 @@ namespace AlibabaCloud { int status; int connectStatus; - std::string description; std::string subType; + std::string description; int bindingCalcEngineId; - std::string gmtModified; int projectId; + std::string gmtModified; std::string _operator; int sequence; bool shared; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h index b7c355edf..5a7d38fe0 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDeploymentsRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDEPLOYMENTSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDEPLOYMENTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDeploymentsRequest : public RpcServiceRequest - { - - public: - ListDeploymentsRequest(); - ~ListDeploymentsRequest(); - - std::string getCreator()const; - void setCreator(const std::string& creator); - long getEndCreateTime()const; - void setEndCreateTime(long endCreateTime); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getExecutor()const; - void setExecutor(const std::string& executor); - int getPageSize()const; - void setPageSize(int pageSize); - long getEndExecuteTime()const; - void setEndExecuteTime(long endExecuteTime); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - long getProjectId()const; - void setProjectId(long projectId); - int getStatus()const; - void setStatus(int status); - - private: - std::string creator_; - long endCreateTime_; - std::string projectIdentifier_; - int pageNumber_; - std::string executor_; - int pageSize_; - long endExecuteTime_; - std::string keyword_; - long projectId_; - int status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDEPLOYMENTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDEPLOYMENTSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDEPLOYMENTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDeploymentsRequest : public RpcServiceRequest { +public: + ListDeploymentsRequest(); + ~ListDeploymentsRequest(); + std::string getCreator() const; + void setCreator(const std::string &creator); + long getEndCreateTime() const; + void setEndCreateTime(long endCreateTime); + std::string getProjectIdentifier() const; + void setProjectIdentifier(const std::string &projectIdentifier); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getExecutor() const; + void setExecutor(const std::string &executor); + int getPageSize() const; + void setPageSize(int pageSize); + long getEndExecuteTime() const; + void setEndExecuteTime(long endExecuteTime); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + long getProjectId() const; + void setProjectId(long projectId); + int getStatus() const; + void setStatus(int status); + +private: + std::string creator_; + long endCreateTime_; + std::string projectIdentifier_; + int pageNumber_; + std::string executor_; + int pageSize_; + long endExecuteTime_; + std::string keyword_; + long projectId_; + int status_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDEPLOYMENTSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h new file mode 100644 index 000000000..fd94220ee --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDutyRostersRequest : public RpcServiceRequest { +public: + ListDutyRostersRequest(); + ~ListDutyRostersRequest(); + std::string getDutyRosterOwner() const; + void setDutyRosterOwner(const std::string &dutyRosterOwner); + std::string getDutyRosterName() const; + void setDutyRosterName(const std::string &dutyRosterName); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string dutyRosterOwner_; + std::string dutyRosterName_; + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h new file mode 100644 index 000000000..6c6831657 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListDutyRostersResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListDutyRostersResult : public ServiceResult + { + public: + struct Paging + { + struct DutyRostersItem + { + std::string dutyRosterName; + std::string dutyRosterIdentifier; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector dutyRosters; + }; + + + ListDutyRostersResult(); + explicit ListDutyRostersResult(const std::string &payload); + ~ListDutyRostersResult(); + Paging getPaging()const; + + protected: + void parse(const std::string &payload); + private: + Paging paging_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTDUTYROSTERSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h new file mode 100644 index 000000000..62d11789e --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEXTENSIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEXTENSIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListExtensionsRequest : public RpcServiceRequest { +public: + ListExtensionsRequest(); + ~ListExtensionsRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEXTENSIONSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsResult.h new file mode 100644 index 000000000..8b6cef4ef --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListExtensionsResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEXTENSIONSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEXTENSIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListExtensionsResult : public ServiceResult + { + public: + struct PagingInfo + { + struct ExtensionsItem + { + struct BindEventListItem + { + std::string eventName; + std::string eventCode; + }; + int status; + std::string extensionName; + std::string owner; + std::string extensionDesc; + std::string extensionCode; + std::vector bindEventList; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector extensions; + }; + + + ListExtensionsResult(); + explicit ListExtensionsResult(const std::string &payload); + ~ListExtensionsResult(); + PagingInfo getPagingInfo()const; + + protected: + void parse(const std::string &payload); + private: + PagingInfo pagingInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTEXTENSIONSRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h index 4dbcb0db3..8dc21913a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileTypeRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileTypeRequest : public RpcServiceRequest - { - - public: - ListFileTypeRequest(); - ~ListFileTypeRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - std::string getLocale()const; - void setLocale(const std::string& locale); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string keyword_; - std::string locale_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFileTypeRequest : public RpcServiceRequest { +public: + ListFileTypeRequest(); + ~ListFileTypeRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + std::string getLocale() const; + void setLocale(const std::string &locale); + long getProjectId() const; + void setProjectId(long projectId); + std::string getProjectIdentifier() const; + void setProjectIdentifier(const std::string &projectIdentifier); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + std::string keyword_; + std::string locale_; + long projectId_; + std::string projectIdentifier_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILETYPEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h index 1932cfa03..de046ae33 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFileVersionsRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILEVERSIONSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h index ea6ef5c6a..790042df0 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFilesRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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); - long getNodeId()const; - void setNodeId(long nodeId); - - 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_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ + +#include +#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); + long getNodeId() const; + void setNodeId(long nodeId); + +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_; + long nodeId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFILESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h index 7d552f4e7..a918885e3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListFoldersRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersRequest : public RpcServiceRequest - { - - public: - ListFoldersRequest(); - ~ListFoldersRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - std::string getParentFolderPath()const; - void setParentFolderPath(const std::string& parentFolderPath); - long getProjectId()const; - void setProjectId(long projectId); - std::string getProjectIdentifier()const; - void setProjectIdentifier(const std::string& projectIdentifier); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - int pageSize_; - std::string parentFolderPath_; - long projectId_; - std::string projectIdentifier_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListFoldersRequest : public RpcServiceRequest { +public: + ListFoldersRequest(); + ~ListFoldersRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getParentFolderPath() const; + void setParentFolderPath(const std::string &parentFolderPath); + long getProjectId() const; + void setProjectId(long projectId); + std::string getProjectIdentifier() const; + void setProjectIdentifier(const std::string &projectIdentifier); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + int pageSize_; + std::string parentFolderPath_; + long projectId_; + std::string projectIdentifier_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTFOLDERSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupRequest.h new file mode 100644 index 000000000..eddfb0f24 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHistoryTasksForResourceGroupRequest : public RpcServiceRequest { +public: + ListHistoryTasksForResourceGroupRequest(); + ~ListHistoryTasksForResourceGroupRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + int getPageSize() const; + void setPageSize(int pageSize); + long getEndTime() const; + void setEndTime(long endTime); + std::string getResourceGroupIdentifier() const; + void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier); + long getStartTime() const; + void setStartTime(long startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string projectEnv_; + int pageSize_; + long endTime_; + std::string resourceGroupIdentifier_; + long startTime_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupResult.h new file mode 100644 index 000000000..920e02deb --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListHistoryTasksForResourceGroupResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTHISTORYTASKSFORRESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListHistoryTasksForResourceGroupResult : public ServiceResult + { + public: + struct Data + { + struct PopTasksForResourceGroupDto + { + int status; + std::string taskId; + std::string projectName; + int concurrency; + std::string taskName; + int taskType; + }; + std::vector tasks; + int totalNum; + int pageNum; + int pageSize; + }; + + + ListHistoryTasksForResourceGroupResult(); + explicit ListHistoryTasksForResourceGroupResult(const std::string &payload); + ~ListHistoryTasksForResourceGroupResult(); + 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_LISTHISTORYTASKSFORRESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h index 21620607a..d7a81adb6 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstanceAmountRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstanceAmountRequest : public RpcServiceRequest - { - - public: - ListInstanceAmountRequest(); - ~ListInstanceAmountRequest(); - - std::string getBeginDate()const; - void setBeginDate(const std::string& beginDate); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string beginDate_; - std::string endDate_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstanceAmountRequest : public RpcServiceRequest { +public: + ListInstanceAmountRequest(); + ~ListInstanceAmountRequest(); + std::string getBeginDate() const; + void setBeginDate(const std::string &beginDate); + std::string getEndDate() const; + void setEndDate(const std::string &endDate); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string beginDate_; + std::string endDate_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCEAMOUNTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h index 61a663d09..0e177776c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListInstancesRequest.h @@ -1,84 +1,78 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstancesRequest : public RpcServiceRequest - { - - public: - ListInstancesRequest(); - ~ListInstancesRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getBizName()const; - void setBizName(const std::string& bizName); - std::string getBeginBizdate()const; - void setBeginBizdate(const std::string& beginBizdate); - std::string getEndBizdate()const; - void setEndBizdate(const std::string& endBizdate); - long getDagId()const; - void setDagId(long dagId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getNodeName()const; - void setNodeName(const std::string& nodeName); - std::string getProgramType()const; - void setProgramType(const std::string& programType); - std::string getBizdate()const; - void setBizdate(const std::string& bizdate); - int getPageSize()const; - void setPageSize(int pageSize); - long getNodeId()const; - void setNodeId(long nodeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - std::string owner_; - std::string bizName_; - std::string beginBizdate_; - std::string endBizdate_; - long dagId_; - int pageNumber_; - std::string nodeName_; - std::string programType_; - std::string bizdate_; - int pageSize_; - long nodeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListInstancesRequest : public RpcServiceRequest { +public: + ListInstancesRequest(); + ~ListInstancesRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getOwner() const; + void setOwner(const std::string &owner); + std::string getBizName() const; + void setBizName(const std::string &bizName); + std::string getBeginBizdate() const; + void setBeginBizdate(const std::string &beginBizdate); + std::string getEndBizdate() const; + void setEndBizdate(const std::string &endBizdate); + long getDagId() const; + void setDagId(long dagId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getNodeName() const; + void setNodeName(const std::string &nodeName); + std::string getProgramType() const; + void setProgramType(const std::string &programType); + std::string getBizdate() const; + void setBizdate(const std::string &bizdate); + int getPageSize() const; + void setPageSize(int pageSize); + long getNodeId() const; + void setNodeId(long nodeId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string projectEnv_; + std::string owner_; + std::string bizName_; + std::string beginBizdate_; + std::string endBizdate_; + long dagId_; + int pageNumber_; + std::string nodeName_; + std::string programType_; + std::string bizdate_; + int pageSize_; + long nodeId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTINSTANCESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h index 813f17203..c6ce8d1b6 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListManualDagInstancesRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListManualDagInstancesRequest : public RpcServiceRequest - { - - public: - ListManualDagInstancesRequest(); - ~ListManualDagInstancesRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDagId()const; - void setDagId(const std::string& dagId); - - private: - std::string projectEnv_; - std::string projectName_; - std::string dagId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListManualDagInstancesRequest : public RpcServiceRequest { +public: + ListManualDagInstancesRequest(); + ~ListManualDagInstancesRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getDagId() const; + void setDagId(const std::string &dagId); + +private: + std::string projectEnv_; + std::string projectName_; + std::string dagId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMANUALDAGINSTANCESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h index c18c43a36..33b1fa0b2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMetaDBRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaDBRequest : public RpcServiceRequest - { - - public: - ListMetaDBRequest(); - ~ListMetaDBRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNum()const; - void setPageNum(int pageNum); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string dataSourceType_; - int pageSize_; - std::string clusterId_; - int pageNum_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMetaDBRequest : public RpcServiceRequest { +public: + ListMetaDBRequest(); + ~ListMetaDBRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + int getPageNum() const; + void setPageNum(int pageNum); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string dataSourceType_; + int pageSize_; + std::string clusterId_; + int pageNum_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMETADBREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsRequest.h new file mode 100644 index 000000000..3f85f8a8d --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMIGRATIONSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMIGRATIONSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMigrationsRequest : public RpcServiceRequest { +public: + ListMigrationsRequest(); + ~ListMigrationsRequest(); + std::string getOwner() const; + void setOwner(const std::string &owner); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getMigrationType() const; + void setMigrationType(const std::string &migrationType); + long getProjectId() const; + void setProjectId(long projectId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string owner_; + int pageSize_; + std::string migrationType_; + long projectId_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMIGRATIONSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsResult.h new file mode 100644 index 000000000..a8eed0e51 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListMigrationsResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMIGRATIONSRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMIGRATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListMigrationsResult : public ServiceResult + { + public: + struct Data + { + struct Migration + { + std::string updateUserName; + std::string status; + std::string description; + std::string message; + long createTime; + long projectId; + std::string createUser; + std::string migrationType; + std::string createUserName; + std::string name; + long tenantId; + std::string packageType; + long updateTime; + std::string updateUser; + long id; + std::string downloadUrl; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector migrations; + }; + + + ListMigrationsResult(); + explicit ListMigrationsResult(const std::string &payload); + ~ListMigrationsResult(); + Data getData()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTMIGRATIONSRESULT_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 index e8c75c580..8d69992a5 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeIORequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEIOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h index 5566e2bf5..34f53391a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodeInputOrOutputRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeInputOrOutputRequest : public RpcServiceRequest - { - - public: - ListNodeInputOrOutputRequest(); - ~ListNodeInputOrOutputRequest(); - - 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_LISTNODEINPUTOROUTPUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodeInputOrOutputRequest : public RpcServiceRequest { +public: + ListNodeInputOrOutputRequest(); + ~ListNodeInputOrOutputRequest(); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODEINPUTOROUTPUTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h index 7f43cc409..bb89ddbd7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByBaselineRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByBaselineRequest : public RpcServiceRequest - { - - public: - ListNodesByBaselineRequest(); - ~ListNodesByBaselineRequest(); - - long getBaselineId()const; - void setBaselineId(long baselineId); - - private: - long baselineId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByBaselineRequest : public RpcServiceRequest { +public: + ListNodesByBaselineRequest(); + ~ListNodesByBaselineRequest(); + long getBaselineId() const; + void setBaselineId(long baselineId); + +private: + long baselineId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYBASELINEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h index 57076561b..6ca5c2312 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesByOutputRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByOutputRequest : public RpcServiceRequest - { - - public: - ListNodesByOutputRequest(); - ~ListNodesByOutputRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getOutputs()const; - void setOutputs(const std::string& outputs); - bool getOutputNodeListAsMap()const; - void setOutputNodeListAsMap(bool outputNodeListAsMap); - - private: - std::string projectEnv_; - std::string outputs_; - bool outputNodeListAsMap_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListNodesByOutputRequest : public RpcServiceRequest { +public: + ListNodesByOutputRequest(); + ~ListNodesByOutputRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getOutputs() const; + void setOutputs(const std::string &outputs); + bool getOutputNodeListAsMap() const; + void setOutputNodeListAsMap(bool outputNodeListAsMap); + +private: + std::string projectEnv_; + std::string outputs_; + bool outputNodeListAsMap_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESBYOUTPUTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h index c50405675..23c2ac871 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListNodesRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTNODESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h index 39720b3f4..2c47941d9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersRequest.h @@ -1,78 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListPermissionApplyOrdersRequest : public RpcServiceRequest - { - - public: - ListPermissionApplyOrdersRequest(); - ~ListPermissionApplyOrdersRequest(); - - std::string getMaxComputeProjectName()const; - void setMaxComputeProjectName(const std::string& maxComputeProjectName); - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - int getPageNum()const; - void setPageNum(int pageNum); - int getFlowStatus()const; - void setFlowStatus(int flowStatus); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getTableName()const; - void setTableName(const std::string& tableName); - int getQueryType()const; - void setQueryType(int queryType); - int getWorkspaceId()const; - void setWorkspaceId(int workspaceId); - int getOrderType()const; - void setOrderType(int orderType); - std::string getEngineType()const; - void setEngineType(const std::string& engineType); - - private: - std::string maxComputeProjectName_; - long endTime_; - long startTime_; - int pageNum_; - int flowStatus_; - int pageSize_; - std::string tableName_; - int queryType_; - int workspaceId_; - int orderType_; - std::string engineType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListPermissionApplyOrdersRequest : public RpcServiceRequest { +public: + ListPermissionApplyOrdersRequest(); + ~ListPermissionApplyOrdersRequest(); + std::string getMaxComputeProjectName() const; + void setMaxComputeProjectName(const std::string &maxComputeProjectName); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + int getPageNum() const; + void setPageNum(int pageNum); + int getFlowStatus() const; + void setFlowStatus(int flowStatus); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTableName() const; + void setTableName(const std::string &tableName); + int getQueryType() const; + void setQueryType(int queryType); + int getWorkspaceId() const; + void setWorkspaceId(int workspaceId); + int getOrderType() const; + void setOrderType(int orderType); + std::string getEngineType() const; + void setEngineType(const std::string &engineType); + +private: + std::string maxComputeProjectName_; + long endTime_; + long startTime_; + int pageNum_; + int flowStatus_; + int pageSize_; + std::string tableName_; + int queryType_; + int workspaceId_; + int orderType_; + std::string engineType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPERMISSIONAPPLYORDERSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h index 849363461..535db3e42 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListPermissionApplyOrdersResult.h @@ -53,8 +53,8 @@ namespace AlibabaCloud ProjectMeta projectMeta; }; ApproveContent approveContent; - std::string flowId; long applyTimestamp; + std::string flowId; std::string applyBaseId; int flowStatus; }; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h index bd6f6662e..8ea48d48b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProgramTypeCountRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProgramTypeCountRequest : public RpcServiceRequest - { - - public: - ListProgramTypeCountRequest(); - ~ListProgramTypeCountRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectEnv_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProgramTypeCountRequest : public RpcServiceRequest { +public: + ListProgramTypeCountRequest(); + ~ListProgramTypeCountRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string projectEnv_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROGRAMTYPECOUNTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectIdsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectIdsRequest.h index 323053be2..f49445651 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectIdsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectIdsRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTIDSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTIDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectIdsRequest : public RpcServiceRequest - { - - public: - ListProjectIdsRequest(); - ~ListProjectIdsRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTIDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTIDSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTIDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListProjectIdsRequest : public RpcServiceRequest { +public: + ListProjectIdsRequest(); + ~ListProjectIdsRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + +private: + std::string userId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTIDSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h index cee06b538..74faa9bd8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTMEMBERSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h index 65bbcf429..458c0a215 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectMembersResult.h @@ -40,8 +40,8 @@ namespace AlibabaCloud { std::string projectRoleName; std::string projectRoleType; - std::string projectRoleCode; int projectRoleId; + std::string projectRoleCode; }; std::string status; std::vector projectRoleList; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h index 79c72ee47..a066d0fe3 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTROLESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h index 85818072f..4daf1cb50 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectRolesResult.h @@ -36,8 +36,8 @@ namespace AlibabaCloud { std::string projectRoleName; std::string projectRoleType; - std::string projectRoleCode; int projectRoleId; + std::string projectRoleCode; }; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h index 27709f604..f92e2c49e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListProjectsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTPROJECTSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h index cd814bc02..fceab0b03 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByEntityRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByEntityRequest : public RpcServiceRequest - { - - public: - ListQualityResultsByEntityRequest(); - ~ListQualityResultsByEntityRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - int getPageSize()const; - void setPageSize(int pageSize); - int getEntityId()const; - void setEntityId(int entityId); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string projectName_; - std::string endDate_; - int pageSize_; - int entityId_; - std::string startDate_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByEntityRequest : public RpcServiceRequest { +public: + ListQualityResultsByEntityRequest(); + ~ListQualityResultsByEntityRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getEndDate() const; + void setEndDate(const std::string &endDate); + int getPageSize() const; + void setPageSize(int pageSize); + int getEntityId() const; + void setEntityId(int entityId); + std::string getStartDate() const; + void setStartDate(const std::string &startDate); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string projectName_; + std::string endDate_; + int pageSize_; + int entityId_; + std::string startDate_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYENTITYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h index 2222b83e3..7338fe60c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityResultsByRuleRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByRuleRequest : public RpcServiceRequest - { - - public: - ListQualityResultsByRuleRequest(); - ~ListQualityResultsByRuleRequest(); - - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getEndDate()const; - void setEndDate(const std::string& endDate); - int getPageSize()const; - void setPageSize(int pageSize); - int getRuleId()const; - void setRuleId(int ruleId); - std::string getStartDate()const; - void setStartDate(const std::string& startDate); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string projectName_; - std::string endDate_; - int pageSize_; - int ruleId_; - std::string startDate_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListQualityResultsByRuleRequest : public RpcServiceRequest { +public: + ListQualityResultsByRuleRequest(); + ~ListQualityResultsByRuleRequest(); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getEndDate() const; + void setEndDate(const std::string &endDate); + int getPageSize() const; + void setPageSize(int pageSize); + int getRuleId() const; + void setRuleId(int ruleId); + std::string getStartDate() const; + void setStartDate(const std::string &startDate); + int getPageNumber() const; + void setPageNumber(int pageNumber); + +private: + std::string projectName_; + std::string endDate_; + int pageSize_; + int ruleId_; + std::string startDate_; + int pageNumber_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRESULTSBYRULEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h index a161e537d..0f98e246c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListQualityRulesRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTQUALITYRULESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRefDISyncTasksRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRefDISyncTasksRequest.h index 1b53c4b81..a65a71436 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRefDISyncTasksRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRefDISyncTasksRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREFDISYNCTASKSREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREFDISYNCTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListRefDISyncTasksRequest : public RpcServiceRequest - { - - public: - ListRefDISyncTasksRequest(); - ~ListRefDISyncTasksRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getDatasourceName()const; - void setDatasourceName(const std::string& datasourceName); - long getPageNumber()const; - void setPageNumber(long pageNumber); - long getPageSize()const; - void setPageSize(long pageSize); - long getProjectId()const; - void setProjectId(long projectId); - std::string getRefType()const; - void setRefType(const std::string& refType); - - private: - std::string taskType_; - std::string datasourceName_; - long pageNumber_; - long pageSize_; - long projectId_; - std::string refType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREFDISYNCTASKSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREFDISYNCTASKSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREFDISYNCTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListRefDISyncTasksRequest : public RpcServiceRequest { +public: + ListRefDISyncTasksRequest(); + ~ListRefDISyncTasksRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + std::string getDatasourceName() const; + void setDatasourceName(const std::string &datasourceName); + long getPageNumber() const; + void setPageNumber(long pageNumber); + long getPageSize() const; + void setPageSize(long pageSize); + long getProjectId() const; + void setProjectId(long projectId); + std::string getRefType() const; + void setRefType(const std::string &refType); + +private: + std::string taskType_; + std::string datasourceName_; + long pageNumber_; + long pageSize_; + long projectId_; + std::string refType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREFDISYNCTASKSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h index c81754b5b..fb09edfdf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListRemindsRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTREMINDSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h index ef8f8168a..be795fe51 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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(); - - std::string getBizExtKey()const; - void setBizExtKey(const std::string& bizExtKey); - int getResourceGroupType()const; - void setResourceGroupType(int resourceGroupType); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - - private: - std::string bizExtKey_; - int resourceGroupType_; - std::string keyword_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListResourceGroupsRequest : public RpcServiceRequest { +public: + ListResourceGroupsRequest(); + ~ListResourceGroupsRequest(); + std::string getBizExtKey() const; + void setBizExtKey(const std::string &bizExtKey); + int getResourceGroupType() const; + void setResourceGroupType(int resourceGroupType); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + +private: + std::string bizExtKey_; + int resourceGroupType_; + std::string keyword_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTRESOURCEGROUPSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h index 614d40466..85aafe1d8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListResourceGroupsResult.h @@ -34,10 +34,10 @@ namespace AlibabaCloud public: struct DataItem { - bool isDefault; int status; - std::string mode; + bool isDefault; std::string createTime; + std::string mode; std::string cluster; int sequence; std::string resourceGroupType; diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h index 29de17097..03faa6fb2 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListSuccessInstanceAmountRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListSuccessInstanceAmountRequest : public RpcServiceRequest - { - - public: - ListSuccessInstanceAmountRequest(); - ~ListSuccessInstanceAmountRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListSuccessInstanceAmountRequest : public RpcServiceRequest { +public: + ListSuccessInstanceAmountRequest(); + ~ListSuccessInstanceAmountRequest(); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTSUCCESSINSTANCEAMOUNTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h index fadafe96a..e962f1264 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableLevelRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableLevelRequest : public RpcServiceRequest - { - - public: - ListTableLevelRequest(); - ~ListTableLevelRequest(); - - int getLevelType()const; - void setLevelType(int levelType); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - long getProjectId()const; - void setProjectId(long projectId); - - private: - int levelType_; - int pageSize_; - int pageNum_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableLevelRequest : public RpcServiceRequest { +public: + ListTableLevelRequest(); + ~ListTableLevelRequest(); + int getLevelType() const; + void setLevelType(int levelType); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNum() const; + void setPageNum(int pageNum); + long getProjectId() const; + void setProjectId(long projectId); + +private: + int levelType_; + int pageSize_; + int pageNum_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLELEVELREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h index 85ac35ce2..9a3431845 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTableThemeRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableThemeRequest : public RpcServiceRequest - { - - public: - ListTableThemeRequest(); - ~ListTableThemeRequest(); - - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNum()const; - void setPageNum(int pageNum); - long getProjectId()const; - void setProjectId(long projectId); - long getParentId()const; - void setParentId(long parentId); - - private: - int pageSize_; - int pageNum_; - long projectId_; - long parentId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListTableThemeRequest : public RpcServiceRequest { +public: + ListTableThemeRequest(); + ~ListTableThemeRequest(); + int getPageSize() const; + void setPageSize(int pageSize); + int getPageNum() const; + void setPageNum(int pageNum); + long getProjectId() const; + void setProjectId(long projectId); + long getParentId() const; + void setParentId(long parentId); + +private: + int pageSize_; + int pageNum_; + long projectId_; + long parentId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTABLETHEMEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h index 73e934c00..921fd5a34 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListTopicsRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTTOPICSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupRequest.h new file mode 100644 index 000000000..9ee723c70 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListUsageForResourceGroupRequest : public RpcServiceRequest { +public: + ListUsageForResourceGroupRequest(); + ~ListUsageForResourceGroupRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getEndTime() const; + void setEndTime(long endTime); + std::string getResourceGroupIdentifier() const; + void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier); + long getStartTime() const; + void setStartTime(long startTime); + +private: + std::string projectEnv_; + long endTime_; + std::string resourceGroupIdentifier_; + long startTime_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h new file mode 100644 index 000000000..69fac50ce --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ListUsageForResourceGroupResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_LISTUSAGEFORRESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ListUsageForResourceGroupResult : public ServiceResult + { + public: + struct PopUsageForResourceGroupDto + { + double usage; + long recodeTime; + }; + + + ListUsageForResourceGroupResult(); + explicit ListUsageForResourceGroupResult(const std::string &payload); + ~ListUsageForResourceGroupResult(); + 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_LISTUSAGEFORRESOURCEGROUPRESULT_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 index 43ac8baf9..8c51e26af 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/PublishDataServiceApiRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_PUBLISHDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/QueryDISyncTaskConfigProcessResultRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryDISyncTaskConfigProcessResultRequest.h index e0da32917..938f58672 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/QueryDISyncTaskConfigProcessResultRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryDISyncTaskConfigProcessResultRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYDISYNCTASKCONFIGPROCESSRESULTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYDISYNCTASKCONFIGPROCESSRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryDISyncTaskConfigProcessResultRequest : public RpcServiceRequest - { - - public: - QueryDISyncTaskConfigProcessResultRequest(); - ~QueryDISyncTaskConfigProcessResultRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getAsyncProcessId()const; - void setAsyncProcessId(long asyncProcessId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string taskType_; - long asyncProcessId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYDISYNCTASKCONFIGPROCESSRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYDISYNCTASKCONFIGPROCESSRESULTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYDISYNCTASKCONFIGPROCESSRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryDISyncTaskConfigProcessResultRequest : public RpcServiceRequest { +public: + QueryDISyncTaskConfigProcessResultRequest(); + ~QueryDISyncTaskConfigProcessResultRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getAsyncProcessId() const; + void setAsyncProcessId(long asyncProcessId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string taskType_; + long asyncProcessId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYDISYNCTASKCONFIGPROCESSRESULTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/QueryPublicModelEngineRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryPublicModelEngineRequest.h index 963b50a20..4b5497062 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/QueryPublicModelEngineRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/QueryPublicModelEngineRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYPUBLICMODELENGINEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYPUBLICMODELENGINEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryPublicModelEngineRequest : public RpcServiceRequest - { - - public: - QueryPublicModelEngineRequest(); - ~QueryPublicModelEngineRequest(); - - std::string getText()const; - void setText(const std::string& text); - std::string getProjectId()const; - void setProjectId(const std::string& projectId); - - private: - std::string text_; - std::string projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYPUBLICMODELENGINEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYPUBLICMODELENGINEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYPUBLICMODELENGINEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT QueryPublicModelEngineRequest : public RpcServiceRequest { +public: + QueryPublicModelEngineRequest(); + ~QueryPublicModelEngineRequest(); + std::string getText() const; + void setText(const std::string &text); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string text_; + std::string projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_QUERYPUBLICMODELENGINEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h index 46863e3c5..806334ee0 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RemoveProjectMemberFromRoleRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REMOVEPROJECTMEMBERFROMROLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h index f9909ccbd..a2559f729 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RestartInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESTARTINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h index 3fe5437ee..caba87807 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ResumeInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RESUMEINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h index 0963ccb6d..4ff5d53c0 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeColumnPermissionRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeColumnPermissionRequest : public RpcServiceRequest - { - - public: - RevokeColumnPermissionRequest(); - ~RevokeColumnPermissionRequest(); - - std::string getRevokeUserName()const; - void setRevokeUserName(const std::string& revokeUserName); - std::string getMaxComputeProjectName()const; - void setMaxComputeProjectName(const std::string& maxComputeProjectName); - std::string getColumns()const; - void setColumns(const std::string& columns); - std::string getRevokeUserId()const; - void setRevokeUserId(const std::string& revokeUserId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getWorkspaceId()const; - void setWorkspaceId(long workspaceId); - - private: - std::string revokeUserName_; - std::string maxComputeProjectName_; - std::string columns_; - std::string revokeUserId_; - std::string tableName_; - long workspaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeColumnPermissionRequest : public RpcServiceRequest { +public: + RevokeColumnPermissionRequest(); + ~RevokeColumnPermissionRequest(); + std::string getRevokeUserName() const; + void setRevokeUserName(const std::string &revokeUserName); + std::string getMaxComputeProjectName() const; + void setMaxComputeProjectName(const std::string &maxComputeProjectName); + std::string getColumns() const; + void setColumns(const std::string &columns); + std::string getRevokeUserId() const; + void setRevokeUserId(const std::string &revokeUserId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + long getWorkspaceId() const; + void setWorkspaceId(long workspaceId); + +private: + std::string revokeUserName_; + std::string maxComputeProjectName_; + std::string columns_; + std::string revokeUserId_; + std::string tableName_; + long workspaceId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKECOLUMNPERMISSIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h index 293a665f5..99ece4e9e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RevokeTablePermissionRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeTablePermissionRequest : public RpcServiceRequest - { - - public: - RevokeTablePermissionRequest(); - ~RevokeTablePermissionRequest(); - - std::string getRevokeUserName()const; - void setRevokeUserName(const std::string& revokeUserName); - std::string getMaxComputeProjectName()const; - void setMaxComputeProjectName(const std::string& maxComputeProjectName); - std::string getRevokeUserId()const; - void setRevokeUserId(const std::string& revokeUserId); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getActions()const; - void setActions(const std::string& actions); - long getWorkspaceId()const; - void setWorkspaceId(long workspaceId); - - private: - std::string revokeUserName_; - std::string maxComputeProjectName_; - std::string revokeUserId_; - std::string tableName_; - std::string actions_; - long workspaceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RevokeTablePermissionRequest : public RpcServiceRequest { +public: + RevokeTablePermissionRequest(); + ~RevokeTablePermissionRequest(); + std::string getRevokeUserName() const; + void setRevokeUserName(const std::string &revokeUserName); + std::string getMaxComputeProjectName() const; + void setMaxComputeProjectName(const std::string &maxComputeProjectName); + std::string getRevokeUserId() const; + void setRevokeUserId(const std::string &revokeUserId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getActions() const; + void setActions(const std::string &actions); + long getWorkspaceId() const; + void setWorkspaceId(long workspaceId); + +private: + std::string revokeUserName_; + std::string maxComputeProjectName_; + std::string revokeUserId_; + std::string tableName_; + std::string actions_; + long workspaceId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_REVOKETABLEPERMISSIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h index 23faab5e2..574e5cb0c 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunCycleDagNodesRequest.h @@ -1,78 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunCycleDagNodesRequest : public RpcServiceRequest - { - - public: - RunCycleDagNodesRequest(); - ~RunCycleDagNodesRequest(); - - 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_RUNCYCLEDAGNODESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunCycleDagNodesRequest : public RpcServiceRequest { +public: + RunCycleDagNodesRequest(); + ~RunCycleDagNodesRequest(); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNCYCLEDAGNODESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h index d67141b15..0bd111743 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunManualDagNodesRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunManualDagNodesRequest : public RpcServiceRequest - { - - public: - RunManualDagNodesRequest(); - ~RunManualDagNodesRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); - std::string getDagParameters()const; - void setDagParameters(const std::string& dagParameters); - std::string getIncludeNodeIds()const; - void setIncludeNodeIds(const std::string& includeNodeIds); - std::string getBizDate()const; - void setBizDate(const std::string& bizDate); - std::string getExcludeNodeIds()const; - void setExcludeNodeIds(const std::string& excludeNodeIds); - std::string getFlowName()const; - void setFlowName(const std::string& flowName); - long getProjectId()const; - void setProjectId(long projectId); - std::string getNodeParameters()const; - void setNodeParameters(const std::string& nodeParameters); - - private: - std::string projectEnv_; - std::string projectName_; - std::string dagParameters_; - std::string includeNodeIds_; - std::string bizDate_; - std::string excludeNodeIds_; - std::string flowName_; - long projectId_; - std::string nodeParameters_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunManualDagNodesRequest : public RpcServiceRequest { +public: + RunManualDagNodesRequest(); + ~RunManualDagNodesRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getProjectName() const; + void setProjectName(const std::string &projectName); + std::string getDagParameters() const; + void setDagParameters(const std::string &dagParameters); + std::string getIncludeNodeIds() const; + void setIncludeNodeIds(const std::string &includeNodeIds); + std::string getBizDate() const; + void setBizDate(const std::string &bizDate); + std::string getExcludeNodeIds() const; + void setExcludeNodeIds(const std::string &excludeNodeIds); + std::string getFlowName() const; + void setFlowName(const std::string &flowName); + long getProjectId() const; + void setProjectId(long projectId); + std::string getNodeParameters() const; + void setNodeParameters(const std::string &nodeParameters); + +private: + std::string projectEnv_; + std::string projectName_; + std::string dagParameters_; + std::string includeNodeIds_; + std::string bizDate_; + std::string excludeNodeIds_; + std::string flowName_; + long projectId_; + std::string nodeParameters_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNMANUALDAGNODESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h index 11fabf1f6..28a097c12 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunSmokeTestRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunSmokeTestRequest : public RpcServiceRequest - { - - public: - RunSmokeTestRequest(); - ~RunSmokeTestRequest(); - - 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_RUNSMOKETESTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunSmokeTestRequest : public RpcServiceRequest { +public: + RunSmokeTestRequest(); + ~RunSmokeTestRequest(); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNSMOKETESTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h index 64a229591..f56d75959 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/RunTriggerNodeRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunTriggerNodeRequest : public RpcServiceRequest - { - - public: - RunTriggerNodeRequest(); - ~RunTriggerNodeRequest(); - - long getBizDate()const; - void setBizDate(long bizDate); - long getAppId()const; - void setAppId(long appId); - long getCycleTime()const; - void setCycleTime(long cycleTime); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - long bizDate_; - long appId_; - long cycleTime_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT RunTriggerNodeRequest : public RpcServiceRequest { +public: + RunTriggerNodeRequest(); + ~RunTriggerNodeRequest(); + long getBizDate() const; + void setBizDate(long bizDate); + long getAppId() const; + void setAppId(long appId); + long getCycleTime() const; + void setCycleTime(long cycleTime); + long getNodeId() const; + void setNodeId(long nodeId); + +private: + long bizDate_; + long appId_; + long cycleTime_; + long nodeId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_RUNTRIGGERNODEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h index 8ee2f9e7a..7c6f14e57 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/ScanSensitiveDataRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ScanSensitiveDataRequest : public RpcServiceRequest - { - - public: - ScanSensitiveDataRequest(); - ~ScanSensitiveDataRequest(); - - std::string getData()const; - void setData(const std::string& data); - - private: - std::string data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT ScanSensitiveDataRequest : public RpcServiceRequest { +public: + ScanSensitiveDataRequest(); + ~ScanSensitiveDataRequest(); + std::string getData() const; + void setData(const std::string &data); + +private: + std::string data_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SCANSENSITIVEDATAREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h index 1f27d29d6..739e39a9b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchMetaTablesRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesRequest : public RpcServiceRequest - { - - public: - SearchMetaTablesRequest(); - ~SearchMetaTablesRequest(); - - std::string getDataSourceType()const; - void setDataSourceType(const std::string& dataSourceType); - std::string getClusterId()const; - void setClusterId(const std::string& clusterId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getEntityType()const; - void setEntityType(int entityType); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - std::string getKeyword()const; - void setKeyword(const std::string& keyword); - - private: - std::string dataSourceType_; - std::string clusterId_; - int pageNumber_; - int entityType_; - int pageSize_; - std::string appGuid_; - std::string keyword_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchMetaTablesRequest : public RpcServiceRequest { +public: + SearchMetaTablesRequest(); + ~SearchMetaTablesRequest(); + std::string getDataSourceType() const; + void setDataSourceType(const std::string &dataSourceType); + std::string getClusterId() const; + void setClusterId(const std::string &clusterId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getEntityType() const; + void setEntityType(int entityType); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getAppGuid() const; + void setAppGuid(const std::string &appGuid); + std::string getKeyword() const; + void setKeyword(const std::string &keyword); + +private: + std::string dataSourceType_; + std::string clusterId_; + int pageNumber_; + int entityType_; + int pageSize_; + std::string appGuid_; + std::string keyword_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHMETATABLESREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h index dcd036bf8..36704667a 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SearchNodesByOutputRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchNodesByOutputRequest : public RpcServiceRequest - { - - public: - SearchNodesByOutputRequest(); - ~SearchNodesByOutputRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - std::string getOutputs()const; - void setOutputs(const std::string& outputs); - - private: - std::string projectEnv_; - std::string outputs_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SearchNodesByOutputRequest : public RpcServiceRequest { +public: + SearchNodesByOutputRequest(); + ~SearchNodesByOutputRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + std::string getOutputs() const; + void setOutputs(const std::string &outputs); + +private: + std::string projectEnv_; + std::string outputs_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SEARCHNODESBYOUTPUTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SetDataSourceShareRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SetDataSourceShareRequest.h index cb395d13a..56c8c0f56 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SetDataSourceShareRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SetDataSourceShareRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETDATASOURCESHAREREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETDATASOURCESHAREREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetDataSourceShareRequest : public RpcServiceRequest - { - - public: - SetDataSourceShareRequest(); - ~SetDataSourceShareRequest(); - - std::string getProjectPermissions()const; - void setProjectPermissions(const std::string& projectPermissions); - std::string getDatasourceName()const; - void setDatasourceName(const std::string& datasourceName); - std::string getUserPermissions()const; - void setUserPermissions(const std::string& userPermissions); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string projectPermissions_; - std::string datasourceName_; - std::string userPermissions_; - std::string envType_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETDATASOURCESHAREREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETDATASOURCESHAREREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETDATASOURCESHAREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT SetDataSourceShareRequest : public RpcServiceRequest { +public: + SetDataSourceShareRequest(); + ~SetDataSourceShareRequest(); + std::string getProjectPermissions() const; + void setProjectPermissions(const std::string &projectPermissions); + std::string getDatasourceName() const; + void setDatasourceName(const std::string &datasourceName); + std::string getUserPermissions() const; + void setUserPermissions(const std::string &userPermissions); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string projectPermissions_; + std::string datasourceName_; + std::string userPermissions_; + std::string envType_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETDATASOURCESHAREREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h index 10db9a2fb..dc08c6699 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SetSuccessInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SETSUCCESSINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StartDISyncInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StartDISyncInstanceRequest.h index 6844e08db..6ebea4f01 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StartDISyncInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/StartDISyncInstanceRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDISYNCINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDISYNCINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StartDISyncInstanceRequest : public RpcServiceRequest - { - - public: - StartDISyncInstanceRequest(); - ~StartDISyncInstanceRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getStartParam()const; - void setStartParam(const std::string& startParam); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - std::string startParam_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDISYNCINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDISYNCINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDISYNCINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StartDISyncInstanceRequest : public RpcServiceRequest { +public: + StartDISyncInstanceRequest(); + ~StartDISyncInstanceRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + std::string getStartParam() const; + void setStartParam(const std::string &startParam); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + std::string startParam_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTDISYNCINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StartMigrationRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StartMigrationRequest.h index 7c85edb6d..8e6858b27 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StartMigrationRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/StartMigrationRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTMIGRATIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTMIGRATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StartMigrationRequest : public RpcServiceRequest - { - - public: - StartMigrationRequest(); - ~StartMigrationRequest(); - - long getMigrationId()const; - void setMigrationId(long migrationId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long migrationId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTMIGRATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTMIGRATIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTMIGRATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StartMigrationRequest : public RpcServiceRequest { +public: + StartMigrationRequest(); + ~StartMigrationRequest(); + long getMigrationId() const; + void setMigrationId(long migrationId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long migrationId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STARTMIGRATIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StopDISyncInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StopDISyncInstanceRequest.h index 0e38c6b04..eefc6fe74 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StopDISyncInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/StopDISyncInstanceRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDISYNCINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDISYNCINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopDISyncInstanceRequest : public RpcServiceRequest - { - - public: - StopDISyncInstanceRequest(); - ~StopDISyncInstanceRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDISYNCINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDISYNCINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDISYNCINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT StopDISyncInstanceRequest : public RpcServiceRequest { +public: + StopDISyncInstanceRequest(); + ~StopDISyncInstanceRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPDISYNCINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h index bd66d95a3..36763d6c1 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/StopInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_STOPINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h index 3f7355153..8d5f39bc4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SubmitFileRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUBMITFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h index 3676c0afc..18b0f2018 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/SuspendInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_SUSPENDINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TerminateDISyncInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TerminateDISyncInstanceRequest.h index 2bca5ff6e..e2f355b82 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/TerminateDISyncInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TerminateDISyncInstanceRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TERMINATEDISYNCINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TERMINATEDISYNCINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TerminateDISyncInstanceRequest : public RpcServiceRequest - { - - public: - TerminateDISyncInstanceRequest(); - ~TerminateDISyncInstanceRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TERMINATEDISYNCINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TERMINATEDISYNCINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TERMINATEDISYNCINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TerminateDISyncInstanceRequest : public RpcServiceRequest { +public: + TerminateDISyncInstanceRequest(); + ~TerminateDISyncInstanceRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TERMINATEDISYNCINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiRequest.h new file mode 100644 index 000000000..c5e02bc27 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTDATASERVICEAPIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TestDataServiceApiRequest : public RpcServiceRequest { +public: + struct PathParams { + std::string paramKey; + std::string paramValue; + }; + struct BodyParams { + std::string paramKey; + std::string paramValue; + }; + struct QueryParam { + std::string paramKey; + std::string paramValue; + }; + struct HeadParams { + std::string paramKey; + std::string paramValue; + }; + TestDataServiceApiRequest(); + ~TestDataServiceApiRequest(); + std::vector getPathParams() const; + void setPathParams(const std::vector &pathParams); + std::string getBodyContent() const; + void setBodyContent(const std::string &bodyContent); + std::vector getBodyParams() const; + void setBodyParams(const std::vector &bodyParams); + std::vector getQueryParam() const; + void setQueryParam(const std::vector &queryParam); + std::vector getHeadParams() const; + void setHeadParams(const std::vector &headParams); + long getApiId() const; + void setApiId(long apiId); + +private: + std::vector pathParams_; + std::string bodyContent_; + std::vector bodyParams_; + std::vector queryParam_; + std::vector headParams_; + long apiId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiResult.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiResult.h new file mode 100644 index 000000000..ff3be9b50 --- /dev/null +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TestDataServiceApiResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTDATASERVICEAPIRESULT_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTDATASERVICEAPIRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dataworks_public + { + namespace Model + { + class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TestDataServiceApiResult : public ServiceResult + { + public: + struct Data + { + std::string testId; + }; + + + TestDataServiceApiResult(); + explicit TestDataServiceApiResult(const std::string &payload); + ~TestDataServiceApiResult(); + Data getData()const; + + protected: + void parse(const std::string &payload); + private: + Data data_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTDATASERVICEAPIRESULT_H_ \ No newline at end of file diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TestNetworkConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TestNetworkConnectionRequest.h index cb57e0052..12d76a1a4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/TestNetworkConnectionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TestNetworkConnectionRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTNETWORKCONNECTIONREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTNETWORKCONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TestNetworkConnectionRequest : public RpcServiceRequest - { - - public: - TestNetworkConnectionRequest(); - ~TestNetworkConnectionRequest(); - - std::string getResourceGroup()const; - void setResourceGroup(const std::string& resourceGroup); - std::string getEnvType()const; - void setEnvType(const std::string& envType); - std::string getDatasourceName()const; - void setDatasourceName(const std::string& datasourceName); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string resourceGroup_; - std::string envType_; - std::string datasourceName_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTNETWORKCONNECTIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTNETWORKCONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTNETWORKCONNECTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TestNetworkConnectionRequest : public RpcServiceRequest { +public: + TestNetworkConnectionRequest(); + ~TestNetworkConnectionRequest(); + std::string getResourceGroup() const; + void setResourceGroup(const std::string &resourceGroup); + std::string getEnvType() const; + void setEnvType(const std::string &envType); + std::string getDatasourceName() const; + void setDatasourceName(const std::string &datasourceName); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string resourceGroup_; + std::string envType_; + std::string datasourceName_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TESTNETWORKCONNECTIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h index 4bde257c4..c49548fb4 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenElapsedTimeInstanceRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenElapsedTimeInstanceRequest : public RpcServiceRequest - { - - public: - TopTenElapsedTimeInstanceRequest(); - ~TopTenElapsedTimeInstanceRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenElapsedTimeInstanceRequest : public RpcServiceRequest { +public: + TopTenElapsedTimeInstanceRequest(); + ~TopTenElapsedTimeInstanceRequest(); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENELAPSEDTIMEINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h index 974fc3ace..f2d0f502d 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/TopTenErrorTimesInstanceRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenErrorTimesInstanceRequest : public RpcServiceRequest - { - - public: - TopTenErrorTimesInstanceRequest(); - ~TopTenErrorTimesInstanceRequest(); - - long getProjectId()const; - void setProjectId(long projectId); - - private: - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT TopTenErrorTimesInstanceRequest : public RpcServiceRequest { +public: + TopTenErrorTimesInstanceRequest(); + ~TopTenErrorTimesInstanceRequest(); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_TOPTENERRORTIMESINSTANCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h index 3e0b680aa..894019f83 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateBusinessRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEBUSINESSREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h index b1cae5652..1f03ea13f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateConnectionRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATECONNECTIONREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDIProjectConfigRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDIProjectConfigRequest.h index f19ce7184..b72cf8394 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDIProjectConfigRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDIProjectConfigRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIPROJECTCONFIGREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIPROJECTCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDIProjectConfigRequest : public RpcServiceRequest - { - - public: - UpdateDIProjectConfigRequest(); - ~UpdateDIProjectConfigRequest(); - - std::string getDestinationType()const; - void setDestinationType(const std::string& destinationType); - std::string getSourceType()const; - void setSourceType(const std::string& sourceType); - std::string getProjectConfig()const; - void setProjectConfig(const std::string& projectConfig); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string destinationType_; - std::string sourceType_; - std::string projectConfig_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIPROJECTCONFIGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIPROJECTCONFIGREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIPROJECTCONFIGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDIProjectConfigRequest : public RpcServiceRequest { +public: + UpdateDIProjectConfigRequest(); + ~UpdateDIProjectConfigRequest(); + std::string getDestinationType() const; + void setDestinationType(const std::string &destinationType); + std::string getSourceType() const; + void setSourceType(const std::string &sourceType); + std::string getProjectConfig() const; + void setProjectConfig(const std::string &projectConfig); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string destinationType_; + std::string sourceType_; + std::string projectConfig_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDIPROJECTCONFIGREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDISyncTaskRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDISyncTaskRequest.h index a4ebbc0e0..33b69fa48 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDISyncTaskRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDISyncTaskRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDISYNCTASKREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDISYNCTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDISyncTaskRequest : public RpcServiceRequest - { - - public: - UpdateDISyncTaskRequest(); - ~UpdateDISyncTaskRequest(); - - std::string getTaskType()const; - void setTaskType(const std::string& taskType); - std::string getTaskParam()const; - void setTaskParam(const std::string& taskParam); - std::string getTaskContent()const; - void setTaskContent(const std::string& taskContent); - long getProjectId()const; - void setProjectId(long projectId); - long getFileId()const; - void setFileId(long fileId); - - private: - std::string taskType_; - std::string taskParam_; - std::string taskContent_; - long projectId_; - long fileId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDISYNCTASKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDISYNCTASKREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDISYNCTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDISyncTaskRequest : public RpcServiceRequest { +public: + UpdateDISyncTaskRequest(); + ~UpdateDISyncTaskRequest(); + std::string getTaskType() const; + void setTaskType(const std::string &taskType); + std::string getTaskParam() const; + void setTaskParam(const std::string &taskParam); + std::string getTaskContent() const; + void setTaskContent(const std::string &taskContent); + long getProjectId() const; + void setProjectId(long projectId); + long getFileId() const; + void setFileId(long fileId); + +private: + std::string taskType_; + std::string taskParam_; + std::string taskContent_; + long projectId_; + long fileId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDISYNCTASKREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h index d918d6947..0be50cccf 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataServiceApiRequest.h @@ -1,84 +1,78 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ + +#include +#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 ®istrationDetails); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASERVICEAPIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h index 45fb4bd52..4a025aff7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateDataSourceRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataSourceRequest : public RpcServiceRequest - { - - public: - UpdateDataSourceRequest(); - ~UpdateDataSourceRequest(); - - int getEnvType()const; - void setEnvType(int envType); - long getDataSourceId()const; - void setDataSourceId(long dataSourceId); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getContent()const; - void setContent(const std::string& content); - std::string getStatus()const; - void setStatus(const std::string& status); - - private: - int envType_; - long dataSourceId_; - std::string description_; - std::string content_; - std::string status_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateDataSourceRequest : public RpcServiceRequest { +public: + UpdateDataSourceRequest(); + ~UpdateDataSourceRequest(); + int getEnvType() const; + void setEnvType(int envType); + long getDataSourceId() const; + void setDataSourceId(long dataSourceId); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getContent() const; + void setContent(const std::string &content); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + int envType_; + long dataSourceId_; + std::string description_; + std::string content_; + std::string status_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEDATASOURCEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h index 5725957c9..255c39770 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFileRequest.h @@ -1,132 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#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); - bool getStartImmediately()const; - void setStartImmediately(bool startImmediately); - long getProjectId()const; - void setProjectId(long projectId); - std::string getAdvancedSettings()const; - void setAdvancedSettings(const std::string& advancedSettings); - long getStartEffectDate()const; - void setStartEffectDate(long startEffectDate); - std::string getCycleType()const; - void setCycleType(const std::string& cycleType); - long getFileId()const; - void setFileId(long fileId); - int getAutoRerunIntervalMillis()const; - void setAutoRerunIntervalMillis(int autoRerunIntervalMillis); - std::string getOwner()const; - void setOwner(const std::string& owner); - std::string getInputList()const; - void setInputList(const std::string& inputList); - std::string getRerunMode()const; - void setRerunMode(const std::string& rerunMode); - std::string getConnectionName()const; - void setConnectionName(const std::string& connectionName); - std::string getOutputParameters()const; - void setOutputParameters(const std::string& outputParameters); - std::string getParaValue()const; - void setParaValue(const std::string& paraValue); - std::string getResourceGroupIdentifier()const; - void setResourceGroupIdentifier(const std::string& resourceGroupIdentifier); - int getAutoRerunTimes()const; - void setAutoRerunTimes(int autoRerunTimes); - std::string getCronExpress()const; - void setCronExpress(const std::string& cronExpress); - long getEndEffectDate()const; - void setEndEffectDate(long endEffectDate); - std::string getFileName()const; - void setFileName(const std::string& fileName); - std::string getInputParameters()const; - void setInputParameters(const std::string& inputParameters); - 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); - bool getAutoParsing()const; - void setAutoParsing(bool autoParsing); - std::string getSchedulerType()const; - void setSchedulerType(const std::string& schedulerType); - - private: - std::string outputList_; - std::string dependentNodeIdList_; - std::string content_; - std::string projectIdentifier_; - bool startImmediately_; - long projectId_; - std::string advancedSettings_; - long startEffectDate_; - std::string cycleType_; - long fileId_; - int autoRerunIntervalMillis_; - std::string owner_; - std::string inputList_; - std::string rerunMode_; - std::string connectionName_; - std::string outputParameters_; - std::string paraValue_; - std::string resourceGroupIdentifier_; - int autoRerunTimes_; - std::string cronExpress_; - long endEffectDate_; - std::string fileName_; - std::string inputParameters_; - bool stop_; - std::string dependentType_; - std::string fileFolderPath_; - std::string fileDescription_; - bool autoParsing_; - std::string schedulerType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ + +#include +#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); + bool getStartImmediately() const; + void setStartImmediately(bool startImmediately); + long getProjectId() const; + void setProjectId(long projectId); + std::string getAdvancedSettings() const; + void setAdvancedSettings(const std::string &advancedSettings); + long getStartEffectDate() const; + void setStartEffectDate(long startEffectDate); + std::string getCycleType() const; + void setCycleType(const std::string &cycleType); + long getFileId() const; + void setFileId(long fileId); + int getAutoRerunIntervalMillis() const; + void setAutoRerunIntervalMillis(int autoRerunIntervalMillis); + std::string getOwner() const; + void setOwner(const std::string &owner); + std::string getInputList() const; + void setInputList(const std::string &inputList); + std::string getRerunMode() const; + void setRerunMode(const std::string &rerunMode); + std::string getConnectionName() const; + void setConnectionName(const std::string &connectionName); + std::string getOutputParameters() const; + void setOutputParameters(const std::string &outputParameters); + std::string getParaValue() const; + void setParaValue(const std::string ¶Value); + std::string getResourceGroupIdentifier() const; + void setResourceGroupIdentifier(const std::string &resourceGroupIdentifier); + int getAutoRerunTimes() const; + void setAutoRerunTimes(int autoRerunTimes); + std::string getCronExpress() const; + void setCronExpress(const std::string &cronExpress); + long getEndEffectDate() const; + void setEndEffectDate(long endEffectDate); + std::string getFileName() const; + void setFileName(const std::string &fileName); + std::string getInputParameters() const; + void setInputParameters(const std::string &inputParameters); + 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); + bool getAutoParsing() const; + void setAutoParsing(bool autoParsing); + std::string getSchedulerType() const; + void setSchedulerType(const std::string &schedulerType); + +private: + std::string outputList_; + std::string dependentNodeIdList_; + std::string content_; + std::string projectIdentifier_; + bool startImmediately_; + long projectId_; + std::string advancedSettings_; + long startEffectDate_; + std::string cycleType_; + long fileId_; + int autoRerunIntervalMillis_; + std::string owner_; + std::string inputList_; + std::string rerunMode_; + std::string connectionName_; + std::string outputParameters_; + std::string paraValue_; + std::string resourceGroupIdentifier_; + int autoRerunTimes_; + std::string cronExpress_; + long endEffectDate_; + std::string fileName_; + std::string inputParameters_; + bool stop_; + std::string dependentType_; + std::string fileFolderPath_; + std::string fileDescription_; + bool autoParsing_; + std::string schedulerType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h index 059118f04..fd10d3f38 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateFolderRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEFOLDERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateIDEEventResultRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateIDEEventResultRequest.h index 23adbf906..9efac671b 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateIDEEventResultRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateIDEEventResultRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEIDEEVENTRESULTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEIDEEVENTRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateIDEEventResultRequest : public RpcServiceRequest - { - - public: - UpdateIDEEventResultRequest(); - ~UpdateIDEEventResultRequest(); - - std::string getCheckResultTip()const; - void setCheckResultTip(const std::string& checkResultTip); - std::string getCheckResult()const; - void setCheckResult(const std::string& checkResult); - std::string getMessageId()const; - void setMessageId(const std::string& messageId); - std::string getExtensionCode()const; - void setExtensionCode(const std::string& extensionCode); - - private: - std::string checkResultTip_; - std::string checkResult_; - std::string messageId_; - std::string extensionCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEIDEEVENTRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEIDEEVENTRESULTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEIDEEVENTRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateIDEEventResultRequest : public RpcServiceRequest { +public: + UpdateIDEEventResultRequest(); + ~UpdateIDEEventResultRequest(); + std::string getCheckResultTip() const; + void setCheckResultTip(const std::string &checkResultTip); + std::string getCheckResult() const; + void setCheckResult(const std::string &checkResult); + std::string getMessageId() const; + void setMessageId(const std::string &messageId); + std::string getExtensionCode() const; + void setExtensionCode(const std::string &extensionCode); + +private: + std::string checkResultTip_; + std::string checkResult_; + std::string messageId_; + std::string extensionCode_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEIDEEVENTRESULTREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h index 46547b8d1..2880f3238 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaCategoryRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETACATEGORYREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h index 66ae09e57..49913f05f 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableIntroWikiRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableIntroWikiRequest : public RpcServiceRequest - { - - public: - UpdateMetaTableIntroWikiRequest(); - ~UpdateMetaTableIntroWikiRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getContent()const; - void setContent(const std::string& content); - - private: - std::string tableGuid_; - std::string content_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableIntroWikiRequest : public RpcServiceRequest { +public: + UpdateMetaTableIntroWikiRequest(); + ~UpdateMetaTableIntroWikiRequest(); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getContent() const; + void setContent(const std::string &content); + +private: + std::string tableGuid_; + std::string content_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEINTROWIKIREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h index 773f1d8d5..34ccab519 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateMetaTableRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableRequest : public RpcServiceRequest - { - - public: - UpdateMetaTableRequest(); - ~UpdateMetaTableRequest(); - - int getVisibility()const; - void setVisibility(int visibility); - std::string getCaption()const; - void setCaption(const std::string& caption); - std::string getNewOwnerId()const; - void setNewOwnerId(const std::string& newOwnerId); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::string getAddedLabels()const; - void setAddedLabels(const std::string& addedLabels); - std::string getRemovedLabels()const; - void setRemovedLabels(const std::string& removedLabels); - int getEnvType()const; - void setEnvType(int envType); - std::string getTableName()const; - void setTableName(const std::string& tableName); - long getProjectId()const; - void setProjectId(long projectId); - long getCategoryId()const; - void setCategoryId(long categoryId); - - private: - int visibility_; - std::string caption_; - std::string newOwnerId_; - std::string tableGuid_; - std::string addedLabels_; - std::string removedLabels_; - int envType_; - std::string tableName_; - long projectId_; - long categoryId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateMetaTableRequest : public RpcServiceRequest { +public: + UpdateMetaTableRequest(); + ~UpdateMetaTableRequest(); + int getVisibility() const; + void setVisibility(int visibility); + std::string getCaption() const; + void setCaption(const std::string &caption); + std::string getNewOwnerId() const; + void setNewOwnerId(const std::string &newOwnerId); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::string getAddedLabels() const; + void setAddedLabels(const std::string &addedLabels); + std::string getRemovedLabels() const; + void setRemovedLabels(const std::string &removedLabels); + int getEnvType() const; + void setEnvType(int envType); + std::string getTableName() const; + void setTableName(const std::string &tableName); + long getProjectId() const; + void setProjectId(long projectId); + long getCategoryId() const; + void setCategoryId(long categoryId); + +private: + int visibility_; + std::string caption_; + std::string newOwnerId_; + std::string tableGuid_; + std::string addedLabels_; + std::string removedLabels_; + int envType_; + std::string tableName_; + long projectId_; + long categoryId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEMETATABLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeOwnerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeOwnerRequest.h index 3eb61d2dd..f78ed1527 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeOwnerRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeOwnerRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeOwnerRequest : public RpcServiceRequest - { - - public: - UpdateNodeOwnerRequest(); - ~UpdateNodeOwnerRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - long getNodeId()const; - void setNodeId(long nodeId); - std::string getUserId()const; - void setUserId(const std::string& userId); - - private: - std::string projectEnv_; - long nodeId_; - std::string userId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeOwnerRequest : public RpcServiceRequest { +public: + UpdateNodeOwnerRequest(); + ~UpdateNodeOwnerRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + long getNodeId() const; + void setNodeId(long nodeId); + std::string getUserId() const; + void setUserId(const std::string &userId); + +private: + std::string projectEnv_; + long nodeId_; + std::string userId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODEOWNERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeRunModeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeRunModeRequest.h index 4d3d3ad11..152812e25 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeRunModeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateNodeRunModeRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeRunModeRequest : public RpcServiceRequest - { - - public: - UpdateNodeRunModeRequest(); - ~UpdateNodeRunModeRequest(); - - std::string getProjectEnv()const; - void setProjectEnv(const std::string& projectEnv); - int getSchedulerType()const; - void setSchedulerType(int schedulerType); - long getNodeId()const; - void setNodeId(long nodeId); - - private: - std::string projectEnv_; - int schedulerType_; - long nodeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateNodeRunModeRequest : public RpcServiceRequest { +public: + UpdateNodeRunModeRequest(); + ~UpdateNodeRunModeRequest(); + std::string getProjectEnv() const; + void setProjectEnv(const std::string &projectEnv); + int getSchedulerType() const; + void setSchedulerType(int schedulerType); + long getNodeId() const; + void setNodeId(long nodeId); + +private: + std::string projectEnv_; + int schedulerType_; + long nodeId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATENODERUNMODEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h index 30ba79451..63c9ec4a8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityFollowerRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYFOLLOWERREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h index 40c4fb2e1..4bf8e4773 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateQualityRuleRequest.h @@ -1,105 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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); - bool getOpenSwitch()const; - void setOpenSwitch(bool openSwitch); - 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_; - bool openSwitch_; - std::string comment_; - int predictType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ + +#include +#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); + bool getOpenSwitch() const; + void setOpenSwitch(bool openSwitch); + 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_; + bool openSwitch_; + std::string comment_; + int predictType_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEQUALITYRULEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h index 1d74c5882..6df1b7808 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateRemindRequest.h @@ -1,96 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ + +#include +#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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEREMINDREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableAddColumnRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableAddColumnRequest.h index 0704bd6c0..8c2001fe9 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableAddColumnRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableAddColumnRequest.h @@ -1,59 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEADDCOLUMNREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEADDCOLUMNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableAddColumnRequest : public RpcServiceRequest - { - public: - struct Column - { - std::string columnNameCn; - std::string comment; - std::string columnName; - std::string columnType; - }; - - public: - UpdateTableAddColumnRequest(); - ~UpdateTableAddColumnRequest(); - - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - std::vector getColumn()const; - void setColumn(const std::vector& column); - - private: - std::string tableGuid_; - std::vector column_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEADDCOLUMNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEADDCOLUMNREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEADDCOLUMNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableAddColumnRequest : public RpcServiceRequest { +public: + struct Column { + std::string columnNameCn; + std::string comment; + std::string columnName; + std::string columnType; + }; + UpdateTableAddColumnRequest(); + ~UpdateTableAddColumnRequest(); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + std::vector getColumn() const; + void setColumn(const std::vector &column); + +private: + std::string tableGuid_; + std::vector column_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEADDCOLUMNREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h index a4f3b5c15..b5552c3ca 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableLevelRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableLevelRequest : public RpcServiceRequest - { - - public: - UpdateTableLevelRequest(); - ~UpdateTableLevelRequest(); - - long getLevelId()const; - void setLevelId(long levelId); - int getLevelType()const; - void setLevelType(int levelType); - std::string getName()const; - void setName(const std::string& name); - std::string getDescription()const; - void setDescription(const std::string& description); - long getProjectId()const; - void setProjectId(long projectId); - - private: - long levelId_; - int levelType_; - std::string name_; - std::string description_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableLevelRequest : public RpcServiceRequest { +public: + UpdateTableLevelRequest(); + ~UpdateTableLevelRequest(); + long getLevelId() const; + void setLevelId(long levelId); + int getLevelType() const; + void setLevelType(int levelType); + std::string getName() const; + void setName(const std::string &name); + std::string getDescription() const; + void setDescription(const std::string &description); + long getProjectId() const; + void setProjectId(long projectId); + +private: + long levelId_; + int levelType_; + std::string name_; + std::string description_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLELEVELREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h index 73b8b4fb3..c329ded4e 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableModelInfoRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableModelInfoRequest : public RpcServiceRequest - { - - public: - UpdateTableModelInfoRequest(); - ~UpdateTableModelInfoRequest(); - - long getSecondLevelThemeId()const; - void setSecondLevelThemeId(long secondLevelThemeId); - std::string getTableGuid()const; - void setTableGuid(const std::string& tableGuid); - long getLevelId()const; - void setLevelId(long levelId); - int getLevelType()const; - void setLevelType(int levelType); - long getFirstLevelThemeId()const; - void setFirstLevelThemeId(long firstLevelThemeId); - - private: - long secondLevelThemeId_; - std::string tableGuid_; - long levelId_; - int levelType_; - long firstLevelThemeId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableModelInfoRequest : public RpcServiceRequest { +public: + UpdateTableModelInfoRequest(); + ~UpdateTableModelInfoRequest(); + long getSecondLevelThemeId() const; + void setSecondLevelThemeId(long secondLevelThemeId); + std::string getTableGuid() const; + void setTableGuid(const std::string &tableGuid); + long getLevelId() const; + void setLevelId(long levelId); + int getLevelType() const; + void setLevelType(int levelType); + long getFirstLevelThemeId() const; + void setFirstLevelThemeId(long firstLevelThemeId); + +private: + long secondLevelThemeId_; + std::string tableGuid_; + long levelId_; + int levelType_; + long firstLevelThemeId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEMODELINFOREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h index 20e7fd565..18057d2f7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableRequest.h @@ -1,118 +1,109 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableRequest : public RpcServiceRequest - { - public: - struct Columns - { - int seqNumber; - bool isPartitionCol; - std::string columnNameCn; - int length; - std::string comment; - std::string columnName; - std::string columnType; - }; - struct Themes - { - int themeLevel; - long themeId; - }; - - public: - UpdateTableRequest(); - ~UpdateTableRequest(); - - std::vector getColumns()const; - void setColumns(const std::vector& columns); - int getLifeCycle()const; - void setLifeCycle(int lifeCycle); - std::vector getThemes()const; - void setThemes(const std::vector& themes); - long getLogicalLevelId()const; - void setLogicalLevelId(long logicalLevelId); - std::string getEndpoint()const; - void setEndpoint(const std::string& endpoint); - int getEnvType()const; - void setEnvType(int envType); - int getHasPart()const; - void setHasPart(int hasPart); - std::string getTableName()const; - void setTableName(const std::string& tableName); - std::string getAppGuid()const; - void setAppGuid(const std::string& appGuid); - long getProjectId()const; - void setProjectId(long projectId); - long getCategoryId()const; - void setCategoryId(long categoryId); - int getVisibility()const; - void setVisibility(int visibility); - long getPhysicsLevelId()const; - void setPhysicsLevelId(long physicsLevelId); - std::string getOwnerId()const; - void setOwnerId(const std::string& ownerId); - int getIsView()const; - void setIsView(int isView); - std::string getExternalTableType()const; - void setExternalTableType(const std::string& externalTableType); - std::string getLocation()const; - void setLocation(const std::string& location); - std::string getComment()const; - void setComment(const std::string& comment); - bool getCreateIfNotExists()const; - void setCreateIfNotExists(bool createIfNotExists); - - private: - std::vector columns_; - int lifeCycle_; - std::vector themes_; - long logicalLevelId_; - std::string endpoint_; - int envType_; - int hasPart_; - std::string tableName_; - std::string appGuid_; - long projectId_; - long categoryId_; - int visibility_; - long physicsLevelId_; - std::string ownerId_; - int isView_; - std::string externalTableType_; - std::string location_; - std::string comment_; - bool createIfNotExists_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableRequest : public RpcServiceRequest { +public: + struct Columns { + int seqNumber; + bool isPartitionCol; + std::string columnNameCn; + int length; + std::string comment; + std::string columnName; + std::string columnType; + }; + struct Themes { + int themeLevel; + long themeId; + }; + UpdateTableRequest(); + ~UpdateTableRequest(); + std::vector getColumns() const; + void setColumns(const std::vector &columns); + int getLifeCycle() const; + void setLifeCycle(int lifeCycle); + std::vector getThemes() const; + void setThemes(const std::vector &themes); + long getLogicalLevelId() const; + void setLogicalLevelId(long logicalLevelId); + std::string getEndpoint() const; + void setEndpoint(const std::string &endpoint); + int getEnvType() const; + void setEnvType(int envType); + int getHasPart() const; + void setHasPart(int hasPart); + std::string getTableName() const; + void setTableName(const std::string &tableName); + std::string getAppGuid() const; + void setAppGuid(const std::string &appGuid); + long getProjectId() const; + void setProjectId(long projectId); + long getCategoryId() const; + void setCategoryId(long categoryId); + int getVisibility() const; + void setVisibility(int visibility); + long getPhysicsLevelId() const; + void setPhysicsLevelId(long physicsLevelId); + std::string getOwnerId() const; + void setOwnerId(const std::string &ownerId); + int getIsView() const; + void setIsView(int isView); + std::string getExternalTableType() const; + void setExternalTableType(const std::string &externalTableType); + std::string getLocation() const; + void setLocation(const std::string &location); + std::string getComment() const; + void setComment(const std::string &comment); + bool getCreateIfNotExists() const; + void setCreateIfNotExists(bool createIfNotExists); + +private: + std::vector columns_; + int lifeCycle_; + std::vector themes_; + long logicalLevelId_; + std::string endpoint_; + int envType_; + int hasPart_; + std::string tableName_; + std::string appGuid_; + long projectId_; + long categoryId_; + int visibility_; + long physicsLevelId_; + std::string ownerId_; + int isView_; + std::string externalTableType_; + std::string location_; + std::string comment_; + bool createIfNotExists_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h index 1a4ad5b44..888a2cce0 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateTableThemeRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableThemeRequest : public RpcServiceRequest - { - - public: - UpdateTableThemeRequest(); - ~UpdateTableThemeRequest(); - - std::string getName()const; - void setName(const std::string& name); - long getThemeId()const; - void setThemeId(long themeId); - long getProjectId()const; - void setProjectId(long projectId); - - private: - std::string name_; - long themeId_; - long projectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateTableThemeRequest : public RpcServiceRequest { +public: + UpdateTableThemeRequest(); + ~UpdateTableThemeRequest(); + std::string getName() const; + void setName(const std::string &name); + long getThemeId() const; + void setThemeId(long themeId); + long getProjectId() const; + void setProjectId(long projectId); + +private: + std::string name_; + long themeId_; + long projectId_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATETABLETHEMEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h index afe9d9d87..f1cffb4d7 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateUdfFileRequest.h @@ -1,81 +1,75 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_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 + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ + +#include +#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 ¶meterDescription); + 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_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEUDFFILEREQUEST_H_ diff --git a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateWorkbenchEventResultRequest.h b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateWorkbenchEventResultRequest.h index 1d12e12e7..a8da3e7c8 100644 --- a/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateWorkbenchEventResultRequest.h +++ b/dataworks-public/include/alibabacloud/dataworks-public/model/UpdateWorkbenchEventResultRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEWORKBENCHEVENTRESULTREQUEST_H_ -#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEWORKBENCHEVENTRESULTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Dataworks_public - { - namespace Model - { - class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateWorkbenchEventResultRequest : public RpcServiceRequest - { - - public: - UpdateWorkbenchEventResultRequest(); - ~UpdateWorkbenchEventResultRequest(); - - std::string getCheckResultTip()const; - void setCheckResultTip(const std::string& checkResultTip); - std::string getCheckResult()const; - void setCheckResult(const std::string& checkResult); - std::string getMessageId()const; - void setMessageId(const std::string& messageId); - std::string getExtensionCode()const; - void setExtensionCode(const std::string& extensionCode); - - private: - std::string checkResultTip_; - std::string checkResult_; - std::string messageId_; - std::string extensionCode_; - - }; - } - } -} -#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEWORKBENCHEVENTRESULTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEWORKBENCHEVENTRESULTREQUEST_H_ +#define ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEWORKBENCHEVENTRESULTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dataworks_public { +namespace Model { +class ALIBABACLOUD_DATAWORKS_PUBLIC_EXPORT UpdateWorkbenchEventResultRequest : public RpcServiceRequest { +public: + UpdateWorkbenchEventResultRequest(); + ~UpdateWorkbenchEventResultRequest(); + std::string getCheckResultTip() const; + void setCheckResultTip(const std::string &checkResultTip); + std::string getCheckResult() const; + void setCheckResult(const std::string &checkResult); + std::string getMessageId() const; + void setMessageId(const std::string &messageId); + std::string getExtensionCode() const; + void setExtensionCode(const std::string &extensionCode); + +private: + std::string checkResultTip_; + std::string checkResult_; + std::string messageId_; + std::string extensionCode_; +}; +} // namespace Model +} // namespace Dataworks_public +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DATAWORKS_PUBLIC_MODEL_UPDATEWORKBENCHEVENTRESULTREQUEST_H_ diff --git a/dataworks-public/src/Dataworks-publicClient.cc b/dataworks-public/src/Dataworks-publicClient.cc index ccb17216f..fa640c728 100644 --- a/dataworks-public/src/Dataworks-publicClient.cc +++ b/dataworks-public/src/Dataworks-publicClient.cc @@ -2571,6 +2571,42 @@ Dataworks_publicClient::GetDataServiceApiOutcomeCallable Dataworks_publicClient: return task->get_future(); } +Dataworks_publicClient::GetDataServiceApiTestOutcome Dataworks_publicClient::getDataServiceApiTest(const GetDataServiceApiTestRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDataServiceApiTestOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDataServiceApiTestOutcome(GetDataServiceApiTestResult(outcome.result())); + else + return GetDataServiceApiTestOutcome(outcome.error()); +} + +void Dataworks_publicClient::getDataServiceApiTestAsync(const GetDataServiceApiTestRequest& request, const GetDataServiceApiTestAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDataServiceApiTest(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetDataServiceApiTestOutcomeCallable Dataworks_publicClient::getDataServiceApiTestCallable(const GetDataServiceApiTestRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDataServiceApiTest(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetDataServiceApplicationOutcome Dataworks_publicClient::getDataServiceApplication(const GetDataServiceApplicationRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2787,6 +2823,78 @@ Dataworks_publicClient::GetDeploymentOutcomeCallable Dataworks_publicClient::get return task->get_future(); } +Dataworks_publicClient::GetDutyRosterOutcome Dataworks_publicClient::getDutyRoster(const GetDutyRosterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDutyRosterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDutyRosterOutcome(GetDutyRosterResult(outcome.result())); + else + return GetDutyRosterOutcome(outcome.error()); +} + +void Dataworks_publicClient::getDutyRosterAsync(const GetDutyRosterRequest& request, const GetDutyRosterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDutyRoster(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetDutyRosterOutcomeCallable Dataworks_publicClient::getDutyRosterCallable(const GetDutyRosterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDutyRoster(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::GetExtensionOutcome Dataworks_publicClient::getExtension(const GetExtensionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetExtensionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetExtensionOutcome(GetExtensionResult(outcome.result())); + else + return GetExtensionOutcome(outcome.error()); +} + +void Dataworks_publicClient::getExtensionAsync(const GetExtensionRequest& request, const GetExtensionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getExtension(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetExtensionOutcomeCallable Dataworks_publicClient::getExtensionCallable(const GetExtensionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getExtension(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetFileOutcome Dataworks_publicClient::getFile(const GetFileRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4119,6 +4227,42 @@ Dataworks_publicClient::GetOpSensitiveDataOutcomeCallable Dataworks_publicClient return task->get_future(); } +Dataworks_publicClient::GetOptionValueForProjectOutcome Dataworks_publicClient::getOptionValueForProject(const GetOptionValueForProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOptionValueForProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOptionValueForProjectOutcome(GetOptionValueForProjectResult(outcome.result())); + else + return GetOptionValueForProjectOutcome(outcome.error()); +} + +void Dataworks_publicClient::getOptionValueForProjectAsync(const GetOptionValueForProjectRequest& request, const GetOptionValueForProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOptionValueForProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::GetOptionValueForProjectOutcomeCallable Dataworks_publicClient::getOptionValueForProjectCallable(const GetOptionValueForProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOptionValueForProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::GetPermissionApplyOrderDetailOutcome Dataworks_publicClient::getPermissionApplyOrderDetail(const GetPermissionApplyOrderDetailRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4767,6 +4911,78 @@ Dataworks_publicClient::ListConnectionsOutcomeCallable Dataworks_publicClient::l return task->get_future(); } +Dataworks_publicClient::ListCurrentTasksForResourceGroupOutcome Dataworks_publicClient::listCurrentTasksForResourceGroup(const ListCurrentTasksForResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCurrentTasksForResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCurrentTasksForResourceGroupOutcome(ListCurrentTasksForResourceGroupResult(outcome.result())); + else + return ListCurrentTasksForResourceGroupOutcome(outcome.error()); +} + +void Dataworks_publicClient::listCurrentTasksForResourceGroupAsync(const ListCurrentTasksForResourceGroupRequest& request, const ListCurrentTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCurrentTasksForResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListCurrentTasksForResourceGroupOutcomeCallable Dataworks_publicClient::listCurrentTasksForResourceGroupCallable(const ListCurrentTasksForResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCurrentTasksForResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::ListCurrentUsageForResourceGroupOutcome Dataworks_publicClient::listCurrentUsageForResourceGroup(const ListCurrentUsageForResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCurrentUsageForResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCurrentUsageForResourceGroupOutcome(ListCurrentUsageForResourceGroupResult(outcome.result())); + else + return ListCurrentUsageForResourceGroupOutcome(outcome.error()); +} + +void Dataworks_publicClient::listCurrentUsageForResourceGroupAsync(const ListCurrentUsageForResourceGroupRequest& request, const ListCurrentUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCurrentUsageForResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListCurrentUsageForResourceGroupOutcomeCallable Dataworks_publicClient::listCurrentUsageForResourceGroupCallable(const ListCurrentUsageForResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCurrentUsageForResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListDIProjectConfigOutcome Dataworks_publicClient::listDIProjectConfig(const ListDIProjectConfigRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4875,6 +5091,42 @@ Dataworks_publicClient::ListDataServiceApiAuthoritiesOutcomeCallable Dataworks_p return task->get_future(); } +Dataworks_publicClient::ListDataServiceApiTestOutcome Dataworks_publicClient::listDataServiceApiTest(const ListDataServiceApiTestRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDataServiceApiTestOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDataServiceApiTestOutcome(ListDataServiceApiTestResult(outcome.result())); + else + return ListDataServiceApiTestOutcome(outcome.error()); +} + +void Dataworks_publicClient::listDataServiceApiTestAsync(const ListDataServiceApiTestRequest& request, const ListDataServiceApiTestAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDataServiceApiTest(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListDataServiceApiTestOutcomeCallable Dataworks_publicClient::listDataServiceApiTestCallable(const ListDataServiceApiTestRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDataServiceApiTest(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListDataServiceApisOutcome Dataworks_publicClient::listDataServiceApis(const ListDataServiceApisRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5163,6 +5415,78 @@ Dataworks_publicClient::ListDeploymentsOutcomeCallable Dataworks_publicClient::l return task->get_future(); } +Dataworks_publicClient::ListDutyRostersOutcome Dataworks_publicClient::listDutyRosters(const ListDutyRostersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDutyRostersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDutyRostersOutcome(ListDutyRostersResult(outcome.result())); + else + return ListDutyRostersOutcome(outcome.error()); +} + +void Dataworks_publicClient::listDutyRostersAsync(const ListDutyRostersRequest& request, const ListDutyRostersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDutyRosters(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListDutyRostersOutcomeCallable Dataworks_publicClient::listDutyRostersCallable(const ListDutyRostersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDutyRosters(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dataworks_publicClient::ListExtensionsOutcome Dataworks_publicClient::listExtensions(const ListExtensionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListExtensionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListExtensionsOutcome(ListExtensionsResult(outcome.result())); + else + return ListExtensionsOutcome(outcome.error()); +} + +void Dataworks_publicClient::listExtensionsAsync(const ListExtensionsRequest& request, const ListExtensionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listExtensions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListExtensionsOutcomeCallable Dataworks_publicClient::listExtensionsCallable(const ListExtensionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listExtensions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListFileTypeOutcome Dataworks_publicClient::listFileType(const ListFileTypeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5307,6 +5631,42 @@ Dataworks_publicClient::ListFoldersOutcomeCallable Dataworks_publicClient::listF return task->get_future(); } +Dataworks_publicClient::ListHistoryTasksForResourceGroupOutcome Dataworks_publicClient::listHistoryTasksForResourceGroup(const ListHistoryTasksForResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListHistoryTasksForResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListHistoryTasksForResourceGroupOutcome(ListHistoryTasksForResourceGroupResult(outcome.result())); + else + return ListHistoryTasksForResourceGroupOutcome(outcome.error()); +} + +void Dataworks_publicClient::listHistoryTasksForResourceGroupAsync(const ListHistoryTasksForResourceGroupRequest& request, const ListHistoryTasksForResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listHistoryTasksForResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListHistoryTasksForResourceGroupOutcomeCallable Dataworks_publicClient::listHistoryTasksForResourceGroupCallable(const ListHistoryTasksForResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listHistoryTasksForResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListInstanceAmountOutcome Dataworks_publicClient::listInstanceAmount(const ListInstanceAmountRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -5451,6 +5811,42 @@ Dataworks_publicClient::ListMetaDBOutcomeCallable Dataworks_publicClient::listMe return task->get_future(); } +Dataworks_publicClient::ListMigrationsOutcome Dataworks_publicClient::listMigrations(const ListMigrationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMigrationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMigrationsOutcome(ListMigrationsResult(outcome.result())); + else + return ListMigrationsOutcome(outcome.error()); +} + +void Dataworks_publicClient::listMigrationsAsync(const ListMigrationsRequest& request, const ListMigrationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMigrations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListMigrationsOutcomeCallable Dataworks_publicClient::listMigrationsCallable(const ListMigrationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMigrations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::ListNodeIOOutcome Dataworks_publicClient::listNodeIO(const ListNodeIORequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -6207,6 +6603,42 @@ Dataworks_publicClient::ListTopicsOutcomeCallable Dataworks_publicClient::listTo return task->get_future(); } +Dataworks_publicClient::ListUsageForResourceGroupOutcome Dataworks_publicClient::listUsageForResourceGroup(const ListUsageForResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListUsageForResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListUsageForResourceGroupOutcome(ListUsageForResourceGroupResult(outcome.result())); + else + return ListUsageForResourceGroupOutcome(outcome.error()); +} + +void Dataworks_publicClient::listUsageForResourceGroupAsync(const ListUsageForResourceGroupRequest& request, const ListUsageForResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listUsageForResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::ListUsageForResourceGroupOutcomeCallable Dataworks_publicClient::listUsageForResourceGroupCallable(const ListUsageForResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listUsageForResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::PublishDataServiceApiOutcome Dataworks_publicClient::publishDataServiceApi(const PublishDataServiceApiRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -7071,6 +7503,42 @@ Dataworks_publicClient::TerminateDISyncInstanceOutcomeCallable Dataworks_publicC return task->get_future(); } +Dataworks_publicClient::TestDataServiceApiOutcome Dataworks_publicClient::testDataServiceApi(const TestDataServiceApiRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return TestDataServiceApiOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return TestDataServiceApiOutcome(TestDataServiceApiResult(outcome.result())); + else + return TestDataServiceApiOutcome(outcome.error()); +} + +void Dataworks_publicClient::testDataServiceApiAsync(const TestDataServiceApiRequest& request, const TestDataServiceApiAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, testDataServiceApi(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dataworks_publicClient::TestDataServiceApiOutcomeCallable Dataworks_publicClient::testDataServiceApiCallable(const TestDataServiceApiRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->testDataServiceApi(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + Dataworks_publicClient::TestNetworkConnectionOutcome Dataworks_publicClient::testNetworkConnection(const TestNetworkConnectionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc b/dataworks-public/src/model/AbolishDataServiceApiRequest.cc index 58fbc7a89..2f6d6bd65 100644 --- a/dataworks-public/src/model/AbolishDataServiceApiRequest.cc +++ b/dataworks-public/src/model/AbolishDataServiceApiRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::AbolishDataServiceApiRequest; + +AbolishDataServiceApiRequest::AbolishDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "AbolishDataServiceApi") { + setMethod(HttpRequest::Method::Post); } -void AbolishDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +AbolishDataServiceApiRequest::~AbolishDataServiceApiRequest() {} + +long AbolishDataServiceApiRequest::getTenantId() const { + return tenantId_; } -long AbolishDataServiceApiRequest::getProjectId()const -{ - return projectId_; +void AbolishDataServiceApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void AbolishDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long AbolishDataServiceApiRequest::getProjectId() const { + return projectId_; } -long AbolishDataServiceApiRequest::getApiId()const -{ - return apiId_; +void AbolishDataServiceApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void AbolishDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long AbolishDataServiceApiRequest::getApiId() const { + return apiId_; +} + +void AbolishDataServiceApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/AbolishDataServiceApiResult.cc b/dataworks-public/src/model/AbolishDataServiceApiResult.cc index 3d8e94688..d6afb6059 100644 --- a/dataworks-public/src/model/AbolishDataServiceApiResult.cc +++ b/dataworks-public/src/model/AbolishDataServiceApiResult.cc @@ -39,14 +39,14 @@ void AbolishDataServiceApiResult::parse(const std::string &payload) 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["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc b/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc index 9306a545c..84dec5a34 100644 --- a/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc +++ b/dataworks-public/src/model/AddProjectMemberToRoleRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::AddProjectMemberToRoleRequest; + +AddProjectMemberToRoleRequest::AddProjectMemberToRoleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "AddProjectMemberToRole") { + setMethod(HttpRequest::Method::Post); } -void AddProjectMemberToRoleRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); +AddProjectMemberToRoleRequest::~AddProjectMemberToRoleRequest() {} + +std::string AddProjectMemberToRoleRequest::getRoleCode() const { + return roleCode_; } -std::string AddProjectMemberToRoleRequest::getClientToken()const -{ - return clientToken_; +void AddProjectMemberToRoleRequest::setRoleCode(const std::string &roleCode) { + roleCode_ = roleCode; + setParameter(std::string("RoleCode"), roleCode); } -void AddProjectMemberToRoleRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +std::string AddProjectMemberToRoleRequest::getClientToken() const { + return clientToken_; } -long AddProjectMemberToRoleRequest::getProjectId()const -{ - return projectId_; +void AddProjectMemberToRoleRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void AddProjectMemberToRoleRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long AddProjectMemberToRoleRequest::getProjectId() const { + return projectId_; } -std::string AddProjectMemberToRoleRequest::getUserId()const -{ - return userId_; +void AddProjectMemberToRoleRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void AddProjectMemberToRoleRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string AddProjectMemberToRoleRequest::getUserId() const { + return userId_; +} + +void AddProjectMemberToRoleRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } diff --git a/dataworks-public/src/model/AddToMetaCategoryRequest.cc b/dataworks-public/src/model/AddToMetaCategoryRequest.cc index ae43ae07c..ea525b026 100644 --- a/dataworks-public/src/model/AddToMetaCategoryRequest.cc +++ b/dataworks-public/src/model/AddToMetaCategoryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::AddToMetaCategoryRequest; + +AddToMetaCategoryRequest::AddToMetaCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "AddToMetaCategory") { + setMethod(HttpRequest::Method::Post); } -void AddToMetaCategoryRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +AddToMetaCategoryRequest::~AddToMetaCategoryRequest() {} + +std::string AddToMetaCategoryRequest::getTableGuid() const { + return tableGuid_; } -long AddToMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; +void AddToMetaCategoryRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void AddToMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +long AddToMetaCategoryRequest::getCategoryId() const { + return categoryId_; +} + +void AddToMetaCategoryRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } diff --git a/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc b/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc index 75dd3237b..0f498f27c 100644 --- a/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc +++ b/dataworks-public/src/model/ApprovePermissionApplyOrderRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ApprovePermissionApplyOrderRequest; - -ApprovePermissionApplyOrderRequest::ApprovePermissionApplyOrderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ApprovePermissionApplyOrder") -{ - setMethod(HttpRequest::Method::Post); -} - -ApprovePermissionApplyOrderRequest::~ApprovePermissionApplyOrderRequest() -{} - -std::string ApprovePermissionApplyOrderRequest::getFlowId()const -{ - return flowId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ApprovePermissionApplyOrderRequest; + +ApprovePermissionApplyOrderRequest::ApprovePermissionApplyOrderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ApprovePermissionApplyOrder") { + setMethod(HttpRequest::Method::Post); } -void ApprovePermissionApplyOrderRequest::setFlowId(const std::string& flowId) -{ - flowId_ = flowId; - setParameter("FlowId", flowId); +ApprovePermissionApplyOrderRequest::~ApprovePermissionApplyOrderRequest() {} + +std::string ApprovePermissionApplyOrderRequest::getFlowId() const { + return flowId_; } -std::string ApprovePermissionApplyOrderRequest::getApproveComment()const -{ - return approveComment_; +void ApprovePermissionApplyOrderRequest::setFlowId(const std::string &flowId) { + flowId_ = flowId; + setParameter(std::string("FlowId"), flowId); } -void ApprovePermissionApplyOrderRequest::setApproveComment(const std::string& approveComment) -{ - approveComment_ = approveComment; - setParameter("ApproveComment", approveComment); +std::string ApprovePermissionApplyOrderRequest::getApproveComment() const { + return approveComment_; } -int ApprovePermissionApplyOrderRequest::getApproveAction()const -{ - return approveAction_; +void ApprovePermissionApplyOrderRequest::setApproveComment(const std::string &approveComment) { + approveComment_ = approveComment; + setParameter(std::string("ApproveComment"), approveComment); } -void ApprovePermissionApplyOrderRequest::setApproveAction(int approveAction) -{ - approveAction_ = approveAction; - setParameter("ApproveAction", std::to_string(approveAction)); +int ApprovePermissionApplyOrderRequest::getApproveAction() const { + return approveAction_; +} + +void ApprovePermissionApplyOrderRequest::setApproveAction(int approveAction) { + approveAction_ = approveAction; + setParameter(std::string("ApproveAction"), std::to_string(approveAction)); } diff --git a/dataworks-public/src/model/CheckFileDeploymentRequest.cc b/dataworks-public/src/model/CheckFileDeploymentRequest.cc index f851d832c..4523f29f9 100644 --- a/dataworks-public/src/model/CheckFileDeploymentRequest.cc +++ b/dataworks-public/src/model/CheckFileDeploymentRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CheckFileDeploymentRequest; - -CheckFileDeploymentRequest::CheckFileDeploymentRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckFileDeployment") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckFileDeploymentRequest::~CheckFileDeploymentRequest() -{} - -std::string CheckFileDeploymentRequest::getCheckDetailUrl()const -{ - return checkDetailUrl_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CheckFileDeploymentRequest; + +CheckFileDeploymentRequest::CheckFileDeploymentRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CheckFileDeployment") { + setMethod(HttpRequest::Method::Post); } -void CheckFileDeploymentRequest::setCheckDetailUrl(const std::string& checkDetailUrl) -{ - checkDetailUrl_ = checkDetailUrl; - setBodyParameter("CheckDetailUrl", checkDetailUrl); +CheckFileDeploymentRequest::~CheckFileDeploymentRequest() {} + +std::string CheckFileDeploymentRequest::getCheckDetailUrl() const { + return checkDetailUrl_; } -std::string CheckFileDeploymentRequest::getCheckerInstanceId()const -{ - return checkerInstanceId_; +void CheckFileDeploymentRequest::setCheckDetailUrl(const std::string &checkDetailUrl) { + checkDetailUrl_ = checkDetailUrl; + setBodyParameter(std::string("CheckDetailUrl"), checkDetailUrl); } -void CheckFileDeploymentRequest::setCheckerInstanceId(const std::string& checkerInstanceId) -{ - checkerInstanceId_ = checkerInstanceId; - setBodyParameter("CheckerInstanceId", checkerInstanceId); +std::string CheckFileDeploymentRequest::getCheckerInstanceId() const { + return checkerInstanceId_; } -std::string CheckFileDeploymentRequest::getStatus()const -{ - return status_; +void CheckFileDeploymentRequest::setCheckerInstanceId(const std::string &checkerInstanceId) { + checkerInstanceId_ = checkerInstanceId; + setBodyParameter(std::string("CheckerInstanceId"), checkerInstanceId); } -void CheckFileDeploymentRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); +std::string CheckFileDeploymentRequest::getStatus() const { + return status_; +} + +void CheckFileDeploymentRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); } diff --git a/dataworks-public/src/model/CheckMetaPartitionRequest.cc b/dataworks-public/src/model/CheckMetaPartitionRequest.cc index e86b273a6..5c1179cfb 100644 --- a/dataworks-public/src/model/CheckMetaPartitionRequest.cc +++ b/dataworks-public/src/model/CheckMetaPartitionRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CheckMetaPartitionRequest; - -CheckMetaPartitionRequest::CheckMetaPartitionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaPartition") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckMetaPartitionRequest::~CheckMetaPartitionRequest() -{} - -std::string CheckMetaPartitionRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CheckMetaPartitionRequest; + +CheckMetaPartitionRequest::CheckMetaPartitionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaPartition") { + setMethod(HttpRequest::Method::Post); } -void CheckMetaPartitionRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +CheckMetaPartitionRequest::~CheckMetaPartitionRequest() {} + +std::string CheckMetaPartitionRequest::getDataSourceType() const { + return dataSourceType_; } -std::string CheckMetaPartitionRequest::getPartition()const -{ - return partition_; +void CheckMetaPartitionRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void CheckMetaPartitionRequest::setPartition(const std::string& partition) -{ - partition_ = partition; - setParameter("Partition", partition); +std::string CheckMetaPartitionRequest::getPartition() const { + return partition_; } -std::string CheckMetaPartitionRequest::getTableGuid()const -{ - return tableGuid_; +void CheckMetaPartitionRequest::setPartition(const std::string &partition) { + partition_ = partition; + setParameter(std::string("Partition"), partition); } -void CheckMetaPartitionRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string CheckMetaPartitionRequest::getTableGuid() const { + return tableGuid_; } -std::string CheckMetaPartitionRequest::getDatabaseName()const -{ - return databaseName_; +void CheckMetaPartitionRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void CheckMetaPartitionRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string CheckMetaPartitionRequest::getDatabaseName() const { + return databaseName_; } -std::string CheckMetaPartitionRequest::getClusterId()const -{ - return clusterId_; +void CheckMetaPartitionRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void CheckMetaPartitionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string CheckMetaPartitionRequest::getClusterId() const { + return clusterId_; } -std::string CheckMetaPartitionRequest::getTableName()const -{ - return tableName_; +void CheckMetaPartitionRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void CheckMetaPartitionRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string CheckMetaPartitionRequest::getTableName() const { + return tableName_; +} + +void CheckMetaPartitionRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/CheckMetaTableRequest.cc b/dataworks-public/src/model/CheckMetaTableRequest.cc index 3617d53eb..12748827f 100644 --- a/dataworks-public/src/model/CheckMetaTableRequest.cc +++ b/dataworks-public/src/model/CheckMetaTableRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CheckMetaTableRequest; - -CheckMetaTableRequest::CheckMetaTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaTable") -{ - setMethod(HttpRequest::Method::Post); -} - -CheckMetaTableRequest::~CheckMetaTableRequest() -{} - -std::string CheckMetaTableRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CheckMetaTableRequest; + +CheckMetaTableRequest::CheckMetaTableRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CheckMetaTable") { + setMethod(HttpRequest::Method::Post); } -void CheckMetaTableRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +CheckMetaTableRequest::~CheckMetaTableRequest() {} + +std::string CheckMetaTableRequest::getDataSourceType() const { + return dataSourceType_; } -std::string CheckMetaTableRequest::getTableGuid()const -{ - return tableGuid_; +void CheckMetaTableRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void CheckMetaTableRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string CheckMetaTableRequest::getTableGuid() const { + return tableGuid_; } -std::string CheckMetaTableRequest::getDatabaseName()const -{ - return databaseName_; +void CheckMetaTableRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void CheckMetaTableRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string CheckMetaTableRequest::getDatabaseName() const { + return databaseName_; } -std::string CheckMetaTableRequest::getClusterId()const -{ - return clusterId_; +void CheckMetaTableRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void CheckMetaTableRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string CheckMetaTableRequest::getClusterId() const { + return clusterId_; } -std::string CheckMetaTableRequest::getTableName()const -{ - return tableName_; +void CheckMetaTableRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void CheckMetaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string CheckMetaTableRequest::getTableName() const { + return tableName_; +} + +void CheckMetaTableRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/CreateBusinessRequest.cc b/dataworks-public/src/model/CreateBusinessRequest.cc index d3fbb71fd..8dff29821 100644 --- a/dataworks-public/src/model/CreateBusinessRequest.cc +++ b/dataworks-public/src/model/CreateBusinessRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateBusinessRequest; - -CreateBusinessRequest::CreateBusinessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateBusiness") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateBusinessRequest::~CreateBusinessRequest() -{} - -std::string CreateBusinessRequest::getOwner()const -{ - return owner_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateBusinessRequest; + +CreateBusinessRequest::CreateBusinessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateBusiness") { + setMethod(HttpRequest::Method::Post); } -void CreateBusinessRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +CreateBusinessRequest::~CreateBusinessRequest() {} + +std::string CreateBusinessRequest::getOwner() const { + return owner_; } -std::string CreateBusinessRequest::getBusinessName()const -{ - return businessName_; +void CreateBusinessRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void CreateBusinessRequest::setBusinessName(const std::string& businessName) -{ - businessName_ = businessName; - setBodyParameter("BusinessName", businessName); +std::string CreateBusinessRequest::getBusinessName() const { + return businessName_; } -std::string CreateBusinessRequest::getDescription()const -{ - return description_; +void CreateBusinessRequest::setBusinessName(const std::string &businessName) { + businessName_ = businessName; + setBodyParameter(std::string("BusinessName"), businessName); } -void CreateBusinessRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string CreateBusinessRequest::getDescription() const { + return description_; } -long CreateBusinessRequest::getProjectId()const -{ - return projectId_; +void CreateBusinessRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateBusinessRequest::getProjectId() const { + return projectId_; } -std::string CreateBusinessRequest::getUseType()const -{ - return useType_; +void CreateBusinessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateBusinessRequest::setUseType(const std::string& useType) -{ - useType_ = useType; - setBodyParameter("UseType", useType); +std::string CreateBusinessRequest::getUseType() const { + return useType_; } -std::string CreateBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void CreateBusinessRequest::setUseType(const std::string &useType) { + useType_ = useType; + setBodyParameter(std::string("UseType"), useType); } -void CreateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string CreateBusinessRequest::getProjectIdentifier() const { + return projectIdentifier_; +} + +void CreateBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } diff --git a/dataworks-public/src/model/CreateConnectionRequest.cc b/dataworks-public/src/model/CreateConnectionRequest.cc index de8497063..79900ac26 100644 --- a/dataworks-public/src/model/CreateConnectionRequest.cc +++ b/dataworks-public/src/model/CreateConnectionRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateConnectionRequest; + +CreateConnectionRequest::CreateConnectionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateConnection") { + setMethod(HttpRequest::Method::Post); } -void CreateConnectionRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +CreateConnectionRequest::~CreateConnectionRequest() {} + +std::string CreateConnectionRequest::getDescription() const { + return description_; } -std::string CreateConnectionRequest::getContent()const -{ - return content_; +void CreateConnectionRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateConnectionRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string CreateConnectionRequest::getContent() const { + return content_; } -std::string CreateConnectionRequest::getSubType()const -{ - return subType_; +void CreateConnectionRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void CreateConnectionRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); +std::string CreateConnectionRequest::getSubType() const { + return subType_; } -std::string CreateConnectionRequest::getName()const -{ - return name_; +void CreateConnectionRequest::setSubType(const std::string &subType) { + subType_ = subType; + setParameter(std::string("SubType"), subType); } -void CreateConnectionRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateConnectionRequest::getName() const { + return name_; } -int CreateConnectionRequest::getEnvType()const -{ - return envType_; +void CreateConnectionRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateConnectionRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +int CreateConnectionRequest::getEnvType() const { + return envType_; } -std::string CreateConnectionRequest::getConnectionType()const -{ - return connectionType_; +void CreateConnectionRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void CreateConnectionRequest::setConnectionType(const std::string& connectionType) -{ - connectionType_ = connectionType; - setParameter("ConnectionType", connectionType); +std::string CreateConnectionRequest::getConnectionType() const { + return connectionType_; } -long CreateConnectionRequest::getProjectId()const -{ - return projectId_; +void CreateConnectionRequest::setConnectionType(const std::string &connectionType) { + connectionType_ = connectionType; + setParameter(std::string("ConnectionType"), connectionType); } -void CreateConnectionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateConnectionRequest::getProjectId() const { + return projectId_; +} + +void CreateConnectionRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/CreateDISyncTaskRequest.cc b/dataworks-public/src/model/CreateDISyncTaskRequest.cc index e7bc2cfb2..2118b8cee 100644 --- a/dataworks-public/src/model/CreateDISyncTaskRequest.cc +++ b/dataworks-public/src/model/CreateDISyncTaskRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDISyncTaskRequest; - -CreateDISyncTaskRequest::CreateDISyncTaskRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDISyncTask") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDISyncTaskRequest::~CreateDISyncTaskRequest() -{} - -std::string CreateDISyncTaskRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDISyncTaskRequest; + +CreateDISyncTaskRequest::CreateDISyncTaskRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDISyncTask") { + setMethod(HttpRequest::Method::Post); } -void CreateDISyncTaskRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +CreateDISyncTaskRequest::~CreateDISyncTaskRequest() {} + +std::string CreateDISyncTaskRequest::getTaskType() const { + return taskType_; } -std::string CreateDISyncTaskRequest::getClientToken()const -{ - return clientToken_; +void CreateDISyncTaskRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void CreateDISyncTaskRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +std::string CreateDISyncTaskRequest::getClientToken() const { + return clientToken_; } -std::string CreateDISyncTaskRequest::getTaskParam()const -{ - return taskParam_; +void CreateDISyncTaskRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void CreateDISyncTaskRequest::setTaskParam(const std::string& taskParam) -{ - taskParam_ = taskParam; - setParameter("TaskParam", taskParam); +std::string CreateDISyncTaskRequest::getTaskParam() const { + return taskParam_; } -std::string CreateDISyncTaskRequest::getTaskName()const -{ - return taskName_; +void CreateDISyncTaskRequest::setTaskParam(const std::string &taskParam) { + taskParam_ = taskParam; + setParameter(std::string("TaskParam"), taskParam); } -void CreateDISyncTaskRequest::setTaskName(const std::string& taskName) -{ - taskName_ = taskName; - setParameter("TaskName", taskName); +std::string CreateDISyncTaskRequest::getTaskName() const { + return taskName_; } -std::string CreateDISyncTaskRequest::getTaskContent()const -{ - return taskContent_; +void CreateDISyncTaskRequest::setTaskName(const std::string &taskName) { + taskName_ = taskName; + setParameter(std::string("TaskName"), taskName); } -void CreateDISyncTaskRequest::setTaskContent(const std::string& taskContent) -{ - taskContent_ = taskContent; - setParameter("TaskContent", taskContent); +std::string CreateDISyncTaskRequest::getTaskContent() const { + return taskContent_; } -long CreateDISyncTaskRequest::getProjectId()const -{ - return projectId_; +void CreateDISyncTaskRequest::setTaskContent(const std::string &taskContent) { + taskContent_ = taskContent; + setParameter(std::string("TaskContent"), taskContent); } -void CreateDISyncTaskRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateDISyncTaskRequest::getProjectId() const { + return projectId_; +} + +void CreateDISyncTaskRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/CreateDagComplementRequest.cc b/dataworks-public/src/model/CreateDagComplementRequest.cc index be88859b8..bcf872506 100644 --- a/dataworks-public/src/model/CreateDagComplementRequest.cc +++ b/dataworks-public/src/model/CreateDagComplementRequest.cc @@ -1,150 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDagComplementRequest; + +CreateDagComplementRequest::CreateDagComplementRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagComplement") { + setMethod(HttpRequest::Method::Post); } -void CreateDagComplementRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +CreateDagComplementRequest::~CreateDagComplementRequest() {} + +std::string CreateDagComplementRequest::getProjectEnv() const { + return projectEnv_; } -std::string CreateDagComplementRequest::getStartBizDate()const -{ - return startBizDate_; +void CreateDagComplementRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void CreateDagComplementRequest::setStartBizDate(const std::string& startBizDate) -{ - startBizDate_ = startBizDate; - setBodyParameter("StartBizDate", startBizDate); +std::string CreateDagComplementRequest::getStartBizDate() const { + return startBizDate_; } -bool CreateDagComplementRequest::getParallelism()const -{ - return parallelism_; +void CreateDagComplementRequest::setStartBizDate(const std::string &startBizDate) { + startBizDate_ = startBizDate; + setBodyParameter(std::string("StartBizDate"), startBizDate); } -void CreateDagComplementRequest::setParallelism(bool parallelism) -{ - parallelism_ = parallelism; - setBodyParameter("Parallelism", parallelism ? "true" : "false"); +bool CreateDagComplementRequest::getParallelism() const { + return parallelism_; } -long CreateDagComplementRequest::getRootNodeId()const -{ - return rootNodeId_; +void CreateDagComplementRequest::setParallelism(bool parallelism) { + parallelism_ = parallelism; + setBodyParameter(std::string("Parallelism"), parallelism ? "true" : "false"); } -void CreateDagComplementRequest::setRootNodeId(long rootNodeId) -{ - rootNodeId_ = rootNodeId; - setBodyParameter("RootNodeId", std::to_string(rootNodeId)); +long CreateDagComplementRequest::getRootNodeId() const { + return rootNodeId_; } -std::string CreateDagComplementRequest::getBizBeginTime()const -{ - return bizBeginTime_; +void CreateDagComplementRequest::setRootNodeId(long rootNodeId) { + rootNodeId_ = rootNodeId; + setBodyParameter(std::string("RootNodeId"), std::to_string(rootNodeId)); } -void CreateDagComplementRequest::setBizBeginTime(const std::string& bizBeginTime) -{ - bizBeginTime_ = bizBeginTime; - setBodyParameter("BizBeginTime", bizBeginTime); +std::string CreateDagComplementRequest::getBizBeginTime() const { + return bizBeginTime_; } -std::string CreateDagComplementRequest::getEndBizDate()const -{ - return endBizDate_; +void CreateDagComplementRequest::setBizBeginTime(const std::string &bizBeginTime) { + bizBeginTime_ = bizBeginTime; + setBodyParameter(std::string("BizBeginTime"), bizBeginTime); } -void CreateDagComplementRequest::setEndBizDate(const std::string& endBizDate) -{ - endBizDate_ = endBizDate; - setBodyParameter("EndBizDate", endBizDate); +std::string CreateDagComplementRequest::getEndBizDate() const { + return endBizDate_; } -std::string CreateDagComplementRequest::getIncludeNodeIds()const -{ - return includeNodeIds_; +void CreateDagComplementRequest::setEndBizDate(const std::string &endBizDate) { + endBizDate_ = endBizDate; + setBodyParameter(std::string("EndBizDate"), endBizDate); } -void CreateDagComplementRequest::setIncludeNodeIds(const std::string& includeNodeIds) -{ - includeNodeIds_ = includeNodeIds; - setBodyParameter("IncludeNodeIds", includeNodeIds); +std::string CreateDagComplementRequest::getIncludeNodeIds() const { + return includeNodeIds_; } -std::string CreateDagComplementRequest::getBizEndTime()const -{ - return bizEndTime_; +void CreateDagComplementRequest::setIncludeNodeIds(const std::string &includeNodeIds) { + includeNodeIds_ = includeNodeIds; + setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds); } -void CreateDagComplementRequest::setBizEndTime(const std::string& bizEndTime) -{ - bizEndTime_ = bizEndTime; - setBodyParameter("BizEndTime", bizEndTime); +std::string CreateDagComplementRequest::getBizEndTime() const { + return bizEndTime_; } -std::string CreateDagComplementRequest::getName()const -{ - return name_; +void CreateDagComplementRequest::setBizEndTime(const std::string &bizEndTime) { + bizEndTime_ = bizEndTime; + setBodyParameter(std::string("BizEndTime"), bizEndTime); } -void CreateDagComplementRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateDagComplementRequest::getName() const { + return name_; } -std::string CreateDagComplementRequest::getExcludeNodeIds()const -{ - return excludeNodeIds_; +void CreateDagComplementRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateDagComplementRequest::setExcludeNodeIds(const std::string& excludeNodeIds) -{ - excludeNodeIds_ = excludeNodeIds; - setBodyParameter("ExcludeNodeIds", excludeNodeIds); +std::string CreateDagComplementRequest::getExcludeNodeIds() const { + return excludeNodeIds_; } -std::string CreateDagComplementRequest::getNodeParams()const -{ - return nodeParams_; +void CreateDagComplementRequest::setExcludeNodeIds(const std::string &excludeNodeIds) { + excludeNodeIds_ = excludeNodeIds; + setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds); } -void CreateDagComplementRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); +std::string CreateDagComplementRequest::getNodeParams() const { + return nodeParams_; +} + +void CreateDagComplementRequest::setNodeParams(const std::string &nodeParams) { + nodeParams_ = nodeParams; + setBodyParameter(std::string("NodeParams"), nodeParams); } diff --git a/dataworks-public/src/model/CreateDagTestRequest.cc b/dataworks-public/src/model/CreateDagTestRequest.cc index 1ceb80caa..c352f9294 100644 --- a/dataworks-public/src/model/CreateDagTestRequest.cc +++ b/dataworks-public/src/model/CreateDagTestRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDagTestRequest; + +CreateDagTestRequest::CreateDagTestRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDagTest") { + setMethod(HttpRequest::Method::Post); } -void CreateDagTestRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +CreateDagTestRequest::~CreateDagTestRequest() {} + +std::string CreateDagTestRequest::getProjectEnv() const { + return projectEnv_; } -std::string CreateDagTestRequest::getBizdate()const -{ - return bizdate_; +void CreateDagTestRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void CreateDagTestRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +std::string CreateDagTestRequest::getBizdate() const { + return bizdate_; } -std::string CreateDagTestRequest::getName()const -{ - return name_; +void CreateDagTestRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void CreateDagTestRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateDagTestRequest::getName() const { + return name_; } -std::string CreateDagTestRequest::getNodeParams()const -{ - return nodeParams_; +void CreateDagTestRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateDagTestRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); +std::string CreateDagTestRequest::getNodeParams() const { + return nodeParams_; } -long CreateDagTestRequest::getNodeId()const -{ - return nodeId_; +void CreateDagTestRequest::setNodeParams(const std::string &nodeParams) { + nodeParams_ = nodeParams; + setBodyParameter(std::string("NodeParams"), nodeParams); } -void CreateDagTestRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long CreateDagTestRequest::getNodeId() const { + return nodeId_; +} + +void CreateDagTestRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc b/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc index f1a8b98d2..bc55fc763 100644 --- a/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc +++ b/dataworks-public/src/model/CreateDataServiceApiAuthorityRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiAuthorityRequest; - -CreateDataServiceApiAuthorityRequest::CreateDataServiceApiAuthorityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApiAuthority") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceApiAuthorityRequest::~CreateDataServiceApiAuthorityRequest() -{} - -long CreateDataServiceApiAuthorityRequest::getAuthorizedProjectId()const -{ - return authorizedProjectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiAuthorityRequest; + +CreateDataServiceApiAuthorityRequest::CreateDataServiceApiAuthorityRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApiAuthority") { + setMethod(HttpRequest::Method::Post); } -void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) -{ - authorizedProjectId_ = authorizedProjectId; - setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId)); +CreateDataServiceApiAuthorityRequest::~CreateDataServiceApiAuthorityRequest() {} + +long CreateDataServiceApiAuthorityRequest::getAuthorizedProjectId() const { + return authorizedProjectId_; } -long CreateDataServiceApiAuthorityRequest::getTenantId()const -{ - return tenantId_; +void CreateDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) { + authorizedProjectId_ = authorizedProjectId; + setBodyParameter(std::string("AuthorizedProjectId"), std::to_string(authorizedProjectId)); } -void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long CreateDataServiceApiAuthorityRequest::getTenantId() const { + return tenantId_; } -long CreateDataServiceApiAuthorityRequest::getEndTime()const -{ - return endTime_; +void CreateDataServiceApiAuthorityRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", std::to_string(endTime)); +long CreateDataServiceApiAuthorityRequest::getEndTime() const { + return endTime_; } -long CreateDataServiceApiAuthorityRequest::getProjectId()const -{ - return projectId_; +void CreateDataServiceApiAuthorityRequest::setEndTime(long endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), std::to_string(endTime)); } -void CreateDataServiceApiAuthorityRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateDataServiceApiAuthorityRequest::getProjectId() const { + return projectId_; } -long CreateDataServiceApiAuthorityRequest::getApiId()const -{ - return apiId_; +void CreateDataServiceApiAuthorityRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateDataServiceApiAuthorityRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long CreateDataServiceApiAuthorityRequest::getApiId() const { + return apiId_; +} + +void CreateDataServiceApiAuthorityRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/CreateDataServiceApiRequest.cc b/dataworks-public/src/model/CreateDataServiceApiRequest.cc index da3b9376a..3ed473a13 100644 --- a/dataworks-public/src/model/CreateDataServiceApiRequest.cc +++ b/dataworks-public/src/model/CreateDataServiceApiRequest.cc @@ -1,205 +1,171 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDataServiceApiRequest; + +CreateDataServiceApiRequest::CreateDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceApi") { + setMethod(HttpRequest::Method::Post); } -void CreateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails) -{ - scriptDetails_ = scriptDetails; - setBodyParameter("ScriptDetails", scriptDetails); +CreateDataServiceApiRequest::~CreateDataServiceApiRequest() {} + +std::string CreateDataServiceApiRequest::getScriptDetails() const { + return scriptDetails_; } -int CreateDataServiceApiRequest::getRequestMethod()const -{ - return requestMethod_; +void CreateDataServiceApiRequest::setScriptDetails(const std::string &scriptDetails) { + scriptDetails_ = scriptDetails; + setBodyParameter(std::string("ScriptDetails"), scriptDetails); } -void CreateDataServiceApiRequest::setRequestMethod(int requestMethod) -{ - requestMethod_ = requestMethod; - setBodyParameter("RequestMethod", std::to_string(requestMethod)); +int CreateDataServiceApiRequest::getRequestMethod() const { + return requestMethod_; } -std::string CreateDataServiceApiRequest::getGroupId()const -{ - return groupId_; +void CreateDataServiceApiRequest::setRequestMethod(int requestMethod) { + requestMethod_ = requestMethod; + setBodyParameter(std::string("RequestMethod"), std::to_string(requestMethod)); } -void CreateDataServiceApiRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); +std::string CreateDataServiceApiRequest::getGroupId() const { + return groupId_; } -std::string CreateDataServiceApiRequest::getApiPath()const -{ - return apiPath_; +void CreateDataServiceApiRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); } -void CreateDataServiceApiRequest::setApiPath(const std::string& apiPath) -{ - apiPath_ = apiPath; - setBodyParameter("ApiPath", apiPath); +std::string CreateDataServiceApiRequest::getApiPath() const { + return apiPath_; } -std::string CreateDataServiceApiRequest::getWizardDetails()const -{ - return wizardDetails_; +void CreateDataServiceApiRequest::setApiPath(const std::string &apiPath) { + apiPath_ = apiPath; + setBodyParameter(std::string("ApiPath"), apiPath); } -void CreateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails) -{ - wizardDetails_ = wizardDetails; - setBodyParameter("WizardDetails", wizardDetails); +std::string CreateDataServiceApiRequest::getWizardDetails() const { + return wizardDetails_; } -int CreateDataServiceApiRequest::getApiMode()const -{ - return apiMode_; +void CreateDataServiceApiRequest::setWizardDetails(const std::string &wizardDetails) { + wizardDetails_ = wizardDetails; + setBodyParameter(std::string("WizardDetails"), wizardDetails); } -void CreateDataServiceApiRequest::setApiMode(int apiMode) -{ - apiMode_ = apiMode; - setBodyParameter("ApiMode", std::to_string(apiMode)); +int CreateDataServiceApiRequest::getApiMode() const { + return apiMode_; } -int CreateDataServiceApiRequest::getVisibleRange()const -{ - return visibleRange_; +void CreateDataServiceApiRequest::setApiMode(int apiMode) { + apiMode_ = apiMode; + setBodyParameter(std::string("ApiMode"), std::to_string(apiMode)); } -void CreateDataServiceApiRequest::setVisibleRange(int visibleRange) -{ - visibleRange_ = visibleRange; - setBodyParameter("VisibleRange", std::to_string(visibleRange)); +int CreateDataServiceApiRequest::getVisibleRange() const { + return visibleRange_; } -std::string CreateDataServiceApiRequest::getApiDescription()const -{ - return apiDescription_; +void CreateDataServiceApiRequest::setVisibleRange(int visibleRange) { + visibleRange_ = visibleRange; + setBodyParameter(std::string("VisibleRange"), std::to_string(visibleRange)); } -void CreateDataServiceApiRequest::setApiDescription(const std::string& apiDescription) -{ - apiDescription_ = apiDescription; - setBodyParameter("ApiDescription", apiDescription); +std::string CreateDataServiceApiRequest::getApiDescription() const { + return apiDescription_; } -int CreateDataServiceApiRequest::getTimeout()const -{ - return timeout_; +void CreateDataServiceApiRequest::setApiDescription(const std::string &apiDescription) { + apiDescription_ = apiDescription; + setBodyParameter(std::string("ApiDescription"), apiDescription); } -void CreateDataServiceApiRequest::setTimeout(int timeout) -{ - timeout_ = timeout; - setBodyParameter("Timeout", std::to_string(timeout)); +int CreateDataServiceApiRequest::getTimeout() const { + return timeout_; } -long CreateDataServiceApiRequest::getFolderId()const -{ - return folderId_; +void CreateDataServiceApiRequest::setTimeout(int timeout) { + timeout_ = timeout; + setBodyParameter(std::string("Timeout"), std::to_string(timeout)); } -void CreateDataServiceApiRequest::setFolderId(long folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", std::to_string(folderId)); +long CreateDataServiceApiRequest::getFolderId() const { + return folderId_; } -std::string CreateDataServiceApiRequest::getRegistrationDetails()const -{ - return registrationDetails_; +void CreateDataServiceApiRequest::setFolderId(long folderId) { + folderId_ = folderId; + setBodyParameter(std::string("FolderId"), std::to_string(folderId)); } -void CreateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails) -{ - registrationDetails_ = registrationDetails; - setBodyParameter("RegistrationDetails", registrationDetails); +std::string CreateDataServiceApiRequest::getRegistrationDetails() const { + return registrationDetails_; } -std::string CreateDataServiceApiRequest::getApiName()const -{ - return apiName_; +void CreateDataServiceApiRequest::setRegistrationDetails(const std::string ®istrationDetails) { + registrationDetails_ = registrationDetails; + setBodyParameter(std::string("RegistrationDetails"), registrationDetails); } -void CreateDataServiceApiRequest::setApiName(const std::string& apiName) -{ - apiName_ = apiName; - setBodyParameter("ApiName", apiName); +std::string CreateDataServiceApiRequest::getApiName() const { + return apiName_; } -long CreateDataServiceApiRequest::getTenantId()const -{ - return tenantId_; +void CreateDataServiceApiRequest::setApiName(const std::string &apiName) { + apiName_ = apiName; + setBodyParameter(std::string("ApiName"), apiName); } -void CreateDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long CreateDataServiceApiRequest::getTenantId() const { + return tenantId_; } -std::string CreateDataServiceApiRequest::getProtocols()const -{ - return protocols_; +void CreateDataServiceApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void CreateDataServiceApiRequest::setProtocols(const std::string& protocols) -{ - protocols_ = protocols; - setBodyParameter("Protocols", protocols); +std::string CreateDataServiceApiRequest::getProtocols() const { + return protocols_; } -long CreateDataServiceApiRequest::getProjectId()const -{ - return projectId_; +void CreateDataServiceApiRequest::setProtocols(const std::string &protocols) { + protocols_ = protocols; + setBodyParameter(std::string("Protocols"), protocols); } -void CreateDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateDataServiceApiRequest::getProjectId() const { + return projectId_; } -int CreateDataServiceApiRequest::getResponseContentType()const -{ - return responseContentType_; +void CreateDataServiceApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) -{ - responseContentType_ = responseContentType; - setBodyParameter("ResponseContentType", std::to_string(responseContentType)); +int CreateDataServiceApiRequest::getResponseContentType() const { + return responseContentType_; +} + +void CreateDataServiceApiRequest::setResponseContentType(int responseContentType) { + responseContentType_ = responseContentType; + setBodyParameter(std::string("ResponseContentType"), std::to_string(responseContentType)); } diff --git a/dataworks-public/src/model/CreateDataServiceApiResult.cc b/dataworks-public/src/model/CreateDataServiceApiResult.cc index 9497eb527..b1b7423bf 100644 --- a/dataworks-public/src/model/CreateDataServiceApiResult.cc +++ b/dataworks-public/src/model/CreateDataServiceApiResult.cc @@ -39,14 +39,14 @@ void CreateDataServiceApiResult::parse(const std::string &payload) 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["Data"].isNull()) + data_ = std::stol(value["Data"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/dataworks-public/src/model/CreateDataServiceFolderRequest.cc b/dataworks-public/src/model/CreateDataServiceFolderRequest.cc index cd2608941..e88f8f052 100644 --- a/dataworks-public/src/model/CreateDataServiceFolderRequest.cc +++ b/dataworks-public/src/model/CreateDataServiceFolderRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceFolderRequest; - -CreateDataServiceFolderRequest::CreateDataServiceFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceFolderRequest::~CreateDataServiceFolderRequest() -{} - -std::string CreateDataServiceFolderRequest::getGroupId()const -{ - return groupId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDataServiceFolderRequest; + +CreateDataServiceFolderRequest::CreateDataServiceFolderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceFolder") { + setMethod(HttpRequest::Method::Post); } -void CreateDataServiceFolderRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); +CreateDataServiceFolderRequest::~CreateDataServiceFolderRequest() {} + +std::string CreateDataServiceFolderRequest::getGroupId() const { + return groupId_; } -long CreateDataServiceFolderRequest::getTenantId()const -{ - return tenantId_; +void CreateDataServiceFolderRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); } -void CreateDataServiceFolderRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long CreateDataServiceFolderRequest::getTenantId() const { + return tenantId_; } -std::string CreateDataServiceFolderRequest::getFolderName()const -{ - return folderName_; +void CreateDataServiceFolderRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void CreateDataServiceFolderRequest::setFolderName(const std::string& folderName) -{ - folderName_ = folderName; - setBodyParameter("FolderName", folderName); +std::string CreateDataServiceFolderRequest::getFolderName() const { + return folderName_; } -long CreateDataServiceFolderRequest::getProjectId()const -{ - return projectId_; +void CreateDataServiceFolderRequest::setFolderName(const std::string &folderName) { + folderName_ = folderName; + setBodyParameter(std::string("FolderName"), folderName); } -void CreateDataServiceFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateDataServiceFolderRequest::getProjectId() const { + return projectId_; } -long CreateDataServiceFolderRequest::getParentId()const -{ - return parentId_; +void CreateDataServiceFolderRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateDataServiceFolderRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setBodyParameter("ParentId", std::to_string(parentId)); +long CreateDataServiceFolderRequest::getParentId() const { + return parentId_; +} + +void CreateDataServiceFolderRequest::setParentId(long parentId) { + parentId_ = parentId; + setBodyParameter(std::string("ParentId"), std::to_string(parentId)); } diff --git a/dataworks-public/src/model/CreateDataServiceGroupRequest.cc b/dataworks-public/src/model/CreateDataServiceGroupRequest.cc index 67302ad7f..377050f89 100644 --- a/dataworks-public/src/model/CreateDataServiceGroupRequest.cc +++ b/dataworks-public/src/model/CreateDataServiceGroupRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataServiceGroupRequest; - -CreateDataServiceGroupRequest::CreateDataServiceGroupRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataServiceGroupRequest::~CreateDataServiceGroupRequest() -{} - -std::string CreateDataServiceGroupRequest::getApiGatewayGroupId()const -{ - return apiGatewayGroupId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDataServiceGroupRequest; + +CreateDataServiceGroupRequest::CreateDataServiceGroupRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataServiceGroup") { + setMethod(HttpRequest::Method::Post); } -void CreateDataServiceGroupRequest::setApiGatewayGroupId(const std::string& apiGatewayGroupId) -{ - apiGatewayGroupId_ = apiGatewayGroupId; - setBodyParameter("ApiGatewayGroupId", apiGatewayGroupId); +CreateDataServiceGroupRequest::~CreateDataServiceGroupRequest() {} + +std::string CreateDataServiceGroupRequest::getApiGatewayGroupId() const { + return apiGatewayGroupId_; } -long CreateDataServiceGroupRequest::getTenantId()const -{ - return tenantId_; +void CreateDataServiceGroupRequest::setApiGatewayGroupId(const std::string &apiGatewayGroupId) { + apiGatewayGroupId_ = apiGatewayGroupId; + setBodyParameter(std::string("ApiGatewayGroupId"), apiGatewayGroupId); } -void CreateDataServiceGroupRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long CreateDataServiceGroupRequest::getTenantId() const { + return tenantId_; } -std::string CreateDataServiceGroupRequest::getDescription()const -{ - return description_; +void CreateDataServiceGroupRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void CreateDataServiceGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string CreateDataServiceGroupRequest::getDescription() const { + return description_; } -long CreateDataServiceGroupRequest::getProjectId()const -{ - return projectId_; +void CreateDataServiceGroupRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateDataServiceGroupRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateDataServiceGroupRequest::getProjectId() const { + return projectId_; } -std::string CreateDataServiceGroupRequest::getGroupName()const -{ - return groupName_; +void CreateDataServiceGroupRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateDataServiceGroupRequest::setGroupName(const std::string& groupName) -{ - groupName_ = groupName; - setBodyParameter("GroupName", groupName); +std::string CreateDataServiceGroupRequest::getGroupName() const { + return groupName_; +} + +void CreateDataServiceGroupRequest::setGroupName(const std::string &groupName) { + groupName_ = groupName; + setBodyParameter(std::string("GroupName"), groupName); } diff --git a/dataworks-public/src/model/CreateDataSourceRequest.cc b/dataworks-public/src/model/CreateDataSourceRequest.cc index 94824cdf0..2c5b40356 100644 --- a/dataworks-public/src/model/CreateDataSourceRequest.cc +++ b/dataworks-public/src/model/CreateDataSourceRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateDataSourceRequest; - -CreateDataSourceRequest::CreateDataSourceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataSource") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateDataSourceRequest::~CreateDataSourceRequest() -{} - -std::string CreateDataSourceRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateDataSourceRequest; + +CreateDataSourceRequest::CreateDataSourceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateDataSource") { + setMethod(HttpRequest::Method::Post); } -void CreateDataSourceRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +CreateDataSourceRequest::~CreateDataSourceRequest() {} + +std::string CreateDataSourceRequest::getDataSourceType() const { + return dataSourceType_; } -std::string CreateDataSourceRequest::getDescription()const -{ - return description_; +void CreateDataSourceRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void CreateDataSourceRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateDataSourceRequest::getDescription() const { + return description_; } -std::string CreateDataSourceRequest::getContent()const -{ - return content_; +void CreateDataSourceRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateDataSourceRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string CreateDataSourceRequest::getContent() const { + return content_; } -std::string CreateDataSourceRequest::getSubType()const -{ - return subType_; +void CreateDataSourceRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void CreateDataSourceRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); +std::string CreateDataSourceRequest::getSubType() const { + return subType_; } -std::string CreateDataSourceRequest::getName()const -{ - return name_; +void CreateDataSourceRequest::setSubType(const std::string &subType) { + subType_ = subType; + setParameter(std::string("SubType"), subType); } -void CreateDataSourceRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateDataSourceRequest::getName() const { + return name_; } -int CreateDataSourceRequest::getEnvType()const -{ - return envType_; +void CreateDataSourceRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateDataSourceRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +int CreateDataSourceRequest::getEnvType() const { + return envType_; } -long CreateDataSourceRequest::getProjectId()const -{ - return projectId_; +void CreateDataSourceRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void CreateDataSourceRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateDataSourceRequest::getProjectId() const { + return projectId_; +} + +void CreateDataSourceRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/CreateDataSourceResult.cc b/dataworks-public/src/model/CreateDataSourceResult.cc index 6ed161b11..54e4994a9 100644 --- a/dataworks-public/src/model/CreateDataSourceResult.cc +++ b/dataworks-public/src/model/CreateDataSourceResult.cc @@ -39,12 +39,12 @@ void CreateDataSourceResult::parse(const std::string &payload) 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()); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/CreateExportMigrationRequest.cc b/dataworks-public/src/model/CreateExportMigrationRequest.cc index d12b02f48..083de380d 100644 --- a/dataworks-public/src/model/CreateExportMigrationRequest.cc +++ b/dataworks-public/src/model/CreateExportMigrationRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateExportMigrationRequest; - -CreateExportMigrationRequest::CreateExportMigrationRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateExportMigration") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateExportMigrationRequest::~CreateExportMigrationRequest() -{} - -std::string CreateExportMigrationRequest::getExportObjectStatus()const -{ - return exportObjectStatus_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateExportMigrationRequest; + +CreateExportMigrationRequest::CreateExportMigrationRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateExportMigration") { + setMethod(HttpRequest::Method::Post); } -void CreateExportMigrationRequest::setExportObjectStatus(const std::string& exportObjectStatus) -{ - exportObjectStatus_ = exportObjectStatus; - setBodyParameter("ExportObjectStatus", exportObjectStatus); +CreateExportMigrationRequest::~CreateExportMigrationRequest() {} + +std::string CreateExportMigrationRequest::getExportObjectStatus() const { + return exportObjectStatus_; } -std::string CreateExportMigrationRequest::getExportMode()const -{ - return exportMode_; +void CreateExportMigrationRequest::setExportObjectStatus(const std::string &exportObjectStatus) { + exportObjectStatus_ = exportObjectStatus; + setBodyParameter(std::string("ExportObjectStatus"), exportObjectStatus); } -void CreateExportMigrationRequest::setExportMode(const std::string& exportMode) -{ - exportMode_ = exportMode; - setBodyParameter("ExportMode", exportMode); +std::string CreateExportMigrationRequest::getExportMode() const { + return exportMode_; } -long CreateExportMigrationRequest::getIncrementalSince()const -{ - return incrementalSince_; +void CreateExportMigrationRequest::setExportMode(const std::string &exportMode) { + exportMode_ = exportMode; + setBodyParameter(std::string("ExportMode"), exportMode); } -void CreateExportMigrationRequest::setIncrementalSince(long incrementalSince) -{ - incrementalSince_ = incrementalSince; - setBodyParameter("IncrementalSince", std::to_string(incrementalSince)); +long CreateExportMigrationRequest::getIncrementalSince() const { + return incrementalSince_; } -std::string CreateExportMigrationRequest::getName()const -{ - return name_; +void CreateExportMigrationRequest::setIncrementalSince(long incrementalSince) { + incrementalSince_ = incrementalSince; + setBodyParameter(std::string("IncrementalSince"), std::to_string(incrementalSince)); } -void CreateExportMigrationRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateExportMigrationRequest::getName() const { + return name_; } -std::string CreateExportMigrationRequest::getDescription()const -{ - return description_; +void CreateExportMigrationRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateExportMigrationRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string CreateExportMigrationRequest::getDescription() const { + return description_; } -long CreateExportMigrationRequest::getProjectId()const -{ - return projectId_; +void CreateExportMigrationRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateExportMigrationRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateExportMigrationRequest::getProjectId() const { + return projectId_; +} + +void CreateExportMigrationRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/CreateFileRequest.cc b/dataworks-public/src/model/CreateFileRequest.cc index b4261c95e..1ff08dc3a 100644 --- a/dataworks-public/src/model/CreateFileRequest.cc +++ b/dataworks-public/src/model/CreateFileRequest.cc @@ -1,348 +1,288 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateFileRequest; + +CreateFileRequest::CreateFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFile") { + setMethod(HttpRequest::Method::Post); } -void CreateFileRequest::setFileType(int fileType) -{ - fileType_ = fileType; - setBodyParameter("FileType", std::to_string(fileType)); +CreateFileRequest::~CreateFileRequest() {} + +int CreateFileRequest::getFileType() const { + return fileType_; } -std::string CreateFileRequest::getDependentNodeIdList()const -{ - return dependentNodeIdList_; +void CreateFileRequest::setFileType(int fileType) { + fileType_ = fileType; + setBodyParameter(std::string("FileType"), std::to_string(fileType)); } -void CreateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList) -{ - dependentNodeIdList_ = dependentNodeIdList; - setBodyParameter("DependentNodeIdList", dependentNodeIdList); +std::string CreateFileRequest::getDependentNodeIdList() const { + return dependentNodeIdList_; } -std::string CreateFileRequest::getContent()const -{ - return content_; +void CreateFileRequest::setDependentNodeIdList(const std::string &dependentNodeIdList) { + dependentNodeIdList_ = dependentNodeIdList; + setBodyParameter(std::string("DependentNodeIdList"), dependentNodeIdList); } -void CreateFileRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); +std::string CreateFileRequest::getContent() const { + return content_; } -std::string CreateFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void CreateFileRequest::setContent(const std::string &content) { + content_ = content; + setBodyParameter(std::string("Content"), content); } -void CreateFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string CreateFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -long CreateFileRequest::getResourceGroupId()const -{ - return resourceGroupId_; +void CreateFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void CreateFileRequest::setResourceGroupId(long resourceGroupId) -{ - resourceGroupId_ = resourceGroupId; - setBodyParameter("ResourceGroupId", std::to_string(resourceGroupId)); +long CreateFileRequest::getResourceGroupId() const { + return resourceGroupId_; } -bool CreateFileRequest::getStartImmediately()const -{ - return startImmediately_; +void CreateFileRequest::setResourceGroupId(long resourceGroupId) { + resourceGroupId_ = resourceGroupId; + setBodyParameter(std::string("ResourceGroupId"), std::to_string(resourceGroupId)); } -void CreateFileRequest::setStartImmediately(bool startImmediately) -{ - startImmediately_ = startImmediately; - setBodyParameter("StartImmediately", startImmediately ? "true" : "false"); +bool CreateFileRequest::getStartImmediately() const { + return startImmediately_; } -long CreateFileRequest::getProjectId()const -{ - return projectId_; +void CreateFileRequest::setStartImmediately(bool startImmediately) { + startImmediately_ = startImmediately; + setBodyParameter(std::string("StartImmediately"), startImmediately ? "true" : "false"); } -void CreateFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateFileRequest::getProjectId() const { + return projectId_; } -std::string CreateFileRequest::getAdvancedSettings()const -{ - return advancedSettings_; +void CreateFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateFileRequest::setAdvancedSettings(const std::string& advancedSettings) -{ - advancedSettings_ = advancedSettings; - setBodyParameter("AdvancedSettings", advancedSettings); +std::string CreateFileRequest::getAdvancedSettings() const { + return advancedSettings_; } -long CreateFileRequest::getStartEffectDate()const -{ - return startEffectDate_; +void CreateFileRequest::setAdvancedSettings(const std::string &advancedSettings) { + advancedSettings_ = advancedSettings; + setBodyParameter(std::string("AdvancedSettings"), advancedSettings); } -void CreateFileRequest::setStartEffectDate(long startEffectDate) -{ - startEffectDate_ = startEffectDate; - setBodyParameter("StartEffectDate", std::to_string(startEffectDate)); +long CreateFileRequest::getStartEffectDate() const { + return startEffectDate_; } -std::string CreateFileRequest::getCycleType()const -{ - return cycleType_; +void CreateFileRequest::setStartEffectDate(long startEffectDate) { + startEffectDate_ = startEffectDate; + setBodyParameter(std::string("StartEffectDate"), std::to_string(startEffectDate)); } -void CreateFileRequest::setCycleType(const std::string& cycleType) -{ - cycleType_ = cycleType; - setBodyParameter("CycleType", cycleType); +std::string CreateFileRequest::getCycleType() const { + return cycleType_; } -std::string CreateFileRequest::getOwner()const -{ - return owner_; +void CreateFileRequest::setCycleType(const std::string &cycleType) { + cycleType_ = cycleType; + setBodyParameter(std::string("CycleType"), cycleType); } -void CreateFileRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +std::string CreateFileRequest::getOwner() const { + return owner_; } -int CreateFileRequest::getAutoRerunIntervalMillis()const -{ - return autoRerunIntervalMillis_; +void CreateFileRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) -{ - autoRerunIntervalMillis_ = autoRerunIntervalMillis; - setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis)); +int CreateFileRequest::getAutoRerunIntervalMillis() const { + return autoRerunIntervalMillis_; } -std::string CreateFileRequest::getInputList()const -{ - return inputList_; +void CreateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) { + autoRerunIntervalMillis_ = autoRerunIntervalMillis; + setBodyParameter(std::string("AutoRerunIntervalMillis"), std::to_string(autoRerunIntervalMillis)); } -void CreateFileRequest::setInputList(const std::string& inputList) -{ - inputList_ = inputList; - setBodyParameter("InputList", inputList); +std::string CreateFileRequest::getInputList() const { + return inputList_; } -std::string CreateFileRequest::getRerunMode()const -{ - return rerunMode_; +void CreateFileRequest::setInputList(const std::string &inputList) { + inputList_ = inputList; + setBodyParameter(std::string("InputList"), inputList); } -void CreateFileRequest::setRerunMode(const std::string& rerunMode) -{ - rerunMode_ = rerunMode; - setBodyParameter("RerunMode", rerunMode); +std::string CreateFileRequest::getRerunMode() const { + return rerunMode_; } -std::string CreateFileRequest::getConnectionName()const -{ - return connectionName_; +void CreateFileRequest::setRerunMode(const std::string &rerunMode) { + rerunMode_ = rerunMode; + setBodyParameter(std::string("RerunMode"), rerunMode); } -void CreateFileRequest::setConnectionName(const std::string& connectionName) -{ - connectionName_ = connectionName; - setBodyParameter("ConnectionName", connectionName); +std::string CreateFileRequest::getConnectionName() const { + return connectionName_; } -std::string CreateFileRequest::getOutputParameters()const -{ - return outputParameters_; +void CreateFileRequest::setConnectionName(const std::string &connectionName) { + connectionName_ = connectionName; + setBodyParameter(std::string("ConnectionName"), connectionName); } -void CreateFileRequest::setOutputParameters(const std::string& outputParameters) -{ - outputParameters_ = outputParameters; - setBodyParameter("OutputParameters", outputParameters); +std::string CreateFileRequest::getOutputParameters() const { + return outputParameters_; } -std::string CreateFileRequest::getParaValue()const -{ - return paraValue_; +void CreateFileRequest::setOutputParameters(const std::string &outputParameters) { + outputParameters_ = outputParameters; + setBodyParameter(std::string("OutputParameters"), outputParameters); } -void CreateFileRequest::setParaValue(const std::string& paraValue) -{ - paraValue_ = paraValue; - setBodyParameter("ParaValue", paraValue); +std::string CreateFileRequest::getParaValue() const { + return paraValue_; } -std::string CreateFileRequest::getResourceGroupIdentifier()const -{ - return resourceGroupIdentifier_; +void CreateFileRequest::setParaValue(const std::string ¶Value) { + paraValue_ = paraValue; + setBodyParameter(std::string("ParaValue"), paraValue); } -void CreateFileRequest::setResourceGroupIdentifier(const std::string& resourceGroupIdentifier) -{ - resourceGroupIdentifier_ = resourceGroupIdentifier; - setBodyParameter("ResourceGroupIdentifier", resourceGroupIdentifier); +std::string CreateFileRequest::getResourceGroupIdentifier() const { + return resourceGroupIdentifier_; } -int CreateFileRequest::getAutoRerunTimes()const -{ - return autoRerunTimes_; +void CreateFileRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) { + resourceGroupIdentifier_ = resourceGroupIdentifier; + setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier); } -void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes) -{ - autoRerunTimes_ = autoRerunTimes; - setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes)); +int CreateFileRequest::getAutoRerunTimes() const { + return autoRerunTimes_; } -std::string CreateFileRequest::getCronExpress()const -{ - return cronExpress_; +void CreateFileRequest::setAutoRerunTimes(int autoRerunTimes) { + autoRerunTimes_ = autoRerunTimes; + setBodyParameter(std::string("AutoRerunTimes"), std::to_string(autoRerunTimes)); } -void CreateFileRequest::setCronExpress(const std::string& cronExpress) -{ - cronExpress_ = cronExpress; - setBodyParameter("CronExpress", cronExpress); +std::string CreateFileRequest::getCronExpress() const { + return cronExpress_; } -long CreateFileRequest::getEndEffectDate()const -{ - return endEffectDate_; +void CreateFileRequest::setCronExpress(const std::string &cronExpress) { + cronExpress_ = cronExpress; + setBodyParameter(std::string("CronExpress"), cronExpress); } -void CreateFileRequest::setEndEffectDate(long endEffectDate) -{ - endEffectDate_ = endEffectDate; - setBodyParameter("EndEffectDate", std::to_string(endEffectDate)); +long CreateFileRequest::getEndEffectDate() const { + return endEffectDate_; } -std::string CreateFileRequest::getFileName()const -{ - return fileName_; +void CreateFileRequest::setEndEffectDate(long endEffectDate) { + endEffectDate_ = endEffectDate; + setBodyParameter(std::string("EndEffectDate"), std::to_string(endEffectDate)); } -void CreateFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); +std::string CreateFileRequest::getFileName() const { + return fileName_; } -std::string CreateFileRequest::getInputParameters()const -{ - return inputParameters_; +void CreateFileRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setBodyParameter(std::string("FileName"), fileName); } -void CreateFileRequest::setInputParameters(const std::string& inputParameters) -{ - inputParameters_ = inputParameters; - setBodyParameter("InputParameters", inputParameters); +std::string CreateFileRequest::getInputParameters() const { + return inputParameters_; } -bool CreateFileRequest::getStop()const -{ - return stop_; +void CreateFileRequest::setInputParameters(const std::string &inputParameters) { + inputParameters_ = inputParameters; + setBodyParameter(std::string("InputParameters"), inputParameters); } -void CreateFileRequest::setStop(bool stop) -{ - stop_ = stop; - setBodyParameter("Stop", stop ? "true" : "false"); +bool CreateFileRequest::getStop() const { + return stop_; } -std::string CreateFileRequest::getDependentType()const -{ - return dependentType_; +void CreateFileRequest::setStop(bool stop) { + stop_ = stop; + setBodyParameter(std::string("Stop"), stop ? "true" : "false"); } -void CreateFileRequest::setDependentType(const std::string& dependentType) -{ - dependentType_ = dependentType; - setBodyParameter("DependentType", dependentType); +std::string CreateFileRequest::getDependentType() const { + return dependentType_; } -std::string CreateFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; +void CreateFileRequest::setDependentType(const std::string &dependentType) { + dependentType_ = dependentType; + setBodyParameter(std::string("DependentType"), dependentType); } -void CreateFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); +std::string CreateFileRequest::getFileFolderPath() const { + return fileFolderPath_; } -std::string CreateFileRequest::getFileDescription()const -{ - return fileDescription_; +void CreateFileRequest::setFileFolderPath(const std::string &fileFolderPath) { + fileFolderPath_ = fileFolderPath; + setBodyParameter(std::string("FileFolderPath"), fileFolderPath); } -void CreateFileRequest::setFileDescription(const std::string& fileDescription) -{ - fileDescription_ = fileDescription; - setBodyParameter("FileDescription", fileDescription); +std::string CreateFileRequest::getFileDescription() const { + return fileDescription_; } -bool CreateFileRequest::getAutoParsing()const -{ - return autoParsing_; +void CreateFileRequest::setFileDescription(const std::string &fileDescription) { + fileDescription_ = fileDescription; + setBodyParameter(std::string("FileDescription"), fileDescription); } -void CreateFileRequest::setAutoParsing(bool autoParsing) -{ - autoParsing_ = autoParsing; - setBodyParameter("AutoParsing", autoParsing ? "true" : "false"); +bool CreateFileRequest::getAutoParsing() const { + return autoParsing_; } -std::string CreateFileRequest::getSchedulerType()const -{ - return schedulerType_; +void CreateFileRequest::setAutoParsing(bool autoParsing) { + autoParsing_ = autoParsing; + setBodyParameter(std::string("AutoParsing"), autoParsing ? "true" : "false"); } -void CreateFileRequest::setSchedulerType(const std::string& schedulerType) -{ - schedulerType_ = schedulerType; - setBodyParameter("SchedulerType", schedulerType); +std::string CreateFileRequest::getSchedulerType() const { + return schedulerType_; +} + +void CreateFileRequest::setSchedulerType(const std::string &schedulerType) { + schedulerType_ = schedulerType; + setBodyParameter(std::string("SchedulerType"), schedulerType); } diff --git a/dataworks-public/src/model/CreateFolderRequest.cc b/dataworks-public/src/model/CreateFolderRequest.cc index 603c655b4..dd6aaeb63 100644 --- a/dataworks-public/src/model/CreateFolderRequest.cc +++ b/dataworks-public/src/model/CreateFolderRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateFolderRequest; + +CreateFolderRequest::CreateFolderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateFolder") { + setMethod(HttpRequest::Method::Post); } -void CreateFolderRequest::setFolderPath(const std::string& folderPath) -{ - folderPath_ = folderPath; - setBodyParameter("FolderPath", folderPath); +CreateFolderRequest::~CreateFolderRequest() {} + +std::string CreateFolderRequest::getFolderPath() const { + return folderPath_; } -long CreateFolderRequest::getProjectId()const -{ - return projectId_; +void CreateFolderRequest::setFolderPath(const std::string &folderPath) { + folderPath_ = folderPath; + setBodyParameter(std::string("FolderPath"), folderPath); } -void CreateFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateFolderRequest::getProjectId() const { + return projectId_; } -std::string CreateFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void CreateFolderRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string CreateFolderRequest::getProjectIdentifier() const { + return projectIdentifier_; +} + +void CreateFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } diff --git a/dataworks-public/src/model/CreateImportMigrationRequest.cc b/dataworks-public/src/model/CreateImportMigrationRequest.cc index 9d805d778..91414d323 100644 --- a/dataworks-public/src/model/CreateImportMigrationRequest.cc +++ b/dataworks-public/src/model/CreateImportMigrationRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateImportMigrationRequest; - -CreateImportMigrationRequest::CreateImportMigrationRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateImportMigration") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateImportMigrationRequest::~CreateImportMigrationRequest() -{} - -std::string CreateImportMigrationRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateImportMigrationRequest; + +CreateImportMigrationRequest::CreateImportMigrationRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateImportMigration") { + setMethod(HttpRequest::Method::Post); } -void CreateImportMigrationRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +CreateImportMigrationRequest::~CreateImportMigrationRequest() {} + +std::string CreateImportMigrationRequest::getDescription() const { + return description_; } -std::string CreateImportMigrationRequest::getCommitRule()const -{ - return commitRule_; +void CreateImportMigrationRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void CreateImportMigrationRequest::setCommitRule(const std::string& commitRule) -{ - commitRule_ = commitRule; - setBodyParameter("CommitRule", commitRule); +std::string CreateImportMigrationRequest::getCommitRule() const { + return commitRule_; } -std::string CreateImportMigrationRequest::getWorkspaceMap()const -{ - return workspaceMap_; +void CreateImportMigrationRequest::setCommitRule(const std::string &commitRule) { + commitRule_ = commitRule; + setBodyParameter(std::string("CommitRule"), commitRule); } -void CreateImportMigrationRequest::setWorkspaceMap(const std::string& workspaceMap) -{ - workspaceMap_ = workspaceMap; - setBodyParameter("WorkspaceMap", workspaceMap); +std::string CreateImportMigrationRequest::getWorkspaceMap() const { + return workspaceMap_; } -std::string CreateImportMigrationRequest::getCalculateEngineMap()const -{ - return calculateEngineMap_; +void CreateImportMigrationRequest::setWorkspaceMap(const std::string &workspaceMap) { + workspaceMap_ = workspaceMap; + setBodyParameter(std::string("WorkspaceMap"), workspaceMap); } -void CreateImportMigrationRequest::setCalculateEngineMap(const std::string& calculateEngineMap) -{ - calculateEngineMap_ = calculateEngineMap; - setBodyParameter("CalculateEngineMap", calculateEngineMap); +std::string CreateImportMigrationRequest::getCalculateEngineMap() const { + return calculateEngineMap_; } -std::string CreateImportMigrationRequest::getPackageFile()const -{ - return packageFile_; +void CreateImportMigrationRequest::setCalculateEngineMap(const std::string &calculateEngineMap) { + calculateEngineMap_ = calculateEngineMap; + setBodyParameter(std::string("CalculateEngineMap"), calculateEngineMap); } -void CreateImportMigrationRequest::setPackageFile(const std::string& packageFile) -{ - packageFile_ = packageFile; - setBodyParameter("PackageFile", packageFile); +std::string CreateImportMigrationRequest::getPackageFile() const { + return packageFile_; } -std::string CreateImportMigrationRequest::getName()const -{ - return name_; +void CreateImportMigrationRequest::setPackageFile(const std::string &packageFile) { + packageFile_ = packageFile; + setBodyParameter(std::string("PackageFile"), packageFile); } -void CreateImportMigrationRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string CreateImportMigrationRequest::getName() const { + return name_; } -std::string CreateImportMigrationRequest::getPackageType()const -{ - return packageType_; +void CreateImportMigrationRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateImportMigrationRequest::setPackageType(const std::string& packageType) -{ - packageType_ = packageType; - setBodyParameter("PackageType", packageType); +std::string CreateImportMigrationRequest::getPackageType() const { + return packageType_; } -long CreateImportMigrationRequest::getProjectId()const -{ - return projectId_; +void CreateImportMigrationRequest::setPackageType(const std::string &packageType) { + packageType_ = packageType; + setBodyParameter(std::string("PackageType"), packageType); } -void CreateImportMigrationRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateImportMigrationRequest::getProjectId() const { + return projectId_; } -std::string CreateImportMigrationRequest::getResourceGroupMap()const -{ - return resourceGroupMap_; +void CreateImportMigrationRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateImportMigrationRequest::setResourceGroupMap(const std::string& resourceGroupMap) -{ - resourceGroupMap_ = resourceGroupMap; - setBodyParameter("ResourceGroupMap", resourceGroupMap); +std::string CreateImportMigrationRequest::getResourceGroupMap() const { + return resourceGroupMap_; +} + +void CreateImportMigrationRequest::setResourceGroupMap(const std::string &resourceGroupMap) { + resourceGroupMap_ = resourceGroupMap; + setBodyParameter(std::string("ResourceGroupMap"), resourceGroupMap); } diff --git a/dataworks-public/src/model/CreateManualDagRequest.cc b/dataworks-public/src/model/CreateManualDagRequest.cc index 8b4e8819a..d70606f12 100644 --- a/dataworks-public/src/model/CreateManualDagRequest.cc +++ b/dataworks-public/src/model/CreateManualDagRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateManualDagRequest; - -CreateManualDagRequest::CreateManualDagRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateManualDagRequest::~CreateManualDagRequest() -{} - -std::string CreateManualDagRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateManualDagRequest; + +CreateManualDagRequest::CreateManualDagRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateManualDag") { + setMethod(HttpRequest::Method::Post); } -void CreateManualDagRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +CreateManualDagRequest::~CreateManualDagRequest() {} + +std::string CreateManualDagRequest::getProjectEnv() const { + return projectEnv_; } -std::string CreateManualDagRequest::getProjectName()const -{ - return projectName_; +void CreateManualDagRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void CreateManualDagRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string CreateManualDagRequest::getProjectName() const { + return projectName_; } -std::string CreateManualDagRequest::getDagParameters()const -{ - return dagParameters_; +void CreateManualDagRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void CreateManualDagRequest::setDagParameters(const std::string& dagParameters) -{ - dagParameters_ = dagParameters; - setBodyParameter("DagParameters", dagParameters); +std::string CreateManualDagRequest::getDagParameters() const { + return dagParameters_; } -std::string CreateManualDagRequest::getIncludeNodeIds()const -{ - return includeNodeIds_; +void CreateManualDagRequest::setDagParameters(const std::string &dagParameters) { + dagParameters_ = dagParameters; + setBodyParameter(std::string("DagParameters"), dagParameters); } -void CreateManualDagRequest::setIncludeNodeIds(const std::string& includeNodeIds) -{ - includeNodeIds_ = includeNodeIds; - setBodyParameter("IncludeNodeIds", includeNodeIds); +std::string CreateManualDagRequest::getIncludeNodeIds() const { + return includeNodeIds_; } -std::string CreateManualDagRequest::getBizDate()const -{ - return bizDate_; +void CreateManualDagRequest::setIncludeNodeIds(const std::string &includeNodeIds) { + includeNodeIds_ = includeNodeIds; + setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds); } -void CreateManualDagRequest::setBizDate(const std::string& bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", bizDate); +std::string CreateManualDagRequest::getBizDate() const { + return bizDate_; } -std::string CreateManualDagRequest::getExcludeNodeIds()const -{ - return excludeNodeIds_; +void CreateManualDagRequest::setBizDate(const std::string &bizDate) { + bizDate_ = bizDate; + setBodyParameter(std::string("BizDate"), bizDate); } -void CreateManualDagRequest::setExcludeNodeIds(const std::string& excludeNodeIds) -{ - excludeNodeIds_ = excludeNodeIds; - setBodyParameter("ExcludeNodeIds", excludeNodeIds); +std::string CreateManualDagRequest::getExcludeNodeIds() const { + return excludeNodeIds_; } -std::string CreateManualDagRequest::getFlowName()const -{ - return flowName_; +void CreateManualDagRequest::setExcludeNodeIds(const std::string &excludeNodeIds) { + excludeNodeIds_ = excludeNodeIds; + setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds); } -void CreateManualDagRequest::setFlowName(const std::string& flowName) -{ - flowName_ = flowName; - setBodyParameter("FlowName", flowName); +std::string CreateManualDagRequest::getFlowName() const { + return flowName_; } -std::string CreateManualDagRequest::getNodeParameters()const -{ - return nodeParameters_; +void CreateManualDagRequest::setFlowName(const std::string &flowName) { + flowName_ = flowName; + setBodyParameter(std::string("FlowName"), flowName); } -void CreateManualDagRequest::setNodeParameters(const std::string& nodeParameters) -{ - nodeParameters_ = nodeParameters; - setBodyParameter("NodeParameters", nodeParameters); +std::string CreateManualDagRequest::getNodeParameters() const { + return nodeParameters_; +} + +void CreateManualDagRequest::setNodeParameters(const std::string &nodeParameters) { + nodeParameters_ = nodeParameters; + setBodyParameter(std::string("NodeParameters"), nodeParameters); } diff --git a/dataworks-public/src/model/CreateMetaCategoryRequest.cc b/dataworks-public/src/model/CreateMetaCategoryRequest.cc index 8e647e6e4..fc2e1d923 100644 --- a/dataworks-public/src/model/CreateMetaCategoryRequest.cc +++ b/dataworks-public/src/model/CreateMetaCategoryRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateMetaCategoryRequest; + +CreateMetaCategoryRequest::CreateMetaCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateMetaCategory") { + setMethod(HttpRequest::Method::Post); } -void CreateMetaCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +CreateMetaCategoryRequest::~CreateMetaCategoryRequest() {} + +std::string CreateMetaCategoryRequest::getName() const { + return name_; } -std::string CreateMetaCategoryRequest::getComment()const -{ - return comment_; +void CreateMetaCategoryRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void CreateMetaCategoryRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); +std::string CreateMetaCategoryRequest::getComment() const { + return comment_; } -long CreateMetaCategoryRequest::getParentId()const -{ - return parentId_; +void CreateMetaCategoryRequest::setComment(const std::string &comment) { + comment_ = comment; + setBodyParameter(std::string("Comment"), comment); } -void CreateMetaCategoryRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setBodyParameter("ParentId", std::to_string(parentId)); +long CreateMetaCategoryRequest::getParentId() const { + return parentId_; +} + +void CreateMetaCategoryRequest::setParentId(long parentId) { + parentId_ = parentId; + setBodyParameter(std::string("ParentId"), std::to_string(parentId)); } diff --git a/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc b/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc index f4ec69f6a..38114b558 100644 --- a/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc +++ b/dataworks-public/src/model/CreatePermissionApplyOrderRequest.cc @@ -1,127 +1,109 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreatePermissionApplyOrderRequest; - -CreatePermissionApplyOrderRequest::CreatePermissionApplyOrderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreatePermissionApplyOrder") -{ - setMethod(HttpRequest::Method::Post); -} - -CreatePermissionApplyOrderRequest::~CreatePermissionApplyOrderRequest() -{} - -std::string CreatePermissionApplyOrderRequest::getApplyReason()const -{ - return applyReason_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreatePermissionApplyOrderRequest; + +CreatePermissionApplyOrderRequest::CreatePermissionApplyOrderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreatePermissionApplyOrder") { + setMethod(HttpRequest::Method::Post); } -void CreatePermissionApplyOrderRequest::setApplyReason(const std::string& applyReason) -{ - applyReason_ = applyReason; - setParameter("ApplyReason", applyReason); +CreatePermissionApplyOrderRequest::~CreatePermissionApplyOrderRequest() {} + +std::string CreatePermissionApplyOrderRequest::getApplyReason() const { + return applyReason_; } -std::string CreatePermissionApplyOrderRequest::getMaxComputeProjectName()const -{ - return maxComputeProjectName_; +void CreatePermissionApplyOrderRequest::setApplyReason(const std::string &applyReason) { + applyReason_ = applyReason; + setParameter(std::string("ApplyReason"), applyReason); } -void CreatePermissionApplyOrderRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) -{ - maxComputeProjectName_ = maxComputeProjectName; - setParameter("MaxComputeProjectName", maxComputeProjectName); +std::string CreatePermissionApplyOrderRequest::getMaxComputeProjectName() const { + return maxComputeProjectName_; } -std::vector CreatePermissionApplyOrderRequest::getApplyObject()const -{ - return applyObject_; +void CreatePermissionApplyOrderRequest::setMaxComputeProjectName(const std::string &maxComputeProjectName) { + maxComputeProjectName_ = maxComputeProjectName; + setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName); } -void CreatePermissionApplyOrderRequest::setApplyObject(const std::vector& applyObject) -{ - applyObject_ = applyObject; - for(int dep1 = 0; dep1!= applyObject.size(); dep1++) { - auto applyObjectObj = applyObject.at(dep1); - std::string applyObjectObjStr = "ApplyObject." + std::to_string(dep1 + 1); - for(int dep2 = 0; dep2!= applyObjectObj.columnMetaList.size(); dep2++) { - auto columnMetaListObj = applyObjectObj.columnMetaList.at(dep2); - std::string columnMetaListObjStr = applyObjectObjStr + "ColumnMetaList." + std::to_string(dep2 + 1); - setParameter(columnMetaListObjStr + ".Name", columnMetaListObj.name); - } - setParameter(applyObjectObjStr + ".Name", applyObjectObj.name); - setParameter(applyObjectObjStr + ".Actions", applyObjectObj.actions); - } +std::vector CreatePermissionApplyOrderRequest::getApplyObject() const { + return applyObject_; } -std::string CreatePermissionApplyOrderRequest::getApplyUserIds()const -{ - return applyUserIds_; +void CreatePermissionApplyOrderRequest::setApplyObject(const std::vector &applyObject) { + applyObject_ = applyObject; + for(int dep1 = 0; dep1 != applyObject.size(); dep1++) { + auto applyObjectObj = applyObject.at(dep1); + std::string applyObjectObjStr = std::string("ApplyObject") + "." + std::to_string(dep1 + 1); + for(int dep2 = 0; dep2 != applyObjectObj.columnMetaList.size(); dep2++) { + auto columnMetaListObj = applyObjectObj.columnMetaList.at(dep2); + std::string columnMetaListObjStr = applyObjectObjStr + ".ColumnMetaList" + "." + std::to_string(dep2 + 1); + setParameter(columnMetaListObjStr + ".Name", columnMetaListObj.name); + } + setParameter(applyObjectObjStr + ".Name", applyObjectObj.name); + setParameter(applyObjectObjStr + ".Actions", applyObjectObj.actions); + } } -void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string& applyUserIds) -{ - applyUserIds_ = applyUserIds; - setParameter("ApplyUserIds", applyUserIds); +std::string CreatePermissionApplyOrderRequest::getApplyUserIds() const { + return applyUserIds_; } -long CreatePermissionApplyOrderRequest::getDeadline()const -{ - return deadline_; +void CreatePermissionApplyOrderRequest::setApplyUserIds(const std::string &applyUserIds) { + applyUserIds_ = applyUserIds; + setParameter(std::string("ApplyUserIds"), applyUserIds); } -void CreatePermissionApplyOrderRequest::setDeadline(long deadline) -{ - deadline_ = deadline; - setParameter("Deadline", std::to_string(deadline)); +long CreatePermissionApplyOrderRequest::getDeadline() const { + return deadline_; } -int CreatePermissionApplyOrderRequest::getWorkspaceId()const -{ - return workspaceId_; +void CreatePermissionApplyOrderRequest::setDeadline(long deadline) { + deadline_ = deadline; + setParameter(std::string("Deadline"), std::to_string(deadline)); } -void CreatePermissionApplyOrderRequest::setWorkspaceId(int workspaceId) -{ - workspaceId_ = workspaceId; - setParameter("WorkspaceId", std::to_string(workspaceId)); +int CreatePermissionApplyOrderRequest::getWorkspaceId() const { + return workspaceId_; } -int CreatePermissionApplyOrderRequest::getOrderType()const -{ - return orderType_; +void CreatePermissionApplyOrderRequest::setWorkspaceId(int workspaceId) { + workspaceId_ = workspaceId; + setParameter(std::string("WorkspaceId"), std::to_string(workspaceId)); } -void CreatePermissionApplyOrderRequest::setOrderType(int orderType) -{ - orderType_ = orderType; - setParameter("OrderType", std::to_string(orderType)); +int CreatePermissionApplyOrderRequest::getOrderType() const { + return orderType_; } -std::string CreatePermissionApplyOrderRequest::getEngineType()const -{ - return engineType_; +void CreatePermissionApplyOrderRequest::setOrderType(int orderType) { + orderType_ = orderType; + setParameter(std::string("OrderType"), std::to_string(orderType)); } -void CreatePermissionApplyOrderRequest::setEngineType(const std::string& engineType) -{ - engineType_ = engineType; - setParameter("EngineType", engineType); +std::string CreatePermissionApplyOrderRequest::getEngineType() const { + return engineType_; +} + +void CreatePermissionApplyOrderRequest::setEngineType(const std::string &engineType) { + engineType_ = engineType; + setParameter(std::string("EngineType"), engineType); } diff --git a/dataworks-public/src/model/CreateProjectMemberRequest.cc b/dataworks-public/src/model/CreateProjectMemberRequest.cc index 8279632ce..a96aaffcb 100644 --- a/dataworks-public/src/model/CreateProjectMemberRequest.cc +++ b/dataworks-public/src/model/CreateProjectMemberRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateProjectMemberRequest; + +CreateProjectMemberRequest::CreateProjectMemberRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateProjectMember") { + setMethod(HttpRequest::Method::Post); } -void CreateProjectMemberRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); +CreateProjectMemberRequest::~CreateProjectMemberRequest() {} + +std::string CreateProjectMemberRequest::getRoleCode() const { + return roleCode_; } -std::string CreateProjectMemberRequest::getClientToken()const -{ - return clientToken_; +void CreateProjectMemberRequest::setRoleCode(const std::string &roleCode) { + roleCode_ = roleCode; + setParameter(std::string("RoleCode"), roleCode); } -void CreateProjectMemberRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +std::string CreateProjectMemberRequest::getClientToken() const { + return clientToken_; } -long CreateProjectMemberRequest::getProjectId()const -{ - return projectId_; +void CreateProjectMemberRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void CreateProjectMemberRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateProjectMemberRequest::getProjectId() const { + return projectId_; } -std::string CreateProjectMemberRequest::getUserId()const -{ - return userId_; +void CreateProjectMemberRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateProjectMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string CreateProjectMemberRequest::getUserId() const { + return userId_; +} + +void CreateProjectMemberRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } diff --git a/dataworks-public/src/model/CreateQualityEntityRequest.cc b/dataworks-public/src/model/CreateQualityEntityRequest.cc index 832eccd68..1bd37112b 100644 --- a/dataworks-public/src/model/CreateQualityEntityRequest.cc +++ b/dataworks-public/src/model/CreateQualityEntityRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateQualityEntityRequest; + +CreateQualityEntityRequest::CreateQualityEntityRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityEntity") { + setMethod(HttpRequest::Method::Post); } -void CreateQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +CreateQualityEntityRequest::~CreateQualityEntityRequest() {} + +std::string CreateQualityEntityRequest::getProjectName() const { + return projectName_; } -int CreateQualityEntityRequest::getEntityLevel()const -{ - return entityLevel_; +void CreateQualityEntityRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void CreateQualityEntityRequest::setEntityLevel(int entityLevel) -{ - entityLevel_ = entityLevel; - setBodyParameter("EntityLevel", std::to_string(entityLevel)); +int CreateQualityEntityRequest::getEntityLevel() const { + return entityLevel_; } -std::string CreateQualityEntityRequest::getMatchExpression()const -{ - return matchExpression_; +void CreateQualityEntityRequest::setEntityLevel(int entityLevel) { + entityLevel_ = entityLevel; + setBodyParameter(std::string("EntityLevel"), std::to_string(entityLevel)); } -void CreateQualityEntityRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); +std::string CreateQualityEntityRequest::getMatchExpression() const { + return matchExpression_; } -std::string CreateQualityEntityRequest::getEnvType()const -{ - return envType_; +void CreateQualityEntityRequest::setMatchExpression(const std::string &matchExpression) { + matchExpression_ = matchExpression; + setBodyParameter(std::string("MatchExpression"), matchExpression); } -void CreateQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); +std::string CreateQualityEntityRequest::getEnvType() const { + return envType_; } -std::string CreateQualityEntityRequest::getTableName()const -{ - return tableName_; +void CreateQualityEntityRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), envType); } -void CreateQualityEntityRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); +std::string CreateQualityEntityRequest::getTableName() const { + return tableName_; +} + +void CreateQualityEntityRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setBodyParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/CreateQualityFollowerRequest.cc b/dataworks-public/src/model/CreateQualityFollowerRequest.cc index 073864051..09341913a 100644 --- a/dataworks-public/src/model/CreateQualityFollowerRequest.cc +++ b/dataworks-public/src/model/CreateQualityFollowerRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateQualityFollowerRequest; + +CreateQualityFollowerRequest::CreateQualityFollowerRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityFollower") { + setMethod(HttpRequest::Method::Post); } -void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) -{ - alarmMode_ = alarmMode; - setBodyParameter("AlarmMode", std::to_string(alarmMode)); +CreateQualityFollowerRequest::~CreateQualityFollowerRequest() {} + +int CreateQualityFollowerRequest::getAlarmMode() const { + return alarmMode_; } -std::string CreateQualityFollowerRequest::getProjectName()const -{ - return projectName_; +void CreateQualityFollowerRequest::setAlarmMode(int alarmMode) { + alarmMode_ = alarmMode; + setBodyParameter(std::string("AlarmMode"), std::to_string(alarmMode)); } -void CreateQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string CreateQualityFollowerRequest::getProjectName() const { + return projectName_; } -std::string CreateQualityFollowerRequest::getFollower()const -{ - return follower_; +void CreateQualityFollowerRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void CreateQualityFollowerRequest::setFollower(const std::string& follower) -{ - follower_ = follower; - setBodyParameter("Follower", follower); +std::string CreateQualityFollowerRequest::getFollower() const { + return follower_; } -long CreateQualityFollowerRequest::getEntityId()const -{ - return entityId_; +void CreateQualityFollowerRequest::setFollower(const std::string &follower) { + follower_ = follower; + setBodyParameter(std::string("Follower"), follower); } -void CreateQualityFollowerRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +long CreateQualityFollowerRequest::getEntityId() const { + return entityId_; +} + +void CreateQualityFollowerRequest::setEntityId(long entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } diff --git a/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc b/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc index cd425f491..dc6f9c730 100644 --- a/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc +++ b/dataworks-public/src/model/CreateQualityRelativeNodeRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateQualityRelativeNodeRequest; + +CreateQualityRelativeNodeRequest::CreateQualityRelativeNodeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRelativeNode") { + setMethod(HttpRequest::Method::Post); } -void CreateQualityRelativeNodeRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +CreateQualityRelativeNodeRequest::~CreateQualityRelativeNodeRequest() {} + +std::string CreateQualityRelativeNodeRequest::getProjectName() const { + return projectName_; } -long CreateQualityRelativeNodeRequest::getTargetNodeProjectId()const -{ - return targetNodeProjectId_; +void CreateQualityRelativeNodeRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) -{ - targetNodeProjectId_ = targetNodeProjectId; - setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId)); +long CreateQualityRelativeNodeRequest::getTargetNodeProjectId() const { + return targetNodeProjectId_; } -std::string CreateQualityRelativeNodeRequest::getMatchExpression()const -{ - return matchExpression_; +void CreateQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) { + targetNodeProjectId_ = targetNodeProjectId; + setBodyParameter(std::string("TargetNodeProjectId"), std::to_string(targetNodeProjectId)); } -void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); +std::string CreateQualityRelativeNodeRequest::getMatchExpression() const { + return matchExpression_; } -std::string CreateQualityRelativeNodeRequest::getEnvType()const -{ - return envType_; +void CreateQualityRelativeNodeRequest::setMatchExpression(const std::string &matchExpression) { + matchExpression_ = matchExpression; + setBodyParameter(std::string("MatchExpression"), matchExpression); } -void CreateQualityRelativeNodeRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); +std::string CreateQualityRelativeNodeRequest::getEnvType() const { + return envType_; } -std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName()const -{ - return targetNodeProjectName_; +void CreateQualityRelativeNodeRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), envType); } -void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName) -{ - targetNodeProjectName_ = targetNodeProjectName; - setBodyParameter("TargetNodeProjectName", targetNodeProjectName); +std::string CreateQualityRelativeNodeRequest::getTargetNodeProjectName() const { + return targetNodeProjectName_; } -std::string CreateQualityRelativeNodeRequest::getTableName()const -{ - return tableName_; +void CreateQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string &targetNodeProjectName) { + targetNodeProjectName_ = targetNodeProjectName; + setBodyParameter(std::string("TargetNodeProjectName"), targetNodeProjectName); } -void CreateQualityRelativeNodeRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); +std::string CreateQualityRelativeNodeRequest::getTableName() const { + return tableName_; } -long CreateQualityRelativeNodeRequest::getNodeId()const -{ - return nodeId_; +void CreateQualityRelativeNodeRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setBodyParameter(std::string("TableName"), tableName); } -void CreateQualityRelativeNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long CreateQualityRelativeNodeRequest::getNodeId() const { + return nodeId_; } -long CreateQualityRelativeNodeRequest::getProjectId()const -{ - return projectId_; +void CreateQualityRelativeNodeRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void CreateQualityRelativeNodeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateQualityRelativeNodeRequest::getProjectId() const { + return projectId_; +} + +void CreateQualityRelativeNodeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/CreateQualityRuleRequest.cc b/dataworks-public/src/model/CreateQualityRuleRequest.cc index cdce82e53..5f0a0ec86 100644 --- a/dataworks-public/src/model/CreateQualityRuleRequest.cc +++ b/dataworks-public/src/model/CreateQualityRuleRequest.cc @@ -1,227 +1,189 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateQualityRuleRequest; + +CreateQualityRuleRequest::CreateQualityRuleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateQualityRule") { + setMethod(HttpRequest::Method::Post); } -void CreateQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +CreateQualityRuleRequest::~CreateQualityRuleRequest() {} + +std::string CreateQualityRuleRequest::getProjectName() const { + return projectName_; } -std::string CreateQualityRuleRequest::getTrend()const -{ - return trend_; +void CreateQualityRuleRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void CreateQualityRuleRequest::setTrend(const std::string& trend) -{ - trend_ = trend; - setBodyParameter("Trend", trend); +std::string CreateQualityRuleRequest::getTrend() const { + return trend_; } -int CreateQualityRuleRequest::getRuleType()const -{ - return ruleType_; +void CreateQualityRuleRequest::setTrend(const std::string &trend) { + trend_ = trend; + setBodyParameter(std::string("Trend"), trend); } -void CreateQualityRuleRequest::setRuleType(int ruleType) -{ - ruleType_ = ruleType; - setBodyParameter("RuleType", std::to_string(ruleType)); +int CreateQualityRuleRequest::getRuleType() const { + return ruleType_; } -int CreateQualityRuleRequest::getBlockType()const -{ - return blockType_; +void CreateQualityRuleRequest::setRuleType(int ruleType) { + ruleType_ = ruleType; + setBodyParameter(std::string("RuleType"), std::to_string(ruleType)); } -void CreateQualityRuleRequest::setBlockType(int blockType) -{ - blockType_ = blockType; - setBodyParameter("BlockType", std::to_string(blockType)); +int CreateQualityRuleRequest::getBlockType() const { + return blockType_; } -std::string CreateQualityRuleRequest::getPropertyType()const -{ - return propertyType_; +void CreateQualityRuleRequest::setBlockType(int blockType) { + blockType_ = blockType; + setBodyParameter(std::string("BlockType"), std::to_string(blockType)); } -void CreateQualityRuleRequest::setPropertyType(const std::string& propertyType) -{ - propertyType_ = propertyType; - setBodyParameter("PropertyType", propertyType); +std::string CreateQualityRuleRequest::getPropertyType() const { + return propertyType_; } -long CreateQualityRuleRequest::getEntityId()const -{ - return entityId_; +void CreateQualityRuleRequest::setPropertyType(const std::string &propertyType) { + propertyType_ = propertyType; + setBodyParameter(std::string("PropertyType"), propertyType); } -void CreateQualityRuleRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +long CreateQualityRuleRequest::getEntityId() const { + return entityId_; } -std::string CreateQualityRuleRequest::getRuleName()const -{ - return ruleName_; +void CreateQualityRuleRequest::setEntityId(long entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } -void CreateQualityRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setBodyParameter("RuleName", ruleName); +std::string CreateQualityRuleRequest::getRuleName() const { + return ruleName_; } -int CreateQualityRuleRequest::getChecker()const -{ - return checker_; +void CreateQualityRuleRequest::setRuleName(const std::string &ruleName) { + ruleName_ = ruleName; + setBodyParameter(std::string("RuleName"), ruleName); } -void CreateQualityRuleRequest::setChecker(int checker) -{ - checker_ = checker; - setBodyParameter("Checker", std::to_string(checker)); +int CreateQualityRuleRequest::getChecker() const { + return checker_; } -int CreateQualityRuleRequest::getTemplateId()const -{ - return templateId_; +void CreateQualityRuleRequest::setChecker(int checker) { + checker_ = checker; + setBodyParameter(std::string("Checker"), std::to_string(checker)); } -void CreateQualityRuleRequest::setTemplateId(int templateId) -{ - templateId_ = templateId; - setBodyParameter("TemplateId", std::to_string(templateId)); +int CreateQualityRuleRequest::getTemplateId() const { + return templateId_; } -std::string CreateQualityRuleRequest::getExpectValue()const -{ - return expectValue_; +void CreateQualityRuleRequest::setTemplateId(int templateId) { + templateId_ = templateId; + setBodyParameter(std::string("TemplateId"), std::to_string(templateId)); } -void CreateQualityRuleRequest::setExpectValue(const std::string& expectValue) -{ - expectValue_ = expectValue; - setBodyParameter("ExpectValue", expectValue); +std::string CreateQualityRuleRequest::getExpectValue() const { + return expectValue_; } -std::string CreateQualityRuleRequest::get_Operator()const -{ - return _operator_; +void CreateQualityRuleRequest::setExpectValue(const std::string &expectValue) { + expectValue_ = expectValue; + setBodyParameter(std::string("ExpectValue"), expectValue); } -void CreateQualityRuleRequest::set_Operator(const std::string& _operator) -{ - _operator_ = _operator; - setBodyParameter("_Operator", _operator); +std::string CreateQualityRuleRequest::get_Operator() const { + return _operator_; } -std::string CreateQualityRuleRequest::getWhereCondition()const -{ - return whereCondition_; +void CreateQualityRuleRequest::set_Operator(const std::string &_operator) { + _operator_ = _operator; + setBodyParameter(std::string("Operator"), _operator); } -void CreateQualityRuleRequest::setWhereCondition(const std::string& whereCondition) -{ - whereCondition_ = whereCondition; - setBodyParameter("WhereCondition", whereCondition); +std::string CreateQualityRuleRequest::getWhereCondition() const { + return whereCondition_; } -std::string CreateQualityRuleRequest::getCriticalThreshold()const -{ - return criticalThreshold_; +void CreateQualityRuleRequest::setWhereCondition(const std::string &whereCondition) { + whereCondition_ = whereCondition; + setBodyParameter(std::string("WhereCondition"), whereCondition); } -void CreateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold) -{ - criticalThreshold_ = criticalThreshold; - setBodyParameter("CriticalThreshold", criticalThreshold); +std::string CreateQualityRuleRequest::getCriticalThreshold() const { + return criticalThreshold_; } -std::string CreateQualityRuleRequest::getProperty()const -{ - return property_; +void CreateQualityRuleRequest::setCriticalThreshold(const std::string &criticalThreshold) { + criticalThreshold_ = criticalThreshold; + setBodyParameter(std::string("CriticalThreshold"), criticalThreshold); } -void CreateQualityRuleRequest::setProperty(const std::string& property) -{ - property_ = property; - setBodyParameter("Property", property); +std::string CreateQualityRuleRequest::getProperty() const { + return property_; } -std::string CreateQualityRuleRequest::getComment()const -{ - return comment_; +void CreateQualityRuleRequest::setProperty(const std::string &property) { + property_ = property; + setBodyParameter(std::string("Property"), property); } -void CreateQualityRuleRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); +std::string CreateQualityRuleRequest::getComment() const { + return comment_; } -int CreateQualityRuleRequest::getPredictType()const -{ - return predictType_; +void CreateQualityRuleRequest::setComment(const std::string &comment) { + comment_ = comment; + setBodyParameter(std::string("Comment"), comment); } -void CreateQualityRuleRequest::setPredictType(int predictType) -{ - predictType_ = predictType; - setBodyParameter("PredictType", std::to_string(predictType)); +int CreateQualityRuleRequest::getPredictType() const { + return predictType_; } -std::string CreateQualityRuleRequest::getWarningThreshold()const -{ - return warningThreshold_; +void CreateQualityRuleRequest::setPredictType(int predictType) { + predictType_ = predictType; + setBodyParameter(std::string("PredictType"), std::to_string(predictType)); } -void CreateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold) -{ - warningThreshold_ = warningThreshold; - setBodyParameter("WarningThreshold", warningThreshold); +std::string CreateQualityRuleRequest::getWarningThreshold() const { + return warningThreshold_; } -std::string CreateQualityRuleRequest::getMethodName()const -{ - return methodName_; +void CreateQualityRuleRequest::setWarningThreshold(const std::string &warningThreshold) { + warningThreshold_ = warningThreshold; + setBodyParameter(std::string("WarningThreshold"), warningThreshold); } -void CreateQualityRuleRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setBodyParameter("MethodName", methodName); +std::string CreateQualityRuleRequest::getMethodName() const { + return methodName_; +} + +void CreateQualityRuleRequest::setMethodName(const std::string &methodName) { + methodName_ = methodName; + setBodyParameter(std::string("MethodName"), methodName); } diff --git a/dataworks-public/src/model/CreateRemindRequest.cc b/dataworks-public/src/model/CreateRemindRequest.cc index 503685613..a1a64597e 100644 --- a/dataworks-public/src/model/CreateRemindRequest.cc +++ b/dataworks-public/src/model/CreateRemindRequest.cc @@ -1,194 +1,162 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateRemindRequest; + +CreateRemindRequest::CreateRemindRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateRemind") { + setMethod(HttpRequest::Method::Post); } -void CreateRemindRequest::setDndEnd(const std::string& dndEnd) -{ - dndEnd_ = dndEnd; - setBodyParameter("DndEnd", dndEnd); +CreateRemindRequest::~CreateRemindRequest() {} + +std::string CreateRemindRequest::getDndEnd() const { + return dndEnd_; } -std::string CreateRemindRequest::getAlertUnit()const -{ - return alertUnit_; +void CreateRemindRequest::setDndEnd(const std::string &dndEnd) { + dndEnd_ = dndEnd; + setBodyParameter(std::string("DndEnd"), dndEnd); } -void CreateRemindRequest::setAlertUnit(const std::string& alertUnit) -{ - alertUnit_ = alertUnit; - setBodyParameter("AlertUnit", alertUnit); +std::string CreateRemindRequest::getAlertUnit() const { + return alertUnit_; } -std::string CreateRemindRequest::getRemindUnit()const -{ - return remindUnit_; +void CreateRemindRequest::setAlertUnit(const std::string &alertUnit) { + alertUnit_ = alertUnit; + setBodyParameter(std::string("AlertUnit"), alertUnit); } -void CreateRemindRequest::setRemindUnit(const std::string& remindUnit) -{ - remindUnit_ = remindUnit; - setBodyParameter("RemindUnit", remindUnit); +std::string CreateRemindRequest::getRemindUnit() const { + return remindUnit_; } -int CreateRemindRequest::getAlertInterval()const -{ - return alertInterval_; +void CreateRemindRequest::setRemindUnit(const std::string &remindUnit) { + remindUnit_ = remindUnit; + setBodyParameter(std::string("RemindUnit"), remindUnit); } -void CreateRemindRequest::setAlertInterval(int alertInterval) -{ - alertInterval_ = alertInterval; - setBodyParameter("AlertInterval", std::to_string(alertInterval)); +int CreateRemindRequest::getAlertInterval() const { + return alertInterval_; } -std::string CreateRemindRequest::getAlertMethods()const -{ - return alertMethods_; +void CreateRemindRequest::setAlertInterval(int alertInterval) { + alertInterval_ = alertInterval; + setBodyParameter(std::string("AlertInterval"), std::to_string(alertInterval)); } -void CreateRemindRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); +std::string CreateRemindRequest::getAlertMethods() const { + return alertMethods_; } -std::string CreateRemindRequest::getRobotUrls()const -{ - return robotUrls_; +void CreateRemindRequest::setAlertMethods(const std::string &alertMethods) { + alertMethods_ = alertMethods; + setBodyParameter(std::string("AlertMethods"), alertMethods); } -void CreateRemindRequest::setRobotUrls(const std::string& robotUrls) -{ - robotUrls_ = robotUrls; - setBodyParameter("RobotUrls", robotUrls); +std::string CreateRemindRequest::getRobotUrls() const { + return robotUrls_; } -int CreateRemindRequest::getMaxAlertTimes()const -{ - return maxAlertTimes_; +void CreateRemindRequest::setRobotUrls(const std::string &robotUrls) { + robotUrls_ = robotUrls; + setBodyParameter(std::string("RobotUrls"), robotUrls); } -void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes) -{ - maxAlertTimes_ = maxAlertTimes; - setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes)); +int CreateRemindRequest::getMaxAlertTimes() const { + return maxAlertTimes_; } -std::string CreateRemindRequest::getBizProcessIds()const -{ - return bizProcessIds_; +void CreateRemindRequest::setMaxAlertTimes(int maxAlertTimes) { + maxAlertTimes_ = maxAlertTimes; + setBodyParameter(std::string("MaxAlertTimes"), std::to_string(maxAlertTimes)); } -void CreateRemindRequest::setBizProcessIds(const std::string& bizProcessIds) -{ - bizProcessIds_ = bizProcessIds; - setBodyParameter("BizProcessIds", bizProcessIds); +std::string CreateRemindRequest::getBizProcessIds() const { + return bizProcessIds_; } -std::string CreateRemindRequest::getRemindType()const -{ - return remindType_; +void CreateRemindRequest::setBizProcessIds(const std::string &bizProcessIds) { + bizProcessIds_ = bizProcessIds; + setBodyParameter(std::string("BizProcessIds"), bizProcessIds); } -void CreateRemindRequest::setRemindType(const std::string& remindType) -{ - remindType_ = remindType; - setBodyParameter("RemindType", remindType); +std::string CreateRemindRequest::getRemindType() const { + return remindType_; } -std::string CreateRemindRequest::getAlertTargets()const -{ - return alertTargets_; +void CreateRemindRequest::setRemindType(const std::string &remindType) { + remindType_ = remindType; + setBodyParameter(std::string("RemindType"), remindType); } -void CreateRemindRequest::setAlertTargets(const std::string& alertTargets) -{ - alertTargets_ = alertTargets; - setBodyParameter("AlertTargets", alertTargets); +std::string CreateRemindRequest::getAlertTargets() const { + return alertTargets_; } -std::string CreateRemindRequest::getBaselineIds()const -{ - return baselineIds_; +void CreateRemindRequest::setAlertTargets(const std::string &alertTargets) { + alertTargets_ = alertTargets; + setBodyParameter(std::string("AlertTargets"), alertTargets); } -void CreateRemindRequest::setBaselineIds(const std::string& baselineIds) -{ - baselineIds_ = baselineIds; - setBodyParameter("BaselineIds", baselineIds); +std::string CreateRemindRequest::getBaselineIds() const { + return baselineIds_; } -std::string CreateRemindRequest::getDetail()const -{ - return detail_; +void CreateRemindRequest::setBaselineIds(const std::string &baselineIds) { + baselineIds_ = baselineIds; + setBodyParameter(std::string("BaselineIds"), baselineIds); } -void CreateRemindRequest::setDetail(const std::string& detail) -{ - detail_ = detail; - setBodyParameter("Detail", detail); +std::string CreateRemindRequest::getDetail() const { + return detail_; } -std::string CreateRemindRequest::getRemindName()const -{ - return remindName_; +void CreateRemindRequest::setDetail(const std::string &detail) { + detail_ = detail; + setBodyParameter(std::string("Detail"), detail); } -void CreateRemindRequest::setRemindName(const std::string& remindName) -{ - remindName_ = remindName; - setBodyParameter("RemindName", remindName); +std::string CreateRemindRequest::getRemindName() const { + return remindName_; } -long CreateRemindRequest::getProjectId()const -{ - return projectId_; +void CreateRemindRequest::setRemindName(const std::string &remindName) { + remindName_ = remindName; + setBodyParameter(std::string("RemindName"), remindName); } -void CreateRemindRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateRemindRequest::getProjectId() const { + return projectId_; } -std::string CreateRemindRequest::getNodeIds()const -{ - return nodeIds_; +void CreateRemindRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateRemindRequest::setNodeIds(const std::string& nodeIds) -{ - nodeIds_ = nodeIds; - setBodyParameter("NodeIds", nodeIds); +std::string CreateRemindRequest::getNodeIds() const { + return nodeIds_; +} + +void CreateRemindRequest::setNodeIds(const std::string &nodeIds) { + nodeIds_ = nodeIds; + setBodyParameter(std::string("NodeIds"), nodeIds); } diff --git a/dataworks-public/src/model/CreateTableLevelRequest.cc b/dataworks-public/src/model/CreateTableLevelRequest.cc index 99cccedd3..fb15445e8 100644 --- a/dataworks-public/src/model/CreateTableLevelRequest.cc +++ b/dataworks-public/src/model/CreateTableLevelRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateTableLevelRequest; - -CreateTableLevelRequest::CreateTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableLevel") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTableLevelRequest::~CreateTableLevelRequest() -{} - -int CreateTableLevelRequest::getLevelType()const -{ - return levelType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateTableLevelRequest; + +CreateTableLevelRequest::CreateTableLevelRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableLevel") { + setMethod(HttpRequest::Method::Post); } -void CreateTableLevelRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); +CreateTableLevelRequest::~CreateTableLevelRequest() {} + +int CreateTableLevelRequest::getLevelType() const { + return levelType_; } -std::string CreateTableLevelRequest::getName()const -{ - return name_; +void CreateTableLevelRequest::setLevelType(int levelType) { + levelType_ = levelType; + setParameter(std::string("LevelType"), std::to_string(levelType)); } -void CreateTableLevelRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateTableLevelRequest::getName() const { + return name_; } -std::string CreateTableLevelRequest::getDescription()const -{ - return description_; +void CreateTableLevelRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateTableLevelRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateTableLevelRequest::getDescription() const { + return description_; } -long CreateTableLevelRequest::getProjectId()const -{ - return projectId_; +void CreateTableLevelRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateTableLevelRequest::getProjectId() const { + return projectId_; +} + +void CreateTableLevelRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/CreateTableRequest.cc b/dataworks-public/src/model/CreateTableRequest.cc index d7779a6bb..0356691f1 100644 --- a/dataworks-public/src/model/CreateTableRequest.cc +++ b/dataworks-public/src/model/CreateTableRequest.cc @@ -1,253 +1,213 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateTableRequest; - -CreateTableRequest::CreateTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTable") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTableRequest::~CreateTableRequest() -{} - -std::string CreateTableRequest::getClientToken()const -{ - return clientToken_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateTableRequest; + +CreateTableRequest::CreateTableRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTable") { + setMethod(HttpRequest::Method::Post); } -void CreateTableRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +CreateTableRequest::~CreateTableRequest() {} + +std::string CreateTableRequest::getClientToken() const { + return clientToken_; } -std::vector CreateTableRequest::getColumns()const -{ - return columns_; +void CreateTableRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void CreateTableRequest::setColumns(const std::vector& columns) -{ - columns_ = columns; - for(int dep1 = 0; dep1!= columns.size(); dep1++) { - auto columnsObj = columns.at(dep1); - std::string columnsObjStr = "Columns." + std::to_string(dep1 + 1); - setParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber)); - setParameter(columnsObjStr + ".IsPartitionCol", columnsObj.isPartitionCol ? "true" : "false"); - setParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn); - setParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length)); - setParameter(columnsObjStr + ".Comment", columnsObj.comment); - setParameter(columnsObjStr + ".ColumnName", columnsObj.columnName); - setParameter(columnsObjStr + ".ColumnType", columnsObj.columnType); - } +std::vector CreateTableRequest::getColumns() const { + return columns_; } -int CreateTableRequest::getLifeCycle()const -{ - return lifeCycle_; +void CreateTableRequest::setColumns(const std::vector &columns) { + columns_ = columns; + for(int dep1 = 0; dep1 != columns.size(); dep1++) { + auto columnsObj = columns.at(dep1); + std::string columnsObjStr = std::string("Columns") + "." + std::to_string(dep1 + 1); + setBodyParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber)); + setBodyParameter(columnsObjStr + ".IsPartitionCol", columnsObj.isPartitionCol ? "true" : "false"); + setBodyParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn); + setBodyParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length)); + setBodyParameter(columnsObjStr + ".Comment", columnsObj.comment); + setBodyParameter(columnsObjStr + ".ColumnName", columnsObj.columnName); + setBodyParameter(columnsObjStr + ".ColumnType", columnsObj.columnType); + } } -void CreateTableRequest::setLifeCycle(int lifeCycle) -{ - lifeCycle_ = lifeCycle; - setParameter("LifeCycle", std::to_string(lifeCycle)); +int CreateTableRequest::getLifeCycle() const { + return lifeCycle_; } -std::vector CreateTableRequest::getThemes()const -{ - return themes_; +void CreateTableRequest::setLifeCycle(int lifeCycle) { + lifeCycle_ = lifeCycle; + setParameter(std::string("LifeCycle"), std::to_string(lifeCycle)); } -void CreateTableRequest::setThemes(const std::vector& themes) -{ - themes_ = themes; - for(int dep1 = 0; dep1!= themes.size(); dep1++) { - auto themesObj = themes.at(dep1); - std::string themesObjStr = "Themes." + std::to_string(dep1 + 1); - setParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel)); - setParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId)); - } +std::vector CreateTableRequest::getThemes() const { + return themes_; } -long CreateTableRequest::getLogicalLevelId()const -{ - return logicalLevelId_; +void CreateTableRequest::setThemes(const std::vector &themes) { + themes_ = themes; + for(int dep1 = 0; dep1 != themes.size(); dep1++) { + auto themesObj = themes.at(dep1); + std::string themesObjStr = std::string("Themes") + "." + std::to_string(dep1 + 1); + setBodyParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel)); + setBodyParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId)); + } } -void CreateTableRequest::setLogicalLevelId(long logicalLevelId) -{ - logicalLevelId_ = logicalLevelId; - setParameter("LogicalLevelId", std::to_string(logicalLevelId)); +long CreateTableRequest::getLogicalLevelId() const { + return logicalLevelId_; } -std::string CreateTableRequest::getEndpoint()const -{ - return endpoint_; +void CreateTableRequest::setLogicalLevelId(long logicalLevelId) { + logicalLevelId_ = logicalLevelId; + setParameter(std::string("LogicalLevelId"), std::to_string(logicalLevelId)); } -void CreateTableRequest::setEndpoint(const std::string& endpoint) -{ - endpoint_ = endpoint; - setBodyParameter("Endpoint", endpoint); +std::string CreateTableRequest::getEndpoint() const { + return endpoint_; } -int CreateTableRequest::getEnvType()const -{ - return envType_; +void CreateTableRequest::setEndpoint(const std::string &endpoint) { + endpoint_ = endpoint; + setBodyParameter(std::string("Endpoint"), endpoint); } -void CreateTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setBodyParameter("EnvType", std::to_string(envType)); +int CreateTableRequest::getEnvType() const { + return envType_; } -int CreateTableRequest::getHasPart()const -{ - return hasPart_; +void CreateTableRequest::setEnvType(int envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), std::to_string(envType)); } -void CreateTableRequest::setHasPart(int hasPart) -{ - hasPart_ = hasPart; - setParameter("HasPart", std::to_string(hasPart)); +int CreateTableRequest::getHasPart() const { + return hasPart_; } -std::string CreateTableRequest::getTableName()const -{ - return tableName_; +void CreateTableRequest::setHasPart(int hasPart) { + hasPart_ = hasPart; + setParameter(std::string("HasPart"), std::to_string(hasPart)); } -void CreateTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string CreateTableRequest::getTableName() const { + return tableName_; } -std::string CreateTableRequest::getAppGuid()const -{ - return appGuid_; +void CreateTableRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void CreateTableRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); +std::string CreateTableRequest::getAppGuid() const { + return appGuid_; } -long CreateTableRequest::getProjectId()const -{ - return projectId_; +void CreateTableRequest::setAppGuid(const std::string &appGuid) { + appGuid_ = appGuid; + setParameter(std::string("AppGuid"), appGuid); } -void CreateTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateTableRequest::getProjectId() const { + return projectId_; } -long CreateTableRequest::getCategoryId()const -{ - return categoryId_; +void CreateTableRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateTableRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +long CreateTableRequest::getCategoryId() const { + return categoryId_; } -int CreateTableRequest::getVisibility()const -{ - return visibility_; +void CreateTableRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } -void CreateTableRequest::setVisibility(int visibility) -{ - visibility_ = visibility; - setParameter("Visibility", std::to_string(visibility)); +int CreateTableRequest::getVisibility() const { + return visibility_; } -long CreateTableRequest::getPhysicsLevelId()const -{ - return physicsLevelId_; +void CreateTableRequest::setVisibility(int visibility) { + visibility_ = visibility; + setParameter(std::string("Visibility"), std::to_string(visibility)); } -void CreateTableRequest::setPhysicsLevelId(long physicsLevelId) -{ - physicsLevelId_ = physicsLevelId; - setParameter("PhysicsLevelId", std::to_string(physicsLevelId)); +long CreateTableRequest::getPhysicsLevelId() const { + return physicsLevelId_; } -std::string CreateTableRequest::getOwnerId()const -{ - return ownerId_; +void CreateTableRequest::setPhysicsLevelId(long physicsLevelId) { + physicsLevelId_ = physicsLevelId; + setParameter(std::string("PhysicsLevelId"), std::to_string(physicsLevelId)); } -void CreateTableRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string CreateTableRequest::getOwnerId() const { + return ownerId_; } -int CreateTableRequest::getIsView()const -{ - return isView_; +void CreateTableRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void CreateTableRequest::setIsView(int isView) -{ - isView_ = isView; - setParameter("IsView", std::to_string(isView)); +int CreateTableRequest::getIsView() const { + return isView_; } -std::string CreateTableRequest::getExternalTableType()const -{ - return externalTableType_; +void CreateTableRequest::setIsView(int isView) { + isView_ = isView; + setParameter(std::string("IsView"), std::to_string(isView)); } -void CreateTableRequest::setExternalTableType(const std::string& externalTableType) -{ - externalTableType_ = externalTableType; - setParameter("ExternalTableType", externalTableType); +std::string CreateTableRequest::getExternalTableType() const { + return externalTableType_; } -std::string CreateTableRequest::getLocation()const -{ - return location_; +void CreateTableRequest::setExternalTableType(const std::string &externalTableType) { + externalTableType_ = externalTableType; + setParameter(std::string("ExternalTableType"), externalTableType); } -void CreateTableRequest::setLocation(const std::string& location) -{ - location_ = location; - setParameter("Location", location); +std::string CreateTableRequest::getLocation() const { + return location_; } -std::string CreateTableRequest::getComment()const -{ - return comment_; +void CreateTableRequest::setLocation(const std::string &location) { + location_ = location; + setParameter(std::string("Location"), location); } -void CreateTableRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setParameter("Comment", comment); +std::string CreateTableRequest::getComment() const { + return comment_; +} + +void CreateTableRequest::setComment(const std::string &comment) { + comment_ = comment; + setParameter(std::string("Comment"), comment); } diff --git a/dataworks-public/src/model/CreateTableThemeRequest.cc b/dataworks-public/src/model/CreateTableThemeRequest.cc index 20780bafb..2b6fcdff7 100644 --- a/dataworks-public/src/model/CreateTableThemeRequest.cc +++ b/dataworks-public/src/model/CreateTableThemeRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::CreateTableThemeRequest; - -CreateTableThemeRequest::CreateTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableTheme") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateTableThemeRequest::~CreateTableThemeRequest() -{} - -int CreateTableThemeRequest::getLevel()const -{ - return level_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateTableThemeRequest; + +CreateTableThemeRequest::CreateTableThemeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateTableTheme") { + setMethod(HttpRequest::Method::Post); } -void CreateTableThemeRequest::setLevel(int level) -{ - level_ = level; - setParameter("Level", std::to_string(level)); +CreateTableThemeRequest::~CreateTableThemeRequest() {} + +int CreateTableThemeRequest::getLevel() const { + return level_; } -std::string CreateTableThemeRequest::getName()const -{ - return name_; +void CreateTableThemeRequest::setLevel(int level) { + level_ = level; + setParameter(std::string("Level"), std::to_string(level)); } -void CreateTableThemeRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateTableThemeRequest::getName() const { + return name_; } -long CreateTableThemeRequest::getProjectId()const -{ - return projectId_; +void CreateTableThemeRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long CreateTableThemeRequest::getProjectId() const { + return projectId_; } -long CreateTableThemeRequest::getParentId()const -{ - return parentId_; +void CreateTableThemeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void CreateTableThemeRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setParameter("ParentId", std::to_string(parentId)); +long CreateTableThemeRequest::getParentId() const { + return parentId_; +} + +void CreateTableThemeRequest::setParentId(long parentId) { + parentId_ = parentId; + setParameter(std::string("ParentId"), std::to_string(parentId)); } diff --git a/dataworks-public/src/model/CreateUdfFileRequest.cc b/dataworks-public/src/model/CreateUdfFileRequest.cc index 750bc45df..d2d78d1cd 100644 --- a/dataworks-public/src/model/CreateUdfFileRequest.cc +++ b/dataworks-public/src/model/CreateUdfFileRequest.cc @@ -1,161 +1,135 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::CreateUdfFileRequest; + +CreateUdfFileRequest::CreateUdfFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "CreateUdfFile") { + setMethod(HttpRequest::Method::Post); } -void CreateUdfFileRequest::setReturnValue(const std::string& returnValue) -{ - returnValue_ = returnValue; - setBodyParameter("ReturnValue", returnValue); +CreateUdfFileRequest::~CreateUdfFileRequest() {} + +std::string CreateUdfFileRequest::getReturnValue() const { + return returnValue_; } -std::string CreateUdfFileRequest::getResources()const -{ - return resources_; +void CreateUdfFileRequest::setReturnValue(const std::string &returnValue) { + returnValue_ = returnValue; + setBodyParameter(std::string("ReturnValue"), returnValue); } -void CreateUdfFileRequest::setResources(const std::string& resources) -{ - resources_ = resources; - setBodyParameter("Resources", resources); +std::string CreateUdfFileRequest::getResources() const { + return resources_; } -std::string CreateUdfFileRequest::getFunctionType()const -{ - return functionType_; +void CreateUdfFileRequest::setResources(const std::string &resources) { + resources_ = resources; + setBodyParameter(std::string("Resources"), resources); } -void CreateUdfFileRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); +std::string CreateUdfFileRequest::getFunctionType() const { + return functionType_; } -std::string CreateUdfFileRequest::getCmdDescription()const -{ - return cmdDescription_; +void CreateUdfFileRequest::setFunctionType(const std::string &functionType) { + functionType_ = functionType; + setBodyParameter(std::string("FunctionType"), functionType); } -void CreateUdfFileRequest::setCmdDescription(const std::string& cmdDescription) -{ - cmdDescription_ = cmdDescription; - setBodyParameter("CmdDescription", cmdDescription); +std::string CreateUdfFileRequest::getCmdDescription() const { + return cmdDescription_; } -std::string CreateUdfFileRequest::getUdfDescription()const -{ - return udfDescription_; +void CreateUdfFileRequest::setCmdDescription(const std::string &cmdDescription) { + cmdDescription_ = cmdDescription; + setBodyParameter(std::string("CmdDescription"), cmdDescription); } -void CreateUdfFileRequest::setUdfDescription(const std::string& udfDescription) -{ - udfDescription_ = udfDescription; - setBodyParameter("UdfDescription", udfDescription); +std::string CreateUdfFileRequest::getUdfDescription() const { + return udfDescription_; } -std::string CreateUdfFileRequest::getParameterDescription()const -{ - return parameterDescription_; +void CreateUdfFileRequest::setUdfDescription(const std::string &udfDescription) { + udfDescription_ = udfDescription; + setBodyParameter(std::string("UdfDescription"), udfDescription); } -void CreateUdfFileRequest::setParameterDescription(const std::string& parameterDescription) -{ - parameterDescription_ = parameterDescription; - setBodyParameter("ParameterDescription", parameterDescription); +std::string CreateUdfFileRequest::getParameterDescription() const { + return parameterDescription_; } -std::string CreateUdfFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void CreateUdfFileRequest::setParameterDescription(const std::string ¶meterDescription) { + parameterDescription_ = parameterDescription; + setBodyParameter(std::string("ParameterDescription"), parameterDescription); } -void CreateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string CreateUdfFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -std::string CreateUdfFileRequest::getExample()const -{ - return example_; +void CreateUdfFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void CreateUdfFileRequest::setExample(const std::string& example) -{ - example_ = example; - setBodyParameter("Example", example); +std::string CreateUdfFileRequest::getExample() const { + return example_; } -std::string CreateUdfFileRequest::getFileName()const -{ - return fileName_; +void CreateUdfFileRequest::setExample(const std::string &example) { + example_ = example; + setBodyParameter(std::string("Example"), example); } -void CreateUdfFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); +std::string CreateUdfFileRequest::getFileName() const { + return fileName_; } -std::string CreateUdfFileRequest::getClassName()const -{ - return className_; +void CreateUdfFileRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setBodyParameter(std::string("FileName"), fileName); } -void CreateUdfFileRequest::setClassName(const std::string& className) -{ - className_ = className; - setBodyParameter("ClassName", className); +std::string CreateUdfFileRequest::getClassName() const { + return className_; } -std::string CreateUdfFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; +void CreateUdfFileRequest::setClassName(const std::string &className) { + className_ = className; + setBodyParameter(std::string("ClassName"), className); } -void CreateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); +std::string CreateUdfFileRequest::getFileFolderPath() const { + return fileFolderPath_; } -long CreateUdfFileRequest::getProjectId()const -{ - return projectId_; +void CreateUdfFileRequest::setFileFolderPath(const std::string &fileFolderPath) { + fileFolderPath_ = fileFolderPath; + setBodyParameter(std::string("FileFolderPath"), fileFolderPath); } -void CreateUdfFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long CreateUdfFileRequest::getProjectId() const { + return projectId_; +} + +void CreateUdfFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/DeleteBusinessRequest.cc b/dataworks-public/src/model/DeleteBusinessRequest.cc index b426266ef..f869c36ef 100644 --- a/dataworks-public/src/model/DeleteBusinessRequest.cc +++ b/dataworks-public/src/model/DeleteBusinessRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteBusinessRequest; + +DeleteBusinessRequest::DeleteBusinessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteBusiness") { + setMethod(HttpRequest::Method::Post); } -void DeleteBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); +DeleteBusinessRequest::~DeleteBusinessRequest() {} + +long DeleteBusinessRequest::getBusinessId() const { + return businessId_; } -long DeleteBusinessRequest::getProjectId()const -{ - return projectId_; +void DeleteBusinessRequest::setBusinessId(long businessId) { + businessId_ = businessId; + setBodyParameter(std::string("BusinessId"), std::to_string(businessId)); } -void DeleteBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long DeleteBusinessRequest::getProjectId() const { + return projectId_; } -std::string DeleteBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void DeleteBusinessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string DeleteBusinessRequest::getProjectIdentifier() const { + return projectIdentifier_; +} + +void DeleteBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } diff --git a/dataworks-public/src/model/DeleteConnectionRequest.cc b/dataworks-public/src/model/DeleteConnectionRequest.cc index 874c3c4fc..44166883d 100644 --- a/dataworks-public/src/model/DeleteConnectionRequest.cc +++ b/dataworks-public/src/model/DeleteConnectionRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest; - -DeleteConnectionRequest::DeleteConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteConnectionRequest::~DeleteConnectionRequest() -{} - -long DeleteConnectionRequest::getConnectionId()const -{ - return connectionId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteConnectionRequest; + +DeleteConnectionRequest::DeleteConnectionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteConnection") { + setMethod(HttpRequest::Method::Post); } -void DeleteConnectionRequest::setConnectionId(long connectionId) -{ - connectionId_ = connectionId; - setParameter("ConnectionId", std::to_string(connectionId)); +DeleteConnectionRequest::~DeleteConnectionRequest() {} + +long DeleteConnectionRequest::getConnectionId() const { + return connectionId_; +} + +void DeleteConnectionRequest::setConnectionId(long connectionId) { + connectionId_ = connectionId; + setParameter(std::string("ConnectionId"), std::to_string(connectionId)); } diff --git a/dataworks-public/src/model/DeleteDISyncTaskRequest.cc b/dataworks-public/src/model/DeleteDISyncTaskRequest.cc index 9e771af18..0a4b7fbe9 100644 --- a/dataworks-public/src/model/DeleteDISyncTaskRequest.cc +++ b/dataworks-public/src/model/DeleteDISyncTaskRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteDISyncTaskRequest; - -DeleteDISyncTaskRequest::DeleteDISyncTaskRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDISyncTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDISyncTaskRequest::~DeleteDISyncTaskRequest() -{} - -std::string DeleteDISyncTaskRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteDISyncTaskRequest; + +DeleteDISyncTaskRequest::DeleteDISyncTaskRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDISyncTask") { + setMethod(HttpRequest::Method::Post); } -void DeleteDISyncTaskRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +DeleteDISyncTaskRequest::~DeleteDISyncTaskRequest() {} + +std::string DeleteDISyncTaskRequest::getTaskType() const { + return taskType_; } -long DeleteDISyncTaskRequest::getProjectId()const -{ - return projectId_; +void DeleteDISyncTaskRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void DeleteDISyncTaskRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long DeleteDISyncTaskRequest::getProjectId() const { + return projectId_; } -long DeleteDISyncTaskRequest::getFileId()const -{ - return fileId_; +void DeleteDISyncTaskRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteDISyncTaskRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long DeleteDISyncTaskRequest::getFileId() const { + return fileId_; +} + +void DeleteDISyncTaskRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc b/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc index 87814349f..1e7b0acea 100644 --- a/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc +++ b/dataworks-public/src/model/DeleteDataServiceApiAuthorityRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiAuthorityRequest; - -DeleteDataServiceApiAuthorityRequest::DeleteDataServiceApiAuthorityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApiAuthority") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDataServiceApiAuthorityRequest::~DeleteDataServiceApiAuthorityRequest() -{} - -long DeleteDataServiceApiAuthorityRequest::getAuthorizedProjectId()const -{ - return authorizedProjectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiAuthorityRequest; + +DeleteDataServiceApiAuthorityRequest::DeleteDataServiceApiAuthorityRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApiAuthority") { + setMethod(HttpRequest::Method::Post); } -void DeleteDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) -{ - authorizedProjectId_ = authorizedProjectId; - setBodyParameter("AuthorizedProjectId", std::to_string(authorizedProjectId)); +DeleteDataServiceApiAuthorityRequest::~DeleteDataServiceApiAuthorityRequest() {} + +long DeleteDataServiceApiAuthorityRequest::getAuthorizedProjectId() const { + return authorizedProjectId_; } -long DeleteDataServiceApiAuthorityRequest::getTenantId()const -{ - return tenantId_; +void DeleteDataServiceApiAuthorityRequest::setAuthorizedProjectId(long authorizedProjectId) { + authorizedProjectId_ = authorizedProjectId; + setBodyParameter(std::string("AuthorizedProjectId"), std::to_string(authorizedProjectId)); } -void DeleteDataServiceApiAuthorityRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long DeleteDataServiceApiAuthorityRequest::getTenantId() const { + return tenantId_; } -long DeleteDataServiceApiAuthorityRequest::getProjectId()const -{ - return projectId_; +void DeleteDataServiceApiAuthorityRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void DeleteDataServiceApiAuthorityRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long DeleteDataServiceApiAuthorityRequest::getProjectId() const { + return projectId_; } -long DeleteDataServiceApiAuthorityRequest::getApiId()const -{ - return apiId_; +void DeleteDataServiceApiAuthorityRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteDataServiceApiAuthorityRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long DeleteDataServiceApiAuthorityRequest::getApiId() const { + return apiId_; +} + +void DeleteDataServiceApiAuthorityRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/DeleteDataServiceApiRequest.cc b/dataworks-public/src/model/DeleteDataServiceApiRequest.cc index 72d2a1f66..e09e5cd93 100644 --- a/dataworks-public/src/model/DeleteDataServiceApiRequest.cc +++ b/dataworks-public/src/model/DeleteDataServiceApiRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteDataServiceApiRequest; + +DeleteDataServiceApiRequest::DeleteDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataServiceApi") { + setMethod(HttpRequest::Method::Post); } -void DeleteDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +DeleteDataServiceApiRequest::~DeleteDataServiceApiRequest() {} + +long DeleteDataServiceApiRequest::getTenantId() const { + return tenantId_; } -long DeleteDataServiceApiRequest::getProjectId()const -{ - return projectId_; +void DeleteDataServiceApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void DeleteDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long DeleteDataServiceApiRequest::getProjectId() const { + return projectId_; } -long DeleteDataServiceApiRequest::getApiId()const -{ - return apiId_; +void DeleteDataServiceApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long DeleteDataServiceApiRequest::getApiId() const { + return apiId_; +} + +void DeleteDataServiceApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/DeleteDataServiceApiResult.cc b/dataworks-public/src/model/DeleteDataServiceApiResult.cc index a87492222..36107a54a 100644 --- a/dataworks-public/src/model/DeleteDataServiceApiResult.cc +++ b/dataworks-public/src/model/DeleteDataServiceApiResult.cc @@ -39,14 +39,14 @@ void DeleteDataServiceApiResult::parse(const std::string &payload) 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["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/dataworks-public/src/model/DeleteDataSourceRequest.cc b/dataworks-public/src/model/DeleteDataSourceRequest.cc index a615c99cf..c99cbcbc0 100644 --- a/dataworks-public/src/model/DeleteDataSourceRequest.cc +++ b/dataworks-public/src/model/DeleteDataSourceRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteDataSourceRequest; - -DeleteDataSourceRequest::DeleteDataSourceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataSource") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteDataSourceRequest::~DeleteDataSourceRequest() -{} - -long DeleteDataSourceRequest::getDataSourceId()const -{ - return dataSourceId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteDataSourceRequest; + +DeleteDataSourceRequest::DeleteDataSourceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteDataSource") { + setMethod(HttpRequest::Method::Post); } -void DeleteDataSourceRequest::setDataSourceId(long dataSourceId) -{ - dataSourceId_ = dataSourceId; - setParameter("DataSourceId", std::to_string(dataSourceId)); +DeleteDataSourceRequest::~DeleteDataSourceRequest() {} + +long DeleteDataSourceRequest::getDataSourceId() const { + return dataSourceId_; +} + +void DeleteDataSourceRequest::setDataSourceId(long dataSourceId) { + dataSourceId_ = dataSourceId; + setParameter(std::string("DataSourceId"), std::to_string(dataSourceId)); } diff --git a/dataworks-public/src/model/DeleteDataSourceResult.cc b/dataworks-public/src/model/DeleteDataSourceResult.cc index 8ed440af8..398efe02b 100644 --- a/dataworks-public/src/model/DeleteDataSourceResult.cc +++ b/dataworks-public/src/model/DeleteDataSourceResult.cc @@ -39,12 +39,12 @@ void DeleteDataSourceResult::parse(const std::string &payload) 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"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/DeleteFileRequest.cc b/dataworks-public/src/model/DeleteFileRequest.cc index c641b357c..ff200c002 100644 --- a/dataworks-public/src/model/DeleteFileRequest.cc +++ b/dataworks-public/src/model/DeleteFileRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest; - -DeleteFileRequest::DeleteFileRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteFileRequest::~DeleteFileRequest() -{} - -long DeleteFileRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteFileRequest; + +DeleteFileRequest::DeleteFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFile") { + setMethod(HttpRequest::Method::Post); } -void DeleteFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +DeleteFileRequest::~DeleteFileRequest() {} + +long DeleteFileRequest::getProjectId() const { + return projectId_; } -std::string DeleteFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void DeleteFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string DeleteFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -long DeleteFileRequest::getFileId()const -{ - return fileId_; +void DeleteFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void DeleteFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long DeleteFileRequest::getFileId() const { + return fileId_; +} + +void DeleteFileRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/DeleteFolderRequest.cc b/dataworks-public/src/model/DeleteFolderRequest.cc index ffd5b296d..01e303a60 100644 --- a/dataworks-public/src/model/DeleteFolderRequest.cc +++ b/dataworks-public/src/model/DeleteFolderRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteFolderRequest; + +DeleteFolderRequest::DeleteFolderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFolder") { + setMethod(HttpRequest::Method::Post); } -void DeleteFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +DeleteFolderRequest::~DeleteFolderRequest() {} + +long DeleteFolderRequest::getProjectId() const { + return projectId_; } -std::string DeleteFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void DeleteFolderRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string DeleteFolderRequest::getProjectIdentifier() const { + return projectIdentifier_; } -std::string DeleteFolderRequest::getFolderId()const -{ - return folderId_; +void DeleteFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void DeleteFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); +std::string DeleteFolderRequest::getFolderId() const { + return folderId_; +} + +void DeleteFolderRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setBodyParameter(std::string("FolderId"), folderId); } diff --git a/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc b/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc index 9628f6755..e757814d0 100644 --- a/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc +++ b/dataworks-public/src/model/DeleteFromMetaCategoryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteFromMetaCategoryRequest; + +DeleteFromMetaCategoryRequest::DeleteFromMetaCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteFromMetaCategory") { + setMethod(HttpRequest::Method::Post); } -void DeleteFromMetaCategoryRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +DeleteFromMetaCategoryRequest::~DeleteFromMetaCategoryRequest() {} + +std::string DeleteFromMetaCategoryRequest::getTableGuid() const { + return tableGuid_; } -long DeleteFromMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; +void DeleteFromMetaCategoryRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +long DeleteFromMetaCategoryRequest::getCategoryId() const { + return categoryId_; +} + +void DeleteFromMetaCategoryRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } diff --git a/dataworks-public/src/model/DeleteMetaCategoryRequest.cc b/dataworks-public/src/model/DeleteMetaCategoryRequest.cc index 774ca5756..49dd31d2e 100644 --- a/dataworks-public/src/model/DeleteMetaCategoryRequest.cc +++ b/dataworks-public/src/model/DeleteMetaCategoryRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteMetaCategoryRequest; + +DeleteMetaCategoryRequest::DeleteMetaCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteMetaCategory") { + setMethod(HttpRequest::Method::Get); } -void DeleteMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +DeleteMetaCategoryRequest::~DeleteMetaCategoryRequest() {} + +long DeleteMetaCategoryRequest::getCategoryId() const { + return categoryId_; +} + +void DeleteMetaCategoryRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } diff --git a/dataworks-public/src/model/DeleteProjectMemberRequest.cc b/dataworks-public/src/model/DeleteProjectMemberRequest.cc index 6b67adadd..bedd87f1d 100644 --- a/dataworks-public/src/model/DeleteProjectMemberRequest.cc +++ b/dataworks-public/src/model/DeleteProjectMemberRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteProjectMemberRequest; + +DeleteProjectMemberRequest::DeleteProjectMemberRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteProjectMember") { + setMethod(HttpRequest::Method::Post); } -void DeleteProjectMemberRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +DeleteProjectMemberRequest::~DeleteProjectMemberRequest() {} + +long DeleteProjectMemberRequest::getProjectId() const { + return projectId_; } -std::string DeleteProjectMemberRequest::getUserId()const -{ - return userId_; +void DeleteProjectMemberRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeleteProjectMemberRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string DeleteProjectMemberRequest::getUserId() const { + return userId_; +} + +void DeleteProjectMemberRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } diff --git a/dataworks-public/src/model/DeleteQualityEntityRequest.cc b/dataworks-public/src/model/DeleteQualityEntityRequest.cc index be9248b60..2c1c02931 100644 --- a/dataworks-public/src/model/DeleteQualityEntityRequest.cc +++ b/dataworks-public/src/model/DeleteQualityEntityRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteQualityEntityRequest; + +DeleteQualityEntityRequest::DeleteQualityEntityRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityEntity") { + setMethod(HttpRequest::Method::Post); } -void DeleteQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +DeleteQualityEntityRequest::~DeleteQualityEntityRequest() {} + +std::string DeleteQualityEntityRequest::getProjectName() const { + return projectName_; } -std::string DeleteQualityEntityRequest::getEnvType()const -{ - return envType_; +void DeleteQualityEntityRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void DeleteQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); +std::string DeleteQualityEntityRequest::getEnvType() const { + return envType_; } -long DeleteQualityEntityRequest::getEntityId()const -{ - return entityId_; +void DeleteQualityEntityRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), envType); } -void DeleteQualityEntityRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +long DeleteQualityEntityRequest::getEntityId() const { + return entityId_; +} + +void DeleteQualityEntityRequest::setEntityId(long entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } diff --git a/dataworks-public/src/model/DeleteQualityFollowerRequest.cc b/dataworks-public/src/model/DeleteQualityFollowerRequest.cc index fd2f43410..5f8409f03 100644 --- a/dataworks-public/src/model/DeleteQualityFollowerRequest.cc +++ b/dataworks-public/src/model/DeleteQualityFollowerRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteQualityFollowerRequest; + +DeleteQualityFollowerRequest::DeleteQualityFollowerRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityFollower") { + setMethod(HttpRequest::Method::Post); } -void DeleteQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +DeleteQualityFollowerRequest::~DeleteQualityFollowerRequest() {} + +std::string DeleteQualityFollowerRequest::getProjectName() const { + return projectName_; } -long DeleteQualityFollowerRequest::getFollowerId()const -{ - return followerId_; +void DeleteQualityFollowerRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void DeleteQualityFollowerRequest::setFollowerId(long followerId) -{ - followerId_ = followerId; - setBodyParameter("FollowerId", std::to_string(followerId)); +long DeleteQualityFollowerRequest::getFollowerId() const { + return followerId_; +} + +void DeleteQualityFollowerRequest::setFollowerId(long followerId) { + followerId_ = followerId; + setBodyParameter(std::string("FollowerId"), std::to_string(followerId)); } diff --git a/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc b/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc index db27f6bb8..04455a058 100644 --- a/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc +++ b/dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteQualityRelativeNodeRequest; + +DeleteQualityRelativeNodeRequest::DeleteQualityRelativeNodeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRelativeNode") { + setMethod(HttpRequest::Method::Post); } -void DeleteQualityRelativeNodeRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +DeleteQualityRelativeNodeRequest::~DeleteQualityRelativeNodeRequest() {} + +std::string DeleteQualityRelativeNodeRequest::getProjectName() const { + return projectName_; } -long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId()const -{ - return targetNodeProjectId_; +void DeleteQualityRelativeNodeRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) -{ - targetNodeProjectId_ = targetNodeProjectId; - setBodyParameter("TargetNodeProjectId", std::to_string(targetNodeProjectId)); +long DeleteQualityRelativeNodeRequest::getTargetNodeProjectId() const { + return targetNodeProjectId_; } -std::string DeleteQualityRelativeNodeRequest::getMatchExpression()const -{ - return matchExpression_; +void DeleteQualityRelativeNodeRequest::setTargetNodeProjectId(long targetNodeProjectId) { + targetNodeProjectId_ = targetNodeProjectId; + setBodyParameter(std::string("TargetNodeProjectId"), std::to_string(targetNodeProjectId)); } -void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); +std::string DeleteQualityRelativeNodeRequest::getMatchExpression() const { + return matchExpression_; } -std::string DeleteQualityRelativeNodeRequest::getEnvType()const -{ - return envType_; +void DeleteQualityRelativeNodeRequest::setMatchExpression(const std::string &matchExpression) { + matchExpression_ = matchExpression; + setBodyParameter(std::string("MatchExpression"), matchExpression); } -void DeleteQualityRelativeNodeRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); +std::string DeleteQualityRelativeNodeRequest::getEnvType() const { + return envType_; } -std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName()const -{ - return targetNodeProjectName_; +void DeleteQualityRelativeNodeRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), envType); } -void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string& targetNodeProjectName) -{ - targetNodeProjectName_ = targetNodeProjectName; - setBodyParameter("TargetNodeProjectName", targetNodeProjectName); +std::string DeleteQualityRelativeNodeRequest::getTargetNodeProjectName() const { + return targetNodeProjectName_; } -std::string DeleteQualityRelativeNodeRequest::getTableName()const -{ - return tableName_; +void DeleteQualityRelativeNodeRequest::setTargetNodeProjectName(const std::string &targetNodeProjectName) { + targetNodeProjectName_ = targetNodeProjectName; + setBodyParameter(std::string("TargetNodeProjectName"), targetNodeProjectName); } -void DeleteQualityRelativeNodeRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); +std::string DeleteQualityRelativeNodeRequest::getTableName() const { + return tableName_; } -long DeleteQualityRelativeNodeRequest::getNodeId()const -{ - return nodeId_; +void DeleteQualityRelativeNodeRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setBodyParameter(std::string("TableName"), tableName); } -void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long DeleteQualityRelativeNodeRequest::getNodeId() const { + return nodeId_; } -long DeleteQualityRelativeNodeRequest::getProjectId()const -{ - return projectId_; +void DeleteQualityRelativeNodeRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void DeleteQualityRelativeNodeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long DeleteQualityRelativeNodeRequest::getProjectId() const { + return projectId_; +} + +void DeleteQualityRelativeNodeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/DeleteQualityRuleRequest.cc b/dataworks-public/src/model/DeleteQualityRuleRequest.cc index 84480c6d6..d4e8456da 100644 --- a/dataworks-public/src/model/DeleteQualityRuleRequest.cc +++ b/dataworks-public/src/model/DeleteQualityRuleRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteQualityRuleRequest; + +DeleteQualityRuleRequest::DeleteQualityRuleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteQualityRule") { + setMethod(HttpRequest::Method::Post); } -void DeleteQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +DeleteQualityRuleRequest::~DeleteQualityRuleRequest() {} + +std::string DeleteQualityRuleRequest::getProjectName() const { + return projectName_; } -long DeleteQualityRuleRequest::getRuleId()const -{ - return ruleId_; +void DeleteQualityRuleRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void DeleteQualityRuleRequest::setRuleId(long ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); +long DeleteQualityRuleRequest::getRuleId() const { + return ruleId_; +} + +void DeleteQualityRuleRequest::setRuleId(long ruleId) { + ruleId_ = ruleId; + setBodyParameter(std::string("RuleId"), std::to_string(ruleId)); } diff --git a/dataworks-public/src/model/DeleteRemindRequest.cc b/dataworks-public/src/model/DeleteRemindRequest.cc index d861e8e36..c48e80f05 100644 --- a/dataworks-public/src/model/DeleteRemindRequest.cc +++ b/dataworks-public/src/model/DeleteRemindRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteRemindRequest; + +DeleteRemindRequest::DeleteRemindRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteRemind") { + setMethod(HttpRequest::Method::Post); } -void DeleteRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); +DeleteRemindRequest::~DeleteRemindRequest() {} + +long DeleteRemindRequest::getRemindId() const { + return remindId_; +} + +void DeleteRemindRequest::setRemindId(long remindId) { + remindId_ = remindId; + setBodyParameter(std::string("RemindId"), std::to_string(remindId)); } diff --git a/dataworks-public/src/model/DeleteTableLevelRequest.cc b/dataworks-public/src/model/DeleteTableLevelRequest.cc index d2e6607de..cd0f39635 100644 --- a/dataworks-public/src/model/DeleteTableLevelRequest.cc +++ b/dataworks-public/src/model/DeleteTableLevelRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteTableLevelRequest; - -DeleteTableLevelRequest::DeleteTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableLevel") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTableLevelRequest::~DeleteTableLevelRequest() -{} - -long DeleteTableLevelRequest::getLevelId()const -{ - return levelId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteTableLevelRequest; + +DeleteTableLevelRequest::DeleteTableLevelRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableLevel") { + setMethod(HttpRequest::Method::Post); } -void DeleteTableLevelRequest::setLevelId(long levelId) -{ - levelId_ = levelId; - setParameter("LevelId", std::to_string(levelId)); +DeleteTableLevelRequest::~DeleteTableLevelRequest() {} + +long DeleteTableLevelRequest::getLevelId() const { + return levelId_; } -long DeleteTableLevelRequest::getProjectId()const -{ - return projectId_; +void DeleteTableLevelRequest::setLevelId(long levelId) { + levelId_ = levelId; + setParameter(std::string("LevelId"), std::to_string(levelId)); } -void DeleteTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long DeleteTableLevelRequest::getProjectId() const { + return projectId_; +} + +void DeleteTableLevelRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/DeleteTableRequest.cc b/dataworks-public/src/model/DeleteTableRequest.cc index fbf674c26..390ea1318 100644 --- a/dataworks-public/src/model/DeleteTableRequest.cc +++ b/dataworks-public/src/model/DeleteTableRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteTableRequest; - -DeleteTableRequest::DeleteTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTable") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTableRequest::~DeleteTableRequest() -{} - -int DeleteTableRequest::getEnvType()const -{ - return envType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteTableRequest; + +DeleteTableRequest::DeleteTableRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTable") { + setMethod(HttpRequest::Method::Post); } -void DeleteTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +DeleteTableRequest::~DeleteTableRequest() {} + +int DeleteTableRequest::getEnvType() const { + return envType_; } -std::string DeleteTableRequest::getTableName()const -{ - return tableName_; +void DeleteTableRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void DeleteTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string DeleteTableRequest::getTableName() const { + return tableName_; } -std::string DeleteTableRequest::getAppGuid()const -{ - return appGuid_; +void DeleteTableRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void DeleteTableRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); +std::string DeleteTableRequest::getAppGuid() const { + return appGuid_; } -long DeleteTableRequest::getProjectId()const -{ - return projectId_; +void DeleteTableRequest::setAppGuid(const std::string &appGuid) { + appGuid_ = appGuid; + setParameter(std::string("AppGuid"), appGuid); } -void DeleteTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long DeleteTableRequest::getProjectId() const { + return projectId_; +} + +void DeleteTableRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/DeleteTableThemeRequest.cc b/dataworks-public/src/model/DeleteTableThemeRequest.cc index 7fe092ec8..c5bc41358 100644 --- a/dataworks-public/src/model/DeleteTableThemeRequest.cc +++ b/dataworks-public/src/model/DeleteTableThemeRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeleteTableThemeRequest; - -DeleteTableThemeRequest::DeleteTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableTheme") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteTableThemeRequest::~DeleteTableThemeRequest() -{} - -long DeleteTableThemeRequest::getThemeId()const -{ - return themeId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeleteTableThemeRequest; + +DeleteTableThemeRequest::DeleteTableThemeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeleteTableTheme") { + setMethod(HttpRequest::Method::Post); } -void DeleteTableThemeRequest::setThemeId(long themeId) -{ - themeId_ = themeId; - setParameter("ThemeId", std::to_string(themeId)); +DeleteTableThemeRequest::~DeleteTableThemeRequest() {} + +long DeleteTableThemeRequest::getThemeId() const { + return themeId_; } -long DeleteTableThemeRequest::getProjectId()const -{ - return projectId_; +void DeleteTableThemeRequest::setThemeId(long themeId) { + themeId_ = themeId; + setParameter(std::string("ThemeId"), std::to_string(themeId)); } -void DeleteTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long DeleteTableThemeRequest::getProjectId() const { + return projectId_; +} + +void DeleteTableThemeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/DeployDISyncTaskRequest.cc b/dataworks-public/src/model/DeployDISyncTaskRequest.cc index 86558a68c..f963e9ff9 100644 --- a/dataworks-public/src/model/DeployDISyncTaskRequest.cc +++ b/dataworks-public/src/model/DeployDISyncTaskRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DeployDISyncTaskRequest; - -DeployDISyncTaskRequest::DeployDISyncTaskRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DeployDISyncTask") -{ - setMethod(HttpRequest::Method::Post); -} - -DeployDISyncTaskRequest::~DeployDISyncTaskRequest() -{} - -std::string DeployDISyncTaskRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeployDISyncTaskRequest; + +DeployDISyncTaskRequest::DeployDISyncTaskRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeployDISyncTask") { + setMethod(HttpRequest::Method::Post); } -void DeployDISyncTaskRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +DeployDISyncTaskRequest::~DeployDISyncTaskRequest() {} + +std::string DeployDISyncTaskRequest::getTaskType() const { + return taskType_; } -long DeployDISyncTaskRequest::getProjectId()const -{ - return projectId_; +void DeployDISyncTaskRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void DeployDISyncTaskRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long DeployDISyncTaskRequest::getProjectId() const { + return projectId_; } -long DeployDISyncTaskRequest::getFileId()const -{ - return fileId_; +void DeployDISyncTaskRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeployDISyncTaskRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long DeployDISyncTaskRequest::getFileId() const { + return fileId_; +} + +void DeployDISyncTaskRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/DeployFileRequest.cc b/dataworks-public/src/model/DeployFileRequest.cc index 7285985f4..19eed0758 100644 --- a/dataworks-public/src/model/DeployFileRequest.cc +++ b/dataworks-public/src/model/DeployFileRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DeployFileRequest; + +DeployFileRequest::DeployFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DeployFile") { + setMethod(HttpRequest::Method::Post); } -void DeployFileRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); +DeployFileRequest::~DeployFileRequest() {} + +std::string DeployFileRequest::getComment() const { + return comment_; } -long DeployFileRequest::getProjectId()const -{ - return projectId_; +void DeployFileRequest::setComment(const std::string &comment) { + comment_ = comment; + setBodyParameter(std::string("Comment"), comment); } -void DeployFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long DeployFileRequest::getProjectId() const { + return projectId_; } -long DeployFileRequest::getNodeId()const -{ - return nodeId_; +void DeployFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void DeployFileRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long DeployFileRequest::getNodeId() const { + return nodeId_; } -std::string DeployFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void DeployFileRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void DeployFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string DeployFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -long DeployFileRequest::getFileId()const -{ - return fileId_; +void DeployFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void DeployFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long DeployFileRequest::getFileId() const { + return fileId_; +} + +void DeployFileRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/DesensitizeDataRequest.cc b/dataworks-public/src/model/DesensitizeDataRequest.cc index c4f30604b..0183096d5 100644 --- a/dataworks-public/src/model/DesensitizeDataRequest.cc +++ b/dataworks-public/src/model/DesensitizeDataRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::DesensitizeDataRequest; - -DesensitizeDataRequest::DesensitizeDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "DesensitizeData") -{ - setMethod(HttpRequest::Method::Get); -} - -DesensitizeDataRequest::~DesensitizeDataRequest() -{} - -std::string DesensitizeDataRequest::getSceneCode()const -{ - return sceneCode_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::DesensitizeDataRequest; + +DesensitizeDataRequest::DesensitizeDataRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "DesensitizeData") { + setMethod(HttpRequest::Method::Get); } -void DesensitizeDataRequest::setSceneCode(const std::string& sceneCode) -{ - sceneCode_ = sceneCode; - setBodyParameter("SceneCode", sceneCode); +DesensitizeDataRequest::~DesensitizeDataRequest() {} + +std::string DesensitizeDataRequest::getSceneCode() const { + return sceneCode_; } -std::string DesensitizeDataRequest::getData()const -{ - return data_; +void DesensitizeDataRequest::setSceneCode(const std::string &sceneCode) { + sceneCode_ = sceneCode; + setBodyParameter(std::string("SceneCode"), sceneCode); } -void DesensitizeDataRequest::setData(const std::string& data) -{ - data_ = data; - setBodyParameter("Data", data); +std::string DesensitizeDataRequest::getData() const { + return data_; +} + +void DesensitizeDataRequest::setData(const std::string &data) { + data_ = data; + setBodyParameter(std::string("Data"), data); } diff --git a/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc b/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc index 2840949d9..22b2750eb 100644 --- a/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc +++ b/dataworks-public/src/model/EstablishRelationTableToBusinessRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::EstablishRelationTableToBusinessRequest; + +EstablishRelationTableToBusinessRequest::EstablishRelationTableToBusinessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "EstablishRelationTableToBusiness") { + setMethod(HttpRequest::Method::Post); } -void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setBodyParameter("TableGuid", tableGuid); +EstablishRelationTableToBusinessRequest::~EstablishRelationTableToBusinessRequest() {} + +std::string EstablishRelationTableToBusinessRequest::getTableGuid() const { + return tableGuid_; } -std::string EstablishRelationTableToBusinessRequest::getBusinessId()const -{ - return businessId_; +void EstablishRelationTableToBusinessRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setBodyParameter(std::string("TableGuid"), tableGuid); } -void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string& businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", businessId); +std::string EstablishRelationTableToBusinessRequest::getBusinessId() const { + return businessId_; } -long EstablishRelationTableToBusinessRequest::getProjectId()const -{ - return projectId_; +void EstablishRelationTableToBusinessRequest::setBusinessId(const std::string &businessId) { + businessId_ = businessId; + setBodyParameter(std::string("BusinessId"), businessId); } -void EstablishRelationTableToBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long EstablishRelationTableToBusinessRequest::getProjectId() const { + return projectId_; } -std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void EstablishRelationTableToBusinessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string EstablishRelationTableToBusinessRequest::getProjectIdentifier() const { + return projectIdentifier_; } -std::string EstablishRelationTableToBusinessRequest::getFolderId()const -{ - return folderId_; +void EstablishRelationTableToBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void EstablishRelationTableToBusinessRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); +std::string EstablishRelationTableToBusinessRequest::getFolderId() const { + return folderId_; +} + +void EstablishRelationTableToBusinessRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setBodyParameter(std::string("FolderId"), folderId); } diff --git a/dataworks-public/src/model/ExportDataSourcesRequest.cc b/dataworks-public/src/model/ExportDataSourcesRequest.cc index b0fe6c6f5..ea461b8c1 100644 --- a/dataworks-public/src/model/ExportDataSourcesRequest.cc +++ b/dataworks-public/src/model/ExportDataSourcesRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ExportDataSourcesRequest; - -ExportDataSourcesRequest::ExportDataSourcesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ExportDataSources") -{ - setMethod(HttpRequest::Method::Get); -} - -ExportDataSourcesRequest::~ExportDataSourcesRequest() -{} - -std::string ExportDataSourcesRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ExportDataSourcesRequest; + +ExportDataSourcesRequest::ExportDataSourcesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ExportDataSources") { + setMethod(HttpRequest::Method::Get); } -void ExportDataSourcesRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +ExportDataSourcesRequest::~ExportDataSourcesRequest() {} + +std::string ExportDataSourcesRequest::getDataSourceType() const { + return dataSourceType_; } -int ExportDataSourcesRequest::getPageNumber()const -{ - return pageNumber_; +void ExportDataSourcesRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void ExportDataSourcesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ExportDataSourcesRequest::getPageNumber() const { + return pageNumber_; } -std::string ExportDataSourcesRequest::getSubType()const -{ - return subType_; +void ExportDataSourcesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ExportDataSourcesRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); +std::string ExportDataSourcesRequest::getSubType() const { + return subType_; } -std::string ExportDataSourcesRequest::getName()const -{ - return name_; +void ExportDataSourcesRequest::setSubType(const std::string &subType) { + subType_ = subType; + setParameter(std::string("SubType"), subType); } -void ExportDataSourcesRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string ExportDataSourcesRequest::getName() const { + return name_; } -int ExportDataSourcesRequest::getEnvType()const -{ - return envType_; +void ExportDataSourcesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void ExportDataSourcesRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +int ExportDataSourcesRequest::getEnvType() const { + return envType_; } -int ExportDataSourcesRequest::getPageSize()const -{ - return pageSize_; +void ExportDataSourcesRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void ExportDataSourcesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ExportDataSourcesRequest::getPageSize() const { + return pageSize_; } -long ExportDataSourcesRequest::getProjectId()const -{ - return projectId_; +void ExportDataSourcesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ExportDataSourcesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ExportDataSourcesRequest::getProjectId() const { + return projectId_; +} + +void ExportDataSourcesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GenerateDISyncTaskConfigForCreatingRequest.cc b/dataworks-public/src/model/GenerateDISyncTaskConfigForCreatingRequest.cc index 783ba35d0..da28216aa 100644 --- a/dataworks-public/src/model/GenerateDISyncTaskConfigForCreatingRequest.cc +++ b/dataworks-public/src/model/GenerateDISyncTaskConfigForCreatingRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForCreatingRequest; - -GenerateDISyncTaskConfigForCreatingRequest::GenerateDISyncTaskConfigForCreatingRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForCreating") -{ - setMethod(HttpRequest::Method::Post); -} - -GenerateDISyncTaskConfigForCreatingRequest::~GenerateDISyncTaskConfigForCreatingRequest() -{} - -std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForCreatingRequest; + +GenerateDISyncTaskConfigForCreatingRequest::GenerateDISyncTaskConfigForCreatingRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForCreating") { + setMethod(HttpRequest::Method::Post); } -void GenerateDISyncTaskConfigForCreatingRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +GenerateDISyncTaskConfigForCreatingRequest::~GenerateDISyncTaskConfigForCreatingRequest() {} + +std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskType() const { + return taskType_; } -std::string GenerateDISyncTaskConfigForCreatingRequest::getClientToken()const -{ - return clientToken_; +void GenerateDISyncTaskConfigForCreatingRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void GenerateDISyncTaskConfigForCreatingRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +std::string GenerateDISyncTaskConfigForCreatingRequest::getClientToken() const { + return clientToken_; } -std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskParam()const -{ - return taskParam_; +void GenerateDISyncTaskConfigForCreatingRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void GenerateDISyncTaskConfigForCreatingRequest::setTaskParam(const std::string& taskParam) -{ - taskParam_ = taskParam; - setParameter("TaskParam", taskParam); +std::string GenerateDISyncTaskConfigForCreatingRequest::getTaskParam() const { + return taskParam_; } -long GenerateDISyncTaskConfigForCreatingRequest::getProjectId()const -{ - return projectId_; +void GenerateDISyncTaskConfigForCreatingRequest::setTaskParam(const std::string &taskParam) { + taskParam_ = taskParam; + setParameter(std::string("TaskParam"), taskParam); } -void GenerateDISyncTaskConfigForCreatingRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long GenerateDISyncTaskConfigForCreatingRequest::getProjectId() const { + return projectId_; +} + +void GenerateDISyncTaskConfigForCreatingRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GenerateDISyncTaskConfigForUpdatingRequest.cc b/dataworks-public/src/model/GenerateDISyncTaskConfigForUpdatingRequest.cc index f1f28fcfe..3de213155 100644 --- a/dataworks-public/src/model/GenerateDISyncTaskConfigForUpdatingRequest.cc +++ b/dataworks-public/src/model/GenerateDISyncTaskConfigForUpdatingRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForUpdatingRequest; - -GenerateDISyncTaskConfigForUpdatingRequest::GenerateDISyncTaskConfigForUpdatingRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForUpdating") -{ - setMethod(HttpRequest::Method::Post); -} - -GenerateDISyncTaskConfigForUpdatingRequest::~GenerateDISyncTaskConfigForUpdatingRequest() -{} - -std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GenerateDISyncTaskConfigForUpdatingRequest; + +GenerateDISyncTaskConfigForUpdatingRequest::GenerateDISyncTaskConfigForUpdatingRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GenerateDISyncTaskConfigForUpdating") { + setMethod(HttpRequest::Method::Post); } -void GenerateDISyncTaskConfigForUpdatingRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +GenerateDISyncTaskConfigForUpdatingRequest::~GenerateDISyncTaskConfigForUpdatingRequest() {} + +std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskType() const { + return taskType_; } -std::string GenerateDISyncTaskConfigForUpdatingRequest::getClientToken()const -{ - return clientToken_; +void GenerateDISyncTaskConfigForUpdatingRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void GenerateDISyncTaskConfigForUpdatingRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); +std::string GenerateDISyncTaskConfigForUpdatingRequest::getClientToken() const { + return clientToken_; } -std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskParam()const -{ - return taskParam_; +void GenerateDISyncTaskConfigForUpdatingRequest::setClientToken(const std::string &clientToken) { + clientToken_ = clientToken; + setParameter(std::string("ClientToken"), clientToken); } -void GenerateDISyncTaskConfigForUpdatingRequest::setTaskParam(const std::string& taskParam) -{ - taskParam_ = taskParam; - setParameter("TaskParam", taskParam); +std::string GenerateDISyncTaskConfigForUpdatingRequest::getTaskParam() const { + return taskParam_; } -long GenerateDISyncTaskConfigForUpdatingRequest::getProjectId()const -{ - return projectId_; +void GenerateDISyncTaskConfigForUpdatingRequest::setTaskParam(const std::string &taskParam) { + taskParam_ = taskParam; + setParameter(std::string("TaskParam"), taskParam); } -void GenerateDISyncTaskConfigForUpdatingRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long GenerateDISyncTaskConfigForUpdatingRequest::getProjectId() const { + return projectId_; } -long GenerateDISyncTaskConfigForUpdatingRequest::getTaskId()const -{ - return taskId_; +void GenerateDISyncTaskConfigForUpdatingRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GenerateDISyncTaskConfigForUpdatingRequest::setTaskId(long taskId) -{ - taskId_ = taskId; - setParameter("TaskId", std::to_string(taskId)); +long GenerateDISyncTaskConfigForUpdatingRequest::getTaskId() const { + return taskId_; +} + +void GenerateDISyncTaskConfigForUpdatingRequest::setTaskId(long taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), std::to_string(taskId)); } diff --git a/dataworks-public/src/model/GetBaselineConfigRequest.cc b/dataworks-public/src/model/GetBaselineConfigRequest.cc index 79cdf0151..08c27fb0c 100644 --- a/dataworks-public/src/model/GetBaselineConfigRequest.cc +++ b/dataworks-public/src/model/GetBaselineConfigRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetBaselineConfigRequest; + +GetBaselineConfigRequest::GetBaselineConfigRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineConfig") { + setMethod(HttpRequest::Method::Post); } -void GetBaselineConfigRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); +GetBaselineConfigRequest::~GetBaselineConfigRequest() {} + +long GetBaselineConfigRequest::getBaselineId() const { + return baselineId_; +} + +void GetBaselineConfigRequest::setBaselineId(long baselineId) { + baselineId_ = baselineId; + setBodyParameter(std::string("BaselineId"), std::to_string(baselineId)); } diff --git a/dataworks-public/src/model/GetBaselineKeyPathRequest.cc b/dataworks-public/src/model/GetBaselineKeyPathRequest.cc index 094c22e15..2cb09b629 100644 --- a/dataworks-public/src/model/GetBaselineKeyPathRequest.cc +++ b/dataworks-public/src/model/GetBaselineKeyPathRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetBaselineKeyPathRequest; + +GetBaselineKeyPathRequest::GetBaselineKeyPathRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineKeyPath") { + setMethod(HttpRequest::Method::Post); } -void GetBaselineKeyPathRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +GetBaselineKeyPathRequest::~GetBaselineKeyPathRequest() {} + +std::string GetBaselineKeyPathRequest::getBizdate() const { + return bizdate_; } -int GetBaselineKeyPathRequest::getInGroupId()const -{ - return inGroupId_; +void GetBaselineKeyPathRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void GetBaselineKeyPathRequest::setInGroupId(int inGroupId) -{ - inGroupId_ = inGroupId; - setBodyParameter("InGroupId", std::to_string(inGroupId)); +int GetBaselineKeyPathRequest::getInGroupId() const { + return inGroupId_; } -long GetBaselineKeyPathRequest::getBaselineId()const -{ - return baselineId_; +void GetBaselineKeyPathRequest::setInGroupId(int inGroupId) { + inGroupId_ = inGroupId; + setBodyParameter(std::string("InGroupId"), std::to_string(inGroupId)); } -void GetBaselineKeyPathRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); +long GetBaselineKeyPathRequest::getBaselineId() const { + return baselineId_; +} + +void GetBaselineKeyPathRequest::setBaselineId(long baselineId) { + baselineId_ = baselineId; + setBodyParameter(std::string("BaselineId"), std::to_string(baselineId)); } diff --git a/dataworks-public/src/model/GetBaselineStatusRequest.cc b/dataworks-public/src/model/GetBaselineStatusRequest.cc index 7c98efd9f..5dcae10f7 100644 --- a/dataworks-public/src/model/GetBaselineStatusRequest.cc +++ b/dataworks-public/src/model/GetBaselineStatusRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetBaselineStatusRequest; + +GetBaselineStatusRequest::GetBaselineStatusRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetBaselineStatus") { + setMethod(HttpRequest::Method::Post); } -void GetBaselineStatusRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +GetBaselineStatusRequest::~GetBaselineStatusRequest() {} + +std::string GetBaselineStatusRequest::getBizdate() const { + return bizdate_; } -int GetBaselineStatusRequest::getInGroupId()const -{ - return inGroupId_; +void GetBaselineStatusRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void GetBaselineStatusRequest::setInGroupId(int inGroupId) -{ - inGroupId_ = inGroupId; - setBodyParameter("InGroupId", std::to_string(inGroupId)); +int GetBaselineStatusRequest::getInGroupId() const { + return inGroupId_; } -long GetBaselineStatusRequest::getBaselineId()const -{ - return baselineId_; +void GetBaselineStatusRequest::setInGroupId(int inGroupId) { + inGroupId_ = inGroupId; + setBodyParameter(std::string("InGroupId"), std::to_string(inGroupId)); } -void GetBaselineStatusRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); +long GetBaselineStatusRequest::getBaselineId() const { + return baselineId_; +} + +void GetBaselineStatusRequest::setBaselineId(long baselineId) { + baselineId_ = baselineId; + setBodyParameter(std::string("BaselineId"), std::to_string(baselineId)); } diff --git a/dataworks-public/src/model/GetBusinessRequest.cc b/dataworks-public/src/model/GetBusinessRequest.cc index e49125a1c..231555d41 100644 --- a/dataworks-public/src/model/GetBusinessRequest.cc +++ b/dataworks-public/src/model/GetBusinessRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetBusinessRequest; + +GetBusinessRequest::GetBusinessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetBusiness") { + setMethod(HttpRequest::Method::Post); } -void GetBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); +GetBusinessRequest::~GetBusinessRequest() {} + +long GetBusinessRequest::getBusinessId() const { + return businessId_; } -long GetBusinessRequest::getProjectId()const -{ - return projectId_; +void GetBusinessRequest::setBusinessId(long businessId) { + businessId_ = businessId; + setBodyParameter(std::string("BusinessId"), std::to_string(businessId)); } -void GetBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetBusinessRequest::getProjectId() const { + return projectId_; } -std::string GetBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void GetBusinessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string GetBusinessRequest::getProjectIdentifier() const { + return projectIdentifier_; +} + +void GetBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } diff --git a/dataworks-public/src/model/GetDDLJobStatusRequest.cc b/dataworks-public/src/model/GetDDLJobStatusRequest.cc index 73863c498..0d0b0d765 100644 --- a/dataworks-public/src/model/GetDDLJobStatusRequest.cc +++ b/dataworks-public/src/model/GetDDLJobStatusRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDDLJobStatusRequest; - -GetDDLJobStatusRequest::GetDDLJobStatusRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDDLJobStatus") -{ - setMethod(HttpRequest::Method::Get); -} - -GetDDLJobStatusRequest::~GetDDLJobStatusRequest() -{} - -std::string GetDDLJobStatusRequest::getTaskId()const -{ - return taskId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDDLJobStatusRequest; + +GetDDLJobStatusRequest::GetDDLJobStatusRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDDLJobStatus") { + setMethod(HttpRequest::Method::Get); } -void GetDDLJobStatusRequest::setTaskId(const std::string& taskId) -{ - taskId_ = taskId; - setParameter("TaskId", taskId); +GetDDLJobStatusRequest::~GetDDLJobStatusRequest() {} + +std::string GetDDLJobStatusRequest::getTaskId() const { + return taskId_; +} + +void GetDDLJobStatusRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); } diff --git a/dataworks-public/src/model/GetDISyncInstanceInfoRequest.cc b/dataworks-public/src/model/GetDISyncInstanceInfoRequest.cc index 1b28989c5..23d342481 100644 --- a/dataworks-public/src/model/GetDISyncInstanceInfoRequest.cc +++ b/dataworks-public/src/model/GetDISyncInstanceInfoRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDISyncInstanceInfoRequest; - -GetDISyncInstanceInfoRequest::GetDISyncInstanceInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncInstanceInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDISyncInstanceInfoRequest::~GetDISyncInstanceInfoRequest() -{} - -std::string GetDISyncInstanceInfoRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDISyncInstanceInfoRequest; + +GetDISyncInstanceInfoRequest::GetDISyncInstanceInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncInstanceInfo") { + setMethod(HttpRequest::Method::Post); } -void GetDISyncInstanceInfoRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +GetDISyncInstanceInfoRequest::~GetDISyncInstanceInfoRequest() {} + +std::string GetDISyncInstanceInfoRequest::getTaskType() const { + return taskType_; } -long GetDISyncInstanceInfoRequest::getProjectId()const -{ - return projectId_; +void GetDISyncInstanceInfoRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void GetDISyncInstanceInfoRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long GetDISyncInstanceInfoRequest::getProjectId() const { + return projectId_; } -long GetDISyncInstanceInfoRequest::getFileId()const -{ - return fileId_; +void GetDISyncInstanceInfoRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDISyncInstanceInfoRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long GetDISyncInstanceInfoRequest::getFileId() const { + return fileId_; +} + +void GetDISyncInstanceInfoRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/GetDISyncTaskMetricInfoRequest.cc b/dataworks-public/src/model/GetDISyncTaskMetricInfoRequest.cc index 10aa93d4e..4ff72a4f3 100644 --- a/dataworks-public/src/model/GetDISyncTaskMetricInfoRequest.cc +++ b/dataworks-public/src/model/GetDISyncTaskMetricInfoRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskMetricInfoRequest; - -GetDISyncTaskMetricInfoRequest::GetDISyncTaskMetricInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTaskMetricInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetDISyncTaskMetricInfoRequest::~GetDISyncTaskMetricInfoRequest() -{} - -long GetDISyncTaskMetricInfoRequest::getEndDate()const -{ - return endDate_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskMetricInfoRequest; + +GetDISyncTaskMetricInfoRequest::GetDISyncTaskMetricInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTaskMetricInfo") { + setMethod(HttpRequest::Method::Get); } -void GetDISyncTaskMetricInfoRequest::setEndDate(long endDate) -{ - endDate_ = endDate; - setParameter("EndDate", std::to_string(endDate)); +GetDISyncTaskMetricInfoRequest::~GetDISyncTaskMetricInfoRequest() {} + +long GetDISyncTaskMetricInfoRequest::getEndDate() const { + return endDate_; } -long GetDISyncTaskMetricInfoRequest::getStartDate()const -{ - return startDate_; +void GetDISyncTaskMetricInfoRequest::setEndDate(long endDate) { + endDate_ = endDate; + setParameter(std::string("EndDate"), std::to_string(endDate)); } -void GetDISyncTaskMetricInfoRequest::setStartDate(long startDate) -{ - startDate_ = startDate; - setParameter("StartDate", std::to_string(startDate)); +long GetDISyncTaskMetricInfoRequest::getStartDate() const { + return startDate_; } -long GetDISyncTaskMetricInfoRequest::getProjectId()const -{ - return projectId_; +void GetDISyncTaskMetricInfoRequest::setStartDate(long startDate) { + startDate_ = startDate; + setParameter(std::string("StartDate"), std::to_string(startDate)); } -void GetDISyncTaskMetricInfoRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long GetDISyncTaskMetricInfoRequest::getProjectId() const { + return projectId_; } -long GetDISyncTaskMetricInfoRequest::getFileId()const -{ - return fileId_; +void GetDISyncTaskMetricInfoRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDISyncTaskMetricInfoRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long GetDISyncTaskMetricInfoRequest::getFileId() const { + return fileId_; +} + +void GetDISyncTaskMetricInfoRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/GetDISyncTaskRequest.cc b/dataworks-public/src/model/GetDISyncTaskRequest.cc index 559087564..4b15842f5 100644 --- a/dataworks-public/src/model/GetDISyncTaskRequest.cc +++ b/dataworks-public/src/model/GetDISyncTaskRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskRequest; - -GetDISyncTaskRequest::GetDISyncTaskRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTask") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDISyncTaskRequest::~GetDISyncTaskRequest() -{} - -std::string GetDISyncTaskRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDISyncTaskRequest; + +GetDISyncTaskRequest::GetDISyncTaskRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDISyncTask") { + setMethod(HttpRequest::Method::Post); } -void GetDISyncTaskRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +GetDISyncTaskRequest::~GetDISyncTaskRequest() {} + +std::string GetDISyncTaskRequest::getTaskType() const { + return taskType_; } -long GetDISyncTaskRequest::getProjectId()const -{ - return projectId_; +void GetDISyncTaskRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void GetDISyncTaskRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long GetDISyncTaskRequest::getProjectId() const { + return projectId_; } -long GetDISyncTaskRequest::getFileId()const -{ - return fileId_; +void GetDISyncTaskRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDISyncTaskRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long GetDISyncTaskRequest::getFileId() const { + return fileId_; +} + +void GetDISyncTaskRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/GetDagRequest.cc b/dataworks-public/src/model/GetDagRequest.cc index fd01c1bd1..ad1e3963e 100644 --- a/dataworks-public/src/model/GetDagRequest.cc +++ b/dataworks-public/src/model/GetDagRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDagRequest; - -GetDagRequest::GetDagRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDag") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDagRequest::~GetDagRequest() -{} - -std::string GetDagRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDagRequest; + +GetDagRequest::GetDagRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDag") { + setMethod(HttpRequest::Method::Post); } -void GetDagRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetDagRequest::~GetDagRequest() {} + +std::string GetDagRequest::getProjectEnv() const { + return projectEnv_; } -long GetDagRequest::getDagId()const -{ - return dagId_; +void GetDagRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetDagRequest::setDagId(long dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", std::to_string(dagId)); +long GetDagRequest::getDagId() const { + return dagId_; +} + +void GetDagRequest::setDagId(long dagId) { + dagId_ = dagId; + setBodyParameter(std::string("DagId"), std::to_string(dagId)); } diff --git a/dataworks-public/src/model/GetDataServiceApiRequest.cc b/dataworks-public/src/model/GetDataServiceApiRequest.cc index 7e73b8f68..7cd13b9fe 100644 --- a/dataworks-public/src/model/GetDataServiceApiRequest.cc +++ b/dataworks-public/src/model/GetDataServiceApiRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiRequest; + +GetDataServiceApiRequest::GetDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApi") { + setMethod(HttpRequest::Method::Post); } -void GetDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +GetDataServiceApiRequest::~GetDataServiceApiRequest() {} + +long GetDataServiceApiRequest::getTenantId() const { + return tenantId_; } -long GetDataServiceApiRequest::getProjectId()const -{ - return projectId_; +void GetDataServiceApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void GetDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetDataServiceApiRequest::getProjectId() const { + return projectId_; } -long GetDataServiceApiRequest::getApiId()const -{ - return apiId_; +void GetDataServiceApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long GetDataServiceApiRequest::getApiId() const { + return apiId_; +} + +void GetDataServiceApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/GetDataServiceApiResult.cc b/dataworks-public/src/model/GetDataServiceApiResult.cc index 7c19ae7d0..f031fe629 100644 --- a/dataworks-public/src/model/GetDataServiceApiResult.cc +++ b/dataworks-public/src/model/GetDataServiceApiResult.cc @@ -40,63 +40,63 @@ void GetDataServiceApiResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; + if(!dataNode["Timeout"].isNull()) + data_.timeout = std::stoi(dataNode["Timeout"].asString()); + if(!dataNode["Status"].isNull()) + data_.status = std::stoi(dataNode["Status"].asString()); 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["ProjectId"].isNull()) + data_.projectId = std::stol(dataNode["ProjectId"].asString()); + if(!dataNode["ResponseContentType"].isNull()) + data_.responseContentType = std::stoi(dataNode["ResponseContentType"].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["VisibleRange"].isNull()) + data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString()); if(!dataNode["ModifiedTime"].isNull()) data_.modifiedTime = dataNode["ModifiedTime"].asString(); if(!dataNode["OperatorId"].isNull()) data_.operatorId = dataNode["OperatorId"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); - if(!dataNode["RequestMethod"].isNull()) - data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString()); - if(!dataNode["ResponseContentType"].isNull()) - data_.responseContentType = std::stoi(dataNode["ResponseContentType"].asString()); - if(!dataNode["Status"].isNull()) - data_.status = std::stoi(dataNode["Status"].asString()); - if(!dataNode["TenantId"].isNull()) - data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["Timeout"].isNull()) - data_.timeout = std::stoi(dataNode["Timeout"].asString()); - if(!dataNode["VisibleRange"].isNull()) - data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString()); + if(!dataNode["GroupId"].isNull()) + data_.groupId = dataNode["GroupId"].asString(); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); if(!dataNode["FolderId"].isNull()) data_.folderId = std::stol(dataNode["FolderId"].asString()); + if(!dataNode["RequestMethod"].isNull()) + data_.requestMethod = std::stoi(dataNode["RequestMethod"].asString()); + if(!dataNode["CreatedTime"].isNull()) + data_.createdTime = dataNode["CreatedTime"].asString(); + if(!dataNode["ApiName"].isNull()) + data_.apiName = dataNode["ApiName"].asString(); + if(!dataNode["TenantId"].isNull()) + data_.tenantId = std::stol(dataNode["TenantId"].asString()); + if(!dataNode["ApiPath"].isNull()) + data_.apiPath = dataNode["ApiPath"].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["ServiceContentType"].isNull()) + data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].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(); + if(!registrationDetailsNode["FailedResultSample"].isNull()) + data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); + if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) + data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].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["ErrorCode"].isNull()) + registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); @@ -107,74 +107,74 @@ void GetDataServiceApiResult::parse(const std::string &payload) Data::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull()) registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) + registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) + registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) + registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) + registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) + registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].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(); + if(!scriptDetailsNode["IsPagedResponse"].isNull()) + data_.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; auto allScriptRequestParametersNode = scriptDetailsNode["ScriptRequestParameters"]["ScriptRequestParameter"]; for (auto scriptDetailsNodeScriptRequestParametersScriptRequestParameter : allScriptRequestParametersNode) { Data::ScriptDetails::ScriptRequestParameter scriptRequestParameterObject; if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].isNull()) scriptRequestParameterObject.columnName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ColumnName"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].isNull()) + scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) + scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) + scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) + scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) + scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].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["ColumnName"].isNull()) + scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString(); if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) + scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) + scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].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(); + if(!scriptConnectionNode["ConnectionId"].isNull()) + data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); auto wizardDetailsNode = dataNode["WizardDetails"]; if(!wizardDetailsNode["IsPagedResponse"].isNull()) data_.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; @@ -184,56 +184,56 @@ void GetDataServiceApiResult::parse(const std::string &payload) Data::WizardDetails::WizardRequestParameter wizardRequestParameterObject; if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull()) wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) + wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) + wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) + wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) + wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) + wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].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["ColumnName"].isNull()) + wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString(); if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) + wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) + wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].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(); + if(!wizardConnectionNode["ConnectionId"].isNull()) + data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/GetDataServiceApiTestRequest.cc b/dataworks-public/src/model/GetDataServiceApiTestRequest.cc new file mode 100644 index 000000000..604a97ea1 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceApiTestRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataServiceApiTestRequest; + +GetDataServiceApiTestRequest::GetDataServiceApiTestRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApiTest") { + setMethod(HttpRequest::Method::Get); +} + +GetDataServiceApiTestRequest::~GetDataServiceApiTestRequest() {} + +long GetDataServiceApiTestRequest::getTestId() const { + return testId_; +} + +void GetDataServiceApiTestRequest::setTestId(long testId) { + testId_ = testId; + setParameter(std::string("TestId"), std::to_string(testId)); +} + diff --git a/dataworks-public/src/model/GetDataServiceApiTestResult.cc b/dataworks-public/src/model/GetDataServiceApiTestResult.cc new file mode 100644 index 000000000..4b1a1df99 --- /dev/null +++ b/dataworks-public/src/model/GetDataServiceApiTestResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetDataServiceApiTestResult::GetDataServiceApiTestResult() : + ServiceResult() +{} + +GetDataServiceApiTestResult::GetDataServiceApiTestResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDataServiceApiTestResult::~GetDataServiceApiTestResult() +{} + +void GetDataServiceApiTestResult::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["ParamMap"].isNull()) + data_.paramMap = dataNode["ParamMap"].asString(); + if(!dataNode["RetCode"].isNull()) + data_.retCode = std::stol(dataNode["RetCode"].asString()); + if(!dataNode["RetResult"].isNull()) + data_.retResult = dataNode["RetResult"].asString(); + if(!dataNode["DebugInfo"].isNull()) + data_.debugInfo = dataNode["DebugInfo"].asString(); + if(!dataNode["CostTime"].isNull()) + data_.costTime = dataNode["CostTime"].asString(); + if(!dataNode["NodesDebugInfo"].isNull()) + data_.nodesDebugInfo = dataNode["NodesDebugInfo"].asString(); + if(!dataNode["Status"].isNull()) + data_.status = dataNode["Status"].asString(); + +} + +GetDataServiceApiTestResult::Data GetDataServiceApiTestResult::getData()const +{ + return data_; +} + diff --git a/dataworks-public/src/model/GetDataServiceApplicationRequest.cc b/dataworks-public/src/model/GetDataServiceApplicationRequest.cc index 2421d34d9..1e660aa4d 100644 --- a/dataworks-public/src/model/GetDataServiceApplicationRequest.cc +++ b/dataworks-public/src/model/GetDataServiceApplicationRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataServiceApplicationRequest; + +GetDataServiceApplicationRequest::GetDataServiceApplicationRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceApplication") { + setMethod(HttpRequest::Method::Post); } -void GetDataServiceApplicationRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +GetDataServiceApplicationRequest::~GetDataServiceApplicationRequest() {} + +long GetDataServiceApplicationRequest::getTenantId() const { + return tenantId_; } -long GetDataServiceApplicationRequest::getApplicationId()const -{ - return applicationId_; +void GetDataServiceApplicationRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void GetDataServiceApplicationRequest::setApplicationId(long applicationId) -{ - applicationId_ = applicationId; - setBodyParameter("ApplicationId", std::to_string(applicationId)); +long GetDataServiceApplicationRequest::getApplicationId() const { + return applicationId_; } -long GetDataServiceApplicationRequest::getProjectId()const -{ - return projectId_; +void GetDataServiceApplicationRequest::setApplicationId(long applicationId) { + applicationId_ = applicationId; + setBodyParameter(std::string("ApplicationId"), std::to_string(applicationId)); } -void GetDataServiceApplicationRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetDataServiceApplicationRequest::getProjectId() const { + return projectId_; +} + +void GetDataServiceApplicationRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetDataServiceApplicationResult.cc b/dataworks-public/src/model/GetDataServiceApplicationResult.cc index 32b9712a6..d10668e75 100644 --- a/dataworks-public/src/model/GetDataServiceApplicationResult.cc +++ b/dataworks-public/src/model/GetDataServiceApplicationResult.cc @@ -42,24 +42,24 @@ void GetDataServiceApplicationResult::parse(const std::string &payload) 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(!dataNode["ApplicationName"].isNull()) + data_.applicationName = dataNode["ApplicationName"].asString(); + if(!dataNode["ApplicationId"].isNull()) + data_.applicationId = std::stol(dataNode["ApplicationId"].asString()); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/GetDataServiceFolderRequest.cc b/dataworks-public/src/model/GetDataServiceFolderRequest.cc index 2a54eb9ee..ccb2ee4be 100644 --- a/dataworks-public/src/model/GetDataServiceFolderRequest.cc +++ b/dataworks-public/src/model/GetDataServiceFolderRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceFolderRequest; - -GetDataServiceFolderRequest::GetDataServiceFolderRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceFolder") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceFolderRequest::~GetDataServiceFolderRequest() -{} - -long GetDataServiceFolderRequest::getTenantId()const -{ - return tenantId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataServiceFolderRequest; + +GetDataServiceFolderRequest::GetDataServiceFolderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceFolder") { + setMethod(HttpRequest::Method::Post); } -void GetDataServiceFolderRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +GetDataServiceFolderRequest::~GetDataServiceFolderRequest() {} + +long GetDataServiceFolderRequest::getTenantId() const { + return tenantId_; } -long GetDataServiceFolderRequest::getProjectId()const -{ - return projectId_; +void GetDataServiceFolderRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void GetDataServiceFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetDataServiceFolderRequest::getProjectId() const { + return projectId_; } -long GetDataServiceFolderRequest::getFolderId()const -{ - return folderId_; +void GetDataServiceFolderRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDataServiceFolderRequest::setFolderId(long folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", std::to_string(folderId)); +long GetDataServiceFolderRequest::getFolderId() const { + return folderId_; +} + +void GetDataServiceFolderRequest::setFolderId(long folderId) { + folderId_ = folderId; + setBodyParameter(std::string("FolderId"), std::to_string(folderId)); } diff --git a/dataworks-public/src/model/GetDataServiceFolderResult.cc b/dataworks-public/src/model/GetDataServiceFolderResult.cc index 52ea20a58..573d529fd 100644 --- a/dataworks-public/src/model/GetDataServiceFolderResult.cc +++ b/dataworks-public/src/model/GetDataServiceFolderResult.cc @@ -40,22 +40,22 @@ void GetDataServiceFolderResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto folderNode = value["Folder"]; - if(!folderNode["TenantId"].isNull()) - folder_.tenantId = std::stol(folderNode["TenantId"].asString()); - if(!folderNode["ProjectId"].isNull()) - folder_.projectId = std::stol(folderNode["ProjectId"].asString()); - if(!folderNode["FolderId"].isNull()) - folder_.folderId = std::stol(folderNode["FolderId"].asString()); - if(!folderNode["FolderName"].isNull()) - folder_.folderName = folderNode["FolderName"].asString(); - if(!folderNode["CreatedTime"].isNull()) - folder_.createdTime = folderNode["CreatedTime"].asString(); + if(!folderNode["ParentId"].isNull()) + folder_.parentId = std::stol(folderNode["ParentId"].asString()); if(!folderNode["ModifiedTime"].isNull()) folder_.modifiedTime = folderNode["ModifiedTime"].asString(); if(!folderNode["GroupId"].isNull()) folder_.groupId = folderNode["GroupId"].asString(); - if(!folderNode["ParentId"].isNull()) - folder_.parentId = std::stol(folderNode["ParentId"].asString()); + if(!folderNode["FolderId"].isNull()) + folder_.folderId = std::stol(folderNode["FolderId"].asString()); + if(!folderNode["ProjectId"].isNull()) + folder_.projectId = std::stol(folderNode["ProjectId"].asString()); + if(!folderNode["FolderName"].isNull()) + folder_.folderName = folderNode["FolderName"].asString(); + if(!folderNode["CreatedTime"].isNull()) + folder_.createdTime = folderNode["CreatedTime"].asString(); + if(!folderNode["TenantId"].isNull()) + folder_.tenantId = std::stol(folderNode["TenantId"].asString()); } diff --git a/dataworks-public/src/model/GetDataServiceGroupRequest.cc b/dataworks-public/src/model/GetDataServiceGroupRequest.cc index 0ccd5f045..766b14baa 100644 --- a/dataworks-public/src/model/GetDataServiceGroupRequest.cc +++ b/dataworks-public/src/model/GetDataServiceGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataServiceGroupRequest; - -GetDataServiceGroupRequest::GetDataServiceGroupRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataServiceGroupRequest::~GetDataServiceGroupRequest() -{} - -std::string GetDataServiceGroupRequest::getGroupId()const -{ - return groupId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataServiceGroupRequest; + +GetDataServiceGroupRequest::GetDataServiceGroupRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServiceGroup") { + setMethod(HttpRequest::Method::Post); } -void GetDataServiceGroupRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); +GetDataServiceGroupRequest::~GetDataServiceGroupRequest() {} + +std::string GetDataServiceGroupRequest::getGroupId() const { + return groupId_; } -long GetDataServiceGroupRequest::getTenantId()const -{ - return tenantId_; +void GetDataServiceGroupRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); } -void GetDataServiceGroupRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long GetDataServiceGroupRequest::getTenantId() const { + return tenantId_; } -long GetDataServiceGroupRequest::getProjectId()const -{ - return projectId_; +void GetDataServiceGroupRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void GetDataServiceGroupRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetDataServiceGroupRequest::getProjectId() const { + return projectId_; +} + +void GetDataServiceGroupRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetDataServiceGroupResult.cc b/dataworks-public/src/model/GetDataServiceGroupResult.cc index bec2b2fd0..6b2b55b66 100644 --- a/dataworks-public/src/model/GetDataServiceGroupResult.cc +++ b/dataworks-public/src/model/GetDataServiceGroupResult.cc @@ -40,24 +40,24 @@ void GetDataServiceGroupResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto groupNode = value["Group"]; - if(!groupNode["TenantId"].isNull()) - group_.tenantId = std::stol(groupNode["TenantId"].asString()); - if(!groupNode["ProjectId"].isNull()) - group_.projectId = std::stol(groupNode["ProjectId"].asString()); - if(!groupNode["GroupId"].isNull()) - group_.groupId = groupNode["GroupId"].asString(); - if(!groupNode["ApiGatewayGroupId"].isNull()) - group_.apiGatewayGroupId = groupNode["ApiGatewayGroupId"].asString(); - if(!groupNode["GroupName"].isNull()) - group_.groupName = groupNode["GroupName"].asString(); - if(!groupNode["Description"].isNull()) - group_.description = groupNode["Description"].asString(); - if(!groupNode["CreatedTime"].isNull()) - group_.createdTime = groupNode["CreatedTime"].asString(); if(!groupNode["ModifiedTime"].isNull()) group_.modifiedTime = groupNode["ModifiedTime"].asString(); + if(!groupNode["Description"].isNull()) + group_.description = groupNode["Description"].asString(); + if(!groupNode["GroupName"].isNull()) + group_.groupName = groupNode["GroupName"].asString(); + if(!groupNode["GroupId"].isNull()) + group_.groupId = groupNode["GroupId"].asString(); + if(!groupNode["ProjectId"].isNull()) + group_.projectId = std::stol(groupNode["ProjectId"].asString()); + if(!groupNode["ApiGatewayGroupId"].isNull()) + group_.apiGatewayGroupId = groupNode["ApiGatewayGroupId"].asString(); if(!groupNode["CreatorId"].isNull()) group_.creatorId = groupNode["CreatorId"].asString(); + if(!groupNode["CreatedTime"].isNull()) + group_.createdTime = groupNode["CreatedTime"].asString(); + if(!groupNode["TenantId"].isNull()) + group_.tenantId = std::stol(groupNode["TenantId"].asString()); } diff --git a/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc b/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc index 23161f731..8bf19baed 100644 --- a/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc +++ b/dataworks-public/src/model/GetDataServicePublishedApiRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataServicePublishedApiRequest; + +GetDataServicePublishedApiRequest::GetDataServicePublishedApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataServicePublishedApi") { + setMethod(HttpRequest::Method::Post); } -void GetDataServicePublishedApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +GetDataServicePublishedApiRequest::~GetDataServicePublishedApiRequest() {} + +long GetDataServicePublishedApiRequest::getTenantId() const { + return tenantId_; } -long GetDataServicePublishedApiRequest::getProjectId()const -{ - return projectId_; +void GetDataServicePublishedApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void GetDataServicePublishedApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetDataServicePublishedApiRequest::getProjectId() const { + return projectId_; } -long GetDataServicePublishedApiRequest::getApiId()const -{ - return apiId_; +void GetDataServicePublishedApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDataServicePublishedApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long GetDataServicePublishedApiRequest::getApiId() const { + return apiId_; +} + +void GetDataServicePublishedApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/GetDataServicePublishedApiResult.cc b/dataworks-public/src/model/GetDataServicePublishedApiResult.cc index b34f43934..f293d8ba3 100644 --- a/dataworks-public/src/model/GetDataServicePublishedApiResult.cc +++ b/dataworks-public/src/model/GetDataServicePublishedApiResult.cc @@ -40,61 +40,61 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; + if(!dataNode["Timeout"].isNull()) + data_.timeout = std::stoi(dataNode["Timeout"].asString()); + if(!dataNode["Status"].isNull()) + data_.status = std::stoi(dataNode["Status"].asString()); 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["ProjectId"].isNull()) + data_.projectId = std::stol(dataNode["ProjectId"].asString()); + if(!dataNode["ResponseContentType"].isNull()) + data_.responseContentType = std::stoi(dataNode["ResponseContentType"].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["VisibleRange"].isNull()) + data_.visibleRange = std::stoi(dataNode["VisibleRange"].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["GroupId"].isNull()) + data_.groupId = dataNode["GroupId"].asString(); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].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["CreatedTime"].isNull()) + data_.createdTime = dataNode["CreatedTime"].asString(); + if(!dataNode["ApiName"].isNull()) + data_.apiName = dataNode["ApiName"].asString(); if(!dataNode["TenantId"].isNull()) data_.tenantId = std::stol(dataNode["TenantId"].asString()); - if(!dataNode["Timeout"].isNull()) - data_.timeout = std::stoi(dataNode["Timeout"].asString()); - if(!dataNode["VisibleRange"].isNull()) - data_.visibleRange = std::stoi(dataNode["VisibleRange"].asString()); + if(!dataNode["ApiPath"].isNull()) + data_.apiPath = dataNode["ApiPath"].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["ServiceContentType"].isNull()) + data_.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].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(); + if(!registrationDetailsNode["FailedResultSample"].isNull()) + data_.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); + if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) + data_.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].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["ErrorCode"].isNull()) + registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); data_.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); @@ -103,41 +103,41 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload) 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()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) + registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) + registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) + registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) + registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) + registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) + registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; 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(); + if(!scriptDetailsNode["FailedResultSample"].isNull()) + data_.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString(); + if(!scriptDetailsNode["Script"].isNull()) + data_.scriptDetails.script = scriptDetailsNode["Script"].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["ErrorCode"].isNull()) + scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString(); if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull()) scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString(); data_.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject); @@ -146,58 +146,58 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload) 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()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) + scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) + scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) + scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) + scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) + scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) + scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; 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(); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) + scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) + scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].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(); + if(!scriptConnectionNode["ConnectionId"].isNull()) + data_.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].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(); + if(!wizardDetailsNode["FailedResultSample"].isNull()) + data_.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].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["ErrorCode"].isNull()) + wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString(); if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull()) wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString(); data_.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject); @@ -206,54 +206,54 @@ void GetDataServicePublishedApiResult::parse(const std::string &payload) 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()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) + wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) + wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) + wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) + wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) + wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) + wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; 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(); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) + wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) + wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].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(); + if(!wizardConnectionNode["ConnectionId"].isNull()) + data_.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/GetDataSourceMetaRequest.cc b/dataworks-public/src/model/GetDataSourceMetaRequest.cc index 86f1f4f89..193487e35 100644 --- a/dataworks-public/src/model/GetDataSourceMetaRequest.cc +++ b/dataworks-public/src/model/GetDataSourceMetaRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetDataSourceMetaRequest; - -GetDataSourceMetaRequest::GetDataSourceMetaRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataSourceMeta") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDataSourceMetaRequest::~GetDataSourceMetaRequest() -{} - -std::string GetDataSourceMetaRequest::getDatasourceName()const -{ - return datasourceName_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDataSourceMetaRequest; + +GetDataSourceMetaRequest::GetDataSourceMetaRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDataSourceMeta") { + setMethod(HttpRequest::Method::Post); } -void GetDataSourceMetaRequest::setDatasourceName(const std::string& datasourceName) -{ - datasourceName_ = datasourceName; - setParameter("DatasourceName", datasourceName); +GetDataSourceMetaRequest::~GetDataSourceMetaRequest() {} + +std::string GetDataSourceMetaRequest::getDatasourceName() const { + return datasourceName_; } -long GetDataSourceMetaRequest::getPageNumber()const -{ - return pageNumber_; +void GetDataSourceMetaRequest::setDatasourceName(const std::string &datasourceName) { + datasourceName_ = datasourceName; + setParameter(std::string("DatasourceName"), datasourceName); } -void GetDataSourceMetaRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long GetDataSourceMetaRequest::getPageNumber() const { + return pageNumber_; } -long GetDataSourceMetaRequest::getPageSize()const -{ - return pageSize_; +void GetDataSourceMetaRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void GetDataSourceMetaRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long GetDataSourceMetaRequest::getPageSize() const { + return pageSize_; } -std::string GetDataSourceMetaRequest::getEnvType()const -{ - return envType_; +void GetDataSourceMetaRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetDataSourceMetaRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setParameter("EnvType", envType); +std::string GetDataSourceMetaRequest::getEnvType() const { + return envType_; } -long GetDataSourceMetaRequest::getProjectId()const -{ - return projectId_; +void GetDataSourceMetaRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); } -void GetDataSourceMetaRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long GetDataSourceMetaRequest::getProjectId() const { + return projectId_; +} + +void GetDataSourceMetaRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetDeploymentRequest.cc b/dataworks-public/src/model/GetDeploymentRequest.cc index f47baf811..136add123 100644 --- a/dataworks-public/src/model/GetDeploymentRequest.cc +++ b/dataworks-public/src/model/GetDeploymentRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDeploymentRequest; + +GetDeploymentRequest::GetDeploymentRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDeployment") { + setMethod(HttpRequest::Method::Post); } -void GetDeploymentRequest::setDeploymentId(long deploymentId) -{ - deploymentId_ = deploymentId; - setBodyParameter("DeploymentId", std::to_string(deploymentId)); +GetDeploymentRequest::~GetDeploymentRequest() {} + +long GetDeploymentRequest::getDeploymentId() const { + return deploymentId_; } -long GetDeploymentRequest::getProjectId()const -{ - return projectId_; +void GetDeploymentRequest::setDeploymentId(long deploymentId) { + deploymentId_ = deploymentId; + setBodyParameter(std::string("DeploymentId"), std::to_string(deploymentId)); } -void GetDeploymentRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetDeploymentRequest::getProjectId() const { + return projectId_; } -std::string GetDeploymentRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void GetDeploymentRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetDeploymentRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string GetDeploymentRequest::getProjectIdentifier() const { + return projectIdentifier_; +} + +void GetDeploymentRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } diff --git a/dataworks-public/src/model/GetDutyRosterRequest.cc b/dataworks-public/src/model/GetDutyRosterRequest.cc new file mode 100644 index 000000000..78638d56b --- /dev/null +++ b/dataworks-public/src/model/GetDutyRosterRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetDutyRosterRequest; + +GetDutyRosterRequest::GetDutyRosterRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetDutyRoster") { + setMethod(HttpRequest::Method::Post); +} + +GetDutyRosterRequest::~GetDutyRosterRequest() {} + +std::string GetDutyRosterRequest::getDutyRosterIdentifier() const { + return dutyRosterIdentifier_; +} + +void GetDutyRosterRequest::setDutyRosterIdentifier(const std::string &dutyRosterIdentifier) { + dutyRosterIdentifier_ = dutyRosterIdentifier; + setBodyParameter(std::string("DutyRosterIdentifier"), dutyRosterIdentifier); +} + +std::string GetDutyRosterRequest::getWatchkeeper() const { + return watchkeeper_; +} + +void GetDutyRosterRequest::setWatchkeeper(const std::string &watchkeeper) { + watchkeeper_ = watchkeeper; + setBodyParameter(std::string("Watchkeeper"), watchkeeper); +} + +std::string GetDutyRosterRequest::getUserType() const { + return userType_; +} + +void GetDutyRosterRequest::setUserType(const std::string &userType) { + userType_ = userType; + setBodyParameter(std::string("UserType"), userType); +} + +long GetDutyRosterRequest::getEndTime() const { + return endTime_; +} + +void GetDutyRosterRequest::setEndTime(long endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), std::to_string(endTime)); +} + +long GetDutyRosterRequest::getBeginTime() const { + return beginTime_; +} + +void GetDutyRosterRequest::setBeginTime(long beginTime) { + beginTime_ = beginTime; + setBodyParameter(std::string("BeginTime"), std::to_string(beginTime)); +} + diff --git a/dataworks-public/src/model/GetDutyRosterResult.cc b/dataworks-public/src/model/GetDutyRosterResult.cc new file mode 100644 index 000000000..2a1a24808 --- /dev/null +++ b/dataworks-public/src/model/GetDutyRosterResult.cc @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetDutyRosterResult::GetDutyRosterResult() : + ServiceResult() +{} + +GetDutyRosterResult::GetDutyRosterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDutyRosterResult::~GetDutyRosterResult() +{} + +void GetDutyRosterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto pagingNode = value["Paging"]; + if(!pagingNode["PageNumber"].isNull()) + paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString()); + if(!pagingNode["PageSize"].isNull()) + paging_.pageSize = std::stoi(pagingNode["PageSize"].asString()); + if(!pagingNode["TotalCount"].isNull()) + paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString()); + auto allDutyRosterNode = pagingNode["DutyRoster"]["DutyRosterItem"]; + for (auto pagingNodeDutyRosterDutyRosterItem : allDutyRosterNode) + { + Paging::DutyRosterItem dutyRosterItemObject; + if(!pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].isNull()) + dutyRosterItemObject.watchkeeper = pagingNodeDutyRosterDutyRosterItem["Watchkeeper"].asString(); + if(!pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].isNull()) + dutyRosterItemObject.watchkeeperName = pagingNodeDutyRosterDutyRosterItem["WatchkeeperName"].asString(); + if(!pagingNodeDutyRosterDutyRosterItem["StartLong"].isNull()) + dutyRosterItemObject.startLong = std::stol(pagingNodeDutyRosterDutyRosterItem["StartLong"].asString()); + if(!pagingNodeDutyRosterDutyRosterItem["EndLong"].isNull()) + dutyRosterItemObject.endLong = std::stol(pagingNodeDutyRosterDutyRosterItem["EndLong"].asString()); + paging_.dutyRoster.push_back(dutyRosterItemObject); + } + +} + +GetDutyRosterResult::Paging GetDutyRosterResult::getPaging()const +{ + return paging_; +} + diff --git a/dataworks-public/src/model/GetExtensionRequest.cc b/dataworks-public/src/model/GetExtensionRequest.cc new file mode 100644 index 000000000..e53ca3fc6 --- /dev/null +++ b/dataworks-public/src/model/GetExtensionRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetExtensionRequest; + +GetExtensionRequest::GetExtensionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetExtension") { + setMethod(HttpRequest::Method::Post); +} + +GetExtensionRequest::~GetExtensionRequest() {} + +std::string GetExtensionRequest::getExtensionCode() const { + return extensionCode_; +} + +void GetExtensionRequest::setExtensionCode(const std::string &extensionCode) { + extensionCode_ = extensionCode; + setParameter(std::string("ExtensionCode"), extensionCode); +} + diff --git a/dataworks-public/src/model/GetExtensionResult.cc b/dataworks-public/src/model/GetExtensionResult.cc new file mode 100644 index 000000000..4e7c50d32 --- /dev/null +++ b/dataworks-public/src/model/GetExtensionResult.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; + +GetExtensionResult::GetExtensionResult() : + ServiceResult() +{} + +GetExtensionResult::GetExtensionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetExtensionResult::~GetExtensionResult() +{} + +void GetExtensionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto extensionNode = value["Extension"]; + if(!extensionNode["ExtensionCode"].isNull()) + extension_.extensionCode = extensionNode["ExtensionCode"].asString(); + if(!extensionNode["ExtensionName"].isNull()) + extension_.extensionName = extensionNode["ExtensionName"].asString(); + if(!extensionNode["ExtensionDesc"].isNull()) + extension_.extensionDesc = extensionNode["ExtensionDesc"].asString(); + if(!extensionNode["HelpDocUrl"].isNull()) + extension_.helpDocUrl = extensionNode["HelpDocUrl"].asString(); + if(!extensionNode["Status"].isNull()) + extension_.status = std::stoi(extensionNode["Status"].asString()); + if(!extensionNode["ProjectTesting"].isNull()) + extension_.projectTesting = std::stol(extensionNode["ProjectTesting"].asString()); + if(!extensionNode["DetailUrl"].isNull()) + extension_.detailUrl = extensionNode["DetailUrl"].asString(); + if(!extensionNode["ParameterSetting"].isNull()) + extension_.parameterSetting = extensionNode["ParameterSetting"].asString(); + if(!extensionNode["OptionSetting"].isNull()) + extension_.optionSetting = extensionNode["OptionSetting"].asString(); + auto allBindEventListNode = extensionNode["BindEventList"]["BindEventListItem"]; + for (auto extensionNodeBindEventListBindEventListItem : allBindEventListNode) + { + Extension::BindEventListItem bindEventListItemObject; + if(!extensionNodeBindEventListBindEventListItem["EventCode"].isNull()) + bindEventListItemObject.eventCode = extensionNodeBindEventListBindEventListItem["EventCode"].asString(); + if(!extensionNodeBindEventListBindEventListItem["EventName"].isNull()) + bindEventListItemObject.eventName = extensionNodeBindEventListBindEventListItem["EventName"].asString(); + extension_.bindEventList.push_back(bindEventListItemObject); + } + auto allEventCategoryListNode = extensionNode["EventCategoryList"]["EventCategoryListItem"]; + for (auto extensionNodeEventCategoryListEventCategoryListItem : allEventCategoryListNode) + { + Extension::EventCategoryListItem eventCategoryListItemObject; + if(!extensionNodeEventCategoryListEventCategoryListItem["CategoryCode"].isNull()) + eventCategoryListItemObject.categoryCode = extensionNodeEventCategoryListEventCategoryListItem["CategoryCode"].asString(); + if(!extensionNodeEventCategoryListEventCategoryListItem["CategoryName"].isNull()) + eventCategoryListItemObject.categoryName = extensionNodeEventCategoryListEventCategoryListItem["CategoryName"].asString(); + extension_.eventCategoryList.push_back(eventCategoryListItemObject); + } + +} + +GetExtensionResult::Extension GetExtensionResult::getExtension()const +{ + return extension_; +} + diff --git a/dataworks-public/src/model/GetFileRequest.cc b/dataworks-public/src/model/GetFileRequest.cc index 4d22fc985..03869c389 100644 --- a/dataworks-public/src/model/GetFileRequest.cc +++ b/dataworks-public/src/model/GetFileRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetFileRequest; + +GetFileRequest::GetFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetFile") { + setMethod(HttpRequest::Method::Post); } -void GetFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +GetFileRequest::~GetFileRequest() {} + +long GetFileRequest::getProjectId() const { + return projectId_; } -long GetFileRequest::getNodeId()const -{ - return nodeId_; +void GetFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetFileRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long GetFileRequest::getNodeId() const { + return nodeId_; } -std::string GetFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void GetFileRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void GetFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string GetFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -long GetFileRequest::getFileId()const -{ - return fileId_; +void GetFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void GetFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long GetFileRequest::getFileId() const { + return fileId_; +} + +void GetFileRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/GetFileTypeStatisticRequest.cc b/dataworks-public/src/model/GetFileTypeStatisticRequest.cc index 0bda70132..2c9996033 100644 --- a/dataworks-public/src/model/GetFileTypeStatisticRequest.cc +++ b/dataworks-public/src/model/GetFileTypeStatisticRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetFileTypeStatisticRequest; - -GetFileTypeStatisticRequest::GetFileTypeStatisticRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileTypeStatistic") -{ - setMethod(HttpRequest::Method::Post); -} - -GetFileTypeStatisticRequest::~GetFileTypeStatisticRequest() -{} - -std::string GetFileTypeStatisticRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetFileTypeStatisticRequest; + +GetFileTypeStatisticRequest::GetFileTypeStatisticRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileTypeStatistic") { + setMethod(HttpRequest::Method::Post); } -void GetFileTypeStatisticRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetFileTypeStatisticRequest::~GetFileTypeStatisticRequest() {} + +std::string GetFileTypeStatisticRequest::getProjectEnv() const { + return projectEnv_; } -long GetFileTypeStatisticRequest::getProjectId()const -{ - return projectId_; +void GetFileTypeStatisticRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetFileTypeStatisticRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetFileTypeStatisticRequest::getProjectId() const { + return projectId_; +} + +void GetFileTypeStatisticRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetFileTypeStatisticResult.cc b/dataworks-public/src/model/GetFileTypeStatisticResult.cc index 75d5222d4..a826e434c 100644 --- a/dataworks-public/src/model/GetFileTypeStatisticResult.cc +++ b/dataworks-public/src/model/GetFileTypeStatisticResult.cc @@ -43,10 +43,10 @@ void GetFileTypeStatisticResult::parse(const std::string &payload) for (auto valueProgramTypeAndCountsProgramTypeAndCount : allProgramTypeAndCountsNode) { ProgramTypeAndCount programTypeAndCountsObject; - if(!valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].isNull()) - programTypeAndCountsObject.programType = valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].asString(); if(!valueProgramTypeAndCountsProgramTypeAndCount["Count"].isNull()) programTypeAndCountsObject.count = std::stoi(valueProgramTypeAndCountsProgramTypeAndCount["Count"].asString()); + if(!valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].isNull()) + programTypeAndCountsObject.programType = valueProgramTypeAndCountsProgramTypeAndCount["ProgramType"].asString(); programTypeAndCounts_.push_back(programTypeAndCountsObject); } diff --git a/dataworks-public/src/model/GetFileVersionRequest.cc b/dataworks-public/src/model/GetFileVersionRequest.cc index 14b4bf80b..873a01700 100644 --- a/dataworks-public/src/model/GetFileVersionRequest.cc +++ b/dataworks-public/src/model/GetFileVersionRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetFileVersionRequest; + +GetFileVersionRequest::GetFileVersionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetFileVersion") { + setMethod(HttpRequest::Method::Post); } -void GetFileVersionRequest::setFileVersion(int fileVersion) -{ - fileVersion_ = fileVersion; - setBodyParameter("FileVersion", std::to_string(fileVersion)); +GetFileVersionRequest::~GetFileVersionRequest() {} + +int GetFileVersionRequest::getFileVersion() const { + return fileVersion_; } -long GetFileVersionRequest::getProjectId()const -{ - return projectId_; +void GetFileVersionRequest::setFileVersion(int fileVersion) { + fileVersion_ = fileVersion; + setBodyParameter(std::string("FileVersion"), std::to_string(fileVersion)); } -void GetFileVersionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetFileVersionRequest::getProjectId() const { + return projectId_; } -std::string GetFileVersionRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void GetFileVersionRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetFileVersionRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string GetFileVersionRequest::getProjectIdentifier() const { + return projectIdentifier_; } -long GetFileVersionRequest::getFileId()const -{ - return fileId_; +void GetFileVersionRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void GetFileVersionRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long GetFileVersionRequest::getFileId() const { + return fileId_; +} + +void GetFileVersionRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/GetFolderRequest.cc b/dataworks-public/src/model/GetFolderRequest.cc index 657c0a42c..92b81a15c 100644 --- a/dataworks-public/src/model/GetFolderRequest.cc +++ b/dataworks-public/src/model/GetFolderRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetFolderRequest; + +GetFolderRequest::GetFolderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetFolder") { + setMethod(HttpRequest::Method::Post); } -void GetFolderRequest::setFolderPath(const std::string& folderPath) -{ - folderPath_ = folderPath; - setBodyParameter("FolderPath", folderPath); +GetFolderRequest::~GetFolderRequest() {} + +std::string GetFolderRequest::getFolderPath() const { + return folderPath_; } -long GetFolderRequest::getProjectId()const -{ - return projectId_; +void GetFolderRequest::setFolderPath(const std::string &folderPath) { + folderPath_ = folderPath; + setBodyParameter(std::string("FolderPath"), folderPath); } -void GetFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetFolderRequest::getProjectId() const { + return projectId_; } -std::string GetFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void GetFolderRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string GetFolderRequest::getProjectIdentifier() const { + return projectIdentifier_; } -std::string GetFolderRequest::getFolderId()const -{ - return folderId_; +void GetFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void GetFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); +std::string GetFolderRequest::getFolderId() const { + return folderId_; +} + +void GetFolderRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setBodyParameter(std::string("FolderId"), folderId); } diff --git a/dataworks-public/src/model/GetIDEEventDetailRequest.cc b/dataworks-public/src/model/GetIDEEventDetailRequest.cc index e5a805d4c..1fd7371cb 100644 --- a/dataworks-public/src/model/GetIDEEventDetailRequest.cc +++ b/dataworks-public/src/model/GetIDEEventDetailRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetIDEEventDetailRequest; - -GetIDEEventDetailRequest::GetIDEEventDetailRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetIDEEventDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetIDEEventDetailRequest::~GetIDEEventDetailRequest() -{} - -std::string GetIDEEventDetailRequest::getMessageId()const -{ - return messageId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetIDEEventDetailRequest; + +GetIDEEventDetailRequest::GetIDEEventDetailRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetIDEEventDetail") { + setMethod(HttpRequest::Method::Post); } -void GetIDEEventDetailRequest::setMessageId(const std::string& messageId) -{ - messageId_ = messageId; - setBodyParameter("MessageId", messageId); +GetIDEEventDetailRequest::~GetIDEEventDetailRequest() {} + +std::string GetIDEEventDetailRequest::getMessageId() const { + return messageId_; } -long GetIDEEventDetailRequest::getProjectId()const -{ - return projectId_; +void GetIDEEventDetailRequest::setMessageId(const std::string &messageId) { + messageId_ = messageId; + setBodyParameter(std::string("MessageId"), messageId); } -void GetIDEEventDetailRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetIDEEventDetailRequest::getProjectId() const { + return projectId_; +} + +void GetIDEEventDetailRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc b/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc index 2646ad555..2ed8bcbc4 100644 --- a/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc +++ b/dataworks-public/src/model/GetInstanceConsumeTimeRankRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceConsumeTimeRankRequest; - -GetInstanceConsumeTimeRankRequest::GetInstanceConsumeTimeRankRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceConsumeTimeRank") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceConsumeTimeRankRequest::~GetInstanceConsumeTimeRankRequest() -{} - -std::string GetInstanceConsumeTimeRankRequest::getBizdate()const -{ - return bizdate_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceConsumeTimeRankRequest; + +GetInstanceConsumeTimeRankRequest::GetInstanceConsumeTimeRankRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceConsumeTimeRank") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceConsumeTimeRankRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +GetInstanceConsumeTimeRankRequest::~GetInstanceConsumeTimeRankRequest() {} + +std::string GetInstanceConsumeTimeRankRequest::getBizdate() const { + return bizdate_; } -long GetInstanceConsumeTimeRankRequest::getProjectId()const -{ - return projectId_; +void GetInstanceConsumeTimeRankRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void GetInstanceConsumeTimeRankRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetInstanceConsumeTimeRankRequest::getProjectId() const { + return projectId_; +} + +void GetInstanceConsumeTimeRankRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetInstanceCountTrendRequest.cc b/dataworks-public/src/model/GetInstanceCountTrendRequest.cc index 9dc377239..88f3aff5e 100644 --- a/dataworks-public/src/model/GetInstanceCountTrendRequest.cc +++ b/dataworks-public/src/model/GetInstanceCountTrendRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceCountTrendRequest; - -GetInstanceCountTrendRequest::GetInstanceCountTrendRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceCountTrend") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceCountTrendRequest::~GetInstanceCountTrendRequest() -{} - -std::string GetInstanceCountTrendRequest::getBeginDate()const -{ - return beginDate_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceCountTrendRequest; + +GetInstanceCountTrendRequest::GetInstanceCountTrendRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceCountTrend") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceCountTrendRequest::setBeginDate(const std::string& beginDate) -{ - beginDate_ = beginDate; - setBodyParameter("BeginDate", beginDate); +GetInstanceCountTrendRequest::~GetInstanceCountTrendRequest() {} + +std::string GetInstanceCountTrendRequest::getBeginDate() const { + return beginDate_; } -std::string GetInstanceCountTrendRequest::getEndDate()const -{ - return endDate_; +void GetInstanceCountTrendRequest::setBeginDate(const std::string &beginDate) { + beginDate_ = beginDate; + setBodyParameter(std::string("BeginDate"), beginDate); } -void GetInstanceCountTrendRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); +std::string GetInstanceCountTrendRequest::getEndDate() const { + return endDate_; } -long GetInstanceCountTrendRequest::getProjectId()const -{ - return projectId_; +void GetInstanceCountTrendRequest::setEndDate(const std::string &endDate) { + endDate_ = endDate; + setBodyParameter(std::string("EndDate"), endDate); } -void GetInstanceCountTrendRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetInstanceCountTrendRequest::getProjectId() const { + return projectId_; +} + +void GetInstanceCountTrendRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetInstanceErrorRankRequest.cc b/dataworks-public/src/model/GetInstanceErrorRankRequest.cc index 24679b8ea..e0d0f6239 100644 --- a/dataworks-public/src/model/GetInstanceErrorRankRequest.cc +++ b/dataworks-public/src/model/GetInstanceErrorRankRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceErrorRankRequest; - -GetInstanceErrorRankRequest::GetInstanceErrorRankRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceErrorRank") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceErrorRankRequest::~GetInstanceErrorRankRequest() -{} - -long GetInstanceErrorRankRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceErrorRankRequest; + +GetInstanceErrorRankRequest::GetInstanceErrorRankRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceErrorRank") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceErrorRankRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +GetInstanceErrorRankRequest::~GetInstanceErrorRankRequest() {} + +long GetInstanceErrorRankRequest::getProjectId() const { + return projectId_; +} + +void GetInstanceErrorRankRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetInstanceLogRequest.cc b/dataworks-public/src/model/GetInstanceLogRequest.cc index 441eca4c6..9a9f58a24 100644 --- a/dataworks-public/src/model/GetInstanceLogRequest.cc +++ b/dataworks-public/src/model/GetInstanceLogRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceLogRequest; + +GetInstanceLogRequest::GetInstanceLogRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceLog") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceLogRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetInstanceLogRequest::~GetInstanceLogRequest() {} + +std::string GetInstanceLogRequest::getProjectEnv() const { + return projectEnv_; } -long GetInstanceLogRequest::getInstanceId()const -{ - return instanceId_; +void GetInstanceLogRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetInstanceLogRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long GetInstanceLogRequest::getInstanceId() const { + return instanceId_; +} + +void GetInstanceLogRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/GetInstanceLogResult.cc b/dataworks-public/src/model/GetInstanceLogResult.cc index 37bb9fc76..bbbc613a0 100644 --- a/dataworks-public/src/model/GetInstanceLogResult.cc +++ b/dataworks-public/src/model/GetInstanceLogResult.cc @@ -39,16 +39,16 @@ void GetInstanceLogResult::parse(const std::string &payload) 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(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/GetInstanceRequest.cc b/dataworks-public/src/model/GetInstanceRequest.cc index 8f04e7f7f..68523d29a 100644 --- a/dataworks-public/src/model/GetInstanceRequest.cc +++ b/dataworks-public/src/model/GetInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceRequest; + +GetInstanceRequest::GetInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstance") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetInstanceRequest::~GetInstanceRequest() {} + +std::string GetInstanceRequest::getProjectEnv() const { + return projectEnv_; } -long GetInstanceRequest::getInstanceId()const -{ - return instanceId_; +void GetInstanceRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long GetInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void GetInstanceRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/GetInstanceStatusCountRequest.cc b/dataworks-public/src/model/GetInstanceStatusCountRequest.cc index 87a6a2d67..7dede5b9d 100644 --- a/dataworks-public/src/model/GetInstanceStatusCountRequest.cc +++ b/dataworks-public/src/model/GetInstanceStatusCountRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceStatusCountRequest; - -GetInstanceStatusCountRequest::GetInstanceStatusCountRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceStatusCount") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceStatusCountRequest::~GetInstanceStatusCountRequest() -{} - -std::string GetInstanceStatusCountRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceStatusCountRequest; + +GetInstanceStatusCountRequest::GetInstanceStatusCountRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceStatusCount") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceStatusCountRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetInstanceStatusCountRequest::~GetInstanceStatusCountRequest() {} + +std::string GetInstanceStatusCountRequest::getProjectEnv() const { + return projectEnv_; } -std::string GetInstanceStatusCountRequest::getBizDate()const -{ - return bizDate_; +void GetInstanceStatusCountRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetInstanceStatusCountRequest::setBizDate(const std::string& bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", bizDate); +std::string GetInstanceStatusCountRequest::getBizDate() const { + return bizDate_; } -long GetInstanceStatusCountRequest::getProjectId()const -{ - return projectId_; +void GetInstanceStatusCountRequest::setBizDate(const std::string &bizDate) { + bizDate_ = bizDate; + setBodyParameter(std::string("BizDate"), bizDate); } -void GetInstanceStatusCountRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetInstanceStatusCountRequest::getProjectId() const { + return projectId_; +} + +void GetInstanceStatusCountRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc b/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc index d331319d8..59ad9bee8 100644 --- a/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc +++ b/dataworks-public/src/model/GetInstanceStatusStatisticRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetInstanceStatusStatisticRequest; - -GetInstanceStatusStatisticRequest::GetInstanceStatusStatisticRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceStatusStatistic") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceStatusStatisticRequest::~GetInstanceStatusStatisticRequest() -{} - -std::string GetInstanceStatusStatisticRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetInstanceStatusStatisticRequest; + +GetInstanceStatusStatisticRequest::GetInstanceStatusStatisticRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetInstanceStatusStatistic") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceStatusStatisticRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetInstanceStatusStatisticRequest::~GetInstanceStatusStatisticRequest() {} + +std::string GetInstanceStatusStatisticRequest::getProjectEnv() const { + return projectEnv_; } -std::string GetInstanceStatusStatisticRequest::getDagType()const -{ - return dagType_; +void GetInstanceStatusStatisticRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetInstanceStatusStatisticRequest::setDagType(const std::string& dagType) -{ - dagType_ = dagType; - setBodyParameter("DagType", dagType); +std::string GetInstanceStatusStatisticRequest::getDagType() const { + return dagType_; } -std::string GetInstanceStatusStatisticRequest::getBizDate()const -{ - return bizDate_; +void GetInstanceStatusStatisticRequest::setDagType(const std::string &dagType) { + dagType_ = dagType; + setBodyParameter(std::string("DagType"), dagType); } -void GetInstanceStatusStatisticRequest::setBizDate(const std::string& bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", bizDate); +std::string GetInstanceStatusStatisticRequest::getBizDate() const { + return bizDate_; } -std::string GetInstanceStatusStatisticRequest::getSchedulerType()const -{ - return schedulerType_; +void GetInstanceStatusStatisticRequest::setBizDate(const std::string &bizDate) { + bizDate_ = bizDate; + setBodyParameter(std::string("BizDate"), bizDate); } -void GetInstanceStatusStatisticRequest::setSchedulerType(const std::string& schedulerType) -{ - schedulerType_ = schedulerType; - setBodyParameter("SchedulerType", schedulerType); +std::string GetInstanceStatusStatisticRequest::getSchedulerType() const { + return schedulerType_; } -long GetInstanceStatusStatisticRequest::getProjectId()const -{ - return projectId_; +void GetInstanceStatusStatisticRequest::setSchedulerType(const std::string &schedulerType) { + schedulerType_ = schedulerType; + setBodyParameter(std::string("SchedulerType"), schedulerType); } -void GetInstanceStatusStatisticRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetInstanceStatusStatisticRequest::getProjectId() const { + return projectId_; +} + +void GetInstanceStatusStatisticRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetManualDagInstancesRequest.cc b/dataworks-public/src/model/GetManualDagInstancesRequest.cc index 6864a457b..2815655ab 100644 --- a/dataworks-public/src/model/GetManualDagInstancesRequest.cc +++ b/dataworks-public/src/model/GetManualDagInstancesRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetManualDagInstancesRequest; - -GetManualDagInstancesRequest::GetManualDagInstancesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetManualDagInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -GetManualDagInstancesRequest::~GetManualDagInstancesRequest() -{} - -std::string GetManualDagInstancesRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetManualDagInstancesRequest; + +GetManualDagInstancesRequest::GetManualDagInstancesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetManualDagInstances") { + setMethod(HttpRequest::Method::Post); } -void GetManualDagInstancesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetManualDagInstancesRequest::~GetManualDagInstancesRequest() {} + +std::string GetManualDagInstancesRequest::getProjectEnv() const { + return projectEnv_; } -std::string GetManualDagInstancesRequest::getProjectName()const -{ - return projectName_; +void GetManualDagInstancesRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetManualDagInstancesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string GetManualDagInstancesRequest::getProjectName() const { + return projectName_; } -std::string GetManualDagInstancesRequest::getDagId()const -{ - return dagId_; +void GetManualDagInstancesRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void GetManualDagInstancesRequest::setDagId(const std::string& dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", dagId); +std::string GetManualDagInstancesRequest::getDagId() const { + return dagId_; +} + +void GetManualDagInstancesRequest::setDagId(const std::string &dagId) { + dagId_ = dagId; + setBodyParameter(std::string("DagId"), dagId); } diff --git a/dataworks-public/src/model/GetMetaCategoryRequest.cc b/dataworks-public/src/model/GetMetaCategoryRequest.cc index 49c159010..5952c214c 100644 --- a/dataworks-public/src/model/GetMetaCategoryRequest.cc +++ b/dataworks-public/src/model/GetMetaCategoryRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaCategoryRequest; + +GetMetaCategoryRequest::GetMetaCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaCategory") { + setMethod(HttpRequest::Method::Post); } -void GetMetaCategoryRequest::setParentCategoryId(long parentCategoryId) -{ - parentCategoryId_ = parentCategoryId; - setParameter("ParentCategoryId", std::to_string(parentCategoryId)); +GetMetaCategoryRequest::~GetMetaCategoryRequest() {} + +long GetMetaCategoryRequest::getParentCategoryId() const { + return parentCategoryId_; } -int GetMetaCategoryRequest::getPageSize()const -{ - return pageSize_; +void GetMetaCategoryRequest::setParentCategoryId(long parentCategoryId) { + parentCategoryId_ = parentCategoryId; + setParameter(std::string("ParentCategoryId"), std::to_string(parentCategoryId)); } -void GetMetaCategoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaCategoryRequest::getPageSize() const { + return pageSize_; } -int GetMetaCategoryRequest::getPageNum()const -{ - return pageNum_; +void GetMetaCategoryRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaCategoryRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int GetMetaCategoryRequest::getPageNum() const { + return pageNum_; +} + +void GetMetaCategoryRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } diff --git a/dataworks-public/src/model/GetMetaCategoryResult.cc b/dataworks-public/src/model/GetMetaCategoryResult.cc index c32d6b5cb..4c6caf722 100644 --- a/dataworks-public/src/model/GetMetaCategoryResult.cc +++ b/dataworks-public/src/model/GetMetaCategoryResult.cc @@ -50,34 +50,34 @@ void GetMetaCategoryResult::parse(const std::string &payload) 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()); + if(!dataNodeDataEntityListDataEntityListItem["Comment"].isNull()) + dataEntityListItemObject.comment = dataNodeDataEntityListDataEntityListItem["Comment"].asString(); + if(!dataNodeDataEntityListDataEntityListItem["ModifiedTime"].isNull()) + dataEntityListItemObject.modifiedTime = std::stol(dataNodeDataEntityListDataEntityListItem["ModifiedTime"].asString()); + if(!dataNodeDataEntityListDataEntityListItem["CreateTime"].isNull()) + dataEntityListItemObject.createTime = std::stol(dataNodeDataEntityListDataEntityListItem["CreateTime"].asString()); + if(!dataNodeDataEntityListDataEntityListItem["CategoryId"].isNull()) + dataEntityListItemObject.categoryId = std::stol(dataNodeDataEntityListDataEntityListItem["CategoryId"].asString()); + if(!dataNodeDataEntityListDataEntityListItem["LastOperatorId"].isNull()) + dataEntityListItemObject.lastOperatorId = dataNodeDataEntityListDataEntityListItem["LastOperatorId"].asString(); + if(!dataNodeDataEntityListDataEntityListItem["Name"].isNull()) + dataEntityListItemObject.name = dataNodeDataEntityListDataEntityListItem["Name"].asString(); + if(!dataNodeDataEntityListDataEntityListItem["ParentCategoryId"].isNull()) + dataEntityListItemObject.parentCategoryId = std::stol(dataNodeDataEntityListDataEntityListItem["ParentCategoryId"].asString()); + if(!dataNodeDataEntityListDataEntityListItem["OwnerId"].isNull()) + dataEntityListItemObject.ownerId = dataNodeDataEntityListDataEntityListItem["OwnerId"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/GetMetaColumnLineageRequest.cc b/dataworks-public/src/model/GetMetaColumnLineageRequest.cc index 6fe4fcc5f..0cdd7135f 100644 --- a/dataworks-public/src/model/GetMetaColumnLineageRequest.cc +++ b/dataworks-public/src/model/GetMetaColumnLineageRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaColumnLineageRequest; - -GetMetaColumnLineageRequest::GetMetaColumnLineageRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaColumnLineage") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaColumnLineageRequest::~GetMetaColumnLineageRequest() -{} - -std::string GetMetaColumnLineageRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaColumnLineageRequest; + +GetMetaColumnLineageRequest::GetMetaColumnLineageRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaColumnLineage") { + setMethod(HttpRequest::Method::Post); } -void GetMetaColumnLineageRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaColumnLineageRequest::~GetMetaColumnLineageRequest() {} + +std::string GetMetaColumnLineageRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaColumnLineageRequest::getClusterId()const -{ - return clusterId_; +void GetMetaColumnLineageRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaColumnLineageRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaColumnLineageRequest::getClusterId() const { + return clusterId_; } -int GetMetaColumnLineageRequest::getPageNum()const -{ - return pageNum_; +void GetMetaColumnLineageRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaColumnLineageRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int GetMetaColumnLineageRequest::getPageNum() const { + return pageNum_; } -std::string GetMetaColumnLineageRequest::getColumnName()const -{ - return columnName_; +void GetMetaColumnLineageRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void GetMetaColumnLineageRequest::setColumnName(const std::string& columnName) -{ - columnName_ = columnName; - setParameter("ColumnName", columnName); +std::string GetMetaColumnLineageRequest::getColumnName() const { + return columnName_; } -std::string GetMetaColumnLineageRequest::getColumnGuid()const -{ - return columnGuid_; +void GetMetaColumnLineageRequest::setColumnName(const std::string &columnName) { + columnName_ = columnName; + setParameter(std::string("ColumnName"), columnName); } -void GetMetaColumnLineageRequest::setColumnGuid(const std::string& columnGuid) -{ - columnGuid_ = columnGuid; - setParameter("ColumnGuid", columnGuid); +std::string GetMetaColumnLineageRequest::getColumnGuid() const { + return columnGuid_; } -std::string GetMetaColumnLineageRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaColumnLineageRequest::setColumnGuid(const std::string &columnGuid) { + columnGuid_ = columnGuid; + setParameter(std::string("ColumnGuid"), columnGuid); } -void GetMetaColumnLineageRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaColumnLineageRequest::getDatabaseName() const { + return databaseName_; } -int GetMetaColumnLineageRequest::getPageSize()const -{ - return pageSize_; +void GetMetaColumnLineageRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaColumnLineageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaColumnLineageRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaColumnLineageRequest::getTableName()const -{ - return tableName_; +void GetMetaColumnLineageRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaColumnLineageRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string GetMetaColumnLineageRequest::getTableName() const { + return tableName_; } -std::string GetMetaColumnLineageRequest::getDirection()const -{ - return direction_; +void GetMetaColumnLineageRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void GetMetaColumnLineageRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); +std::string GetMetaColumnLineageRequest::getDirection() const { + return direction_; +} + +void GetMetaColumnLineageRequest::setDirection(const std::string &direction) { + direction_ = direction; + setParameter(std::string("Direction"), direction); } diff --git a/dataworks-public/src/model/GetMetaDBInfoRequest.cc b/dataworks-public/src/model/GetMetaDBInfoRequest.cc index cfccc196f..49abdb982 100644 --- a/dataworks-public/src/model/GetMetaDBInfoRequest.cc +++ b/dataworks-public/src/model/GetMetaDBInfoRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaDBInfoRequest; - -GetMetaDBInfoRequest::GetMetaDBInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaDBInfoRequest::~GetMetaDBInfoRequest() -{} - -std::string GetMetaDBInfoRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaDBInfoRequest; + +GetMetaDBInfoRequest::GetMetaDBInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBInfo") { + setMethod(HttpRequest::Method::Get); } -void GetMetaDBInfoRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaDBInfoRequest::~GetMetaDBInfoRequest() {} + +std::string GetMetaDBInfoRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaDBInfoRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaDBInfoRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaDBInfoRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaDBInfoRequest::getDatabaseName() const { + return databaseName_; } -std::string GetMetaDBInfoRequest::getClusterId()const -{ - return clusterId_; +void GetMetaDBInfoRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaDBInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaDBInfoRequest::getClusterId() const { + return clusterId_; } -std::string GetMetaDBInfoRequest::getAppGuid()const -{ - return appGuid_; +void GetMetaDBInfoRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaDBInfoRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); +std::string GetMetaDBInfoRequest::getAppGuid() const { + return appGuid_; +} + +void GetMetaDBInfoRequest::setAppGuid(const std::string &appGuid) { + appGuid_ = appGuid; + setParameter(std::string("AppGuid"), appGuid); } diff --git a/dataworks-public/src/model/GetMetaDBTableListRequest.cc b/dataworks-public/src/model/GetMetaDBTableListRequest.cc index e1b6413df..7101f143b 100644 --- a/dataworks-public/src/model/GetMetaDBTableListRequest.cc +++ b/dataworks-public/src/model/GetMetaDBTableListRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaDBTableListRequest; - -GetMetaDBTableListRequest::GetMetaDBTableListRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBTableList") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaDBTableListRequest::~GetMetaDBTableListRequest() -{} - -std::string GetMetaDBTableListRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaDBTableListRequest; + +GetMetaDBTableListRequest::GetMetaDBTableListRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaDBTableList") { + setMethod(HttpRequest::Method::Post); } -void GetMetaDBTableListRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaDBTableListRequest::~GetMetaDBTableListRequest() {} + +std::string GetMetaDBTableListRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaDBTableListRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaDBTableListRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaDBTableListRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaDBTableListRequest::getDatabaseName() const { + return databaseName_; } -int GetMetaDBTableListRequest::getPageSize()const -{ - return pageSize_; +void GetMetaDBTableListRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaDBTableListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaDBTableListRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaDBTableListRequest::getClusterId()const -{ - return clusterId_; +void GetMetaDBTableListRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaDBTableListRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaDBTableListRequest::getClusterId() const { + return clusterId_; } -std::string GetMetaDBTableListRequest::getAppGuid()const -{ - return appGuid_; +void GetMetaDBTableListRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaDBTableListRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); +std::string GetMetaDBTableListRequest::getAppGuid() const { + return appGuid_; } -int GetMetaDBTableListRequest::getPageNumber()const -{ - return pageNumber_; +void GetMetaDBTableListRequest::setAppGuid(const std::string &appGuid) { + appGuid_ = appGuid; + setParameter(std::string("AppGuid"), appGuid); } -void GetMetaDBTableListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int GetMetaDBTableListRequest::getPageNumber() const { + return pageNumber_; +} + +void GetMetaDBTableListRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc b/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc index 783651030..f3dd17c00 100644 --- a/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc +++ b/dataworks-public/src/model/GetMetaTableBasicInfoRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableBasicInfoRequest; - -GetMetaTableBasicInfoRequest::GetMetaTableBasicInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableBasicInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableBasicInfoRequest::~GetMetaTableBasicInfoRequest() -{} - -std::string GetMetaTableBasicInfoRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableBasicInfoRequest; + +GetMetaTableBasicInfoRequest::GetMetaTableBasicInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableBasicInfo") { + setMethod(HttpRequest::Method::Get); } -void GetMetaTableBasicInfoRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaTableBasicInfoRequest::~GetMetaTableBasicInfoRequest() {} + +std::string GetMetaTableBasicInfoRequest::getDataSourceType() const { + return dataSourceType_; } -bool GetMetaTableBasicInfoRequest::getExtension()const -{ - return extension_; +void GetMetaTableBasicInfoRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaTableBasicInfoRequest::setExtension(bool extension) -{ - extension_ = extension; - setParameter("Extension", extension ? "true" : "false"); +bool GetMetaTableBasicInfoRequest::getExtension() const { + return extension_; } -std::string GetMetaTableBasicInfoRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableBasicInfoRequest::setExtension(bool extension) { + extension_ = extension; + setParameter(std::string("Extension"), extension ? "true" : "false"); } -void GetMetaTableBasicInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableBasicInfoRequest::getTableGuid() const { + return tableGuid_; } -std::string GetMetaTableBasicInfoRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaTableBasicInfoRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTableBasicInfoRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaTableBasicInfoRequest::getDatabaseName() const { + return databaseName_; } -std::string GetMetaTableBasicInfoRequest::getClusterId()const -{ - return clusterId_; +void GetMetaTableBasicInfoRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaTableBasicInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaTableBasicInfoRequest::getClusterId() const { + return clusterId_; } -std::string GetMetaTableBasicInfoRequest::getTableName()const -{ - return tableName_; +void GetMetaTableBasicInfoRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaTableBasicInfoRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string GetMetaTableBasicInfoRequest::getTableName() const { + return tableName_; +} + +void GetMetaTableBasicInfoRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc b/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc index b231d5d69..ef90a99cd 100644 --- a/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc +++ b/dataworks-public/src/model/GetMetaTableChangeLogRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableChangeLogRequest; + +GetMetaTableChangeLogRequest::GetMetaTableChangeLogRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableChangeLog") { + setMethod(HttpRequest::Method::Post); } -void GetMetaTableChangeLogRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +GetMetaTableChangeLogRequest::~GetMetaTableChangeLogRequest() {} + +std::string GetMetaTableChangeLogRequest::getStartDate() const { + return startDate_; } -int GetMetaTableChangeLogRequest::getPageNumber()const -{ - return pageNumber_; +void GetMetaTableChangeLogRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void GetMetaTableChangeLogRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int GetMetaTableChangeLogRequest::getPageNumber() const { + return pageNumber_; } -std::string GetMetaTableChangeLogRequest::getEndDate()const -{ - return endDate_; +void GetMetaTableChangeLogRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void GetMetaTableChangeLogRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); +std::string GetMetaTableChangeLogRequest::getEndDate() const { + return endDate_; } -std::string GetMetaTableChangeLogRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableChangeLogRequest::setEndDate(const std::string &endDate) { + endDate_ = endDate; + setBodyParameter(std::string("EndDate"), endDate); } -void GetMetaTableChangeLogRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setBodyParameter("TableGuid", tableGuid); +std::string GetMetaTableChangeLogRequest::getTableGuid() const { + return tableGuid_; } -std::string GetMetaTableChangeLogRequest::getChangeType()const -{ - return changeType_; +void GetMetaTableChangeLogRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setBodyParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTableChangeLogRequest::setChangeType(const std::string& changeType) -{ - changeType_ = changeType; - setBodyParameter("ChangeType", changeType); +std::string GetMetaTableChangeLogRequest::getChangeType() const { + return changeType_; } -int GetMetaTableChangeLogRequest::getPageSize()const -{ - return pageSize_; +void GetMetaTableChangeLogRequest::setChangeType(const std::string &changeType) { + changeType_ = changeType; + setBodyParameter(std::string("ChangeType"), changeType); } -void GetMetaTableChangeLogRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int GetMetaTableChangeLogRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaTableChangeLogRequest::getObjectType()const -{ - return objectType_; +void GetMetaTableChangeLogRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTableChangeLogRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setBodyParameter("ObjectType", objectType); +std::string GetMetaTableChangeLogRequest::getObjectType() const { + return objectType_; +} + +void GetMetaTableChangeLogRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setBodyParameter(std::string("ObjectType"), objectType); } diff --git a/dataworks-public/src/model/GetMetaTableColumnRequest.cc b/dataworks-public/src/model/GetMetaTableColumnRequest.cc index 87173d0a6..dc3aab430 100644 --- a/dataworks-public/src/model/GetMetaTableColumnRequest.cc +++ b/dataworks-public/src/model/GetMetaTableColumnRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableColumnRequest; - -GetMetaTableColumnRequest::GetMetaTableColumnRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableColumn") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableColumnRequest::~GetMetaTableColumnRequest() -{} - -std::string GetMetaTableColumnRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableColumnRequest; + +GetMetaTableColumnRequest::GetMetaTableColumnRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableColumn") { + setMethod(HttpRequest::Method::Get); } -void GetMetaTableColumnRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaTableColumnRequest::~GetMetaTableColumnRequest() {} + +std::string GetMetaTableColumnRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaTableColumnRequest::getClusterId()const -{ - return clusterId_; +void GetMetaTableColumnRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaTableColumnRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaTableColumnRequest::getClusterId() const { + return clusterId_; } -int GetMetaTableColumnRequest::getPageNum()const -{ - return pageNum_; +void GetMetaTableColumnRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaTableColumnRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int GetMetaTableColumnRequest::getPageNum() const { + return pageNum_; } -std::string GetMetaTableColumnRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableColumnRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void GetMetaTableColumnRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableColumnRequest::getTableGuid() const { + return tableGuid_; } -std::string GetMetaTableColumnRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaTableColumnRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTableColumnRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaTableColumnRequest::getDatabaseName() const { + return databaseName_; } -int GetMetaTableColumnRequest::getPageSize()const -{ - return pageSize_; +void GetMetaTableColumnRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaTableColumnRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaTableColumnRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaTableColumnRequest::getTableName()const -{ - return tableName_; +void GetMetaTableColumnRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTableColumnRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string GetMetaTableColumnRequest::getTableName() const { + return tableName_; +} + +void GetMetaTableColumnRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc b/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc index fad2b3022..2f151b139 100644 --- a/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc +++ b/dataworks-public/src/model/GetMetaTableFullInfoRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableFullInfoRequest; - -GetMetaTableFullInfoRequest::GetMetaTableFullInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableFullInfo") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableFullInfoRequest::~GetMetaTableFullInfoRequest() -{} - -std::string GetMetaTableFullInfoRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableFullInfoRequest; + +GetMetaTableFullInfoRequest::GetMetaTableFullInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableFullInfo") { + setMethod(HttpRequest::Method::Get); } -void GetMetaTableFullInfoRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaTableFullInfoRequest::~GetMetaTableFullInfoRequest() {} + +std::string GetMetaTableFullInfoRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaTableFullInfoRequest::getClusterId()const -{ - return clusterId_; +void GetMetaTableFullInfoRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaTableFullInfoRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaTableFullInfoRequest::getClusterId() const { + return clusterId_; } -int GetMetaTableFullInfoRequest::getPageNum()const -{ - return pageNum_; +void GetMetaTableFullInfoRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaTableFullInfoRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int GetMetaTableFullInfoRequest::getPageNum() const { + return pageNum_; } -std::string GetMetaTableFullInfoRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableFullInfoRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void GetMetaTableFullInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableFullInfoRequest::getTableGuid() const { + return tableGuid_; } -std::string GetMetaTableFullInfoRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaTableFullInfoRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTableFullInfoRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaTableFullInfoRequest::getDatabaseName() const { + return databaseName_; } -int GetMetaTableFullInfoRequest::getPageSize()const -{ - return pageSize_; +void GetMetaTableFullInfoRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaTableFullInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaTableFullInfoRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaTableFullInfoRequest::getTableName()const -{ - return tableName_; +void GetMetaTableFullInfoRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTableFullInfoRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string GetMetaTableFullInfoRequest::getTableName() const { + return tableName_; +} + +void GetMetaTableFullInfoRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc b/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc index cc406974e..4c3bb3dfd 100644 --- a/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc +++ b/dataworks-public/src/model/GetMetaTableIntroWikiRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableIntroWikiRequest; + +GetMetaTableIntroWikiRequest::GetMetaTableIntroWikiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableIntroWiki") { + setMethod(HttpRequest::Method::Post); } -void GetMetaTableIntroWikiRequest::setWikiVersion(long wikiVersion) -{ - wikiVersion_ = wikiVersion; - setParameter("WikiVersion", std::to_string(wikiVersion)); +GetMetaTableIntroWikiRequest::~GetMetaTableIntroWikiRequest() {} + +long GetMetaTableIntroWikiRequest::getWikiVersion() const { + return wikiVersion_; } -std::string GetMetaTableIntroWikiRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableIntroWikiRequest::setWikiVersion(long wikiVersion) { + wikiVersion_ = wikiVersion; + setParameter(std::string("WikiVersion"), std::to_string(wikiVersion)); } -void GetMetaTableIntroWikiRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableIntroWikiRequest::getTableGuid() const { + return tableGuid_; +} + +void GetMetaTableIntroWikiRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } diff --git a/dataworks-public/src/model/GetMetaTableLineageRequest.cc b/dataworks-public/src/model/GetMetaTableLineageRequest.cc index 7f08362cc..b1f216120 100644 --- a/dataworks-public/src/model/GetMetaTableLineageRequest.cc +++ b/dataworks-public/src/model/GetMetaTableLineageRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableLineageRequest; - -GetMetaTableLineageRequest::GetMetaTableLineageRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableLineage") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTableLineageRequest::~GetMetaTableLineageRequest() -{} - -std::string GetMetaTableLineageRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableLineageRequest; + +GetMetaTableLineageRequest::GetMetaTableLineageRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableLineage") { + setMethod(HttpRequest::Method::Post); } -void GetMetaTableLineageRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaTableLineageRequest::~GetMetaTableLineageRequest() {} + +std::string GetMetaTableLineageRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaTableLineageRequest::getClusterId()const -{ - return clusterId_; +void GetMetaTableLineageRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaTableLineageRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaTableLineageRequest::getClusterId() const { + return clusterId_; } -std::string GetMetaTableLineageRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableLineageRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaTableLineageRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableLineageRequest::getTableGuid() const { + return tableGuid_; } -std::string GetMetaTableLineageRequest::getNextPrimaryKey()const -{ - return nextPrimaryKey_; +void GetMetaTableLineageRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTableLineageRequest::setNextPrimaryKey(const std::string& nextPrimaryKey) -{ - nextPrimaryKey_ = nextPrimaryKey; - setParameter("NextPrimaryKey", nextPrimaryKey); +std::string GetMetaTableLineageRequest::getNextPrimaryKey() const { + return nextPrimaryKey_; } -std::string GetMetaTableLineageRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaTableLineageRequest::setNextPrimaryKey(const std::string &nextPrimaryKey) { + nextPrimaryKey_ = nextPrimaryKey; + setParameter(std::string("NextPrimaryKey"), nextPrimaryKey); } -void GetMetaTableLineageRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaTableLineageRequest::getDatabaseName() const { + return databaseName_; } -int GetMetaTableLineageRequest::getPageSize()const -{ - return pageSize_; +void GetMetaTableLineageRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaTableLineageRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaTableLineageRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaTableLineageRequest::getTableName()const -{ - return tableName_; +void GetMetaTableLineageRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTableLineageRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string GetMetaTableLineageRequest::getTableName() const { + return tableName_; } -std::string GetMetaTableLineageRequest::getDirection()const -{ - return direction_; +void GetMetaTableLineageRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void GetMetaTableLineageRequest::setDirection(const std::string& direction) -{ - direction_ = direction; - setParameter("Direction", direction); +std::string GetMetaTableLineageRequest::getDirection() const { + return direction_; +} + +void GetMetaTableLineageRequest::setDirection(const std::string &direction) { + direction_ = direction; + setParameter(std::string("Direction"), direction); } diff --git a/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc b/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc index 9dac7d00c..1aadcfb11 100644 --- a/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc +++ b/dataworks-public/src/model/GetMetaTableListByCategoryRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableListByCategoryRequest; + +GetMetaTableListByCategoryRequest::GetMetaTableListByCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableListByCategory") { + setMethod(HttpRequest::Method::Get); } -void GetMetaTableListByCategoryRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +GetMetaTableListByCategoryRequest::~GetMetaTableListByCategoryRequest() {} + +int GetMetaTableListByCategoryRequest::getPageSize() const { + return pageSize_; } -int GetMetaTableListByCategoryRequest::getPageNumber()const -{ - return pageNumber_; +void GetMetaTableListByCategoryRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTableListByCategoryRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int GetMetaTableListByCategoryRequest::getPageNumber() const { + return pageNumber_; } -long GetMetaTableListByCategoryRequest::getCategoryId()const -{ - return categoryId_; +void GetMetaTableListByCategoryRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void GetMetaTableListByCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +long GetMetaTableListByCategoryRequest::getCategoryId() const { + return categoryId_; +} + +void GetMetaTableListByCategoryRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } diff --git a/dataworks-public/src/model/GetMetaTableOutputRequest.cc b/dataworks-public/src/model/GetMetaTableOutputRequest.cc index e4c0224ef..35cf044ef 100644 --- a/dataworks-public/src/model/GetMetaTableOutputRequest.cc +++ b/dataworks-public/src/model/GetMetaTableOutputRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableOutputRequest; + +GetMetaTableOutputRequest::GetMetaTableOutputRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableOutput") { + setMethod(HttpRequest::Method::Post); } -void GetMetaTableOutputRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setParameter("EndDate", endDate); +GetMetaTableOutputRequest::~GetMetaTableOutputRequest() {} + +std::string GetMetaTableOutputRequest::getEndDate() const { + return endDate_; } -std::string GetMetaTableOutputRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableOutputRequest::setEndDate(const std::string &endDate) { + endDate_ = endDate; + setParameter(std::string("EndDate"), endDate); } -void GetMetaTableOutputRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableOutputRequest::getTableGuid() const { + return tableGuid_; } -int GetMetaTableOutputRequest::getPageSize()const -{ - return pageSize_; +void GetMetaTableOutputRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTableOutputRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaTableOutputRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaTableOutputRequest::getStartDate()const -{ - return startDate_; +void GetMetaTableOutputRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTableOutputRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setParameter("StartDate", startDate); +std::string GetMetaTableOutputRequest::getStartDate() const { + return startDate_; } -int GetMetaTableOutputRequest::getPageNumber()const -{ - return pageNumber_; +void GetMetaTableOutputRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setParameter(std::string("StartDate"), startDate); } -void GetMetaTableOutputRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int GetMetaTableOutputRequest::getPageNumber() const { + return pageNumber_; +} + +void GetMetaTableOutputRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/GetMetaTablePartitionRequest.cc b/dataworks-public/src/model/GetMetaTablePartitionRequest.cc index c94b42390..6d435408c 100644 --- a/dataworks-public/src/model/GetMetaTablePartitionRequest.cc +++ b/dataworks-public/src/model/GetMetaTablePartitionRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTablePartitionRequest; - -GetMetaTablePartitionRequest::GetMetaTablePartitionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTablePartition") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMetaTablePartitionRequest::~GetMetaTablePartitionRequest() -{} - -std::string GetMetaTablePartitionRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTablePartitionRequest; + +GetMetaTablePartitionRequest::GetMetaTablePartitionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTablePartition") { + setMethod(HttpRequest::Method::Post); } -void GetMetaTablePartitionRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaTablePartitionRequest::~GetMetaTablePartitionRequest() {} + +std::string GetMetaTablePartitionRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaTablePartitionRequest::getClusterId()const -{ - return clusterId_; +void GetMetaTablePartitionRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaTablePartitionRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string GetMetaTablePartitionRequest::getClusterId() const { + return clusterId_; } -int GetMetaTablePartitionRequest::getPageNumber()const -{ - return pageNumber_; +void GetMetaTablePartitionRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void GetMetaTablePartitionRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int GetMetaTablePartitionRequest::getPageNumber() const { + return pageNumber_; } -std::string GetMetaTablePartitionRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTablePartitionRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void GetMetaTablePartitionRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTablePartitionRequest::getTableGuid() const { + return tableGuid_; } -std::string GetMetaTablePartitionRequest::getDatabaseName()const -{ - return databaseName_; +void GetMetaTablePartitionRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void GetMetaTablePartitionRequest::setDatabaseName(const std::string& databaseName) -{ - databaseName_ = databaseName; - setParameter("DatabaseName", databaseName); +std::string GetMetaTablePartitionRequest::getDatabaseName() const { + return databaseName_; } -int GetMetaTablePartitionRequest::getPageSize()const -{ - return pageSize_; +void GetMetaTablePartitionRequest::setDatabaseName(const std::string &databaseName) { + databaseName_ = databaseName; + setParameter(std::string("DatabaseName"), databaseName); } -void GetMetaTablePartitionRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetMetaTablePartitionRequest::getPageSize() const { + return pageSize_; } -std::string GetMetaTablePartitionRequest::getTableName()const -{ - return tableName_; +void GetMetaTablePartitionRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetMetaTablePartitionRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string GetMetaTablePartitionRequest::getTableName() const { + return tableName_; +} + +void GetMetaTablePartitionRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc b/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc index 92d80cfcb..d95393241 100644 --- a/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc +++ b/dataworks-public/src/model/GetMetaTableThemeLevelRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMetaTableThemeLevelRequest; - -GetMetaTableThemeLevelRequest::GetMetaTableThemeLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableThemeLevel") -{ - setMethod(HttpRequest::Method::Get); -} - -GetMetaTableThemeLevelRequest::~GetMetaTableThemeLevelRequest() -{} - -std::string GetMetaTableThemeLevelRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMetaTableThemeLevelRequest; + +GetMetaTableThemeLevelRequest::GetMetaTableThemeLevelRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMetaTableThemeLevel") { + setMethod(HttpRequest::Method::Get); } -void GetMetaTableThemeLevelRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +GetMetaTableThemeLevelRequest::~GetMetaTableThemeLevelRequest() {} + +std::string GetMetaTableThemeLevelRequest::getDataSourceType() const { + return dataSourceType_; } -std::string GetMetaTableThemeLevelRequest::getTableGuid()const -{ - return tableGuid_; +void GetMetaTableThemeLevelRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void GetMetaTableThemeLevelRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string GetMetaTableThemeLevelRequest::getTableGuid() const { + return tableGuid_; +} + +void GetMetaTableThemeLevelRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } diff --git a/dataworks-public/src/model/GetMigrationProcessRequest.cc b/dataworks-public/src/model/GetMigrationProcessRequest.cc index a79a97714..2a364ae64 100644 --- a/dataworks-public/src/model/GetMigrationProcessRequest.cc +++ b/dataworks-public/src/model/GetMigrationProcessRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMigrationProcessRequest; - -GetMigrationProcessRequest::GetMigrationProcessRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMigrationProcess") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMigrationProcessRequest::~GetMigrationProcessRequest() -{} - -long GetMigrationProcessRequest::getMigrationId()const -{ - return migrationId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMigrationProcessRequest; + +GetMigrationProcessRequest::GetMigrationProcessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMigrationProcess") { + setMethod(HttpRequest::Method::Post); } -void GetMigrationProcessRequest::setMigrationId(long migrationId) -{ - migrationId_ = migrationId; - setBodyParameter("MigrationId", std::to_string(migrationId)); +GetMigrationProcessRequest::~GetMigrationProcessRequest() {} + +long GetMigrationProcessRequest::getMigrationId() const { + return migrationId_; } -long GetMigrationProcessRequest::getProjectId()const -{ - return projectId_; +void GetMigrationProcessRequest::setMigrationId(long migrationId) { + migrationId_ = migrationId; + setBodyParameter(std::string("MigrationId"), std::to_string(migrationId)); } -void GetMigrationProcessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetMigrationProcessRequest::getProjectId() const { + return projectId_; +} + +void GetMigrationProcessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetMigrationSummaryRequest.cc b/dataworks-public/src/model/GetMigrationSummaryRequest.cc index f16b9a231..68a1e1046 100644 --- a/dataworks-public/src/model/GetMigrationSummaryRequest.cc +++ b/dataworks-public/src/model/GetMigrationSummaryRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetMigrationSummaryRequest; - -GetMigrationSummaryRequest::GetMigrationSummaryRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetMigrationSummary") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMigrationSummaryRequest::~GetMigrationSummaryRequest() -{} - -long GetMigrationSummaryRequest::getMigrationId()const -{ - return migrationId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetMigrationSummaryRequest; + +GetMigrationSummaryRequest::GetMigrationSummaryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetMigrationSummary") { + setMethod(HttpRequest::Method::Post); } -void GetMigrationSummaryRequest::setMigrationId(long migrationId) -{ - migrationId_ = migrationId; - setBodyParameter("MigrationId", std::to_string(migrationId)); +GetMigrationSummaryRequest::~GetMigrationSummaryRequest() {} + +long GetMigrationSummaryRequest::getMigrationId() const { + return migrationId_; } -long GetMigrationSummaryRequest::getProjectId()const -{ - return projectId_; +void GetMigrationSummaryRequest::setMigrationId(long migrationId) { + migrationId_ = migrationId; + setBodyParameter(std::string("MigrationId"), std::to_string(migrationId)); } -void GetMigrationSummaryRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetMigrationSummaryRequest::getProjectId() const { + return projectId_; +} + +void GetMigrationSummaryRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetNodeChildrenRequest.cc b/dataworks-public/src/model/GetNodeChildrenRequest.cc index c7ea8cb72..1036d8ac3 100644 --- a/dataworks-public/src/model/GetNodeChildrenRequest.cc +++ b/dataworks-public/src/model/GetNodeChildrenRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeChildrenRequest; - -GetNodeChildrenRequest::GetNodeChildrenRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeChildren") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeChildrenRequest::~GetNodeChildrenRequest() -{} - -std::string GetNodeChildrenRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetNodeChildrenRequest; + +GetNodeChildrenRequest::GetNodeChildrenRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeChildren") { + setMethod(HttpRequest::Method::Post); } -void GetNodeChildrenRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetNodeChildrenRequest::~GetNodeChildrenRequest() {} + +std::string GetNodeChildrenRequest::getProjectEnv() const { + return projectEnv_; } -long GetNodeChildrenRequest::getNodeId()const -{ - return nodeId_; +void GetNodeChildrenRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetNodeChildrenRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long GetNodeChildrenRequest::getNodeId() const { + return nodeId_; +} + +void GetNodeChildrenRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/GetNodeCodeRequest.cc b/dataworks-public/src/model/GetNodeCodeRequest.cc index 700e3e455..384512352 100644 --- a/dataworks-public/src/model/GetNodeCodeRequest.cc +++ b/dataworks-public/src/model/GetNodeCodeRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetNodeCodeRequest; + +GetNodeCodeRequest::GetNodeCodeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeCode") { + setMethod(HttpRequest::Method::Post); } -void GetNodeCodeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetNodeCodeRequest::~GetNodeCodeRequest() {} + +std::string GetNodeCodeRequest::getProjectEnv() const { + return projectEnv_; } -long GetNodeCodeRequest::getNodeId()const -{ - return nodeId_; +void GetNodeCodeRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetNodeCodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long GetNodeCodeRequest::getNodeId() const { + return nodeId_; +} + +void GetNodeCodeRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/GetNodeCodeResult.cc b/dataworks-public/src/model/GetNodeCodeResult.cc index e8caf1c41..dce694e26 100644 --- a/dataworks-public/src/model/GetNodeCodeResult.cc +++ b/dataworks-public/src/model/GetNodeCodeResult.cc @@ -39,16 +39,16 @@ void GetNodeCodeResult::parse(const std::string &payload) 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(); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/GetNodeOnBaselineRequest.cc b/dataworks-public/src/model/GetNodeOnBaselineRequest.cc index 172e4710f..2c86b7265 100644 --- a/dataworks-public/src/model/GetNodeOnBaselineRequest.cc +++ b/dataworks-public/src/model/GetNodeOnBaselineRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetNodeOnBaselineRequest; + +GetNodeOnBaselineRequest::GetNodeOnBaselineRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeOnBaseline") { + setMethod(HttpRequest::Method::Post); } -void GetNodeOnBaselineRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); +GetNodeOnBaselineRequest::~GetNodeOnBaselineRequest() {} + +long GetNodeOnBaselineRequest::getBaselineId() const { + return baselineId_; +} + +void GetNodeOnBaselineRequest::setBaselineId(long baselineId) { + baselineId_ = baselineId; + setBodyParameter(std::string("BaselineId"), std::to_string(baselineId)); } diff --git a/dataworks-public/src/model/GetNodeParentsRequest.cc b/dataworks-public/src/model/GetNodeParentsRequest.cc index 78bad213e..ccfb31f79 100644 --- a/dataworks-public/src/model/GetNodeParentsRequest.cc +++ b/dataworks-public/src/model/GetNodeParentsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeParentsRequest; - -GetNodeParentsRequest::GetNodeParentsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeParents") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeParentsRequest::~GetNodeParentsRequest() -{} - -std::string GetNodeParentsRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetNodeParentsRequest; + +GetNodeParentsRequest::GetNodeParentsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeParents") { + setMethod(HttpRequest::Method::Post); } -void GetNodeParentsRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetNodeParentsRequest::~GetNodeParentsRequest() {} + +std::string GetNodeParentsRequest::getProjectEnv() const { + return projectEnv_; } -long GetNodeParentsRequest::getNodeId()const -{ - return nodeId_; +void GetNodeParentsRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetNodeParentsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long GetNodeParentsRequest::getNodeId() const { + return nodeId_; +} + +void GetNodeParentsRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/GetNodeRequest.cc b/dataworks-public/src/model/GetNodeRequest.cc index f1c514740..24586e82e 100644 --- a/dataworks-public/src/model/GetNodeRequest.cc +++ b/dataworks-public/src/model/GetNodeRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetNodeRequest; + +GetNodeRequest::GetNodeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetNode") { + setMethod(HttpRequest::Method::Post); } -void GetNodeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +GetNodeRequest::~GetNodeRequest() {} + +std::string GetNodeRequest::getProjectEnv() const { + return projectEnv_; } -long GetNodeRequest::getNodeId()const -{ - return nodeId_; +void GetNodeRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void GetNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long GetNodeRequest::getNodeId() const { + return nodeId_; +} + +void GetNodeRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/GetNodeResult.cc b/dataworks-public/src/model/GetNodeResult.cc index cac31f005..15e677afb 100644 --- a/dataworks-public/src/model/GetNodeResult.cc +++ b/dataworks-public/src/model/GetNodeResult.cc @@ -40,52 +40,52 @@ void GetNodeResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; - if(!dataNode["NodeId"].isNull()) - data_.nodeId = std::stol(dataNode["NodeId"].asString()); - if(!dataNode["OwnerId"].isNull()) - data_.ownerId = dataNode["OwnerId"].asString(); - if(!dataNode["Description"].isNull()) - data_.description = dataNode["Description"].asString(); - if(!dataNode["ResGroupName"].isNull()) - data_.resGroupName = dataNode["ResGroupName"].asString(); - if(!dataNode["NodeName"].isNull()) - data_.nodeName = dataNode["NodeName"].asString(); - if(!dataNode["CronExpress"].isNull()) - data_.cronExpress = dataNode["CronExpress"].asString(); - if(!dataNode["Repeatability"].isNull()) - data_.repeatability = dataNode["Repeatability"].asString(); - if(!dataNode["ProgramType"].isNull()) - data_.programType = dataNode["ProgramType"].asString(); - if(!dataNode["ProjectId"].isNull()) - data_.projectId = std::stol(dataNode["ProjectId"].asString()); if(!dataNode["SchedulerType"].isNull()) data_.schedulerType = dataNode["SchedulerType"].asString(); - if(!dataNode["ParamValues"].isNull()) - data_.paramValues = dataNode["ParamValues"].asString(); - if(!dataNode["Priority"].isNull()) - data_.priority = std::stoi(dataNode["Priority"].asString()); - if(!dataNode["BaselineId"].isNull()) - data_.baselineId = std::stol(dataNode["BaselineId"].asString()); if(!dataNode["RepeatInterval"].isNull()) data_.repeatInterval = std::stol(dataNode["RepeatInterval"].asString()); + if(!dataNode["Repeatability"].isNull()) + data_.repeatability = dataNode["Repeatability"].asString(); + if(!dataNode["ProjectId"].isNull()) + data_.projectId = std::stol(dataNode["ProjectId"].asString()); + if(!dataNode["ProgramType"].isNull()) + data_.programType = dataNode["ProgramType"].asString(); + if(!dataNode["Priority"].isNull()) + data_.priority = std::stoi(dataNode["Priority"].asString()); + if(!dataNode["OwnerId"].isNull()) + data_.ownerId = dataNode["OwnerId"].asString(); if(!dataNode["Connection"].isNull()) data_.connection = dataNode["Connection"].asString(); - if(!dataNode["DqcType"].isNull()) - data_.dqcType = std::stoi(dataNode["DqcType"].asString()); - if(!dataNode["DqcDescription"].isNull()) - data_.dqcDescription = dataNode["DqcDescription"].asString(); + if(!dataNode["ParamValues"].isNull()) + data_.paramValues = dataNode["ParamValues"].asString(); if(!dataNode["RelatedFlowId"].isNull()) data_.relatedFlowId = std::stol(dataNode["RelatedFlowId"].asString()); + if(!dataNode["DqcType"].isNull()) + data_.dqcType = std::stoi(dataNode["DqcType"].asString()); + if(!dataNode["BaselineId"].isNull()) + data_.baselineId = std::stol(dataNode["BaselineId"].asString()); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["NodeName"].isNull()) + data_.nodeName = dataNode["NodeName"].asString(); + if(!dataNode["ResGroupName"].isNull()) + data_.resGroupName = dataNode["ResGroupName"].asString(); if(!dataNode["BusinessId"].isNull()) data_.businessId = std::stol(dataNode["BusinessId"].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(!dataNode["DqcDescription"].isNull()) + data_.dqcDescription = dataNode["DqcDescription"].asString(); + if(!dataNode["CronExpress"].isNull()) + data_.cronExpress = dataNode["CronExpress"].asString(); + if(!dataNode["NodeId"].isNull()) + data_.nodeId = std::stol(dataNode["NodeId"].asString()); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc b/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc index f07139aa3..10c5dd39a 100644 --- a/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc +++ b/dataworks-public/src/model/GetNodeTypeListInfoRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetNodeTypeListInfoRequest; - -GetNodeTypeListInfoRequest::GetNodeTypeListInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeTypeListInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNodeTypeListInfoRequest::~GetNodeTypeListInfoRequest() -{} - -int GetNodeTypeListInfoRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetNodeTypeListInfoRequest; + +GetNodeTypeListInfoRequest::GetNodeTypeListInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetNodeTypeListInfo") { + setMethod(HttpRequest::Method::Post); } -void GetNodeTypeListInfoRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +GetNodeTypeListInfoRequest::~GetNodeTypeListInfoRequest() {} + +int GetNodeTypeListInfoRequest::getPageSize() const { + return pageSize_; } -std::string GetNodeTypeListInfoRequest::getKeyword()const -{ - return keyword_; +void GetNodeTypeListInfoRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetNodeTypeListInfoRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); +std::string GetNodeTypeListInfoRequest::getKeyword() const { + return keyword_; } -std::string GetNodeTypeListInfoRequest::getLocale()const -{ - return locale_; +void GetNodeTypeListInfoRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setBodyParameter(std::string("Keyword"), keyword); } -void GetNodeTypeListInfoRequest::setLocale(const std::string& locale) -{ - locale_ = locale; - setBodyParameter("Locale", locale); +std::string GetNodeTypeListInfoRequest::getLocale() const { + return locale_; } -long GetNodeTypeListInfoRequest::getProjectId()const -{ - return projectId_; +void GetNodeTypeListInfoRequest::setLocale(const std::string &locale) { + locale_ = locale; + setBodyParameter(std::string("Locale"), locale); } -void GetNodeTypeListInfoRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long GetNodeTypeListInfoRequest::getProjectId() const { + return projectId_; } -std::string GetNodeTypeListInfoRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void GetNodeTypeListInfoRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void GetNodeTypeListInfoRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string GetNodeTypeListInfoRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int GetNodeTypeListInfoRequest::getPageNumber()const -{ - return pageNumber_; +void GetNodeTypeListInfoRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void GetNodeTypeListInfoRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int GetNodeTypeListInfoRequest::getPageNumber() const { + return pageNumber_; +} + +void GetNodeTypeListInfoRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/GetOpRiskDataRequest.cc b/dataworks-public/src/model/GetOpRiskDataRequest.cc index 801eea234..1787c90f7 100644 --- a/dataworks-public/src/model/GetOpRiskDataRequest.cc +++ b/dataworks-public/src/model/GetOpRiskDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetOpRiskDataRequest; - -GetOpRiskDataRequest::GetOpRiskDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetOpRiskData") -{ - setMethod(HttpRequest::Method::Get); -} - -GetOpRiskDataRequest::~GetOpRiskDataRequest() -{} - -std::string GetOpRiskDataRequest::getDate()const -{ - return date_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetOpRiskDataRequest; + +GetOpRiskDataRequest::GetOpRiskDataRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetOpRiskData") { + setMethod(HttpRequest::Method::Get); } -void GetOpRiskDataRequest::setDate(const std::string& date) -{ - date_ = date; - setParameter("Date", date); +GetOpRiskDataRequest::~GetOpRiskDataRequest() {} + +std::string GetOpRiskDataRequest::getDate() const { + return date_; } -std::string GetOpRiskDataRequest::getRiskType()const -{ - return riskType_; +void GetOpRiskDataRequest::setDate(const std::string &date) { + date_ = date; + setParameter(std::string("Date"), date); } -void GetOpRiskDataRequest::setRiskType(const std::string& riskType) -{ - riskType_ = riskType; - setParameter("RiskType", riskType); +std::string GetOpRiskDataRequest::getRiskType() const { + return riskType_; } -int GetOpRiskDataRequest::getPageNo()const -{ - return pageNo_; +void GetOpRiskDataRequest::setRiskType(const std::string &riskType) { + riskType_ = riskType; + setParameter(std::string("RiskType"), riskType); } -void GetOpRiskDataRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int GetOpRiskDataRequest::getPageNo() const { + return pageNo_; } -int GetOpRiskDataRequest::getPageSize()const -{ - return pageSize_; +void GetOpRiskDataRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void GetOpRiskDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetOpRiskDataRequest::getPageSize() const { + return pageSize_; } -std::string GetOpRiskDataRequest::getName()const -{ - return name_; +void GetOpRiskDataRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetOpRiskDataRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string GetOpRiskDataRequest::getName() const { + return name_; +} + +void GetOpRiskDataRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/dataworks-public/src/model/GetOpSensitiveDataRequest.cc b/dataworks-public/src/model/GetOpSensitiveDataRequest.cc index 293c67c07..c9b171458 100644 --- a/dataworks-public/src/model/GetOpSensitiveDataRequest.cc +++ b/dataworks-public/src/model/GetOpSensitiveDataRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetOpSensitiveDataRequest; - -GetOpSensitiveDataRequest::GetOpSensitiveDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetOpSensitiveData") -{ - setMethod(HttpRequest::Method::Get); -} - -GetOpSensitiveDataRequest::~GetOpSensitiveDataRequest() -{} - -std::string GetOpSensitiveDataRequest::getDate()const -{ - return date_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetOpSensitiveDataRequest; + +GetOpSensitiveDataRequest::GetOpSensitiveDataRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetOpSensitiveData") { + setMethod(HttpRequest::Method::Get); } -void GetOpSensitiveDataRequest::setDate(const std::string& date) -{ - date_ = date; - setParameter("Date", date); +GetOpSensitiveDataRequest::~GetOpSensitiveDataRequest() {} + +std::string GetOpSensitiveDataRequest::getDate() const { + return date_; } -std::string GetOpSensitiveDataRequest::getOpType()const -{ - return opType_; +void GetOpSensitiveDataRequest::setDate(const std::string &date) { + date_ = date; + setParameter(std::string("Date"), date); } -void GetOpSensitiveDataRequest::setOpType(const std::string& opType) -{ - opType_ = opType; - setParameter("OpType", opType); +std::string GetOpSensitiveDataRequest::getOpType() const { + return opType_; } -int GetOpSensitiveDataRequest::getPageNo()const -{ - return pageNo_; +void GetOpSensitiveDataRequest::setOpType(const std::string &opType) { + opType_ = opType; + setParameter(std::string("OpType"), opType); } -void GetOpSensitiveDataRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +int GetOpSensitiveDataRequest::getPageNo() const { + return pageNo_; } -std::string GetOpSensitiveDataRequest::getName()const -{ - return name_; +void GetOpSensitiveDataRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void GetOpSensitiveDataRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string GetOpSensitiveDataRequest::getName() const { + return name_; } -int GetOpSensitiveDataRequest::getPageSize()const -{ - return pageSize_; +void GetOpSensitiveDataRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void GetOpSensitiveDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetOpSensitiveDataRequest::getPageSize() const { + return pageSize_; +} + +void GetOpSensitiveDataRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/dataworks-public/src/model/GetOptionValueForProjectRequest.cc b/dataworks-public/src/model/GetOptionValueForProjectRequest.cc new file mode 100644 index 000000000..cd895c902 --- /dev/null +++ b/dataworks-public/src/model/GetOptionValueForProjectRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetOptionValueForProjectRequest; + +GetOptionValueForProjectRequest::GetOptionValueForProjectRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetOptionValueForProject") { + setMethod(HttpRequest::Method::Post); +} + +GetOptionValueForProjectRequest::~GetOptionValueForProjectRequest() {} + +std::string GetOptionValueForProjectRequest::getExtensionCode() const { + return extensionCode_; +} + +void GetOptionValueForProjectRequest::setExtensionCode(const std::string &extensionCode) { + extensionCode_ = extensionCode; + setBodyParameter(std::string("ExtensionCode"), extensionCode); +} + +std::string GetOptionValueForProjectRequest::getProjectId() const { + return projectId_; +} + +void GetOptionValueForProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); +} + diff --git a/dataworks-public/src/model/GetOptionValueForProjectResult.cc b/dataworks-public/src/model/GetOptionValueForProjectResult.cc new file mode 100644 index 000000000..ccb7519ab --- /dev/null +++ b/dataworks-public/src/model/GetOptionValueForProjectResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +GetOptionValueForProjectResult::GetOptionValueForProjectResult() : + ServiceResult() +{} + +GetOptionValueForProjectResult::GetOptionValueForProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOptionValueForProjectResult::~GetOptionValueForProjectResult() +{} + +void GetOptionValueForProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["OptionValue"].isNull()) + optionValue_ = value["OptionValue"].asString(); + +} + +std::string GetOptionValueForProjectResult::getOptionValue()const +{ + return optionValue_; +} + diff --git a/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc b/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc index f37c727ef..b030cd9bd 100644 --- a/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc +++ b/dataworks-public/src/model/GetPermissionApplyOrderDetailRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetPermissionApplyOrderDetailRequest; - -GetPermissionApplyOrderDetailRequest::GetPermissionApplyOrderDetailRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetPermissionApplyOrderDetail") -{ - setMethod(HttpRequest::Method::Post); -} - -GetPermissionApplyOrderDetailRequest::~GetPermissionApplyOrderDetailRequest() -{} - -std::string GetPermissionApplyOrderDetailRequest::getFlowId()const -{ - return flowId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetPermissionApplyOrderDetailRequest; + +GetPermissionApplyOrderDetailRequest::GetPermissionApplyOrderDetailRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetPermissionApplyOrderDetail") { + setMethod(HttpRequest::Method::Post); } -void GetPermissionApplyOrderDetailRequest::setFlowId(const std::string& flowId) -{ - flowId_ = flowId; - setParameter("FlowId", flowId); +GetPermissionApplyOrderDetailRequest::~GetPermissionApplyOrderDetailRequest() {} + +std::string GetPermissionApplyOrderDetailRequest::getFlowId() const { + return flowId_; +} + +void GetPermissionApplyOrderDetailRequest::setFlowId(const std::string &flowId) { + flowId_ = flowId; + setParameter(std::string("FlowId"), flowId); } diff --git a/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc b/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc index d7e08dcde..efb26c2f5 100644 --- a/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc +++ b/dataworks-public/src/model/GetPermissionApplyOrderDetailResult.cc @@ -60,14 +60,14 @@ void GetPermissionApplyOrderDetailResult::parse(const std::string &payload) for (auto applyOrderDetailNodeGranteeObjectListGranteeObjectListItem : allGranteeObjectListNode) { ApplyOrderDetail::GranteeObjectListItem granteeObjectListItemObject; - if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeId"].isNull()) - granteeObjectListItemObject.granteeId = applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeId"].asString(); - if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeName"].isNull()) - granteeObjectListItemObject.granteeName = applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeName"].asString(); if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeType"].isNull()) granteeObjectListItemObject.granteeType = std::stoi(applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeType"].asString()); if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeTypeSub"].isNull()) granteeObjectListItemObject.granteeTypeSub = std::stoi(applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeTypeSub"].asString()); + if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeName"].isNull()) + granteeObjectListItemObject.granteeName = applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeName"].asString(); + if(!applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeId"].isNull()) + granteeObjectListItemObject.granteeId = applyOrderDetailNodeGranteeObjectListGranteeObjectListItem["GranteeId"].asString(); applyOrderDetail_.granteeObjectList.push_back(granteeObjectListItemObject); } auto approveContentNode = applyOrderDetailNode["ApproveContent"]; @@ -78,10 +78,10 @@ void GetPermissionApplyOrderDetailResult::parse(const std::string &payload) if(!approveContentNode["OrderType"].isNull()) applyOrderDetail_.approveContent.orderType = std::stoi(approveContentNode["OrderType"].asString()); auto projectMetaNode = approveContentNode["ProjectMeta"]; - if(!projectMetaNode["WorkspaceId"].isNull()) - applyOrderDetail_.approveContent.projectMeta.workspaceId = std::stoi(projectMetaNode["WorkspaceId"].asString()); if(!projectMetaNode["MaxComputeProjectName"].isNull()) applyOrderDetail_.approveContent.projectMeta.maxComputeProjectName = projectMetaNode["MaxComputeProjectName"].asString(); + if(!projectMetaNode["WorkspaceId"].isNull()) + applyOrderDetail_.approveContent.projectMeta.workspaceId = std::stoi(projectMetaNode["WorkspaceId"].asString()); auto allObjectMetaListNode = projectMetaNode["ObjectMetaList"]["ObjectMetaListItem"]; for (auto projectMetaNodeObjectMetaListObjectMetaListItem : allObjectMetaListNode) { @@ -92,10 +92,10 @@ void GetPermissionApplyOrderDetailResult::parse(const std::string &payload) for (auto projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem : allColumnMetaListNode) { ApplyOrderDetail::ApproveContent::ProjectMeta::ObjectMetaListItem::ColumnMetaListItem columnMetaListObject; - if(!projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].isNull()) - columnMetaListObject.columnComment = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].asString(); if(!projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnName"].isNull()) columnMetaListObject.columnName = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnName"].asString(); + if(!projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].isNull()) + columnMetaListObject.columnComment = projectMetaNodeObjectMetaListObjectMetaListItemColumnMetaListColumnMetaListItem["ColumnComment"].asString(); objectMetaListItemObject.columnMetaList.push_back(columnMetaListObject); } applyOrderDetail_.approveContent.projectMeta.objectMetaList.push_back(objectMetaListItemObject); diff --git a/dataworks-public/src/model/GetProjectDetailRequest.cc b/dataworks-public/src/model/GetProjectDetailRequest.cc index 81e845185..454bbde97 100644 --- a/dataworks-public/src/model/GetProjectDetailRequest.cc +++ b/dataworks-public/src/model/GetProjectDetailRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetProjectDetailRequest; + +GetProjectDetailRequest::GetProjectDetailRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetProjectDetail") { + setMethod(HttpRequest::Method::Post); } -void GetProjectDetailRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +GetProjectDetailRequest::~GetProjectDetailRequest() {} + +long GetProjectDetailRequest::getProjectId() const { + return projectId_; +} + +void GetProjectDetailRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetProjectRequest.cc b/dataworks-public/src/model/GetProjectRequest.cc index b5e575e59..9a646a8b7 100644 --- a/dataworks-public/src/model/GetProjectRequest.cc +++ b/dataworks-public/src/model/GetProjectRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetProjectRequest; - -GetProjectRequest::GetProjectRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetProject") -{ - setMethod(HttpRequest::Method::Post); -} - -GetProjectRequest::~GetProjectRequest() -{} - -long GetProjectRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetProjectRequest; + +GetProjectRequest::GetProjectRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetProject") { + setMethod(HttpRequest::Method::Post); } -void GetProjectRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +GetProjectRequest::~GetProjectRequest() {} + +long GetProjectRequest::getProjectId() const { + return projectId_; +} + +void GetProjectRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetQualityEntityRequest.cc b/dataworks-public/src/model/GetQualityEntityRequest.cc index 8634320f0..ab3b79930 100644 --- a/dataworks-public/src/model/GetQualityEntityRequest.cc +++ b/dataworks-public/src/model/GetQualityEntityRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetQualityEntityRequest; + +GetQualityEntityRequest::GetQualityEntityRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityEntity") { + setMethod(HttpRequest::Method::Post); } -void GetQualityEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +GetQualityEntityRequest::~GetQualityEntityRequest() {} + +std::string GetQualityEntityRequest::getProjectName() const { + return projectName_; } -std::string GetQualityEntityRequest::getMatchExpression()const -{ - return matchExpression_; +void GetQualityEntityRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void GetQualityEntityRequest::setMatchExpression(const std::string& matchExpression) -{ - matchExpression_ = matchExpression; - setBodyParameter("MatchExpression", matchExpression); +std::string GetQualityEntityRequest::getMatchExpression() const { + return matchExpression_; } -std::string GetQualityEntityRequest::getEnvType()const -{ - return envType_; +void GetQualityEntityRequest::setMatchExpression(const std::string &matchExpression) { + matchExpression_ = matchExpression; + setBodyParameter(std::string("MatchExpression"), matchExpression); } -void GetQualityEntityRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setBodyParameter("EnvType", envType); +std::string GetQualityEntityRequest::getEnvType() const { + return envType_; } -std::string GetQualityEntityRequest::getTableName()const -{ - return tableName_; +void GetQualityEntityRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), envType); } -void GetQualityEntityRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setBodyParameter("TableName", tableName); +std::string GetQualityEntityRequest::getTableName() const { + return tableName_; +} + +void GetQualityEntityRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setBodyParameter(std::string("TableName"), tableName); } diff --git a/dataworks-public/src/model/GetQualityFollowerRequest.cc b/dataworks-public/src/model/GetQualityFollowerRequest.cc index eaae64bd8..6a3e3b24f 100644 --- a/dataworks-public/src/model/GetQualityFollowerRequest.cc +++ b/dataworks-public/src/model/GetQualityFollowerRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetQualityFollowerRequest; + +GetQualityFollowerRequest::GetQualityFollowerRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityFollower") { + setMethod(HttpRequest::Method::Post); } -void GetQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +GetQualityFollowerRequest::~GetQualityFollowerRequest() {} + +std::string GetQualityFollowerRequest::getProjectName() const { + return projectName_; } -long GetQualityFollowerRequest::getEntityId()const -{ - return entityId_; +void GetQualityFollowerRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void GetQualityFollowerRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +long GetQualityFollowerRequest::getEntityId() const { + return entityId_; +} + +void GetQualityFollowerRequest::setEntityId(long entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } diff --git a/dataworks-public/src/model/GetQualityRuleRequest.cc b/dataworks-public/src/model/GetQualityRuleRequest.cc index b37f0f348..1bdd8095f 100644 --- a/dataworks-public/src/model/GetQualityRuleRequest.cc +++ b/dataworks-public/src/model/GetQualityRuleRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetQualityRuleRequest; + +GetQualityRuleRequest::GetQualityRuleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetQualityRule") { + setMethod(HttpRequest::Method::Post); } -void GetQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +GetQualityRuleRequest::~GetQualityRuleRequest() {} + +std::string GetQualityRuleRequest::getProjectName() const { + return projectName_; } -long GetQualityRuleRequest::getRuleId()const -{ - return ruleId_; +void GetQualityRuleRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void GetQualityRuleRequest::setRuleId(long ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); +long GetQualityRuleRequest::getRuleId() const { + return ruleId_; +} + +void GetQualityRuleRequest::setRuleId(long ruleId) { + ruleId_ = ruleId; + setBodyParameter(std::string("RuleId"), std::to_string(ruleId)); } diff --git a/dataworks-public/src/model/GetRemindRequest.cc b/dataworks-public/src/model/GetRemindRequest.cc index b875eaf8d..85e77c16e 100644 --- a/dataworks-public/src/model/GetRemindRequest.cc +++ b/dataworks-public/src/model/GetRemindRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetRemindRequest; + +GetRemindRequest::GetRemindRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetRemind") { + setMethod(HttpRequest::Method::Post); } -void GetRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); +GetRemindRequest::~GetRemindRequest() {} + +long GetRemindRequest::getRemindId() const { + return remindId_; +} + +void GetRemindRequest::setRemindId(long remindId) { + remindId_ = remindId; + setBodyParameter(std::string("RemindId"), std::to_string(remindId)); } diff --git a/dataworks-public/src/model/GetSensitiveDataRequest.cc b/dataworks-public/src/model/GetSensitiveDataRequest.cc index 0303cdee9..410d88f43 100644 --- a/dataworks-public/src/model/GetSensitiveDataRequest.cc +++ b/dataworks-public/src/model/GetSensitiveDataRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetSensitiveDataRequest; - -GetSensitiveDataRequest::GetSensitiveDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetSensitiveData") -{ - setMethod(HttpRequest::Method::Get); -} - -GetSensitiveDataRequest::~GetSensitiveDataRequest() -{} - -int GetSensitiveDataRequest::getPageNo()const -{ - return pageNo_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetSensitiveDataRequest; + +GetSensitiveDataRequest::GetSensitiveDataRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetSensitiveData") { + setMethod(HttpRequest::Method::Get); } -void GetSensitiveDataRequest::setPageNo(int pageNo) -{ - pageNo_ = pageNo; - setParameter("PageNo", std::to_string(pageNo)); +GetSensitiveDataRequest::~GetSensitiveDataRequest() {} + +int GetSensitiveDataRequest::getPageNo() const { + return pageNo_; } -int GetSensitiveDataRequest::getPageSize()const -{ - return pageSize_; +void GetSensitiveDataRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setParameter(std::string("PageNo"), std::to_string(pageNo)); } -void GetSensitiveDataRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int GetSensitiveDataRequest::getPageSize() const { + return pageSize_; } -std::string GetSensitiveDataRequest::getName()const -{ - return name_; +void GetSensitiveDataRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void GetSensitiveDataRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string GetSensitiveDataRequest::getName() const { + return name_; +} + +void GetSensitiveDataRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc b/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc index c4f95e0d1..18ed8d85e 100644 --- a/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc +++ b/dataworks-public/src/model/GetSuccessInstanceTrendRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetSuccessInstanceTrendRequest; - -GetSuccessInstanceTrendRequest::GetSuccessInstanceTrendRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetSuccessInstanceTrend") -{ - setMethod(HttpRequest::Method::Post); -} - -GetSuccessInstanceTrendRequest::~GetSuccessInstanceTrendRequest() -{} - -long GetSuccessInstanceTrendRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetSuccessInstanceTrendRequest; + +GetSuccessInstanceTrendRequest::GetSuccessInstanceTrendRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetSuccessInstanceTrend") { + setMethod(HttpRequest::Method::Post); } -void GetSuccessInstanceTrendRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +GetSuccessInstanceTrendRequest::~GetSuccessInstanceTrendRequest() {} + +long GetSuccessInstanceTrendRequest::getProjectId() const { + return projectId_; +} + +void GetSuccessInstanceTrendRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/GetTopicInfluenceRequest.cc b/dataworks-public/src/model/GetTopicInfluenceRequest.cc index 6b2f14acb..0fe98b59d 100644 --- a/dataworks-public/src/model/GetTopicInfluenceRequest.cc +++ b/dataworks-public/src/model/GetTopicInfluenceRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetTopicInfluenceRequest; + +GetTopicInfluenceRequest::GetTopicInfluenceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopicInfluence") { + setMethod(HttpRequest::Method::Post); } -void GetTopicInfluenceRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); +GetTopicInfluenceRequest::~GetTopicInfluenceRequest() {} + +long GetTopicInfluenceRequest::getTopicId() const { + return topicId_; +} + +void GetTopicInfluenceRequest::setTopicId(long topicId) { + topicId_ = topicId; + setBodyParameter(std::string("TopicId"), std::to_string(topicId)); } diff --git a/dataworks-public/src/model/GetTopicRequest.cc b/dataworks-public/src/model/GetTopicRequest.cc index 7486af2a4..9b24074af 100644 --- a/dataworks-public/src/model/GetTopicRequest.cc +++ b/dataworks-public/src/model/GetTopicRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::GetTopicRequest; - -GetTopicRequest::GetTopicRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopic") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTopicRequest::~GetTopicRequest() -{} - -long GetTopicRequest::getTopicId()const -{ - return topicId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::GetTopicRequest; + +GetTopicRequest::GetTopicRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "GetTopic") { + setMethod(HttpRequest::Method::Post); } -void GetTopicRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); +GetTopicRequest::~GetTopicRequest() {} + +long GetTopicRequest::getTopicId() const { + return topicId_; +} + +void GetTopicRequest::setTopicId(long topicId) { + topicId_ = topicId; + setBodyParameter(std::string("TopicId"), std::to_string(topicId)); } diff --git a/dataworks-public/src/model/ImportDataSourcesRequest.cc b/dataworks-public/src/model/ImportDataSourcesRequest.cc index d1ef4fc68..5bc94f972 100644 --- a/dataworks-public/src/model/ImportDataSourcesRequest.cc +++ b/dataworks-public/src/model/ImportDataSourcesRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ImportDataSourcesRequest; - -ImportDataSourcesRequest::ImportDataSourcesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ImportDataSources") -{ - setMethod(HttpRequest::Method::Post); -} - -ImportDataSourcesRequest::~ImportDataSourcesRequest() -{} - -std::string ImportDataSourcesRequest::getDataSources()const -{ - return dataSources_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ImportDataSourcesRequest; + +ImportDataSourcesRequest::ImportDataSourcesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ImportDataSources") { + setMethod(HttpRequest::Method::Post); } -void ImportDataSourcesRequest::setDataSources(const std::string& dataSources) -{ - dataSources_ = dataSources; - setParameter("DataSources", dataSources); +ImportDataSourcesRequest::~ImportDataSourcesRequest() {} + +std::string ImportDataSourcesRequest::getDataSources() const { + return dataSources_; } -long ImportDataSourcesRequest::getProjectId()const -{ - return projectId_; +void ImportDataSourcesRequest::setDataSources(const std::string &dataSources) { + dataSources_ = dataSources; + setParameter(std::string("DataSources"), dataSources); } -void ImportDataSourcesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ImportDataSourcesRequest::getProjectId() const { + return projectId_; +} + +void ImportDataSourcesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListAlertMessagesRequest.cc b/dataworks-public/src/model/ListAlertMessagesRequest.cc index c59cf8d3d..a3049489f 100644 --- a/dataworks-public/src/model/ListAlertMessagesRequest.cc +++ b/dataworks-public/src/model/ListAlertMessagesRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListAlertMessagesRequest; + +ListAlertMessagesRequest::ListAlertMessagesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListAlertMessages") { + setMethod(HttpRequest::Method::Post); } -void ListAlertMessagesRequest::setAlertUser(const std::string& alertUser) -{ - alertUser_ = alertUser; - setBodyParameter("AlertUser", alertUser); +ListAlertMessagesRequest::~ListAlertMessagesRequest() {} + +std::string ListAlertMessagesRequest::getAlertUser() const { + return alertUser_; } -std::string ListAlertMessagesRequest::getEndTime()const -{ - return endTime_; +void ListAlertMessagesRequest::setAlertUser(const std::string &alertUser) { + alertUser_ = alertUser; + setBodyParameter(std::string("AlertUser"), alertUser); } -void ListAlertMessagesRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); +std::string ListAlertMessagesRequest::getEndTime() const { + return endTime_; } -std::string ListAlertMessagesRequest::getBeginTime()const -{ - return beginTime_; +void ListAlertMessagesRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), endTime); } -void ListAlertMessagesRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setBodyParameter("BeginTime", beginTime); +std::string ListAlertMessagesRequest::getBeginTime() const { + return beginTime_; } -std::string ListAlertMessagesRequest::getAlertMethods()const -{ - return alertMethods_; +void ListAlertMessagesRequest::setBeginTime(const std::string &beginTime) { + beginTime_ = beginTime; + setBodyParameter(std::string("BeginTime"), beginTime); } -void ListAlertMessagesRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); +std::string ListAlertMessagesRequest::getAlertMethods() const { + return alertMethods_; } -int ListAlertMessagesRequest::getPageNumber()const -{ - return pageNumber_; +void ListAlertMessagesRequest::setAlertMethods(const std::string &alertMethods) { + alertMethods_ = alertMethods; + setBodyParameter(std::string("AlertMethods"), alertMethods); } -void ListAlertMessagesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListAlertMessagesRequest::getPageNumber() const { + return pageNumber_; } -long ListAlertMessagesRequest::getRemindId()const -{ - return remindId_; +void ListAlertMessagesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListAlertMessagesRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); +long ListAlertMessagesRequest::getRemindId() const { + return remindId_; } -int ListAlertMessagesRequest::getPageSize()const -{ - return pageSize_; +void ListAlertMessagesRequest::setRemindId(long remindId) { + remindId_ = remindId; + setBodyParameter(std::string("RemindId"), std::to_string(remindId)); } -void ListAlertMessagesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListAlertMessagesRequest::getPageSize() const { + return pageSize_; } -std::string ListAlertMessagesRequest::getAlertRuleTypes()const -{ - return alertRuleTypes_; +void ListAlertMessagesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListAlertMessagesRequest::setAlertRuleTypes(const std::string& alertRuleTypes) -{ - alertRuleTypes_ = alertRuleTypes; - setBodyParameter("AlertRuleTypes", alertRuleTypes); +std::string ListAlertMessagesRequest::getAlertRuleTypes() const { + return alertRuleTypes_; +} + +void ListAlertMessagesRequest::setAlertRuleTypes(const std::string &alertRuleTypes) { + alertRuleTypes_ = alertRuleTypes; + setBodyParameter(std::string("AlertRuleTypes"), alertRuleTypes); } diff --git a/dataworks-public/src/model/ListBaselineConfigsRequest.cc b/dataworks-public/src/model/ListBaselineConfigsRequest.cc index 8c71e6c8b..e12721753 100644 --- a/dataworks-public/src/model/ListBaselineConfigsRequest.cc +++ b/dataworks-public/src/model/ListBaselineConfigsRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListBaselineConfigsRequest; + +ListBaselineConfigsRequest::ListBaselineConfigsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineConfigs") { + setMethod(HttpRequest::Method::Post); } -void ListBaselineConfigsRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +ListBaselineConfigsRequest::~ListBaselineConfigsRequest() {} + +std::string ListBaselineConfigsRequest::getOwner() const { + return owner_; } -std::string ListBaselineConfigsRequest::getSearchText()const -{ - return searchText_; +void ListBaselineConfigsRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void ListBaselineConfigsRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); +std::string ListBaselineConfigsRequest::getSearchText() const { + return searchText_; } -bool ListBaselineConfigsRequest::getUseflag()const -{ - return useflag_; +void ListBaselineConfigsRequest::setSearchText(const std::string &searchText) { + searchText_ = searchText; + setBodyParameter(std::string("SearchText"), searchText); } -void ListBaselineConfigsRequest::setUseflag(bool useflag) -{ - useflag_ = useflag; - setBodyParameter("Useflag", useflag ? "true" : "false"); +bool ListBaselineConfigsRequest::getUseflag() const { + return useflag_; } -std::string ListBaselineConfigsRequest::getPriority()const -{ - return priority_; +void ListBaselineConfigsRequest::setUseflag(bool useflag) { + useflag_ = useflag; + setBodyParameter(std::string("Useflag"), useflag ? "true" : "false"); } -void ListBaselineConfigsRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); +std::string ListBaselineConfigsRequest::getPriority() const { + return priority_; } -int ListBaselineConfigsRequest::getPageNumber()const -{ - return pageNumber_; +void ListBaselineConfigsRequest::setPriority(const std::string &priority) { + priority_ = priority; + setBodyParameter(std::string("Priority"), priority); } -void ListBaselineConfigsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListBaselineConfigsRequest::getPageNumber() const { + return pageNumber_; } -int ListBaselineConfigsRequest::getPageSize()const -{ - return pageSize_; +void ListBaselineConfigsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListBaselineConfigsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListBaselineConfigsRequest::getPageSize() const { + return pageSize_; } -long ListBaselineConfigsRequest::getProjectId()const -{ - return projectId_; +void ListBaselineConfigsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListBaselineConfigsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListBaselineConfigsRequest::getProjectId() const { + return projectId_; } -std::string ListBaselineConfigsRequest::getBaselineTypes()const -{ - return baselineTypes_; +void ListBaselineConfigsRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListBaselineConfigsRequest::setBaselineTypes(const std::string& baselineTypes) -{ - baselineTypes_ = baselineTypes; - setBodyParameter("BaselineTypes", baselineTypes); +std::string ListBaselineConfigsRequest::getBaselineTypes() const { + return baselineTypes_; +} + +void ListBaselineConfigsRequest::setBaselineTypes(const std::string &baselineTypes) { + baselineTypes_ = baselineTypes; + setBodyParameter(std::string("BaselineTypes"), baselineTypes); } diff --git a/dataworks-public/src/model/ListBaselineStatusesRequest.cc b/dataworks-public/src/model/ListBaselineStatusesRequest.cc index ea69853af..8ce27bb74 100644 --- a/dataworks-public/src/model/ListBaselineStatusesRequest.cc +++ b/dataworks-public/src/model/ListBaselineStatusesRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListBaselineStatusesRequest; - -ListBaselineStatusesRequest::ListBaselineStatusesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineStatuses") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBaselineStatusesRequest::~ListBaselineStatusesRequest() -{} - -std::string ListBaselineStatusesRequest::getSearchText()const -{ - return searchText_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListBaselineStatusesRequest; + +ListBaselineStatusesRequest::ListBaselineStatusesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListBaselineStatuses") { + setMethod(HttpRequest::Method::Post); } -void ListBaselineStatusesRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); +ListBaselineStatusesRequest::~ListBaselineStatusesRequest() {} + +std::string ListBaselineStatusesRequest::getSearchText() const { + return searchText_; } -std::string ListBaselineStatusesRequest::getOwner()const -{ - return owner_; +void ListBaselineStatusesRequest::setSearchText(const std::string &searchText) { + searchText_ = searchText; + setBodyParameter(std::string("SearchText"), searchText); } -void ListBaselineStatusesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +std::string ListBaselineStatusesRequest::getOwner() const { + return owner_; } -std::string ListBaselineStatusesRequest::getPriority()const -{ - return priority_; +void ListBaselineStatusesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void ListBaselineStatusesRequest::setPriority(const std::string& priority) -{ - priority_ = priority; - setBodyParameter("Priority", priority); +std::string ListBaselineStatusesRequest::getPriority() const { + return priority_; } -int ListBaselineStatusesRequest::getPageNumber()const -{ - return pageNumber_; +void ListBaselineStatusesRequest::setPriority(const std::string &priority) { + priority_ = priority; + setBodyParameter(std::string("Priority"), priority); } -void ListBaselineStatusesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListBaselineStatusesRequest::getPageNumber() const { + return pageNumber_; } -long ListBaselineStatusesRequest::getTopicId()const -{ - return topicId_; +void ListBaselineStatusesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListBaselineStatusesRequest::setTopicId(long topicId) -{ - topicId_ = topicId; - setBodyParameter("TopicId", std::to_string(topicId)); +long ListBaselineStatusesRequest::getTopicId() const { + return topicId_; } -std::string ListBaselineStatusesRequest::getBizdate()const -{ - return bizdate_; +void ListBaselineStatusesRequest::setTopicId(long topicId) { + topicId_ = topicId; + setBodyParameter(std::string("TopicId"), std::to_string(topicId)); } -void ListBaselineStatusesRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +std::string ListBaselineStatusesRequest::getBizdate() const { + return bizdate_; } -std::string ListBaselineStatusesRequest::getFinishStatus()const -{ - return finishStatus_; +void ListBaselineStatusesRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void ListBaselineStatusesRequest::setFinishStatus(const std::string& finishStatus) -{ - finishStatus_ = finishStatus; - setBodyParameter("FinishStatus", finishStatus); +std::string ListBaselineStatusesRequest::getFinishStatus() const { + return finishStatus_; } -int ListBaselineStatusesRequest::getPageSize()const -{ - return pageSize_; +void ListBaselineStatusesRequest::setFinishStatus(const std::string &finishStatus) { + finishStatus_ = finishStatus; + setBodyParameter(std::string("FinishStatus"), finishStatus); } -void ListBaselineStatusesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListBaselineStatusesRequest::getPageSize() const { + return pageSize_; } -std::string ListBaselineStatusesRequest::getBaselineTypes()const -{ - return baselineTypes_; +void ListBaselineStatusesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListBaselineStatusesRequest::setBaselineTypes(const std::string& baselineTypes) -{ - baselineTypes_ = baselineTypes; - setBodyParameter("BaselineTypes", baselineTypes); +std::string ListBaselineStatusesRequest::getBaselineTypes() const { + return baselineTypes_; } -std::string ListBaselineStatusesRequest::getStatus()const -{ - return status_; +void ListBaselineStatusesRequest::setBaselineTypes(const std::string &baselineTypes) { + baselineTypes_ = baselineTypes; + setBodyParameter(std::string("BaselineTypes"), baselineTypes); } -void ListBaselineStatusesRequest::setStatus(const std::string& status) -{ - status_ = status; - setBodyParameter("Status", status); +std::string ListBaselineStatusesRequest::getStatus() const { + return status_; +} + +void ListBaselineStatusesRequest::setStatus(const std::string &status) { + status_ = status; + setBodyParameter(std::string("Status"), status); } diff --git a/dataworks-public/src/model/ListBusinessRequest.cc b/dataworks-public/src/model/ListBusinessRequest.cc index bd728f468..c2fb0c761 100644 --- a/dataworks-public/src/model/ListBusinessRequest.cc +++ b/dataworks-public/src/model/ListBusinessRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListBusinessRequest; + +ListBusinessRequest::ListBusinessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListBusiness") { + setMethod(HttpRequest::Method::Post); } -void ListBusinessRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +ListBusinessRequest::~ListBusinessRequest() {} + +int ListBusinessRequest::getPageSize() const { + return pageSize_; } -std::string ListBusinessRequest::getKeyword()const -{ - return keyword_; +void ListBusinessRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListBusinessRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); +std::string ListBusinessRequest::getKeyword() const { + return keyword_; } -long ListBusinessRequest::getProjectId()const -{ - return projectId_; +void ListBusinessRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setBodyParameter(std::string("Keyword"), keyword); } -void ListBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListBusinessRequest::getProjectId() const { + return projectId_; } -std::string ListBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void ListBusinessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string ListBusinessRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int ListBusinessRequest::getPageNumber()const -{ - return pageNumber_; +void ListBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void ListBusinessRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListBusinessRequest::getPageNumber() const { + return pageNumber_; +} + +void ListBusinessRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListCalcEnginesRequest.cc b/dataworks-public/src/model/ListCalcEnginesRequest.cc index 2e9647ff3..286eb2357 100644 --- a/dataworks-public/src/model/ListCalcEnginesRequest.cc +++ b/dataworks-public/src/model/ListCalcEnginesRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListCalcEnginesRequest; + +ListCalcEnginesRequest::ListCalcEnginesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListCalcEngines") { + setMethod(HttpRequest::Method::Post); } -void ListCalcEnginesRequest::setCalcEngineType(const std::string& calcEngineType) -{ - calcEngineType_ = calcEngineType; - setParameter("CalcEngineType", calcEngineType); +ListCalcEnginesRequest::~ListCalcEnginesRequest() {} + +std::string ListCalcEnginesRequest::getCalcEngineType() const { + return calcEngineType_; } -int ListCalcEnginesRequest::getPageNumber()const -{ - return pageNumber_; +void ListCalcEnginesRequest::setCalcEngineType(const std::string &calcEngineType) { + calcEngineType_ = calcEngineType; + setParameter(std::string("CalcEngineType"), calcEngineType); } -void ListCalcEnginesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListCalcEnginesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListCalcEnginesRequest::getName()const -{ - return name_; +void ListCalcEnginesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListCalcEnginesRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string ListCalcEnginesRequest::getName() const { + return name_; } -std::string ListCalcEnginesRequest::getEnvType()const -{ - return envType_; +void ListCalcEnginesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void ListCalcEnginesRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setParameter("EnvType", envType); +std::string ListCalcEnginesRequest::getEnvType() const { + return envType_; } -int ListCalcEnginesRequest::getPageSize()const -{ - return pageSize_; +void ListCalcEnginesRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); } -void ListCalcEnginesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListCalcEnginesRequest::getPageSize() const { + return pageSize_; } -long ListCalcEnginesRequest::getProjectId()const -{ - return projectId_; +void ListCalcEnginesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListCalcEnginesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListCalcEnginesRequest::getProjectId() const { + return projectId_; +} + +void ListCalcEnginesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListConnectionsRequest.cc b/dataworks-public/src/model/ListConnectionsRequest.cc index d2a678525..3a2e8ff99 100644 --- a/dataworks-public/src/model/ListConnectionsRequest.cc +++ b/dataworks-public/src/model/ListConnectionsRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListConnectionsRequest; + +ListConnectionsRequest::ListConnectionsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListConnections") { + setMethod(HttpRequest::Method::Get); } -void ListConnectionsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListConnectionsRequest::~ListConnectionsRequest() {} + +int ListConnectionsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListConnectionsRequest::getSubType()const -{ - return subType_; +void ListConnectionsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListConnectionsRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); +std::string ListConnectionsRequest::getSubType() const { + return subType_; } -std::string ListConnectionsRequest::getName()const -{ - return name_; +void ListConnectionsRequest::setSubType(const std::string &subType) { + subType_ = subType; + setParameter(std::string("SubType"), subType); } -void ListConnectionsRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string ListConnectionsRequest::getName() const { + return name_; } -int ListConnectionsRequest::getEnvType()const -{ - return envType_; +void ListConnectionsRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void ListConnectionsRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +int ListConnectionsRequest::getEnvType() const { + return envType_; } -int ListConnectionsRequest::getPageSize()const -{ - return pageSize_; +void ListConnectionsRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void ListConnectionsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListConnectionsRequest::getPageSize() const { + return pageSize_; } -std::string ListConnectionsRequest::getConnectionType()const -{ - return connectionType_; +void ListConnectionsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListConnectionsRequest::setConnectionType(const std::string& connectionType) -{ - connectionType_ = connectionType; - setParameter("ConnectionType", connectionType); +std::string ListConnectionsRequest::getConnectionType() const { + return connectionType_; } -long ListConnectionsRequest::getProjectId()const -{ - return projectId_; +void ListConnectionsRequest::setConnectionType(const std::string &connectionType) { + connectionType_ = connectionType; + setParameter(std::string("ConnectionType"), connectionType); } -void ListConnectionsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListConnectionsRequest::getProjectId() const { + return projectId_; } -std::string ListConnectionsRequest::getStatus()const -{ - return status_; +void ListConnectionsRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListConnectionsRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string ListConnectionsRequest::getStatus() const { + return status_; +} + +void ListConnectionsRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/dataworks-public/src/model/ListCurrentTasksForResourceGroupRequest.cc b/dataworks-public/src/model/ListCurrentTasksForResourceGroupRequest.cc new file mode 100644 index 000000000..6e9ae4abf --- /dev/null +++ b/dataworks-public/src/model/ListCurrentTasksForResourceGroupRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListCurrentTasksForResourceGroupRequest; + +ListCurrentTasksForResourceGroupRequest::ListCurrentTasksForResourceGroupRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListCurrentTasksForResourceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListCurrentTasksForResourceGroupRequest::~ListCurrentTasksForResourceGroupRequest() {} + +std::string ListCurrentTasksForResourceGroupRequest::getProjectEnv() const { + return projectEnv_; +} + +void ListCurrentTasksForResourceGroupRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); +} + +int ListCurrentTasksForResourceGroupRequest::getPageSize() const { + return pageSize_; +} + +void ListCurrentTasksForResourceGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListCurrentTasksForResourceGroupRequest::getResourceGroupIdentifier() const { + return resourceGroupIdentifier_; +} + +void ListCurrentTasksForResourceGroupRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) { + resourceGroupIdentifier_ = resourceGroupIdentifier; + setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier); +} + +int ListCurrentTasksForResourceGroupRequest::getPageNumber() const { + return pageNumber_; +} + +void ListCurrentTasksForResourceGroupRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +int ListCurrentTasksForResourceGroupRequest::getStatus() const { + return status_; +} + +void ListCurrentTasksForResourceGroupRequest::setStatus(int status) { + status_ = status; + setBodyParameter(std::string("Status"), std::to_string(status)); +} + diff --git a/dataworks-public/src/model/ListCurrentTasksForResourceGroupResult.cc b/dataworks-public/src/model/ListCurrentTasksForResourceGroupResult.cc new file mode 100644 index 000000000..f6679f8c0 --- /dev/null +++ b/dataworks-public/src/model/ListCurrentTasksForResourceGroupResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListCurrentTasksForResourceGroupResult::ListCurrentTasksForResourceGroupResult() : + ServiceResult() +{} + +ListCurrentTasksForResourceGroupResult::ListCurrentTasksForResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCurrentTasksForResourceGroupResult::~ListCurrentTasksForResourceGroupResult() +{} + +void ListCurrentTasksForResourceGroupResult::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["TotalNum"].isNull()) + data_.totalNum = std::stoi(dataNode["TotalNum"].asString()); + auto allTasksNode = dataNode["Tasks"]["PopTasksForResourceGroupDto"]; + for (auto dataNodeTasksPopTasksForResourceGroupDto : allTasksNode) + { + Data::PopTasksForResourceGroupDto popTasksForResourceGroupDtoObject; + if(!dataNodeTasksPopTasksForResourceGroupDto["ProjectName"].isNull()) + popTasksForResourceGroupDtoObject.projectName = dataNodeTasksPopTasksForResourceGroupDto["ProjectName"].asString(); + if(!dataNodeTasksPopTasksForResourceGroupDto["Status"].isNull()) + popTasksForResourceGroupDtoObject.status = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["Status"].asString()); + if(!dataNodeTasksPopTasksForResourceGroupDto["Concurrency"].isNull()) + popTasksForResourceGroupDtoObject.concurrency = dataNodeTasksPopTasksForResourceGroupDto["Concurrency"].asString(); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskName"].isNull()) + popTasksForResourceGroupDtoObject.taskName = dataNodeTasksPopTasksForResourceGroupDto["TaskName"].asString(); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskType"].isNull()) + popTasksForResourceGroupDtoObject.taskType = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["TaskType"].asString()); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskId"].isNull()) + popTasksForResourceGroupDtoObject.taskId = dataNodeTasksPopTasksForResourceGroupDto["TaskId"].asString(); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskSource"].isNull()) + popTasksForResourceGroupDtoObject.taskSource = dataNodeTasksPopTasksForResourceGroupDto["TaskSource"].asString(); + data_.tasks.push_back(popTasksForResourceGroupDtoObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int ListCurrentTasksForResourceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListCurrentTasksForResourceGroupResult::Data ListCurrentTasksForResourceGroupResult::getData()const +{ + return data_; +} + +std::string ListCurrentTasksForResourceGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListCurrentTasksForResourceGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListCurrentTasksForResourceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListCurrentUsageForResourceGroupRequest.cc b/dataworks-public/src/model/ListCurrentUsageForResourceGroupRequest.cc new file mode 100644 index 000000000..6c8375a99 --- /dev/null +++ b/dataworks-public/src/model/ListCurrentUsageForResourceGroupRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListCurrentUsageForResourceGroupRequest; + +ListCurrentUsageForResourceGroupRequest::ListCurrentUsageForResourceGroupRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListCurrentUsageForResourceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListCurrentUsageForResourceGroupRequest::~ListCurrentUsageForResourceGroupRequest() {} + +std::string ListCurrentUsageForResourceGroupRequest::getProjectEnv() const { + return projectEnv_; +} + +void ListCurrentUsageForResourceGroupRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); +} + +std::string ListCurrentUsageForResourceGroupRequest::getResourceGroupIdentifier() const { + return resourceGroupIdentifier_; +} + +void ListCurrentUsageForResourceGroupRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) { + resourceGroupIdentifier_ = resourceGroupIdentifier; + setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier); +} + diff --git a/dataworks-public/src/model/ListCurrentUsageForResourceGroupResult.cc b/dataworks-public/src/model/ListCurrentUsageForResourceGroupResult.cc new file mode 100644 index 000000000..bbaee3c3c --- /dev/null +++ b/dataworks-public/src/model/ListCurrentUsageForResourceGroupResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListCurrentUsageForResourceGroupResult::ListCurrentUsageForResourceGroupResult() : + ServiceResult() +{} + +ListCurrentUsageForResourceGroupResult::ListCurrentUsageForResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCurrentUsageForResourceGroupResult::~ListCurrentUsageForResourceGroupResult() +{} + +void ListCurrentUsageForResourceGroupResult::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["Usage"].isNull()) + data_.usage = std::stof(dataNode["Usage"].asString()); + if(!dataNode["RecodeTime"].isNull()) + data_.recodeTime = std::stol(dataNode["RecodeTime"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int ListCurrentUsageForResourceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListCurrentUsageForResourceGroupResult::Data ListCurrentUsageForResourceGroupResult::getData()const +{ + return data_; +} + +std::string ListCurrentUsageForResourceGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListCurrentUsageForResourceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListDIProjectConfigRequest.cc b/dataworks-public/src/model/ListDIProjectConfigRequest.cc index fc6c49ff7..7781bae5f 100644 --- a/dataworks-public/src/model/ListDIProjectConfigRequest.cc +++ b/dataworks-public/src/model/ListDIProjectConfigRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDIProjectConfigRequest; - -ListDIProjectConfigRequest::ListDIProjectConfigRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDIProjectConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDIProjectConfigRequest::~ListDIProjectConfigRequest() -{} - -std::string ListDIProjectConfigRequest::getDestinationType()const -{ - return destinationType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDIProjectConfigRequest; + +ListDIProjectConfigRequest::ListDIProjectConfigRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDIProjectConfig") { + setMethod(HttpRequest::Method::Post); } -void ListDIProjectConfigRequest::setDestinationType(const std::string& destinationType) -{ - destinationType_ = destinationType; - setParameter("DestinationType", destinationType); +ListDIProjectConfigRequest::~ListDIProjectConfigRequest() {} + +std::string ListDIProjectConfigRequest::getDestinationType() const { + return destinationType_; } -std::string ListDIProjectConfigRequest::getSourceType()const -{ - return sourceType_; +void ListDIProjectConfigRequest::setDestinationType(const std::string &destinationType) { + destinationType_ = destinationType; + setParameter(std::string("DestinationType"), destinationType); } -void ListDIProjectConfigRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setParameter("SourceType", sourceType); +std::string ListDIProjectConfigRequest::getSourceType() const { + return sourceType_; } -long ListDIProjectConfigRequest::getProjectId()const -{ - return projectId_; +void ListDIProjectConfigRequest::setSourceType(const std::string &sourceType) { + sourceType_ = sourceType; + setParameter(std::string("SourceType"), sourceType); } -void ListDIProjectConfigRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListDIProjectConfigRequest::getProjectId() const { + return projectId_; +} + +void ListDIProjectConfigRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListDagsRequest.cc b/dataworks-public/src/model/ListDagsRequest.cc index 89789922d..0a2843590 100644 --- a/dataworks-public/src/model/ListDagsRequest.cc +++ b/dataworks-public/src/model/ListDagsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDagsRequest; - -ListDagsRequest::ListDagsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDags") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDagsRequest::~ListDagsRequest() -{} - -std::string ListDagsRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDagsRequest; + +ListDagsRequest::ListDagsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDags") { + setMethod(HttpRequest::Method::Post); } -void ListDagsRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListDagsRequest::~ListDagsRequest() {} + +std::string ListDagsRequest::getProjectEnv() const { + return projectEnv_; } -long ListDagsRequest::getOpSeq()const -{ - return opSeq_; +void ListDagsRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListDagsRequest::setOpSeq(long opSeq) -{ - opSeq_ = opSeq; - setBodyParameter("OpSeq", std::to_string(opSeq)); +long ListDagsRequest::getOpSeq() const { + return opSeq_; +} + +void ListDagsRequest::setOpSeq(long opSeq) { + opSeq_ = opSeq; + setBodyParameter(std::string("OpSeq"), std::to_string(opSeq)); } diff --git a/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc b/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc index ae5a2b37f..b1e5fa7bb 100644 --- a/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc +++ b/dataworks-public/src/model/ListDataServiceApiAuthoritiesRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceApiAuthoritiesRequest; + +ListDataServiceApiAuthoritiesRequest::ListDataServiceApiAuthoritiesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApiAuthorities") { + setMethod(HttpRequest::Method::Post); } -void ListDataServiceApiAuthoritiesRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); +ListDataServiceApiAuthoritiesRequest::~ListDataServiceApiAuthoritiesRequest() {} + +std::string ListDataServiceApiAuthoritiesRequest::getApiNameKeyword() const { + return apiNameKeyword_; } -int ListDataServiceApiAuthoritiesRequest::getPageSize()const -{ - return pageSize_; +void ListDataServiceApiAuthoritiesRequest::setApiNameKeyword(const std::string &apiNameKeyword) { + apiNameKeyword_ = apiNameKeyword; + setBodyParameter(std::string("ApiNameKeyword"), apiNameKeyword); } -void ListDataServiceApiAuthoritiesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListDataServiceApiAuthoritiesRequest::getPageSize() const { + return pageSize_; } -long ListDataServiceApiAuthoritiesRequest::getTenantId()const -{ - return tenantId_; +void ListDataServiceApiAuthoritiesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServiceApiAuthoritiesRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServiceApiAuthoritiesRequest::getTenantId() const { + return tenantId_; } -long ListDataServiceApiAuthoritiesRequest::getProjectId()const -{ - return projectId_; +void ListDataServiceApiAuthoritiesRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServiceApiAuthoritiesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDataServiceApiAuthoritiesRequest::getProjectId() const { + return projectId_; } -int ListDataServiceApiAuthoritiesRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServiceApiAuthoritiesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListDataServiceApiAuthoritiesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServiceApiAuthoritiesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDataServiceApiAuthoritiesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc b/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc index 102c3e223..3fce6a7e0 100644 --- a/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc +++ b/dataworks-public/src/model/ListDataServiceApiAuthoritiesResult.cc @@ -50,50 +50,50 @@ void ListDataServiceApiAuthoritiesResult::parse(const std::string &payload) 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["ApiId"].isNull()) + apiAuthorizationObject.apiId = std::stol(dataNodeApiAuthorizationListApiAuthorization["ApiId"].asString()); if(!dataNodeApiAuthorizationListApiAuthorization["ModifiedTime"].isNull()) apiAuthorizationObject.modifiedTime = dataNodeApiAuthorizationListApiAuthorization["ModifiedTime"].asString(); + if(!dataNodeApiAuthorizationListApiAuthorization["GroupId"].isNull()) + apiAuthorizationObject.groupId = dataNodeApiAuthorizationListApiAuthorization["GroupId"].asString(); if(!dataNodeApiAuthorizationListApiAuthorization["ProjectId"].isNull()) apiAuthorizationObject.projectId = std::stol(dataNodeApiAuthorizationListApiAuthorization["ProjectId"].asString()); + if(!dataNodeApiAuthorizationListApiAuthorization["CreatorId"].isNull()) + apiAuthorizationObject.creatorId = dataNodeApiAuthorizationListApiAuthorization["CreatorId"].asString(); + if(!dataNodeApiAuthorizationListApiAuthorization["CreatedTime"].isNull()) + apiAuthorizationObject.createdTime = dataNodeApiAuthorizationListApiAuthorization["CreatedTime"].asString(); + if(!dataNodeApiAuthorizationListApiAuthorization["ApiName"].isNull()) + apiAuthorizationObject.apiName = dataNodeApiAuthorizationListApiAuthorization["ApiName"].asString(); if(!dataNodeApiAuthorizationListApiAuthorization["TenantId"].isNull()) apiAuthorizationObject.tenantId = std::stol(dataNodeApiAuthorizationListApiAuthorization["TenantId"].asString()); + if(!dataNodeApiAuthorizationListApiAuthorization["ApiPath"].isNull()) + apiAuthorizationObject.apiPath = dataNodeApiAuthorizationListApiAuthorization["ApiPath"].asString(); auto allAuthorizationRecordsNode = dataNodeApiAuthorizationListApiAuthorization["AuthorizationRecords"]["AuthorizationRecord"]; for (auto dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord : allAuthorizationRecordsNode) { Data::ApiAuthorization::AuthorizationRecord authorizationRecordsObject; - if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatedTime"].isNull()) - authorizationRecordsObject.createdTime = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatedTime"].asString(); - if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatorId"].isNull()) - authorizationRecordsObject.creatorId = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatorId"].asString(); if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["EndTime"].isNull()) authorizationRecordsObject.endTime = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["EndTime"].asString(); + if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatorId"].isNull()) + authorizationRecordsObject.creatorId = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatorId"].asString(); + if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatedTime"].isNull()) + authorizationRecordsObject.createdTime = dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["CreatedTime"].asString(); if(!dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["ProjectId"].isNull()) authorizationRecordsObject.projectId = std::stol(dataNodeApiAuthorizationListApiAuthorizationAuthorizationRecordsAuthorizationRecord["ProjectId"].asString()); apiAuthorizationObject.authorizationRecords.push_back(authorizationRecordsObject); } data_.apiAuthorizationList.push_back(apiAuthorizationObject); } - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/ListDataServiceApiTestRequest.cc b/dataworks-public/src/model/ListDataServiceApiTestRequest.cc new file mode 100644 index 000000000..deaab3d1f --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApiTestRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceApiTestRequest; + +ListDataServiceApiTestRequest::ListDataServiceApiTestRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApiTest") { + setMethod(HttpRequest::Method::Get); +} + +ListDataServiceApiTestRequest::~ListDataServiceApiTestRequest() {} + +int ListDataServiceApiTestRequest::getPageSize() const { + return pageSize_; +} + +void ListDataServiceApiTestRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +long ListDataServiceApiTestRequest::getApiId() const { + return apiId_; +} + +void ListDataServiceApiTestRequest::setApiId(long apiId) { + apiId_ = apiId; + setParameter(std::string("ApiId"), std::to_string(apiId)); +} + diff --git a/dataworks-public/src/model/ListDataServiceApiTestResult.cc b/dataworks-public/src/model/ListDataServiceApiTestResult.cc new file mode 100644 index 000000000..6e54e712d --- /dev/null +++ b/dataworks-public/src/model/ListDataServiceApiTestResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListDataServiceApiTestResult::ListDataServiceApiTestResult() : + ServiceResult() +{} + +ListDataServiceApiTestResult::ListDataServiceApiTestResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDataServiceApiTestResult::~ListDataServiceApiTestResult() +{} + +void ListDataServiceApiTestResult::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["TestId"].isNull()) + dataObject.testId = std::stol(valueDataDataItem["TestId"].asString()); + if(!valueDataDataItem["ApiId"].isNull()) + dataObject.apiId = std::stol(valueDataDataItem["ApiId"].asString()); + if(!valueDataDataItem["ParamMap"].isNull()) + dataObject.paramMap = valueDataDataItem["ParamMap"].asString(); + if(!valueDataDataItem["RetCode"].isNull()) + dataObject.retCode = std::stol(valueDataDataItem["RetCode"].asString()); + if(!valueDataDataItem["RetResult"].isNull()) + dataObject.retResult = valueDataDataItem["RetResult"].asString(); + if(!valueDataDataItem["CostTime"].isNull()) + dataObject.costTime = std::stoi(valueDataDataItem["CostTime"].asString()); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["CreateTime"].isNull()) + dataObject.createTime = std::stol(valueDataDataItem["CreateTime"].asString()); + data_.push_back(dataObject); + } + +} + +std::vector ListDataServiceApiTestResult::getData()const +{ + return data_; +} + diff --git a/dataworks-public/src/model/ListDataServiceApisRequest.cc b/dataworks-public/src/model/ListDataServiceApisRequest.cc index 064b15335..728551276 100644 --- a/dataworks-public/src/model/ListDataServiceApisRequest.cc +++ b/dataworks-public/src/model/ListDataServiceApisRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceApisRequest; + +ListDataServiceApisRequest::ListDataServiceApisRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApis") { + setMethod(HttpRequest::Method::Post); } -void ListDataServiceApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); +ListDataServiceApisRequest::~ListDataServiceApisRequest() {} + +std::string ListDataServiceApisRequest::getApiNameKeyword() const { + return apiNameKeyword_; } -std::string ListDataServiceApisRequest::getApiPathKeyword()const -{ - return apiPathKeyword_; +void ListDataServiceApisRequest::setApiNameKeyword(const std::string &apiNameKeyword) { + apiNameKeyword_ = apiNameKeyword; + setBodyParameter(std::string("ApiNameKeyword"), apiNameKeyword); } -void ListDataServiceApisRequest::setApiPathKeyword(const std::string& apiPathKeyword) -{ - apiPathKeyword_ = apiPathKeyword; - setBodyParameter("ApiPathKeyword", apiPathKeyword); +std::string ListDataServiceApisRequest::getApiPathKeyword() const { + return apiPathKeyword_; } -std::string ListDataServiceApisRequest::getCreatorId()const -{ - return creatorId_; +void ListDataServiceApisRequest::setApiPathKeyword(const std::string &apiPathKeyword) { + apiPathKeyword_ = apiPathKeyword; + setBodyParameter(std::string("ApiPathKeyword"), apiPathKeyword); } -void ListDataServiceApisRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); +std::string ListDataServiceApisRequest::getCreatorId() const { + return creatorId_; } -int ListDataServiceApisRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServiceApisRequest::setCreatorId(const std::string &creatorId) { + creatorId_ = creatorId; + setBodyParameter(std::string("CreatorId"), creatorId); } -void ListDataServiceApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServiceApisRequest::getPageNumber() const { + return pageNumber_; } -int ListDataServiceApisRequest::getPageSize()const -{ - return pageSize_; +void ListDataServiceApisRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListDataServiceApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListDataServiceApisRequest::getPageSize() const { + return pageSize_; } -long ListDataServiceApisRequest::getTenantId()const -{ - return tenantId_; +void ListDataServiceApisRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServiceApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServiceApisRequest::getTenantId() const { + return tenantId_; } -long ListDataServiceApisRequest::getProjectId()const -{ - return projectId_; +void ListDataServiceApisRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServiceApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDataServiceApisRequest::getProjectId() const { + return projectId_; +} + +void ListDataServiceApisRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListDataServiceApisResult.cc b/dataworks-public/src/model/ListDataServiceApisResult.cc index 36c82feec..863610675 100644 --- a/dataworks-public/src/model/ListDataServiceApisResult.cc +++ b/dataworks-public/src/model/ListDataServiceApisResult.cc @@ -50,63 +50,63 @@ void ListDataServiceApisResult::parse(const std::string &payload) for (auto dataNodeApisApi : allApisNode) { Data::Api apiObject; + if(!dataNodeApisApi["Timeout"].isNull()) + apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); + if(!dataNodeApisApi["Status"].isNull()) + apiObject.status = std::stoi(dataNodeApisApi["Status"].asString()); 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["ProjectId"].isNull()) + apiObject.projectId = std::stol(dataNodeApisApi["ProjectId"].asString()); + if(!dataNodeApisApi["ResponseContentType"].isNull()) + apiObject.responseContentType = std::stoi(dataNodeApisApi["ResponseContentType"].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["VisibleRange"].isNull()) + apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].asString()); if(!dataNodeApisApi["ModifiedTime"].isNull()) apiObject.modifiedTime = dataNodeApisApi["ModifiedTime"].asString(); if(!dataNodeApisApi["OperatorId"].isNull()) apiObject.operatorId = dataNodeApisApi["OperatorId"].asString(); - if(!dataNodeApisApi["ProjectId"].isNull()) - apiObject.projectId = std::stol(dataNodeApisApi["ProjectId"].asString()); - if(!dataNodeApisApi["RequestMethod"].isNull()) - apiObject.requestMethod = std::stoi(dataNodeApisApi["RequestMethod"].asString()); - if(!dataNodeApisApi["ResponseContentType"].isNull()) - apiObject.responseContentType = std::stoi(dataNodeApisApi["ResponseContentType"].asString()); - if(!dataNodeApisApi["Status"].isNull()) - apiObject.status = std::stoi(dataNodeApisApi["Status"].asString()); - if(!dataNodeApisApi["TenantId"].isNull()) - apiObject.tenantId = std::stol(dataNodeApisApi["TenantId"].asString()); - if(!dataNodeApisApi["Timeout"].isNull()) - apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); - if(!dataNodeApisApi["VisibleRange"].isNull()) - apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].asString()); + if(!dataNodeApisApi["GroupId"].isNull()) + apiObject.groupId = dataNodeApisApi["GroupId"].asString(); + if(!dataNodeApisApi["Description"].isNull()) + apiObject.description = dataNodeApisApi["Description"].asString(); if(!dataNodeApisApi["FolderId"].isNull()) apiObject.folderId = std::stol(dataNodeApisApi["FolderId"].asString()); + if(!dataNodeApisApi["RequestMethod"].isNull()) + apiObject.requestMethod = std::stoi(dataNodeApisApi["RequestMethod"].asString()); + if(!dataNodeApisApi["CreatedTime"].isNull()) + apiObject.createdTime = dataNodeApisApi["CreatedTime"].asString(); + if(!dataNodeApisApi["ApiName"].isNull()) + apiObject.apiName = dataNodeApisApi["ApiName"].asString(); + if(!dataNodeApisApi["TenantId"].isNull()) + apiObject.tenantId = std::stol(dataNodeApisApi["TenantId"].asString()); + if(!dataNodeApisApi["ApiPath"].isNull()) + apiObject.apiPath = dataNodeApisApi["ApiPath"].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["ServiceContentType"].isNull()) + apiObject.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].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(); + if(!registrationDetailsNode["FailedResultSample"].isNull()) + apiObject.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); + if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) + apiObject.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].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["ErrorCode"].isNull()) + registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); apiObject.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); @@ -117,74 +117,74 @@ void ListDataServiceApisResult::parse(const std::string &payload) Data::Api::RegistrationDetails::RegistrationRequestParameter registrationRequestParameterObject; if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].isNull()) registrationRequestParameterObject.columnName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ColumnName"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].isNull()) + registrationRequestParameterObject.parameterName = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterName"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].isNull()) + registrationRequestParameterObject.parameterPosition = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterPosition"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) + registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) + registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) + registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].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(); + if(!scriptDetailsNode["IsPagedResponse"].isNull()) + apiObject.scriptDetails.isPagedResponse = scriptDetailsNode["IsPagedResponse"].asString() == "true"; 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["ParameterName"].isNull()) + scriptRequestParameterObject.parameterName = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterName"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].isNull()) + scriptRequestParameterObject.parameterPosition = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterPosition"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) + scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) + scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) + scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].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["ColumnName"].isNull()) + scriptResponseParameterObject.columnName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ColumnName"].asString(); if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].isNull()) scriptResponseParameterObject.parameterName = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterName"].asString(); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) + scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].asString()); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) + scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].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(); + if(!scriptConnectionNode["ConnectionId"].isNull()) + apiObject.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].asString()); auto wizardDetailsNode = value["WizardDetails"]; if(!wizardDetailsNode["IsPagedResponse"].isNull()) apiObject.wizardDetails.isPagedResponse = wizardDetailsNode["IsPagedResponse"].asString() == "true"; @@ -194,58 +194,58 @@ void ListDataServiceApisResult::parse(const std::string &payload) Data::Api::WizardDetails::WizardRequestParameter wizardRequestParameterObject; if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].isNull()) wizardRequestParameterObject.columnName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ColumnName"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].isNull()) + wizardRequestParameterObject.parameterName = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterName"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].isNull()) + wizardRequestParameterObject.parameterPosition = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterPosition"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) + wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) + wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) + wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].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["ColumnName"].isNull()) + wizardResponseParameterObject.columnName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ColumnName"].asString(); if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].isNull()) wizardResponseParameterObject.parameterName = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterName"].asString(); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) + wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].asString()); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) + wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].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(); + if(!wizardConnectionNode["ConnectionId"].isNull()) + apiObject.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc b/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc index cc58381ed..9ac9df170 100644 --- a/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc +++ b/dataworks-public/src/model/ListDataServiceApplicationsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceApplicationsRequest; + +ListDataServiceApplicationsRequest::ListDataServiceApplicationsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceApplications") { + setMethod(HttpRequest::Method::Post); } -void ListDataServiceApplicationsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +ListDataServiceApplicationsRequest::~ListDataServiceApplicationsRequest() {} + +int ListDataServiceApplicationsRequest::getPageSize() const { + return pageSize_; } -long ListDataServiceApplicationsRequest::getTenantId()const -{ - return tenantId_; +void ListDataServiceApplicationsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServiceApplicationsRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServiceApplicationsRequest::getTenantId() const { + return tenantId_; } -std::string ListDataServiceApplicationsRequest::getProjectIdList()const -{ - return projectIdList_; +void ListDataServiceApplicationsRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServiceApplicationsRequest::setProjectIdList(const std::string& projectIdList) -{ - projectIdList_ = projectIdList; - setBodyParameter("ProjectIdList", projectIdList); +std::string ListDataServiceApplicationsRequest::getProjectIdList() const { + return projectIdList_; } -int ListDataServiceApplicationsRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServiceApplicationsRequest::setProjectIdList(const std::string &projectIdList) { + projectIdList_ = projectIdList; + setBodyParameter(std::string("ProjectIdList"), projectIdList); } -void ListDataServiceApplicationsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServiceApplicationsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDataServiceApplicationsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListDataServiceApplicationsResult.cc b/dataworks-public/src/model/ListDataServiceApplicationsResult.cc index 9cb8c2793..eb7c38d4a 100644 --- a/dataworks-public/src/model/ListDataServiceApplicationsResult.cc +++ b/dataworks-public/src/model/ListDataServiceApplicationsResult.cc @@ -50,22 +50,22 @@ void ListDataServiceApplicationsResult::parse(const std::string &payload) 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["ApplicationId"].isNull()) + applicationObject.applicationId = std::stol(dataNodeApplicationsApplication["ApplicationId"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc b/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc index c08dacdae..ddd01995a 100644 --- a/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc +++ b/dataworks-public/src/model/ListDataServiceAuthorizedApisRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceAuthorizedApisRequest; + +ListDataServiceAuthorizedApisRequest::ListDataServiceAuthorizedApisRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceAuthorizedApis") { + setMethod(HttpRequest::Method::Post); } -void ListDataServiceAuthorizedApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); +ListDataServiceAuthorizedApisRequest::~ListDataServiceAuthorizedApisRequest() {} + +std::string ListDataServiceAuthorizedApisRequest::getApiNameKeyword() const { + return apiNameKeyword_; } -int ListDataServiceAuthorizedApisRequest::getPageSize()const -{ - return pageSize_; +void ListDataServiceAuthorizedApisRequest::setApiNameKeyword(const std::string &apiNameKeyword) { + apiNameKeyword_ = apiNameKeyword; + setBodyParameter(std::string("ApiNameKeyword"), apiNameKeyword); } -void ListDataServiceAuthorizedApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListDataServiceAuthorizedApisRequest::getPageSize() const { + return pageSize_; } -long ListDataServiceAuthorizedApisRequest::getTenantId()const -{ - return tenantId_; +void ListDataServiceAuthorizedApisRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServiceAuthorizedApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServiceAuthorizedApisRequest::getTenantId() const { + return tenantId_; } -long ListDataServiceAuthorizedApisRequest::getProjectId()const -{ - return projectId_; +void ListDataServiceAuthorizedApisRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServiceAuthorizedApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDataServiceAuthorizedApisRequest::getProjectId() const { + return projectId_; } -int ListDataServiceAuthorizedApisRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServiceAuthorizedApisRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListDataServiceAuthorizedApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServiceAuthorizedApisRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDataServiceAuthorizedApisRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc b/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc index c2f803ed4..55daabc1c 100644 --- a/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc +++ b/dataworks-public/src/model/ListDataServiceAuthorizedApisResult.cc @@ -52,40 +52,40 @@ void ListDataServiceAuthorizedApisResult::parse(const std::string &payload) 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["CreatorId"].isNull()) + apiAuthorizedObject.creatorId = dataNodeApiAuthorizedListApiAuthorized["CreatorId"].asString(); + if(!dataNodeApiAuthorizedListApiAuthorized["GrantEndTime"].isNull()) + apiAuthorizedObject.grantEndTime = dataNodeApiAuthorizedListApiAuthorized["GrantEndTime"].asString(); + if(!dataNodeApiAuthorizedListApiAuthorized["ModifiedTime"].isNull()) + apiAuthorizedObject.modifiedTime = dataNodeApiAuthorizedListApiAuthorized["ModifiedTime"].asString(); + if(!dataNodeApiAuthorizedListApiAuthorized["GroupId"].isNull()) + apiAuthorizedObject.groupId = dataNodeApiAuthorizedListApiAuthorized["GroupId"].asString(); + if(!dataNodeApiAuthorizedListApiAuthorized["GrantCreatedTime"].isNull()) + apiAuthorizedObject.grantCreatedTime = dataNodeApiAuthorizedListApiAuthorized["GrantCreatedTime"].asString(); + if(!dataNodeApiAuthorizedListApiAuthorized["CreatedTime"].isNull()) + apiAuthorizedObject.createdTime = dataNodeApiAuthorizedListApiAuthorized["CreatedTime"].asString(); + if(!dataNodeApiAuthorizedListApiAuthorized["ApiName"].isNull()) + apiAuthorizedObject.apiName = dataNodeApiAuthorizedListApiAuthorized["ApiName"].asString(); if(!dataNodeApiAuthorizedListApiAuthorized["TenantId"].isNull()) apiAuthorizedObject.tenantId = std::stol(dataNodeApiAuthorizedListApiAuthorized["TenantId"].asString()); + if(!dataNodeApiAuthorizedListApiAuthorized["ApiPath"].isNull()) + apiAuthorizedObject.apiPath = dataNodeApiAuthorizedListApiAuthorized["ApiPath"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/ListDataServiceFoldersRequest.cc b/dataworks-public/src/model/ListDataServiceFoldersRequest.cc index f0a0d49d8..b55367539 100644 --- a/dataworks-public/src/model/ListDataServiceFoldersRequest.cc +++ b/dataworks-public/src/model/ListDataServiceFoldersRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceFoldersRequest; - -ListDataServiceFoldersRequest::ListDataServiceFoldersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceFolders") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceFoldersRequest::~ListDataServiceFoldersRequest() -{} - -std::string ListDataServiceFoldersRequest::getFolderNameKeyword()const -{ - return folderNameKeyword_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceFoldersRequest; + +ListDataServiceFoldersRequest::ListDataServiceFoldersRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceFolders") { + setMethod(HttpRequest::Method::Post); } -void ListDataServiceFoldersRequest::setFolderNameKeyword(const std::string& folderNameKeyword) -{ - folderNameKeyword_ = folderNameKeyword; - setBodyParameter("FolderNameKeyword", folderNameKeyword); +ListDataServiceFoldersRequest::~ListDataServiceFoldersRequest() {} + +std::string ListDataServiceFoldersRequest::getFolderNameKeyword() const { + return folderNameKeyword_; } -std::string ListDataServiceFoldersRequest::getGroupId()const -{ - return groupId_; +void ListDataServiceFoldersRequest::setFolderNameKeyword(const std::string &folderNameKeyword) { + folderNameKeyword_ = folderNameKeyword; + setBodyParameter(std::string("FolderNameKeyword"), folderNameKeyword); } -void ListDataServiceFoldersRequest::setGroupId(const std::string& groupId) -{ - groupId_ = groupId; - setBodyParameter("GroupId", groupId); +std::string ListDataServiceFoldersRequest::getGroupId() const { + return groupId_; } -int ListDataServiceFoldersRequest::getPageSize()const -{ - return pageSize_; +void ListDataServiceFoldersRequest::setGroupId(const std::string &groupId) { + groupId_ = groupId; + setBodyParameter(std::string("GroupId"), groupId); } -void ListDataServiceFoldersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListDataServiceFoldersRequest::getPageSize() const { + return pageSize_; } -long ListDataServiceFoldersRequest::getTenantId()const -{ - return tenantId_; +void ListDataServiceFoldersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServiceFoldersRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServiceFoldersRequest::getTenantId() const { + return tenantId_; } -long ListDataServiceFoldersRequest::getProjectId()const -{ - return projectId_; +void ListDataServiceFoldersRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServiceFoldersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDataServiceFoldersRequest::getProjectId() const { + return projectId_; } -int ListDataServiceFoldersRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServiceFoldersRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListDataServiceFoldersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServiceFoldersRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDataServiceFoldersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListDataServiceFoldersResult.cc b/dataworks-public/src/model/ListDataServiceFoldersResult.cc index a9538cb82..84a59b330 100644 --- a/dataworks-public/src/model/ListDataServiceFoldersResult.cc +++ b/dataworks-public/src/model/ListDataServiceFoldersResult.cc @@ -50,22 +50,22 @@ void ListDataServiceFoldersResult::parse(const std::string &payload) for (auto folderPagingResultNodeFoldersFolder : allFoldersNode) { FolderPagingResult::Folder folderObject; + if(!folderPagingResultNodeFoldersFolder["ParentId"].isNull()) + folderObject.parentId = std::stol(folderPagingResultNodeFoldersFolder["ParentId"].asString()); + if(!folderPagingResultNodeFoldersFolder["ModifiedTime"].isNull()) + folderObject.modifiedTime = folderPagingResultNodeFoldersFolder["ModifiedTime"].asString(); + if(!folderPagingResultNodeFoldersFolder["GroupId"].isNull()) + folderObject.groupId = folderPagingResultNodeFoldersFolder["GroupId"].asString(); if(!folderPagingResultNodeFoldersFolder["FolderId"].isNull()) folderObject.folderId = std::stol(folderPagingResultNodeFoldersFolder["FolderId"].asString()); if(!folderPagingResultNodeFoldersFolder["FolderName"].isNull()) folderObject.folderName = folderPagingResultNodeFoldersFolder["FolderName"].asString(); if(!folderPagingResultNodeFoldersFolder["ProjectId"].isNull()) folderObject.projectId = std::stol(folderPagingResultNodeFoldersFolder["ProjectId"].asString()); - if(!folderPagingResultNodeFoldersFolder["TenantId"].isNull()) - folderObject.tenantId = std::stol(folderPagingResultNodeFoldersFolder["TenantId"].asString()); if(!folderPagingResultNodeFoldersFolder["CreatedTime"].isNull()) folderObject.createdTime = folderPagingResultNodeFoldersFolder["CreatedTime"].asString(); - if(!folderPagingResultNodeFoldersFolder["ModifiedTime"].isNull()) - folderObject.modifiedTime = folderPagingResultNodeFoldersFolder["ModifiedTime"].asString(); - if(!folderPagingResultNodeFoldersFolder["GroupId"].isNull()) - folderObject.groupId = folderPagingResultNodeFoldersFolder["GroupId"].asString(); - if(!folderPagingResultNodeFoldersFolder["ParentId"].isNull()) - folderObject.parentId = std::stol(folderPagingResultNodeFoldersFolder["ParentId"].asString()); + if(!folderPagingResultNodeFoldersFolder["TenantId"].isNull()) + folderObject.tenantId = std::stol(folderPagingResultNodeFoldersFolder["TenantId"].asString()); folderPagingResult_.folders.push_back(folderObject); } diff --git a/dataworks-public/src/model/ListDataServiceGroupsRequest.cc b/dataworks-public/src/model/ListDataServiceGroupsRequest.cc index 95d4dd9fa..841ea7b88 100644 --- a/dataworks-public/src/model/ListDataServiceGroupsRequest.cc +++ b/dataworks-public/src/model/ListDataServiceGroupsRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataServiceGroupsRequest; - -ListDataServiceGroupsRequest::ListDataServiceGroupsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDataServiceGroupsRequest::~ListDataServiceGroupsRequest() -{} - -int ListDataServiceGroupsRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServiceGroupsRequest; + +ListDataServiceGroupsRequest::ListDataServiceGroupsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServiceGroups") { + setMethod(HttpRequest::Method::Post); } -void ListDataServiceGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +ListDataServiceGroupsRequest::~ListDataServiceGroupsRequest() {} + +int ListDataServiceGroupsRequest::getPageSize() const { + return pageSize_; } -long ListDataServiceGroupsRequest::getTenantId()const -{ - return tenantId_; +void ListDataServiceGroupsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServiceGroupsRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServiceGroupsRequest::getTenantId() const { + return tenantId_; } -long ListDataServiceGroupsRequest::getProjectId()const -{ - return projectId_; +void ListDataServiceGroupsRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServiceGroupsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDataServiceGroupsRequest::getProjectId() const { + return projectId_; } -std::string ListDataServiceGroupsRequest::getGroupNameKeyword()const -{ - return groupNameKeyword_; +void ListDataServiceGroupsRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListDataServiceGroupsRequest::setGroupNameKeyword(const std::string& groupNameKeyword) -{ - groupNameKeyword_ = groupNameKeyword; - setBodyParameter("GroupNameKeyword", groupNameKeyword); +std::string ListDataServiceGroupsRequest::getGroupNameKeyword() const { + return groupNameKeyword_; } -int ListDataServiceGroupsRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServiceGroupsRequest::setGroupNameKeyword(const std::string &groupNameKeyword) { + groupNameKeyword_ = groupNameKeyword; + setBodyParameter(std::string("GroupNameKeyword"), groupNameKeyword); } -void ListDataServiceGroupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServiceGroupsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDataServiceGroupsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListDataServiceGroupsResult.cc b/dataworks-public/src/model/ListDataServiceGroupsResult.cc index 3f9fd7496..3a41c4e89 100644 --- a/dataworks-public/src/model/ListDataServiceGroupsResult.cc +++ b/dataworks-public/src/model/ListDataServiceGroupsResult.cc @@ -50,24 +50,24 @@ void ListDataServiceGroupsResult::parse(const std::string &payload) for (auto groupPagingResultNodeGroupsGroup : allGroupsNode) { GroupPagingResult::Group groupObject; - if(!groupPagingResultNodeGroupsGroup["TenantId"].isNull()) - groupObject.tenantId = std::stol(groupPagingResultNodeGroupsGroup["TenantId"].asString()); - if(!groupPagingResultNodeGroupsGroup["GroupId"].isNull()) - groupObject.groupId = groupPagingResultNodeGroupsGroup["GroupId"].asString(); - if(!groupPagingResultNodeGroupsGroup["ApiGatewayGroupId"].isNull()) - groupObject.apiGatewayGroupId = groupPagingResultNodeGroupsGroup["ApiGatewayGroupId"].asString(); - if(!groupPagingResultNodeGroupsGroup["GroupName"].isNull()) - groupObject.groupName = groupPagingResultNodeGroupsGroup["GroupName"].asString(); - if(!groupPagingResultNodeGroupsGroup["Description"].isNull()) - groupObject.description = groupPagingResultNodeGroupsGroup["Description"].asString(); - if(!groupPagingResultNodeGroupsGroup["CreatedTime"].isNull()) - groupObject.createdTime = groupPagingResultNodeGroupsGroup["CreatedTime"].asString(); if(!groupPagingResultNodeGroupsGroup["ModifiedTime"].isNull()) groupObject.modifiedTime = groupPagingResultNodeGroupsGroup["ModifiedTime"].asString(); - if(!groupPagingResultNodeGroupsGroup["CreatorId"].isNull()) - groupObject.creatorId = groupPagingResultNodeGroupsGroup["CreatorId"].asString(); + if(!groupPagingResultNodeGroupsGroup["Description"].isNull()) + groupObject.description = groupPagingResultNodeGroupsGroup["Description"].asString(); + if(!groupPagingResultNodeGroupsGroup["GroupName"].isNull()) + groupObject.groupName = groupPagingResultNodeGroupsGroup["GroupName"].asString(); + if(!groupPagingResultNodeGroupsGroup["GroupId"].isNull()) + groupObject.groupId = groupPagingResultNodeGroupsGroup["GroupId"].asString(); if(!groupPagingResultNodeGroupsGroup["ProjectId"].isNull()) groupObject.projectId = std::stol(groupPagingResultNodeGroupsGroup["ProjectId"].asString()); + if(!groupPagingResultNodeGroupsGroup["ApiGatewayGroupId"].isNull()) + groupObject.apiGatewayGroupId = groupPagingResultNodeGroupsGroup["ApiGatewayGroupId"].asString(); + if(!groupPagingResultNodeGroupsGroup["CreatorId"].isNull()) + groupObject.creatorId = groupPagingResultNodeGroupsGroup["CreatorId"].asString(); + if(!groupPagingResultNodeGroupsGroup["CreatedTime"].isNull()) + groupObject.createdTime = groupPagingResultNodeGroupsGroup["CreatedTime"].asString(); + if(!groupPagingResultNodeGroupsGroup["TenantId"].isNull()) + groupObject.tenantId = std::stol(groupPagingResultNodeGroupsGroup["TenantId"].asString()); groupPagingResult_.groups.push_back(groupObject); } diff --git a/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc b/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc index 96ae0cd29..c20e26025 100644 --- a/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc +++ b/dataworks-public/src/model/ListDataServicePublishedApisRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataServicePublishedApisRequest; + +ListDataServicePublishedApisRequest::ListDataServicePublishedApisRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataServicePublishedApis") { + setMethod(HttpRequest::Method::Post); } -void ListDataServicePublishedApisRequest::setApiNameKeyword(const std::string& apiNameKeyword) -{ - apiNameKeyword_ = apiNameKeyword; - setBodyParameter("ApiNameKeyword", apiNameKeyword); +ListDataServicePublishedApisRequest::~ListDataServicePublishedApisRequest() {} + +std::string ListDataServicePublishedApisRequest::getApiNameKeyword() const { + return apiNameKeyword_; } -std::string ListDataServicePublishedApisRequest::getApiPathKeyword()const -{ - return apiPathKeyword_; +void ListDataServicePublishedApisRequest::setApiNameKeyword(const std::string &apiNameKeyword) { + apiNameKeyword_ = apiNameKeyword; + setBodyParameter(std::string("ApiNameKeyword"), apiNameKeyword); } -void ListDataServicePublishedApisRequest::setApiPathKeyword(const std::string& apiPathKeyword) -{ - apiPathKeyword_ = apiPathKeyword; - setBodyParameter("ApiPathKeyword", apiPathKeyword); +std::string ListDataServicePublishedApisRequest::getApiPathKeyword() const { + return apiPathKeyword_; } -std::string ListDataServicePublishedApisRequest::getCreatorId()const -{ - return creatorId_; +void ListDataServicePublishedApisRequest::setApiPathKeyword(const std::string &apiPathKeyword) { + apiPathKeyword_ = apiPathKeyword; + setBodyParameter(std::string("ApiPathKeyword"), apiPathKeyword); } -void ListDataServicePublishedApisRequest::setCreatorId(const std::string& creatorId) -{ - creatorId_ = creatorId; - setBodyParameter("CreatorId", creatorId); +std::string ListDataServicePublishedApisRequest::getCreatorId() const { + return creatorId_; } -int ListDataServicePublishedApisRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataServicePublishedApisRequest::setCreatorId(const std::string &creatorId) { + creatorId_ = creatorId; + setBodyParameter(std::string("CreatorId"), creatorId); } -void ListDataServicePublishedApisRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListDataServicePublishedApisRequest::getPageNumber() const { + return pageNumber_; } -int ListDataServicePublishedApisRequest::getPageSize()const -{ - return pageSize_; +void ListDataServicePublishedApisRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListDataServicePublishedApisRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListDataServicePublishedApisRequest::getPageSize() const { + return pageSize_; } -long ListDataServicePublishedApisRequest::getTenantId()const -{ - return tenantId_; +void ListDataServicePublishedApisRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataServicePublishedApisRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long ListDataServicePublishedApisRequest::getTenantId() const { + return tenantId_; } -long ListDataServicePublishedApisRequest::getProjectId()const -{ - return projectId_; +void ListDataServicePublishedApisRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void ListDataServicePublishedApisRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDataServicePublishedApisRequest::getProjectId() const { + return projectId_; +} + +void ListDataServicePublishedApisRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListDataServicePublishedApisResult.cc b/dataworks-public/src/model/ListDataServicePublishedApisResult.cc index 5183b2aef..369b07733 100644 --- a/dataworks-public/src/model/ListDataServicePublishedApisResult.cc +++ b/dataworks-public/src/model/ListDataServicePublishedApisResult.cc @@ -50,61 +50,61 @@ void ListDataServicePublishedApisResult::parse(const std::string &payload) for (auto dataNodeApisApi : allApisNode) { Data::Api apiObject; + if(!dataNodeApisApi["Timeout"].isNull()) + apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); + if(!dataNodeApisApi["Status"].isNull()) + apiObject.status = std::stoi(dataNodeApisApi["Status"].asString()); 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["ProjectId"].isNull()) + apiObject.projectId = std::stol(dataNodeApisApi["ProjectId"].asString()); + if(!dataNodeApisApi["ResponseContentType"].isNull()) + apiObject.responseContentType = std::stoi(dataNodeApisApi["ResponseContentType"].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["VisibleRange"].isNull()) + apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].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["GroupId"].isNull()) + apiObject.groupId = dataNodeApisApi["GroupId"].asString(); + if(!dataNodeApisApi["Description"].isNull()) + apiObject.description = dataNodeApisApi["Description"].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["CreatedTime"].isNull()) + apiObject.createdTime = dataNodeApisApi["CreatedTime"].asString(); + if(!dataNodeApisApi["ApiName"].isNull()) + apiObject.apiName = dataNodeApisApi["ApiName"].asString(); if(!dataNodeApisApi["TenantId"].isNull()) apiObject.tenantId = std::stol(dataNodeApisApi["TenantId"].asString()); - if(!dataNodeApisApi["Timeout"].isNull()) - apiObject.timeout = std::stoi(dataNodeApisApi["Timeout"].asString()); - if(!dataNodeApisApi["VisibleRange"].isNull()) - apiObject.visibleRange = std::stoi(dataNodeApisApi["VisibleRange"].asString()); + if(!dataNodeApisApi["ApiPath"].isNull()) + apiObject.apiPath = dataNodeApisApi["ApiPath"].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["ServiceContentType"].isNull()) + apiObject.registrationDetails.serviceContentType = std::stoi(registrationDetailsNode["ServiceContentType"].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(); + if(!registrationDetailsNode["FailedResultSample"].isNull()) + apiObject.registrationDetails.failedResultSample = registrationDetailsNode["FailedResultSample"].asString(); + if(!registrationDetailsNode["ServiceRequestBodyDescription"].isNull()) + apiObject.registrationDetails.serviceRequestBodyDescription = registrationDetailsNode["ServiceRequestBodyDescription"].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["ErrorCode"].isNull()) + registrationErrorCodeObject.errorCode = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorCode"].asString(); if(!registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].isNull()) registrationErrorCodeObject.errorSolution = registrationDetailsNodeRegistrationErrorCodesRegistrationErrorCode["ErrorSolution"].asString(); apiObject.registrationDetails.registrationErrorCodes.push_back(registrationErrorCodeObject); @@ -113,41 +113,41 @@ void ListDataServicePublishedApisResult::parse(const std::string &payload) 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()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].isNull()) + registrationRequestParameterObject.parameterDescription = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDescription"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].isNull()) + registrationRequestParameterObject.defaultValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["DefaultValue"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].isNull()) + registrationRequestParameterObject.parameterOperator = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterOperator"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].isNull()) + registrationRequestParameterObject.exampleValue = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ExampleValue"].asString(); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].isNull()) + registrationRequestParameterObject.parameterDataType = std::stoi(registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["ParameterDataType"].asString()); + if(!registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].isNull()) + registrationRequestParameterObject.isRequiredParameter = registrationDetailsNodeRegistrationRequestParametersRegistrationRequestParameter["IsRequiredParameter"].asString() == "true"; 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(); + if(!scriptDetailsNode["FailedResultSample"].isNull()) + apiObject.scriptDetails.failedResultSample = scriptDetailsNode["FailedResultSample"].asString(); + if(!scriptDetailsNode["Script"].isNull()) + apiObject.scriptDetails.script = scriptDetailsNode["Script"].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["ErrorCode"].isNull()) + scriptErrorCodeObject.errorCode = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorCode"].asString(); if(!scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].isNull()) scriptErrorCodeObject.errorSolution = scriptDetailsNodeScriptErrorCodesScriptErrorCode["ErrorSolution"].asString(); apiObject.scriptDetails.scriptErrorCodes.push_back(scriptErrorCodeObject); @@ -156,58 +156,58 @@ void ListDataServicePublishedApisResult::parse(const std::string &payload) 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()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].isNull()) + scriptRequestParameterObject.parameterDescription = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDescription"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].isNull()) + scriptRequestParameterObject.defaultValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["DefaultValue"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].isNull()) + scriptRequestParameterObject.parameterOperator = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterOperator"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].isNull()) + scriptRequestParameterObject.exampleValue = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ExampleValue"].asString(); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].isNull()) + scriptRequestParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptRequestParametersScriptRequestParameter["ParameterDataType"].asString()); + if(!scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].isNull()) + scriptRequestParameterObject.isRequiredParameter = scriptDetailsNodeScriptRequestParametersScriptRequestParameter["IsRequiredParameter"].asString() == "true"; 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(); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].isNull()) + scriptResponseParameterObject.exampleValue = scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ExampleValue"].asString(); + if(!scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].isNull()) + scriptResponseParameterObject.parameterDataType = std::stoi(scriptDetailsNodeScriptResponseParametersScriptResponseParameter["ParameterDataType"].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(); + if(!scriptConnectionNode["ConnectionId"].isNull()) + apiObject.scriptDetails.scriptConnection.connectionId = std::stol(scriptConnectionNode["ConnectionId"].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(); + if(!wizardDetailsNode["FailedResultSample"].isNull()) + apiObject.wizardDetails.failedResultSample = wizardDetailsNode["FailedResultSample"].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["ErrorCode"].isNull()) + wizardErrorCodeObject.errorCode = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorCode"].asString(); if(!wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].isNull()) wizardErrorCodeObject.errorSolution = wizardDetailsNodeWizardErrorCodesWizardErrorCode["ErrorSolution"].asString(); apiObject.wizardDetails.wizardErrorCodes.push_back(wizardErrorCodeObject); @@ -216,56 +216,56 @@ void ListDataServicePublishedApisResult::parse(const std::string &payload) 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()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].isNull()) + wizardRequestParameterObject.parameterDescription = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDescription"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].isNull()) + wizardRequestParameterObject.defaultValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["DefaultValue"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].isNull()) + wizardRequestParameterObject.parameterOperator = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterOperator"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].isNull()) + wizardRequestParameterObject.exampleValue = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ExampleValue"].asString(); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].isNull()) + wizardRequestParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardRequestParametersWizardRequestParameter["ParameterDataType"].asString()); + if(!wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].isNull()) + wizardRequestParameterObject.isRequiredParameter = wizardDetailsNodeWizardRequestParametersWizardRequestParameter["IsRequiredParameter"].asString() == "true"; 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(); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].isNull()) + wizardResponseParameterObject.exampleValue = wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ExampleValue"].asString(); + if(!wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].isNull()) + wizardResponseParameterObject.parameterDataType = std::stoi(wizardDetailsNodeWizardResponseParametersWizardResponseParameter["ParameterDataType"].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(); + if(!wizardConnectionNode["ConnectionId"].isNull()) + apiObject.wizardDetails.wizardConnection.connectionId = std::stol(wizardConnectionNode["ConnectionId"].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["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); } diff --git a/dataworks-public/src/model/ListDataSourcesRequest.cc b/dataworks-public/src/model/ListDataSourcesRequest.cc index ec7bea024..0f11a2507 100644 --- a/dataworks-public/src/model/ListDataSourcesRequest.cc +++ b/dataworks-public/src/model/ListDataSourcesRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDataSourcesRequest; - -ListDataSourcesRequest::ListDataSourcesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataSources") -{ - setMethod(HttpRequest::Method::Get); -} - -ListDataSourcesRequest::~ListDataSourcesRequest() -{} - -std::string ListDataSourcesRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDataSourcesRequest; + +ListDataSourcesRequest::ListDataSourcesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDataSources") { + setMethod(HttpRequest::Method::Get); } -void ListDataSourcesRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +ListDataSourcesRequest::~ListDataSourcesRequest() {} + +std::string ListDataSourcesRequest::getDataSourceType() const { + return dataSourceType_; } -int ListDataSourcesRequest::getPageNumber()const -{ - return pageNumber_; +void ListDataSourcesRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void ListDataSourcesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListDataSourcesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListDataSourcesRequest::getSubType()const -{ - return subType_; +void ListDataSourcesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListDataSourcesRequest::setSubType(const std::string& subType) -{ - subType_ = subType; - setParameter("SubType", subType); +std::string ListDataSourcesRequest::getSubType() const { + return subType_; } -std::string ListDataSourcesRequest::getName()const -{ - return name_; +void ListDataSourcesRequest::setSubType(const std::string &subType) { + subType_ = subType; + setParameter(std::string("SubType"), subType); } -void ListDataSourcesRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string ListDataSourcesRequest::getName() const { + return name_; } -int ListDataSourcesRequest::getEnvType()const -{ - return envType_; +void ListDataSourcesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void ListDataSourcesRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +int ListDataSourcesRequest::getEnvType() const { + return envType_; } -int ListDataSourcesRequest::getPageSize()const -{ - return pageSize_; +void ListDataSourcesRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void ListDataSourcesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListDataSourcesRequest::getPageSize() const { + return pageSize_; } -long ListDataSourcesRequest::getProjectId()const -{ - return projectId_; +void ListDataSourcesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDataSourcesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListDataSourcesRequest::getProjectId() const { + return projectId_; } -std::string ListDataSourcesRequest::getStatus()const -{ - return status_; +void ListDataSourcesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListDataSourcesRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string ListDataSourcesRequest::getStatus() const { + return status_; +} + +void ListDataSourcesRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/dataworks-public/src/model/ListDataSourcesResult.cc b/dataworks-public/src/model/ListDataSourcesResult.cc index d06768065..75b7e4b33 100644 --- a/dataworks-public/src/model/ListDataSourcesResult.cc +++ b/dataworks-public/src/model/ListDataSourcesResult.cc @@ -50,14 +50,20 @@ void ListDataSourcesResult::parse(const std::string &payload) for (auto dataNodeDataSourcesDataSourcesItem : allDataSourcesNode) { Data::DataSourcesItem dataSourcesItemObject; - if(!dataNodeDataSourcesDataSourcesItem["Shared"].isNull()) - dataSourcesItemObject.shared = dataNodeDataSourcesDataSourcesItem["Shared"].asString() == "true"; + if(!dataNodeDataSourcesDataSourcesItem["Status"].isNull()) + dataSourcesItemObject.status = std::stoi(dataNodeDataSourcesDataSourcesItem["Status"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["ProjectId"].isNull()) + dataSourcesItemObject.projectId = std::stoi(dataNodeDataSourcesDataSourcesItem["ProjectId"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["SubType"].isNull()) + dataSourcesItemObject.subType = dataNodeDataSourcesDataSourcesItem["SubType"].asString(); if(!dataNodeDataSourcesDataSourcesItem["GmtModified"].isNull()) dataSourcesItemObject.gmtModified = dataNodeDataSourcesDataSourcesItem["GmtModified"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["EnvType"].isNull()) + dataSourcesItemObject.envType = std::stoi(dataNodeDataSourcesDataSourcesItem["EnvType"].asString()); if(!dataNodeDataSourcesDataSourcesItem["ConnectStatus"].isNull()) dataSourcesItemObject.connectStatus = std::stoi(dataNodeDataSourcesDataSourcesItem["ConnectStatus"].asString()); - if(!dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].isNull()) - dataSourcesItemObject.bindingCalcEngineId = std::stoi(dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["Sequence"].isNull()) + dataSourcesItemObject.sequence = std::stoi(dataNodeDataSourcesDataSourcesItem["Sequence"].asString()); if(!dataNodeDataSourcesDataSourcesItem["Description"].isNull()) dataSourcesItemObject.description = dataNodeDataSourcesDataSourcesItem["Description"].asString(); if(!dataNodeDataSourcesDataSourcesItem["DataSourceType"].isNull()) @@ -66,26 +72,20 @@ void ListDataSourcesResult::parse(const std::string &payload) dataSourcesItemObject.gmtCreate = dataNodeDataSourcesDataSourcesItem["GmtCreate"].asString(); if(!dataNodeDataSourcesDataSourcesItem["DefaultEngine"].isNull()) dataSourcesItemObject.defaultEngine = dataNodeDataSourcesDataSourcesItem["DefaultEngine"].asString() == "true"; + if(!dataNodeDataSourcesDataSourcesItem["Shared"].isNull()) + dataSourcesItemObject.shared = dataNodeDataSourcesDataSourcesItem["Shared"].asString() == "true"; if(!dataNodeDataSourcesDataSourcesItem["Operator"].isNull()) dataSourcesItemObject._operator = dataNodeDataSourcesDataSourcesItem["Operator"].asString(); - if(!dataNodeDataSourcesDataSourcesItem["Sequence"].isNull()) - dataSourcesItemObject.sequence = std::stoi(dataNodeDataSourcesDataSourcesItem["Sequence"].asString()); - if(!dataNodeDataSourcesDataSourcesItem["EnvType"].isNull()) - dataSourcesItemObject.envType = std::stoi(dataNodeDataSourcesDataSourcesItem["EnvType"].asString()); - if(!dataNodeDataSourcesDataSourcesItem["TenantId"].isNull()) - dataSourcesItemObject.tenantId = std::stol(dataNodeDataSourcesDataSourcesItem["TenantId"].asString()); if(!dataNodeDataSourcesDataSourcesItem["Name"].isNull()) dataSourcesItemObject.name = dataNodeDataSourcesDataSourcesItem["Name"].asString(); - if(!dataNodeDataSourcesDataSourcesItem["SubType"].isNull()) - dataSourcesItemObject.subType = dataNodeDataSourcesDataSourcesItem["SubType"].asString(); - if(!dataNodeDataSourcesDataSourcesItem["Id"].isNull()) - dataSourcesItemObject.id = std::stoi(dataNodeDataSourcesDataSourcesItem["Id"].asString()); - if(!dataNodeDataSourcesDataSourcesItem["ProjectId"].isNull()) - dataSourcesItemObject.projectId = std::stoi(dataNodeDataSourcesDataSourcesItem["ProjectId"].asString()); - if(!dataNodeDataSourcesDataSourcesItem["Status"].isNull()) - dataSourcesItemObject.status = std::stoi(dataNodeDataSourcesDataSourcesItem["Status"].asString()); if(!dataNodeDataSourcesDataSourcesItem["Content"].isNull()) dataSourcesItemObject.content = dataNodeDataSourcesDataSourcesItem["Content"].asString(); + if(!dataNodeDataSourcesDataSourcesItem["Id"].isNull()) + dataSourcesItemObject.id = std::stoi(dataNodeDataSourcesDataSourcesItem["Id"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].isNull()) + dataSourcesItemObject.bindingCalcEngineId = std::stoi(dataNodeDataSourcesDataSourcesItem["BindingCalcEngineId"].asString()); + if(!dataNodeDataSourcesDataSourcesItem["TenantId"].isNull()) + dataSourcesItemObject.tenantId = std::stol(dataNodeDataSourcesDataSourcesItem["TenantId"].asString()); data_.dataSources.push_back(dataSourcesItemObject); } if(!value["HttpStatusCode"].isNull()) diff --git a/dataworks-public/src/model/ListDeploymentsRequest.cc b/dataworks-public/src/model/ListDeploymentsRequest.cc index 722c028bb..f9a9887b2 100644 --- a/dataworks-public/src/model/ListDeploymentsRequest.cc +++ b/dataworks-public/src/model/ListDeploymentsRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListDeploymentsRequest; - -ListDeploymentsRequest::ListDeploymentsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListDeployments") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDeploymentsRequest::~ListDeploymentsRequest() -{} - -std::string ListDeploymentsRequest::getCreator()const -{ - return creator_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDeploymentsRequest; + +ListDeploymentsRequest::ListDeploymentsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDeployments") { + setMethod(HttpRequest::Method::Post); } -void ListDeploymentsRequest::setCreator(const std::string& creator) -{ - creator_ = creator; - setBodyParameter("Creator", creator); +ListDeploymentsRequest::~ListDeploymentsRequest() {} + +std::string ListDeploymentsRequest::getCreator() const { + return creator_; } -long ListDeploymentsRequest::getEndCreateTime()const -{ - return endCreateTime_; +void ListDeploymentsRequest::setCreator(const std::string &creator) { + creator_ = creator; + setBodyParameter(std::string("Creator"), creator); } -void ListDeploymentsRequest::setEndCreateTime(long endCreateTime) -{ - endCreateTime_ = endCreateTime; - setBodyParameter("EndCreateTime", std::to_string(endCreateTime)); +long ListDeploymentsRequest::getEndCreateTime() const { + return endCreateTime_; } -std::string ListDeploymentsRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void ListDeploymentsRequest::setEndCreateTime(long endCreateTime) { + endCreateTime_ = endCreateTime; + setBodyParameter(std::string("EndCreateTime"), std::to_string(endCreateTime)); } -void ListDeploymentsRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string ListDeploymentsRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int ListDeploymentsRequest::getPageNumber()const -{ - return pageNumber_; +void ListDeploymentsRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void ListDeploymentsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListDeploymentsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListDeploymentsRequest::getExecutor()const -{ - return executor_; +void ListDeploymentsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListDeploymentsRequest::setExecutor(const std::string& executor) -{ - executor_ = executor; - setBodyParameter("Executor", executor); +std::string ListDeploymentsRequest::getExecutor() const { + return executor_; } -int ListDeploymentsRequest::getPageSize()const -{ - return pageSize_; +void ListDeploymentsRequest::setExecutor(const std::string &executor) { + executor_ = executor; + setBodyParameter(std::string("Executor"), executor); } -void ListDeploymentsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListDeploymentsRequest::getPageSize() const { + return pageSize_; } -long ListDeploymentsRequest::getEndExecuteTime()const -{ - return endExecuteTime_; +void ListDeploymentsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListDeploymentsRequest::setEndExecuteTime(long endExecuteTime) -{ - endExecuteTime_ = endExecuteTime; - setBodyParameter("EndExecuteTime", std::to_string(endExecuteTime)); +long ListDeploymentsRequest::getEndExecuteTime() const { + return endExecuteTime_; } -std::string ListDeploymentsRequest::getKeyword()const -{ - return keyword_; +void ListDeploymentsRequest::setEndExecuteTime(long endExecuteTime) { + endExecuteTime_ = endExecuteTime; + setBodyParameter(std::string("EndExecuteTime"), std::to_string(endExecuteTime)); } -void ListDeploymentsRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); +std::string ListDeploymentsRequest::getKeyword() const { + return keyword_; } -long ListDeploymentsRequest::getProjectId()const -{ - return projectId_; +void ListDeploymentsRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setBodyParameter(std::string("Keyword"), keyword); } -void ListDeploymentsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListDeploymentsRequest::getProjectId() const { + return projectId_; } -int ListDeploymentsRequest::getStatus()const -{ - return status_; +void ListDeploymentsRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListDeploymentsRequest::setStatus(int status) -{ - status_ = status; - setBodyParameter("Status", std::to_string(status)); +int ListDeploymentsRequest::getStatus() const { + return status_; +} + +void ListDeploymentsRequest::setStatus(int status) { + status_ = status; + setBodyParameter(std::string("Status"), std::to_string(status)); } diff --git a/dataworks-public/src/model/ListDutyRostersRequest.cc b/dataworks-public/src/model/ListDutyRostersRequest.cc new file mode 100644 index 000000000..31f4bd594 --- /dev/null +++ b/dataworks-public/src/model/ListDutyRostersRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListDutyRostersRequest; + +ListDutyRostersRequest::ListDutyRostersRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListDutyRosters") { + setMethod(HttpRequest::Method::Post); +} + +ListDutyRostersRequest::~ListDutyRostersRequest() {} + +std::string ListDutyRostersRequest::getDutyRosterOwner() const { + return dutyRosterOwner_; +} + +void ListDutyRostersRequest::setDutyRosterOwner(const std::string &dutyRosterOwner) { + dutyRosterOwner_ = dutyRosterOwner; + setBodyParameter(std::string("DutyRosterOwner"), dutyRosterOwner); +} + +std::string ListDutyRostersRequest::getDutyRosterName() const { + return dutyRosterName_; +} + +void ListDutyRostersRequest::setDutyRosterName(const std::string &dutyRosterName) { + dutyRosterName_ = dutyRosterName; + setBodyParameter(std::string("DutyRosterName"), dutyRosterName); +} + +int ListDutyRostersRequest::getPageSize() const { + return pageSize_; +} + +void ListDutyRostersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int ListDutyRostersRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDutyRostersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListDutyRostersResult.cc b/dataworks-public/src/model/ListDutyRostersResult.cc new file mode 100644 index 000000000..2fe738197 --- /dev/null +++ b/dataworks-public/src/model/ListDutyRostersResult.cc @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListDutyRostersResult::ListDutyRostersResult() : + ServiceResult() +{} + +ListDutyRostersResult::ListDutyRostersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDutyRostersResult::~ListDutyRostersResult() +{} + +void ListDutyRostersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto pagingNode = value["Paging"]; + if(!pagingNode["PageNumber"].isNull()) + paging_.pageNumber = std::stoi(pagingNode["PageNumber"].asString()); + if(!pagingNode["PageSize"].isNull()) + paging_.pageSize = std::stoi(pagingNode["PageSize"].asString()); + if(!pagingNode["TotalCount"].isNull()) + paging_.totalCount = std::stoi(pagingNode["TotalCount"].asString()); + auto allDutyRostersNode = pagingNode["DutyRosters"]["DutyRostersItem"]; + for (auto pagingNodeDutyRostersDutyRostersItem : allDutyRostersNode) + { + Paging::DutyRostersItem dutyRostersItemObject; + if(!pagingNodeDutyRostersDutyRostersItem["DutyRosterIdentifier"].isNull()) + dutyRostersItemObject.dutyRosterIdentifier = pagingNodeDutyRostersDutyRostersItem["DutyRosterIdentifier"].asString(); + if(!pagingNodeDutyRostersDutyRostersItem["DutyRosterName"].isNull()) + dutyRostersItemObject.dutyRosterName = pagingNodeDutyRostersDutyRostersItem["DutyRosterName"].asString(); + paging_.dutyRosters.push_back(dutyRostersItemObject); + } + +} + +ListDutyRostersResult::Paging ListDutyRostersResult::getPaging()const +{ + return paging_; +} + diff --git a/dataworks-public/src/model/ListExtensionsRequest.cc b/dataworks-public/src/model/ListExtensionsRequest.cc new file mode 100644 index 000000000..b952cc824 --- /dev/null +++ b/dataworks-public/src/model/ListExtensionsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListExtensionsRequest; + +ListExtensionsRequest::ListExtensionsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListExtensions") { + setMethod(HttpRequest::Method::Get); +} + +ListExtensionsRequest::~ListExtensionsRequest() {} + +int ListExtensionsRequest::getPageSize() const { + return pageSize_; +} + +void ListExtensionsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +int ListExtensionsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListExtensionsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListExtensionsResult.cc b/dataworks-public/src/model/ListExtensionsResult.cc new file mode 100644 index 000000000..00a83c6cb --- /dev/null +++ b/dataworks-public/src/model/ListExtensionsResult.cc @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListExtensionsResult::ListExtensionsResult() : + ServiceResult() +{} + +ListExtensionsResult::ListExtensionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListExtensionsResult::~ListExtensionsResult() +{} + +void ListExtensionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto pagingInfoNode = value["PagingInfo"]; + if(!pagingInfoNode["PageNumber"].isNull()) + pagingInfo_.pageNumber = std::stoi(pagingInfoNode["PageNumber"].asString()); + if(!pagingInfoNode["PageSize"].isNull()) + pagingInfo_.pageSize = std::stoi(pagingInfoNode["PageSize"].asString()); + if(!pagingInfoNode["TotalCount"].isNull()) + pagingInfo_.totalCount = std::stoi(pagingInfoNode["TotalCount"].asString()); + auto allExtensionsNode = pagingInfoNode["Extensions"]["ExtensionsItem"]; + for (auto pagingInfoNodeExtensionsExtensionsItem : allExtensionsNode) + { + PagingInfo::ExtensionsItem extensionsItemObject; + if(!pagingInfoNodeExtensionsExtensionsItem["Status"].isNull()) + extensionsItemObject.status = std::stoi(pagingInfoNodeExtensionsExtensionsItem["Status"].asString()); + if(!pagingInfoNodeExtensionsExtensionsItem["ExtensionDesc"].isNull()) + extensionsItemObject.extensionDesc = pagingInfoNodeExtensionsExtensionsItem["ExtensionDesc"].asString(); + if(!pagingInfoNodeExtensionsExtensionsItem["ExtensionName"].isNull()) + extensionsItemObject.extensionName = pagingInfoNodeExtensionsExtensionsItem["ExtensionName"].asString(); + if(!pagingInfoNodeExtensionsExtensionsItem["Owner"].isNull()) + extensionsItemObject.owner = pagingInfoNodeExtensionsExtensionsItem["Owner"].asString(); + if(!pagingInfoNodeExtensionsExtensionsItem["ExtensionCode"].isNull()) + extensionsItemObject.extensionCode = pagingInfoNodeExtensionsExtensionsItem["ExtensionCode"].asString(); + auto allBindEventListNode = pagingInfoNodeExtensionsExtensionsItem["BindEventList"]["BindEventListItem"]; + for (auto pagingInfoNodeExtensionsExtensionsItemBindEventListBindEventListItem : allBindEventListNode) + { + PagingInfo::ExtensionsItem::BindEventListItem bindEventListObject; + if(!pagingInfoNodeExtensionsExtensionsItemBindEventListBindEventListItem["EventName"].isNull()) + bindEventListObject.eventName = pagingInfoNodeExtensionsExtensionsItemBindEventListBindEventListItem["EventName"].asString(); + if(!pagingInfoNodeExtensionsExtensionsItemBindEventListBindEventListItem["EventCode"].isNull()) + bindEventListObject.eventCode = pagingInfoNodeExtensionsExtensionsItemBindEventListBindEventListItem["EventCode"].asString(); + extensionsItemObject.bindEventList.push_back(bindEventListObject); + } + pagingInfo_.extensions.push_back(extensionsItemObject); + } + +} + +ListExtensionsResult::PagingInfo ListExtensionsResult::getPagingInfo()const +{ + return pagingInfo_; +} + diff --git a/dataworks-public/src/model/ListFileTypeRequest.cc b/dataworks-public/src/model/ListFileTypeRequest.cc index c9df82c7c..3458f5724 100644 --- a/dataworks-public/src/model/ListFileTypeRequest.cc +++ b/dataworks-public/src/model/ListFileTypeRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFileTypeRequest; - -ListFileTypeRequest::ListFileTypeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFileType") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFileTypeRequest::~ListFileTypeRequest() -{} - -int ListFileTypeRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListFileTypeRequest; + +ListFileTypeRequest::ListFileTypeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListFileType") { + setMethod(HttpRequest::Method::Post); } -void ListFileTypeRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +ListFileTypeRequest::~ListFileTypeRequest() {} + +int ListFileTypeRequest::getPageSize() const { + return pageSize_; } -std::string ListFileTypeRequest::getKeyword()const -{ - return keyword_; +void ListFileTypeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListFileTypeRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); +std::string ListFileTypeRequest::getKeyword() const { + return keyword_; } -std::string ListFileTypeRequest::getLocale()const -{ - return locale_; +void ListFileTypeRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setBodyParameter(std::string("Keyword"), keyword); } -void ListFileTypeRequest::setLocale(const std::string& locale) -{ - locale_ = locale; - setBodyParameter("Locale", locale); +std::string ListFileTypeRequest::getLocale() const { + return locale_; } -long ListFileTypeRequest::getProjectId()const -{ - return projectId_; +void ListFileTypeRequest::setLocale(const std::string &locale) { + locale_ = locale; + setBodyParameter(std::string("Locale"), locale); } -void ListFileTypeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListFileTypeRequest::getProjectId() const { + return projectId_; } -std::string ListFileTypeRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void ListFileTypeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListFileTypeRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string ListFileTypeRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int ListFileTypeRequest::getPageNumber()const -{ - return pageNumber_; +void ListFileTypeRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void ListFileTypeRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListFileTypeRequest::getPageNumber() const { + return pageNumber_; +} + +void ListFileTypeRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListFileTypeResult.cc b/dataworks-public/src/model/ListFileTypeResult.cc index 334ed39e9..7bd68b1dd 100644 --- a/dataworks-public/src/model/ListFileTypeResult.cc +++ b/dataworks-public/src/model/ListFileTypeResult.cc @@ -50,10 +50,10 @@ void ListFileTypeResult::parse(const std::string &payload) for (auto nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem : allNodeTypeInfoNode) { NodeTypeInfoList::NodeTypeInfoItem nodeTypeInfoItemObject; - if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].isNull()) - nodeTypeInfoItemObject.nodeType = std::stoi(nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].asString()); if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeTypeName"].isNull()) nodeTypeInfoItemObject.nodeTypeName = nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeTypeName"].asString(); + if(!nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].isNull()) + nodeTypeInfoItemObject.nodeType = std::stoi(nodeTypeInfoListNodeNodeTypeInfoNodeTypeInfoItem["NodeType"].asString()); nodeTypeInfoList_.nodeTypeInfo.push_back(nodeTypeInfoItemObject); } diff --git a/dataworks-public/src/model/ListFileVersionsRequest.cc b/dataworks-public/src/model/ListFileVersionsRequest.cc index d3c155c8b..3b80b94f8 100644 --- a/dataworks-public/src/model/ListFileVersionsRequest.cc +++ b/dataworks-public/src/model/ListFileVersionsRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListFileVersionsRequest; + +ListFileVersionsRequest::ListFileVersionsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListFileVersions") { + setMethod(HttpRequest::Method::Post); } -void ListFileVersionsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +ListFileVersionsRequest::~ListFileVersionsRequest() {} + +int ListFileVersionsRequest::getPageSize() const { + return pageSize_; } -long ListFileVersionsRequest::getProjectId()const -{ - return projectId_; +void ListFileVersionsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListFileVersionsRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListFileVersionsRequest::getProjectId() const { + return projectId_; } -std::string ListFileVersionsRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void ListFileVersionsRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListFileVersionsRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string ListFileVersionsRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int ListFileVersionsRequest::getPageNumber()const -{ - return pageNumber_; +void ListFileVersionsRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void ListFileVersionsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListFileVersionsRequest::getPageNumber() const { + return pageNumber_; } -long ListFileVersionsRequest::getFileId()const -{ - return fileId_; +void ListFileVersionsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListFileVersionsRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long ListFileVersionsRequest::getFileId() const { + return fileId_; +} + +void ListFileVersionsRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/ListFilesRequest.cc b/dataworks-public/src/model/ListFilesRequest.cc index c34b53437..bf9f75a92 100644 --- a/dataworks-public/src/model/ListFilesRequest.cc +++ b/dataworks-public/src/model/ListFilesRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListFilesRequest; - -ListFilesRequest::ListFilesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListFiles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListFilesRequest::~ListFilesRequest() -{} - -std::string ListFilesRequest::getOwner()const -{ - return owner_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListFilesRequest; + +ListFilesRequest::ListFilesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListFiles") { + setMethod(HttpRequest::Method::Post); } -void ListFilesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +ListFilesRequest::~ListFilesRequest() {} + +std::string ListFilesRequest::getOwner() const { + return owner_; } -std::string ListFilesRequest::getFileTypes()const -{ - return fileTypes_; +void ListFilesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void ListFilesRequest::setFileTypes(const std::string& fileTypes) -{ - fileTypes_ = fileTypes; - setBodyParameter("FileTypes", fileTypes); +std::string ListFilesRequest::getFileTypes() const { + return fileTypes_; } -std::string ListFilesRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void ListFilesRequest::setFileTypes(const std::string &fileTypes) { + fileTypes_ = fileTypes; + setBodyParameter(std::string("FileTypes"), fileTypes); } -void ListFilesRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string ListFilesRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int ListFilesRequest::getPageNumber()const -{ - return pageNumber_; +void ListFilesRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void ListFilesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListFilesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListFilesRequest::getFileFolderPath()const -{ - return fileFolderPath_; +void ListFilesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListFilesRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); +std::string ListFilesRequest::getFileFolderPath() const { + return fileFolderPath_; } -int ListFilesRequest::getPageSize()const -{ - return pageSize_; +void ListFilesRequest::setFileFolderPath(const std::string &fileFolderPath) { + fileFolderPath_ = fileFolderPath; + setBodyParameter(std::string("FileFolderPath"), fileFolderPath); } -void ListFilesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListFilesRequest::getPageSize() const { + return pageSize_; } -std::string ListFilesRequest::getKeyword()const -{ - return keyword_; +void ListFilesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListFilesRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setBodyParameter("Keyword", keyword); +std::string ListFilesRequest::getKeyword() const { + return keyword_; } -long ListFilesRequest::getProjectId()const -{ - return projectId_; +void ListFilesRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setBodyParameter(std::string("Keyword"), keyword); } -void ListFilesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListFilesRequest::getProjectId() const { + return projectId_; } -std::string ListFilesRequest::getUseType()const -{ - return useType_; +void ListFilesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListFilesRequest::setUseType(const std::string& useType) -{ - useType_ = useType; - setBodyParameter("UseType", useType); +std::string ListFilesRequest::getUseType() const { + return useType_; } -long ListFilesRequest::getNodeId()const -{ - return nodeId_; +void ListFilesRequest::setUseType(const std::string &useType) { + useType_ = useType; + setBodyParameter(std::string("UseType"), useType); } -void ListFilesRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long ListFilesRequest::getNodeId() const { + return nodeId_; +} + +void ListFilesRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/ListFoldersRequest.cc b/dataworks-public/src/model/ListFoldersRequest.cc index b27c61d72..3deb9d1fb 100644 --- a/dataworks-public/src/model/ListFoldersRequest.cc +++ b/dataworks-public/src/model/ListFoldersRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListFoldersRequest; + +ListFoldersRequest::ListFoldersRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListFolders") { + setMethod(HttpRequest::Method::Post); } -void ListFoldersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +ListFoldersRequest::~ListFoldersRequest() {} + +int ListFoldersRequest::getPageSize() const { + return pageSize_; } -std::string ListFoldersRequest::getParentFolderPath()const -{ - return parentFolderPath_; +void ListFoldersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListFoldersRequest::setParentFolderPath(const std::string& parentFolderPath) -{ - parentFolderPath_ = parentFolderPath; - setBodyParameter("ParentFolderPath", parentFolderPath); +std::string ListFoldersRequest::getParentFolderPath() const { + return parentFolderPath_; } -long ListFoldersRequest::getProjectId()const -{ - return projectId_; +void ListFoldersRequest::setParentFolderPath(const std::string &parentFolderPath) { + parentFolderPath_ = parentFolderPath; + setBodyParameter(std::string("ParentFolderPath"), parentFolderPath); } -void ListFoldersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListFoldersRequest::getProjectId() const { + return projectId_; } -std::string ListFoldersRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void ListFoldersRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListFoldersRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string ListFoldersRequest::getProjectIdentifier() const { + return projectIdentifier_; } -int ListFoldersRequest::getPageNumber()const -{ - return pageNumber_; +void ListFoldersRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void ListFoldersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListFoldersRequest::getPageNumber() const { + return pageNumber_; +} + +void ListFoldersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListHistoryTasksForResourceGroupRequest.cc b/dataworks-public/src/model/ListHistoryTasksForResourceGroupRequest.cc new file mode 100644 index 000000000..be682aa7e --- /dev/null +++ b/dataworks-public/src/model/ListHistoryTasksForResourceGroupRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListHistoryTasksForResourceGroupRequest; + +ListHistoryTasksForResourceGroupRequest::ListHistoryTasksForResourceGroupRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListHistoryTasksForResourceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListHistoryTasksForResourceGroupRequest::~ListHistoryTasksForResourceGroupRequest() {} + +std::string ListHistoryTasksForResourceGroupRequest::getProjectEnv() const { + return projectEnv_; +} + +void ListHistoryTasksForResourceGroupRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); +} + +int ListHistoryTasksForResourceGroupRequest::getPageSize() const { + return pageSize_; +} + +void ListHistoryTasksForResourceGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +long ListHistoryTasksForResourceGroupRequest::getEndTime() const { + return endTime_; +} + +void ListHistoryTasksForResourceGroupRequest::setEndTime(long endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), std::to_string(endTime)); +} + +std::string ListHistoryTasksForResourceGroupRequest::getResourceGroupIdentifier() const { + return resourceGroupIdentifier_; +} + +void ListHistoryTasksForResourceGroupRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) { + resourceGroupIdentifier_ = resourceGroupIdentifier; + setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier); +} + +long ListHistoryTasksForResourceGroupRequest::getStartTime() const { + return startTime_; +} + +void ListHistoryTasksForResourceGroupRequest::setStartTime(long startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), std::to_string(startTime)); +} + +int ListHistoryTasksForResourceGroupRequest::getPageNumber() const { + return pageNumber_; +} + +void ListHistoryTasksForResourceGroupRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListHistoryTasksForResourceGroupResult.cc b/dataworks-public/src/model/ListHistoryTasksForResourceGroupResult.cc new file mode 100644 index 000000000..ce0398a75 --- /dev/null +++ b/dataworks-public/src/model/ListHistoryTasksForResourceGroupResult.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; + +ListHistoryTasksForResourceGroupResult::ListHistoryTasksForResourceGroupResult() : + ServiceResult() +{} + +ListHistoryTasksForResourceGroupResult::ListHistoryTasksForResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHistoryTasksForResourceGroupResult::~ListHistoryTasksForResourceGroupResult() +{} + +void ListHistoryTasksForResourceGroupResult::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["TotalNum"].isNull()) + data_.totalNum = std::stoi(dataNode["TotalNum"].asString()); + auto allTasksNode = dataNode["Tasks"]["PopTasksForResourceGroupDto"]; + for (auto dataNodeTasksPopTasksForResourceGroupDto : allTasksNode) + { + Data::PopTasksForResourceGroupDto popTasksForResourceGroupDtoObject; + if(!dataNodeTasksPopTasksForResourceGroupDto["ProjectName"].isNull()) + popTasksForResourceGroupDtoObject.projectName = dataNodeTasksPopTasksForResourceGroupDto["ProjectName"].asString(); + if(!dataNodeTasksPopTasksForResourceGroupDto["Status"].isNull()) + popTasksForResourceGroupDtoObject.status = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["Status"].asString()); + if(!dataNodeTasksPopTasksForResourceGroupDto["Concurrency"].isNull()) + popTasksForResourceGroupDtoObject.concurrency = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["Concurrency"].asString()); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskName"].isNull()) + popTasksForResourceGroupDtoObject.taskName = dataNodeTasksPopTasksForResourceGroupDto["TaskName"].asString(); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskType"].isNull()) + popTasksForResourceGroupDtoObject.taskType = std::stoi(dataNodeTasksPopTasksForResourceGroupDto["TaskType"].asString()); + if(!dataNodeTasksPopTasksForResourceGroupDto["TaskId"].isNull()) + popTasksForResourceGroupDtoObject.taskId = dataNodeTasksPopTasksForResourceGroupDto["TaskId"].asString(); + data_.tasks.push_back(popTasksForResourceGroupDtoObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int ListHistoryTasksForResourceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListHistoryTasksForResourceGroupResult::Data ListHistoryTasksForResourceGroupResult::getData()const +{ + return data_; +} + +std::string ListHistoryTasksForResourceGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListHistoryTasksForResourceGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListHistoryTasksForResourceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListInstanceAmountRequest.cc b/dataworks-public/src/model/ListInstanceAmountRequest.cc index 475a94005..d1235a60f 100644 --- a/dataworks-public/src/model/ListInstanceAmountRequest.cc +++ b/dataworks-public/src/model/ListInstanceAmountRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListInstanceAmountRequest; - -ListInstanceAmountRequest::ListInstanceAmountRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListInstanceAmount") -{ - setMethod(HttpRequest::Method::Post); -} - -ListInstanceAmountRequest::~ListInstanceAmountRequest() -{} - -std::string ListInstanceAmountRequest::getBeginDate()const -{ - return beginDate_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListInstanceAmountRequest; + +ListInstanceAmountRequest::ListInstanceAmountRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListInstanceAmount") { + setMethod(HttpRequest::Method::Post); } -void ListInstanceAmountRequest::setBeginDate(const std::string& beginDate) -{ - beginDate_ = beginDate; - setBodyParameter("BeginDate", beginDate); +ListInstanceAmountRequest::~ListInstanceAmountRequest() {} + +std::string ListInstanceAmountRequest::getBeginDate() const { + return beginDate_; } -std::string ListInstanceAmountRequest::getEndDate()const -{ - return endDate_; +void ListInstanceAmountRequest::setBeginDate(const std::string &beginDate) { + beginDate_ = beginDate; + setBodyParameter(std::string("BeginDate"), beginDate); } -void ListInstanceAmountRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); +std::string ListInstanceAmountRequest::getEndDate() const { + return endDate_; } -long ListInstanceAmountRequest::getProjectId()const -{ - return projectId_; +void ListInstanceAmountRequest::setEndDate(const std::string &endDate) { + endDate_ = endDate; + setBodyParameter(std::string("EndDate"), endDate); } -void ListInstanceAmountRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListInstanceAmountRequest::getProjectId() const { + return projectId_; +} + +void ListInstanceAmountRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListInstancesRequest.cc b/dataworks-public/src/model/ListInstancesRequest.cc index e94de1d5b..9cddebc76 100644 --- a/dataworks-public/src/model/ListInstancesRequest.cc +++ b/dataworks-public/src/model/ListInstancesRequest.cc @@ -1,172 +1,144 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListInstancesRequest; + +ListInstancesRequest::ListInstancesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListInstances") { + setMethod(HttpRequest::Method::Post); } -void ListInstancesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListInstancesRequest::~ListInstancesRequest() {} + +std::string ListInstancesRequest::getProjectEnv() const { + return projectEnv_; } -std::string ListInstancesRequest::getOwner()const -{ - return owner_; +void ListInstancesRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListInstancesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +std::string ListInstancesRequest::getOwner() const { + return owner_; } -std::string ListInstancesRequest::getBizName()const -{ - return bizName_; +void ListInstancesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void ListInstancesRequest::setBizName(const std::string& bizName) -{ - bizName_ = bizName; - setBodyParameter("BizName", bizName); +std::string ListInstancesRequest::getBizName() const { + return bizName_; } -std::string ListInstancesRequest::getBeginBizdate()const -{ - return beginBizdate_; +void ListInstancesRequest::setBizName(const std::string &bizName) { + bizName_ = bizName; + setBodyParameter(std::string("BizName"), bizName); } -void ListInstancesRequest::setBeginBizdate(const std::string& beginBizdate) -{ - beginBizdate_ = beginBizdate; - setBodyParameter("BeginBizdate", beginBizdate); +std::string ListInstancesRequest::getBeginBizdate() const { + return beginBizdate_; } -std::string ListInstancesRequest::getEndBizdate()const -{ - return endBizdate_; +void ListInstancesRequest::setBeginBizdate(const std::string &beginBizdate) { + beginBizdate_ = beginBizdate; + setBodyParameter(std::string("BeginBizdate"), beginBizdate); } -void ListInstancesRequest::setEndBizdate(const std::string& endBizdate) -{ - endBizdate_ = endBizdate; - setBodyParameter("EndBizdate", endBizdate); +std::string ListInstancesRequest::getEndBizdate() const { + return endBizdate_; } -long ListInstancesRequest::getDagId()const -{ - return dagId_; +void ListInstancesRequest::setEndBizdate(const std::string &endBizdate) { + endBizdate_ = endBizdate; + setBodyParameter(std::string("EndBizdate"), endBizdate); } -void ListInstancesRequest::setDagId(long dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", std::to_string(dagId)); +long ListInstancesRequest::getDagId() const { + return dagId_; } -int ListInstancesRequest::getPageNumber()const -{ - return pageNumber_; +void ListInstancesRequest::setDagId(long dagId) { + dagId_ = dagId; + setBodyParameter(std::string("DagId"), std::to_string(dagId)); } -void ListInstancesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListInstancesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListInstancesRequest::getNodeName()const -{ - return nodeName_; +void ListInstancesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListInstancesRequest::setNodeName(const std::string& nodeName) -{ - nodeName_ = nodeName; - setBodyParameter("NodeName", nodeName); +std::string ListInstancesRequest::getNodeName() const { + return nodeName_; } -std::string ListInstancesRequest::getProgramType()const -{ - return programType_; +void ListInstancesRequest::setNodeName(const std::string &nodeName) { + nodeName_ = nodeName; + setBodyParameter(std::string("NodeName"), nodeName); } -void ListInstancesRequest::setProgramType(const std::string& programType) -{ - programType_ = programType; - setBodyParameter("ProgramType", programType); +std::string ListInstancesRequest::getProgramType() const { + return programType_; } -std::string ListInstancesRequest::getBizdate()const -{ - return bizdate_; +void ListInstancesRequest::setProgramType(const std::string &programType) { + programType_ = programType; + setBodyParameter(std::string("ProgramType"), programType); } -void ListInstancesRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +std::string ListInstancesRequest::getBizdate() const { + return bizdate_; } -int ListInstancesRequest::getPageSize()const -{ - return pageSize_; +void ListInstancesRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void ListInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListInstancesRequest::getPageSize() const { + return pageSize_; } -long ListInstancesRequest::getNodeId()const -{ - return nodeId_; +void ListInstancesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListInstancesRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long ListInstancesRequest::getNodeId() const { + return nodeId_; } -long ListInstancesRequest::getProjectId()const -{ - return projectId_; +void ListInstancesRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void ListInstancesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListInstancesRequest::getProjectId() const { + return projectId_; +} + +void ListInstancesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListManualDagInstancesRequest.cc b/dataworks-public/src/model/ListManualDagInstancesRequest.cc index fb48aad77..05fe5c646 100644 --- a/dataworks-public/src/model/ListManualDagInstancesRequest.cc +++ b/dataworks-public/src/model/ListManualDagInstancesRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListManualDagInstancesRequest; - -ListManualDagInstancesRequest::ListManualDagInstancesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListManualDagInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -ListManualDagInstancesRequest::~ListManualDagInstancesRequest() -{} - -std::string ListManualDagInstancesRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListManualDagInstancesRequest; + +ListManualDagInstancesRequest::ListManualDagInstancesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListManualDagInstances") { + setMethod(HttpRequest::Method::Post); } -void ListManualDagInstancesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListManualDagInstancesRequest::~ListManualDagInstancesRequest() {} + +std::string ListManualDagInstancesRequest::getProjectEnv() const { + return projectEnv_; } -std::string ListManualDagInstancesRequest::getProjectName()const -{ - return projectName_; +void ListManualDagInstancesRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListManualDagInstancesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string ListManualDagInstancesRequest::getProjectName() const { + return projectName_; } -std::string ListManualDagInstancesRequest::getDagId()const -{ - return dagId_; +void ListManualDagInstancesRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void ListManualDagInstancesRequest::setDagId(const std::string& dagId) -{ - dagId_ = dagId; - setBodyParameter("DagId", dagId); +std::string ListManualDagInstancesRequest::getDagId() const { + return dagId_; +} + +void ListManualDagInstancesRequest::setDagId(const std::string &dagId) { + dagId_ = dagId; + setBodyParameter(std::string("DagId"), dagId); } diff --git a/dataworks-public/src/model/ListMetaDBRequest.cc b/dataworks-public/src/model/ListMetaDBRequest.cc index 55461d7e4..506bf058c 100644 --- a/dataworks-public/src/model/ListMetaDBRequest.cc +++ b/dataworks-public/src/model/ListMetaDBRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListMetaDBRequest; - -ListMetaDBRequest::ListMetaDBRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListMetaDB") -{ - setMethod(HttpRequest::Method::Get); -} - -ListMetaDBRequest::~ListMetaDBRequest() -{} - -std::string ListMetaDBRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListMetaDBRequest; + +ListMetaDBRequest::ListMetaDBRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListMetaDB") { + setMethod(HttpRequest::Method::Get); } -void ListMetaDBRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +ListMetaDBRequest::~ListMetaDBRequest() {} + +std::string ListMetaDBRequest::getDataSourceType() const { + return dataSourceType_; } -int ListMetaDBRequest::getPageSize()const -{ - return pageSize_; +void ListMetaDBRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void ListMetaDBRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListMetaDBRequest::getPageSize() const { + return pageSize_; } -std::string ListMetaDBRequest::getClusterId()const -{ - return clusterId_; +void ListMetaDBRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListMetaDBRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string ListMetaDBRequest::getClusterId() const { + return clusterId_; } -int ListMetaDBRequest::getPageNum()const -{ - return pageNum_; +void ListMetaDBRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void ListMetaDBRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int ListMetaDBRequest::getPageNum() const { + return pageNum_; } -long ListMetaDBRequest::getProjectId()const -{ - return projectId_; +void ListMetaDBRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void ListMetaDBRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListMetaDBRequest::getProjectId() const { + return projectId_; +} + +void ListMetaDBRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListMigrationsRequest.cc b/dataworks-public/src/model/ListMigrationsRequest.cc new file mode 100644 index 000000000..b3450b498 --- /dev/null +++ b/dataworks-public/src/model/ListMigrationsRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListMigrationsRequest; + +ListMigrationsRequest::ListMigrationsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListMigrations") { + setMethod(HttpRequest::Method::Post); +} + +ListMigrationsRequest::~ListMigrationsRequest() {} + +std::string ListMigrationsRequest::getOwner() const { + return owner_; +} + +void ListMigrationsRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); +} + +int ListMigrationsRequest::getPageSize() const { + return pageSize_; +} + +void ListMigrationsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListMigrationsRequest::getMigrationType() const { + return migrationType_; +} + +void ListMigrationsRequest::setMigrationType(const std::string &migrationType) { + migrationType_ = migrationType; + setBodyParameter(std::string("MigrationType"), migrationType); +} + +long ListMigrationsRequest::getProjectId() const { + return projectId_; +} + +void ListMigrationsRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); +} + +int ListMigrationsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListMigrationsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + diff --git a/dataworks-public/src/model/ListMigrationsResult.cc b/dataworks-public/src/model/ListMigrationsResult.cc new file mode 100644 index 000000000..b6b2987f9 --- /dev/null +++ b/dataworks-public/src/model/ListMigrationsResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListMigrationsResult::ListMigrationsResult() : + ServiceResult() +{} + +ListMigrationsResult::ListMigrationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMigrationsResult::~ListMigrationsResult() +{} + +void ListMigrationsResult::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 allMigrationsNode = dataNode["Migrations"]["Migration"]; + for (auto dataNodeMigrationsMigration : allMigrationsNode) + { + Data::Migration migrationObject; + if(!dataNodeMigrationsMigration["Id"].isNull()) + migrationObject.id = std::stol(dataNodeMigrationsMigration["Id"].asString()); + if(!dataNodeMigrationsMigration["Name"].isNull()) + migrationObject.name = dataNodeMigrationsMigration["Name"].asString(); + if(!dataNodeMigrationsMigration["PackageType"].isNull()) + migrationObject.packageType = dataNodeMigrationsMigration["PackageType"].asString(); + if(!dataNodeMigrationsMigration["MigrationType"].isNull()) + migrationObject.migrationType = dataNodeMigrationsMigration["MigrationType"].asString(); + if(!dataNodeMigrationsMigration["CreateTime"].isNull()) + migrationObject.createTime = std::stol(dataNodeMigrationsMigration["CreateTime"].asString()); + if(!dataNodeMigrationsMigration["UpdateTime"].isNull()) + migrationObject.updateTime = std::stol(dataNodeMigrationsMigration["UpdateTime"].asString()); + if(!dataNodeMigrationsMigration["CreateUser"].isNull()) + migrationObject.createUser = dataNodeMigrationsMigration["CreateUser"].asString(); + if(!dataNodeMigrationsMigration["CreateUserName"].isNull()) + migrationObject.createUserName = dataNodeMigrationsMigration["CreateUserName"].asString(); + if(!dataNodeMigrationsMigration["UpdateUser"].isNull()) + migrationObject.updateUser = dataNodeMigrationsMigration["UpdateUser"].asString(); + if(!dataNodeMigrationsMigration["UpdateUserName"].isNull()) + migrationObject.updateUserName = dataNodeMigrationsMigration["UpdateUserName"].asString(); + if(!dataNodeMigrationsMigration["ProjectId"].isNull()) + migrationObject.projectId = std::stol(dataNodeMigrationsMigration["ProjectId"].asString()); + if(!dataNodeMigrationsMigration["TenantId"].isNull()) + migrationObject.tenantId = std::stol(dataNodeMigrationsMigration["TenantId"].asString()); + if(!dataNodeMigrationsMigration["Status"].isNull()) + migrationObject.status = dataNodeMigrationsMigration["Status"].asString(); + if(!dataNodeMigrationsMigration["Message"].isNull()) + migrationObject.message = dataNodeMigrationsMigration["Message"].asString(); + if(!dataNodeMigrationsMigration["DownloadUrl"].isNull()) + migrationObject.downloadUrl = dataNodeMigrationsMigration["DownloadUrl"].asString(); + if(!dataNodeMigrationsMigration["Description"].isNull()) + migrationObject.description = dataNodeMigrationsMigration["Description"].asString(); + data_.migrations.push_back(migrationObject); + } + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListMigrationsResult::Data ListMigrationsResult::getData()const +{ + return data_; +} + +bool ListMigrationsResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/ListNodeIORequest.cc b/dataworks-public/src/model/ListNodeIORequest.cc index 2bf66ad65..77a6200c7 100644 --- a/dataworks-public/src/model/ListNodeIORequest.cc +++ b/dataworks-public/src/model/ListNodeIORequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListNodeIORequest; + +ListNodeIORequest::ListNodeIORequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodeIO") { + setMethod(HttpRequest::Method::Post); } -void ListNodeIORequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListNodeIORequest::~ListNodeIORequest() {} + +std::string ListNodeIORequest::getProjectEnv() const { + return projectEnv_; } -long ListNodeIORequest::getNodeId()const -{ - return nodeId_; +void ListNodeIORequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListNodeIORequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long ListNodeIORequest::getNodeId() const { + return nodeId_; } -std::string ListNodeIORequest::getIoType()const -{ - return ioType_; +void ListNodeIORequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void ListNodeIORequest::setIoType(const std::string& ioType) -{ - ioType_ = ioType; - setBodyParameter("IoType", ioType); +std::string ListNodeIORequest::getIoType() const { + return ioType_; +} + +void ListNodeIORequest::setIoType(const std::string &ioType) { + ioType_ = ioType; + setBodyParameter(std::string("IoType"), ioType); } diff --git a/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc b/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc index ec1176f8d..d4b827dce 100644 --- a/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc +++ b/dataworks-public/src/model/ListNodeInputOrOutputRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodeInputOrOutputRequest; - -ListNodeInputOrOutputRequest::ListNodeInputOrOutputRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodeInputOrOutput") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodeInputOrOutputRequest::~ListNodeInputOrOutputRequest() -{} - -std::string ListNodeInputOrOutputRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListNodeInputOrOutputRequest; + +ListNodeInputOrOutputRequest::ListNodeInputOrOutputRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodeInputOrOutput") { + setMethod(HttpRequest::Method::Post); } -void ListNodeInputOrOutputRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListNodeInputOrOutputRequest::~ListNodeInputOrOutputRequest() {} + +std::string ListNodeInputOrOutputRequest::getProjectEnv() const { + return projectEnv_; } -long ListNodeInputOrOutputRequest::getNodeId()const -{ - return nodeId_; +void ListNodeInputOrOutputRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListNodeInputOrOutputRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long ListNodeInputOrOutputRequest::getNodeId() const { + return nodeId_; } -std::string ListNodeInputOrOutputRequest::getIoType()const -{ - return ioType_; +void ListNodeInputOrOutputRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void ListNodeInputOrOutputRequest::setIoType(const std::string& ioType) -{ - ioType_ = ioType; - setBodyParameter("IoType", ioType); +std::string ListNodeInputOrOutputRequest::getIoType() const { + return ioType_; +} + +void ListNodeInputOrOutputRequest::setIoType(const std::string &ioType) { + ioType_ = ioType; + setBodyParameter(std::string("IoType"), ioType); } diff --git a/dataworks-public/src/model/ListNodeInputOrOutputResult.cc b/dataworks-public/src/model/ListNodeInputOrOutputResult.cc index 4ce99612d..2b251dc81 100644 --- a/dataworks-public/src/model/ListNodeInputOrOutputResult.cc +++ b/dataworks-public/src/model/ListNodeInputOrOutputResult.cc @@ -51,14 +51,14 @@ void ListNodeInputOrOutputResult::parse(const std::string &payload) dataObject.nodeId = std::stol(valueDataDataItem["NodeId"].asString()); data_.push_back(dataObject); } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorMessage"].isNull()) - errorMessage_ = value["ErrorMessage"].asString(); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/ListNodesByBaselineRequest.cc b/dataworks-public/src/model/ListNodesByBaselineRequest.cc index 9e3712f70..093c98296 100644 --- a/dataworks-public/src/model/ListNodesByBaselineRequest.cc +++ b/dataworks-public/src/model/ListNodesByBaselineRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodesByBaselineRequest; - -ListNodesByBaselineRequest::ListNodesByBaselineRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodesByBaseline") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodesByBaselineRequest::~ListNodesByBaselineRequest() -{} - -long ListNodesByBaselineRequest::getBaselineId()const -{ - return baselineId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListNodesByBaselineRequest; + +ListNodesByBaselineRequest::ListNodesByBaselineRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodesByBaseline") { + setMethod(HttpRequest::Method::Post); } -void ListNodesByBaselineRequest::setBaselineId(long baselineId) -{ - baselineId_ = baselineId; - setBodyParameter("BaselineId", std::to_string(baselineId)); +ListNodesByBaselineRequest::~ListNodesByBaselineRequest() {} + +long ListNodesByBaselineRequest::getBaselineId() const { + return baselineId_; +} + +void ListNodesByBaselineRequest::setBaselineId(long baselineId) { + baselineId_ = baselineId; + setBodyParameter(std::string("BaselineId"), std::to_string(baselineId)); } diff --git a/dataworks-public/src/model/ListNodesByOutputRequest.cc b/dataworks-public/src/model/ListNodesByOutputRequest.cc index 7e9c6dcc2..0a4f09293 100644 --- a/dataworks-public/src/model/ListNodesByOutputRequest.cc +++ b/dataworks-public/src/model/ListNodesByOutputRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListNodesByOutputRequest; - -ListNodesByOutputRequest::ListNodesByOutputRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodesByOutput") -{ - setMethod(HttpRequest::Method::Post); -} - -ListNodesByOutputRequest::~ListNodesByOutputRequest() -{} - -std::string ListNodesByOutputRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListNodesByOutputRequest; + +ListNodesByOutputRequest::ListNodesByOutputRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodesByOutput") { + setMethod(HttpRequest::Method::Post); } -void ListNodesByOutputRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListNodesByOutputRequest::~ListNodesByOutputRequest() {} + +std::string ListNodesByOutputRequest::getProjectEnv() const { + return projectEnv_; } -std::string ListNodesByOutputRequest::getOutputs()const -{ - return outputs_; +void ListNodesByOutputRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListNodesByOutputRequest::setOutputs(const std::string& outputs) -{ - outputs_ = outputs; - setBodyParameter("Outputs", outputs); +std::string ListNodesByOutputRequest::getOutputs() const { + return outputs_; } -bool ListNodesByOutputRequest::getOutputNodeListAsMap()const -{ - return outputNodeListAsMap_; +void ListNodesByOutputRequest::setOutputs(const std::string &outputs) { + outputs_ = outputs; + setBodyParameter(std::string("Outputs"), outputs); } -void ListNodesByOutputRequest::setOutputNodeListAsMap(bool outputNodeListAsMap) -{ - outputNodeListAsMap_ = outputNodeListAsMap; - setBodyParameter("OutputNodeListAsMap", outputNodeListAsMap ? "true" : "false"); +bool ListNodesByOutputRequest::getOutputNodeListAsMap() const { + return outputNodeListAsMap_; +} + +void ListNodesByOutputRequest::setOutputNodeListAsMap(bool outputNodeListAsMap) { + outputNodeListAsMap_ = outputNodeListAsMap; + setBodyParameter(std::string("OutputNodeListAsMap"), outputNodeListAsMap ? "true" : "false"); } diff --git a/dataworks-public/src/model/ListNodesByOutputResult.cc b/dataworks-public/src/model/ListNodesByOutputResult.cc index 9fc56f8ba..58e473bb3 100644 --- a/dataworks-public/src/model/ListNodesByOutputResult.cc +++ b/dataworks-public/src/model/ListNodesByOutputResult.cc @@ -49,56 +49,56 @@ void ListNodesByOutputResult::parse(const std::string &payload) for (auto valueDataOutputNodePairNodeListNode : allNodeListNode) { OutputNodePair::Node nodeListObject; - if(!valueDataOutputNodePairNodeListNode["NodeId"].isNull()) - nodeListObject.nodeId = std::stol(valueDataOutputNodePairNodeListNode["NodeId"].asString()); - if(!valueDataOutputNodePairNodeListNode["NodeName"].isNull()) - nodeListObject.nodeName = valueDataOutputNodePairNodeListNode["NodeName"].asString(); - if(!valueDataOutputNodePairNodeListNode["OwnerId"].isNull()) - nodeListObject.ownerId = valueDataOutputNodePairNodeListNode["OwnerId"].asString(); - if(!valueDataOutputNodePairNodeListNode["Description"].isNull()) - nodeListObject.description = valueDataOutputNodePairNodeListNode["Description"].asString(); - if(!valueDataOutputNodePairNodeListNode["ResGroupName"].isNull()) - nodeListObject.resGroupName = valueDataOutputNodePairNodeListNode["ResGroupName"].asString(); - if(!valueDataOutputNodePairNodeListNode["CronExpress"].isNull()) - nodeListObject.cronExpress = valueDataOutputNodePairNodeListNode["CronExpress"].asString(); - if(!valueDataOutputNodePairNodeListNode["Repeatability"].isNull()) - nodeListObject.repeatability = valueDataOutputNodePairNodeListNode["Repeatability"].asString() == "true"; - if(!valueDataOutputNodePairNodeListNode["ProgramType"].isNull()) - nodeListObject.programType = valueDataOutputNodePairNodeListNode["ProgramType"].asString(); - if(!valueDataOutputNodePairNodeListNode["ProjectId"].isNull()) - nodeListObject.projectId = std::stol(valueDataOutputNodePairNodeListNode["ProjectId"].asString()); if(!valueDataOutputNodePairNodeListNode["SchedulerType"].isNull()) nodeListObject.schedulerType = valueDataOutputNodePairNodeListNode["SchedulerType"].asString(); - if(!valueDataOutputNodePairNodeListNode["ParamValues"].isNull()) - nodeListObject.paramValues = valueDataOutputNodePairNodeListNode["ParamValues"].asString(); - if(!valueDataOutputNodePairNodeListNode["Priority"].isNull()) - nodeListObject.priority = std::stoi(valueDataOutputNodePairNodeListNode["Priority"].asString()); - if(!valueDataOutputNodePairNodeListNode["BaselineId"].isNull()) - nodeListObject.baselineId = std::stol(valueDataOutputNodePairNodeListNode["BaselineId"].asString()); if(!valueDataOutputNodePairNodeListNode["RepeatInterval"].isNull()) nodeListObject.repeatInterval = std::stoi(valueDataOutputNodePairNodeListNode["RepeatInterval"].asString()); - if(!valueDataOutputNodePairNodeListNode["Connection"].isNull()) - nodeListObject.connection = valueDataOutputNodePairNodeListNode["Connection"].asString(); - if(!valueDataOutputNodePairNodeListNode["DqcType"].isNull()) - nodeListObject.dqcType = std::stoi(valueDataOutputNodePairNodeListNode["DqcType"].asString()); - if(!valueDataOutputNodePairNodeListNode["DqcDescription"].isNull()) - nodeListObject.dqcDescription = valueDataOutputNodePairNodeListNode["DqcDescription"].asString(); - if(!valueDataOutputNodePairNodeListNode["RelatedFlowId"].isNull()) - nodeListObject.relatedFlowId = std::stol(valueDataOutputNodePairNodeListNode["RelatedFlowId"].asString()); + if(!valueDataOutputNodePairNodeListNode["Repeatability"].isNull()) + nodeListObject.repeatability = valueDataOutputNodePairNodeListNode["Repeatability"].asString() == "true"; if(!valueDataOutputNodePairNodeListNode["FileType"].isNull()) nodeListObject.fileType = valueDataOutputNodePairNodeListNode["FileType"].asString(); + if(!valueDataOutputNodePairNodeListNode["ProjectId"].isNull()) + nodeListObject.projectId = std::stol(valueDataOutputNodePairNodeListNode["ProjectId"].asString()); + if(!valueDataOutputNodePairNodeListNode["ProgramType"].isNull()) + nodeListObject.programType = valueDataOutputNodePairNodeListNode["ProgramType"].asString(); + if(!valueDataOutputNodePairNodeListNode["Priority"].isNull()) + nodeListObject.priority = std::stoi(valueDataOutputNodePairNodeListNode["Priority"].asString()); + if(!valueDataOutputNodePairNodeListNode["OwnerId"].isNull()) + nodeListObject.ownerId = valueDataOutputNodePairNodeListNode["OwnerId"].asString(); + if(!valueDataOutputNodePairNodeListNode["Connection"].isNull()) + nodeListObject.connection = valueDataOutputNodePairNodeListNode["Connection"].asString(); + if(!valueDataOutputNodePairNodeListNode["ParamValues"].isNull()) + nodeListObject.paramValues = valueDataOutputNodePairNodeListNode["ParamValues"].asString(); + if(!valueDataOutputNodePairNodeListNode["RelatedFlowId"].isNull()) + nodeListObject.relatedFlowId = std::stol(valueDataOutputNodePairNodeListNode["RelatedFlowId"].asString()); + if(!valueDataOutputNodePairNodeListNode["DqcType"].isNull()) + nodeListObject.dqcType = std::stoi(valueDataOutputNodePairNodeListNode["DqcType"].asString()); + if(!valueDataOutputNodePairNodeListNode["BaselineId"].isNull()) + nodeListObject.baselineId = std::stol(valueDataOutputNodePairNodeListNode["BaselineId"].asString()); + if(!valueDataOutputNodePairNodeListNode["Description"].isNull()) + nodeListObject.description = valueDataOutputNodePairNodeListNode["Description"].asString(); + if(!valueDataOutputNodePairNodeListNode["NodeName"].isNull()) + nodeListObject.nodeName = valueDataOutputNodePairNodeListNode["NodeName"].asString(); + if(!valueDataOutputNodePairNodeListNode["ResGroupName"].isNull()) + nodeListObject.resGroupName = valueDataOutputNodePairNodeListNode["ResGroupName"].asString(); + if(!valueDataOutputNodePairNodeListNode["DqcDescription"].isNull()) + nodeListObject.dqcDescription = valueDataOutputNodePairNodeListNode["DqcDescription"].asString(); + if(!valueDataOutputNodePairNodeListNode["CronExpress"].isNull()) + nodeListObject.cronExpress = valueDataOutputNodePairNodeListNode["CronExpress"].asString(); + if(!valueDataOutputNodePairNodeListNode["NodeId"].isNull()) + nodeListObject.nodeId = std::stol(valueDataOutputNodePairNodeListNode["NodeId"].asString()); dataObject.nodeList.push_back(nodeListObject); } data_.push_back(dataObject); } - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); if(!value["ErrorMessage"].isNull()) errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/ListNodesRequest.cc b/dataworks-public/src/model/ListNodesRequest.cc index 5da74c759..0da145c68 100644 --- a/dataworks-public/src/model/ListNodesRequest.cc +++ b/dataworks-public/src/model/ListNodesRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListNodesRequest; + +ListNodesRequest::ListNodesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListNodes") { + setMethod(HttpRequest::Method::Post); } -void ListNodesRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +ListNodesRequest::~ListNodesRequest() {} + +std::string ListNodesRequest::getOwner() const { + return owner_; } -std::string ListNodesRequest::getProjectEnv()const -{ - return projectEnv_; +void ListNodesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void ListNodesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +std::string ListNodesRequest::getProjectEnv() const { + return projectEnv_; } -std::string ListNodesRequest::getBizName()const -{ - return bizName_; +void ListNodesRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListNodesRequest::setBizName(const std::string& bizName) -{ - bizName_ = bizName; - setBodyParameter("BizName", bizName); +std::string ListNodesRequest::getBizName() const { + return bizName_; } -int ListNodesRequest::getPageNumber()const -{ - return pageNumber_; +void ListNodesRequest::setBizName(const std::string &bizName) { + bizName_ = bizName; + setBodyParameter(std::string("BizName"), bizName); } -void ListNodesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListNodesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListNodesRequest::getNodeName()const -{ - return nodeName_; +void ListNodesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListNodesRequest::setNodeName(const std::string& nodeName) -{ - nodeName_ = nodeName; - setBodyParameter("NodeName", nodeName); +std::string ListNodesRequest::getNodeName() const { + return nodeName_; } -std::string ListNodesRequest::getProgramType()const -{ - return programType_; +void ListNodesRequest::setNodeName(const std::string &nodeName) { + nodeName_ = nodeName; + setBodyParameter(std::string("NodeName"), nodeName); } -void ListNodesRequest::setProgramType(const std::string& programType) -{ - programType_ = programType; - setBodyParameter("ProgramType", programType); +std::string ListNodesRequest::getProgramType() const { + return programType_; } -int ListNodesRequest::getPageSize()const -{ - return pageSize_; +void ListNodesRequest::setProgramType(const std::string &programType) { + programType_ = programType; + setBodyParameter(std::string("ProgramType"), programType); } -void ListNodesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListNodesRequest::getPageSize() const { + return pageSize_; } -long ListNodesRequest::getProjectId()const -{ - return projectId_; +void ListNodesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListNodesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListNodesRequest::getProjectId() const { + return projectId_; +} + +void ListNodesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListNodesResult.cc b/dataworks-public/src/model/ListNodesResult.cc index 61bfc7a90..fae9c6b7b 100644 --- a/dataworks-public/src/model/ListNodesResult.cc +++ b/dataworks-public/src/model/ListNodesResult.cc @@ -50,54 +50,54 @@ void ListNodesResult::parse(const std::string &payload) for (auto dataNodeNodesNodesItem : allNodesNode) { Data::NodesItem nodesItemObject; - if(!dataNodeNodesNodesItem["NodeId"].isNull()) - nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].asString()); - if(!dataNodeNodesNodesItem["NodeName"].isNull()) - nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); - if(!dataNodeNodesNodesItem["CronExpress"].isNull()) - nodesItemObject.cronExpress = dataNodeNodesNodesItem["CronExpress"].asString(); if(!dataNodeNodesNodesItem["SchedulerType"].isNull()) nodesItemObject.schedulerType = dataNodeNodesNodesItem["SchedulerType"].asString(); - if(!dataNodeNodesNodesItem["ProgramType"].isNull()) - nodesItemObject.programType = dataNodeNodesNodesItem["ProgramType"].asString(); - if(!dataNodeNodesNodesItem["OwnerId"].isNull()) - nodesItemObject.ownerId = dataNodeNodesNodesItem["OwnerId"].asString(); - if(!dataNodeNodesNodesItem["ProjectId"].isNull()) - nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); - if(!dataNodeNodesNodesItem["Repeatability"].isNull()) - nodesItemObject.repeatability = dataNodeNodesNodesItem["Repeatability"].asString() == "true"; - if(!dataNodeNodesNodesItem["ParamValues"].isNull()) - nodesItemObject.paramValues = dataNodeNodesNodesItem["ParamValues"].asString(); - if(!dataNodeNodesNodesItem["Description"].isNull()) - nodesItemObject.description = dataNodeNodesNodesItem["Description"].asString(); - if(!dataNodeNodesNodesItem["ResGroupName"].isNull()) - nodesItemObject.resGroupName = dataNodeNodesNodesItem["ResGroupName"].asString(); - if(!dataNodeNodesNodesItem["Priority"].isNull()) - nodesItemObject.priority = std::stoi(dataNodeNodesNodesItem["Priority"].asString()); - if(!dataNodeNodesNodesItem["BaselineId"].isNull()) - nodesItemObject.baselineId = std::stol(dataNodeNodesNodesItem["BaselineId"].asString()); if(!dataNodeNodesNodesItem["RepeatInterval"].isNull()) nodesItemObject.repeatInterval = std::stol(dataNodeNodesNodesItem["RepeatInterval"].asString()); + if(!dataNodeNodesNodesItem["Repeatability"].isNull()) + nodesItemObject.repeatability = dataNodeNodesNodesItem["Repeatability"].asString() == "true"; + if(!dataNodeNodesNodesItem["ProjectId"].isNull()) + nodesItemObject.projectId = std::stol(dataNodeNodesNodesItem["ProjectId"].asString()); + if(!dataNodeNodesNodesItem["ProgramType"].isNull()) + nodesItemObject.programType = dataNodeNodesNodesItem["ProgramType"].asString(); + if(!dataNodeNodesNodesItem["Priority"].isNull()) + nodesItemObject.priority = std::stoi(dataNodeNodesNodesItem["Priority"].asString()); + if(!dataNodeNodesNodesItem["OwnerId"].isNull()) + nodesItemObject.ownerId = dataNodeNodesNodesItem["OwnerId"].asString(); if(!dataNodeNodesNodesItem["Connection"].isNull()) nodesItemObject.connection = dataNodeNodesNodesItem["Connection"].asString(); - if(!dataNodeNodesNodesItem["DqcType"].isNull()) - nodesItemObject.dqcType = std::stoi(dataNodeNodesNodesItem["DqcType"].asString()); - if(!dataNodeNodesNodesItem["DqcDescription"].isNull()) - nodesItemObject.dqcDescription = dataNodeNodesNodesItem["DqcDescription"].asString(); + if(!dataNodeNodesNodesItem["ParamValues"].isNull()) + nodesItemObject.paramValues = dataNodeNodesNodesItem["ParamValues"].asString(); if(!dataNodeNodesNodesItem["RelatedFlowId"].isNull()) nodesItemObject.relatedFlowId = std::stol(dataNodeNodesNodesItem["RelatedFlowId"].asString()); + if(!dataNodeNodesNodesItem["DqcType"].isNull()) + nodesItemObject.dqcType = std::stoi(dataNodeNodesNodesItem["DqcType"].asString()); + if(!dataNodeNodesNodesItem["BaselineId"].isNull()) + nodesItemObject.baselineId = std::stol(dataNodeNodesNodesItem["BaselineId"].asString()); + if(!dataNodeNodesNodesItem["Description"].isNull()) + nodesItemObject.description = dataNodeNodesNodesItem["Description"].asString(); + if(!dataNodeNodesNodesItem["NodeName"].isNull()) + nodesItemObject.nodeName = dataNodeNodesNodesItem["NodeName"].asString(); + if(!dataNodeNodesNodesItem["ResGroupName"].isNull()) + nodesItemObject.resGroupName = dataNodeNodesNodesItem["ResGroupName"].asString(); if(!dataNodeNodesNodesItem["BusinessId"].isNull()) nodesItemObject.businessId = std::stol(dataNodeNodesNodesItem["BusinessId"].asString()); + if(!dataNodeNodesNodesItem["DqcDescription"].isNull()) + nodesItemObject.dqcDescription = dataNodeNodesNodesItem["DqcDescription"].asString(); + if(!dataNodeNodesNodesItem["CronExpress"].isNull()) + nodesItemObject.cronExpress = dataNodeNodesNodesItem["CronExpress"].asString(); + if(!dataNodeNodesNodesItem["NodeId"].isNull()) + nodesItemObject.nodeId = std::stol(dataNodeNodesNodesItem["NodeId"].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(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc b/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc index b2415ee05..e7136d9c7 100644 --- a/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc +++ b/dataworks-public/src/model/ListPermissionApplyOrdersRequest.cc @@ -1,150 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListPermissionApplyOrdersRequest; - -ListPermissionApplyOrdersRequest::ListPermissionApplyOrdersRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListPermissionApplyOrders") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPermissionApplyOrdersRequest::~ListPermissionApplyOrdersRequest() -{} - -std::string ListPermissionApplyOrdersRequest::getMaxComputeProjectName()const -{ - return maxComputeProjectName_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListPermissionApplyOrdersRequest; + +ListPermissionApplyOrdersRequest::ListPermissionApplyOrdersRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListPermissionApplyOrders") { + setMethod(HttpRequest::Method::Post); } -void ListPermissionApplyOrdersRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) -{ - maxComputeProjectName_ = maxComputeProjectName; - setParameter("MaxComputeProjectName", maxComputeProjectName); +ListPermissionApplyOrdersRequest::~ListPermissionApplyOrdersRequest() {} + +std::string ListPermissionApplyOrdersRequest::getMaxComputeProjectName() const { + return maxComputeProjectName_; } -long ListPermissionApplyOrdersRequest::getEndTime()const -{ - return endTime_; +void ListPermissionApplyOrdersRequest::setMaxComputeProjectName(const std::string &maxComputeProjectName) { + maxComputeProjectName_ = maxComputeProjectName; + setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName); } -void ListPermissionApplyOrdersRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long ListPermissionApplyOrdersRequest::getEndTime() const { + return endTime_; } -long ListPermissionApplyOrdersRequest::getStartTime()const -{ - return startTime_; +void ListPermissionApplyOrdersRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListPermissionApplyOrdersRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListPermissionApplyOrdersRequest::getStartTime() const { + return startTime_; } -int ListPermissionApplyOrdersRequest::getPageNum()const -{ - return pageNum_; +void ListPermissionApplyOrdersRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListPermissionApplyOrdersRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int ListPermissionApplyOrdersRequest::getPageNum() const { + return pageNum_; } -int ListPermissionApplyOrdersRequest::getFlowStatus()const -{ - return flowStatus_; +void ListPermissionApplyOrdersRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void ListPermissionApplyOrdersRequest::setFlowStatus(int flowStatus) -{ - flowStatus_ = flowStatus; - setParameter("FlowStatus", std::to_string(flowStatus)); +int ListPermissionApplyOrdersRequest::getFlowStatus() const { + return flowStatus_; } -int ListPermissionApplyOrdersRequest::getPageSize()const -{ - return pageSize_; +void ListPermissionApplyOrdersRequest::setFlowStatus(int flowStatus) { + flowStatus_ = flowStatus; + setParameter(std::string("FlowStatus"), std::to_string(flowStatus)); } -void ListPermissionApplyOrdersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListPermissionApplyOrdersRequest::getPageSize() const { + return pageSize_; } -std::string ListPermissionApplyOrdersRequest::getTableName()const -{ - return tableName_; +void ListPermissionApplyOrdersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListPermissionApplyOrdersRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string ListPermissionApplyOrdersRequest::getTableName() const { + return tableName_; } -int ListPermissionApplyOrdersRequest::getQueryType()const -{ - return queryType_; +void ListPermissionApplyOrdersRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void ListPermissionApplyOrdersRequest::setQueryType(int queryType) -{ - queryType_ = queryType; - setParameter("QueryType", std::to_string(queryType)); +int ListPermissionApplyOrdersRequest::getQueryType() const { + return queryType_; } -int ListPermissionApplyOrdersRequest::getWorkspaceId()const -{ - return workspaceId_; +void ListPermissionApplyOrdersRequest::setQueryType(int queryType) { + queryType_ = queryType; + setParameter(std::string("QueryType"), std::to_string(queryType)); } -void ListPermissionApplyOrdersRequest::setWorkspaceId(int workspaceId) -{ - workspaceId_ = workspaceId; - setParameter("WorkspaceId", std::to_string(workspaceId)); +int ListPermissionApplyOrdersRequest::getWorkspaceId() const { + return workspaceId_; } -int ListPermissionApplyOrdersRequest::getOrderType()const -{ - return orderType_; +void ListPermissionApplyOrdersRequest::setWorkspaceId(int workspaceId) { + workspaceId_ = workspaceId; + setParameter(std::string("WorkspaceId"), std::to_string(workspaceId)); } -void ListPermissionApplyOrdersRequest::setOrderType(int orderType) -{ - orderType_ = orderType; - setParameter("OrderType", std::to_string(orderType)); +int ListPermissionApplyOrdersRequest::getOrderType() const { + return orderType_; } -std::string ListPermissionApplyOrdersRequest::getEngineType()const -{ - return engineType_; +void ListPermissionApplyOrdersRequest::setOrderType(int orderType) { + orderType_ = orderType; + setParameter(std::string("OrderType"), std::to_string(orderType)); } -void ListPermissionApplyOrdersRequest::setEngineType(const std::string& engineType) -{ - engineType_ = engineType; - setParameter("EngineType", engineType); +std::string ListPermissionApplyOrdersRequest::getEngineType() const { + return engineType_; +} + +void ListPermissionApplyOrdersRequest::setEngineType(const std::string &engineType) { + engineType_ = engineType; + setParameter(std::string("EngineType"), engineType); } diff --git a/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc b/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc index 5322854f0..f4995fdb6 100644 --- a/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc +++ b/dataworks-public/src/model/ListPermissionApplyOrdersResult.cc @@ -50,12 +50,12 @@ void ListPermissionApplyOrdersResult::parse(const std::string &payload) for (auto applyOrdersNodeApplyOrderOrders : allApplyOrderNode) { ApplyOrders::Orders ordersObject; - if(!applyOrdersNodeApplyOrderOrders["FlowId"].isNull()) - ordersObject.flowId = applyOrdersNodeApplyOrderOrders["FlowId"].asString(); if(!applyOrdersNodeApplyOrderOrders["ApplyBaseId"].isNull()) ordersObject.applyBaseId = applyOrdersNodeApplyOrderOrders["ApplyBaseId"].asString(); if(!applyOrdersNodeApplyOrderOrders["ApplyTimestamp"].isNull()) ordersObject.applyTimestamp = std::stol(applyOrdersNodeApplyOrderOrders["ApplyTimestamp"].asString()); + if(!applyOrdersNodeApplyOrderOrders["FlowId"].isNull()) + ordersObject.flowId = applyOrdersNodeApplyOrderOrders["FlowId"].asString(); if(!applyOrdersNodeApplyOrderOrders["FlowStatus"].isNull()) ordersObject.flowStatus = std::stoi(applyOrdersNodeApplyOrderOrders["FlowStatus"].asString()); auto approveContentNode = value["ApproveContent"]; diff --git a/dataworks-public/src/model/ListProgramTypeCountRequest.cc b/dataworks-public/src/model/ListProgramTypeCountRequest.cc index 06d0fc9cd..43758326f 100644 --- a/dataworks-public/src/model/ListProgramTypeCountRequest.cc +++ b/dataworks-public/src/model/ListProgramTypeCountRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProgramTypeCountRequest; - -ListProgramTypeCountRequest::ListProgramTypeCountRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProgramTypeCount") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProgramTypeCountRequest::~ListProgramTypeCountRequest() -{} - -std::string ListProgramTypeCountRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListProgramTypeCountRequest; + +ListProgramTypeCountRequest::ListProgramTypeCountRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListProgramTypeCount") { + setMethod(HttpRequest::Method::Post); } -void ListProgramTypeCountRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ListProgramTypeCountRequest::~ListProgramTypeCountRequest() {} + +std::string ListProgramTypeCountRequest::getProjectEnv() const { + return projectEnv_; } -long ListProgramTypeCountRequest::getProjectId()const -{ - return projectId_; +void ListProgramTypeCountRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ListProgramTypeCountRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long ListProgramTypeCountRequest::getProjectId() const { + return projectId_; +} + +void ListProgramTypeCountRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListProjectIdsRequest.cc b/dataworks-public/src/model/ListProjectIdsRequest.cc index 1009fa3d2..b2f874224 100644 --- a/dataworks-public/src/model/ListProjectIdsRequest.cc +++ b/dataworks-public/src/model/ListProjectIdsRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListProjectIdsRequest; - -ListProjectIdsRequest::ListProjectIdsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectIds") -{ - setMethod(HttpRequest::Method::Post); -} - -ListProjectIdsRequest::~ListProjectIdsRequest() -{} - -std::string ListProjectIdsRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListProjectIdsRequest; + +ListProjectIdsRequest::ListProjectIdsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectIds") { + setMethod(HttpRequest::Method::Post); } -void ListProjectIdsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ListProjectIdsRequest::~ListProjectIdsRequest() {} + +std::string ListProjectIdsRequest::getUserId() const { + return userId_; +} + +void ListProjectIdsRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } diff --git a/dataworks-public/src/model/ListProjectMembersRequest.cc b/dataworks-public/src/model/ListProjectMembersRequest.cc index a0ce33360..8496ba94d 100644 --- a/dataworks-public/src/model/ListProjectMembersRequest.cc +++ b/dataworks-public/src/model/ListProjectMembersRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListProjectMembersRequest; + +ListProjectMembersRequest::ListProjectMembersRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectMembers") { + setMethod(HttpRequest::Method::Post); } -void ListProjectMembersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +ListProjectMembersRequest::~ListProjectMembersRequest() {} + +int ListProjectMembersRequest::getPageSize() const { + return pageSize_; } -long ListProjectMembersRequest::getProjectId()const -{ - return projectId_; +void ListProjectMembersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListProjectMembersRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListProjectMembersRequest::getProjectId() const { + return projectId_; } -int ListProjectMembersRequest::getPageNumber()const -{ - return pageNumber_; +void ListProjectMembersRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListProjectMembersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListProjectMembersRequest::getPageNumber() const { + return pageNumber_; +} + +void ListProjectMembersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListProjectMembersResult.cc b/dataworks-public/src/model/ListProjectMembersResult.cc index 32c77d35e..0a4674451 100644 --- a/dataworks-public/src/model/ListProjectMembersResult.cc +++ b/dataworks-public/src/model/ListProjectMembersResult.cc @@ -50,28 +50,28 @@ void ListProjectMembersResult::parse(const std::string &payload) for (auto dataNodeProjectMemberListProjectMember : allProjectMemberListNode) { Data::ProjectMember projectMemberObject; - if(!dataNodeProjectMemberListProjectMember["Nick"].isNull()) - projectMemberObject.nick = dataNodeProjectMemberListProjectMember["Nick"].asString(); + if(!dataNodeProjectMemberListProjectMember["Status"].isNull()) + projectMemberObject.status = dataNodeProjectMemberListProjectMember["Status"].asString(); if(!dataNodeProjectMemberListProjectMember["ProjectMemberId"].isNull()) projectMemberObject.projectMemberId = dataNodeProjectMemberListProjectMember["ProjectMemberId"].asString(); + if(!dataNodeProjectMemberListProjectMember["Nick"].isNull()) + projectMemberObject.nick = dataNodeProjectMemberListProjectMember["Nick"].asString(); if(!dataNodeProjectMemberListProjectMember["ProjectMemberName"].isNull()) projectMemberObject.projectMemberName = dataNodeProjectMemberListProjectMember["ProjectMemberName"].asString(); if(!dataNodeProjectMemberListProjectMember["ProjectMemberType"].isNull()) projectMemberObject.projectMemberType = dataNodeProjectMemberListProjectMember["ProjectMemberType"].asString(); - if(!dataNodeProjectMemberListProjectMember["Status"].isNull()) - projectMemberObject.status = dataNodeProjectMemberListProjectMember["Status"].asString(); auto allProjectRoleListNode = dataNodeProjectMemberListProjectMember["ProjectRoleList"]["Role"]; for (auto dataNodeProjectMemberListProjectMemberProjectRoleListRole : allProjectRoleListNode) { Data::ProjectMember::Role projectRoleListObject; - if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleCode"].isNull()) - projectRoleListObject.projectRoleCode = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleCode"].asString(); if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleId"].isNull()) projectRoleListObject.projectRoleId = std::stoi(dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleId"].asString()); - if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleName"].isNull()) - projectRoleListObject.projectRoleName = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleName"].asString(); if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleType"].isNull()) projectRoleListObject.projectRoleType = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleType"].asString(); + if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleName"].isNull()) + projectRoleListObject.projectRoleName = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleName"].asString(); + if(!dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleCode"].isNull()) + projectRoleListObject.projectRoleCode = dataNodeProjectMemberListProjectMemberProjectRoleListRole["ProjectRoleCode"].asString(); projectMemberObject.projectRoleList.push_back(projectRoleListObject); } data_.projectMemberList.push_back(projectMemberObject); diff --git a/dataworks-public/src/model/ListProjectRolesRequest.cc b/dataworks-public/src/model/ListProjectRolesRequest.cc index b4a1762b3..7f16511dd 100644 --- a/dataworks-public/src/model/ListProjectRolesRequest.cc +++ b/dataworks-public/src/model/ListProjectRolesRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListProjectRolesRequest; + +ListProjectRolesRequest::ListProjectRolesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjectRoles") { + setMethod(HttpRequest::Method::Post); } -void ListProjectRolesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +ListProjectRolesRequest::~ListProjectRolesRequest() {} + +long ListProjectRolesRequest::getProjectId() const { + return projectId_; +} + +void ListProjectRolesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListProjectRolesResult.cc b/dataworks-public/src/model/ListProjectRolesResult.cc index fcf9cdacd..32fce2c5f 100644 --- a/dataworks-public/src/model/ListProjectRolesResult.cc +++ b/dataworks-public/src/model/ListProjectRolesResult.cc @@ -43,14 +43,14 @@ void ListProjectRolesResult::parse(const std::string &payload) 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(); + if(!valueProjectRoleListRole["ProjectRoleName"].isNull()) + projectRoleListObject.projectRoleName = valueProjectRoleListRole["ProjectRoleName"].asString(); + if(!valueProjectRoleListRole["ProjectRoleCode"].isNull()) + projectRoleListObject.projectRoleCode = valueProjectRoleListRole["ProjectRoleCode"].asString(); projectRoleList_.push_back(projectRoleListObject); } diff --git a/dataworks-public/src/model/ListProjectsRequest.cc b/dataworks-public/src/model/ListProjectsRequest.cc index 312782e84..544feaa01 100644 --- a/dataworks-public/src/model/ListProjectsRequest.cc +++ b/dataworks-public/src/model/ListProjectsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListProjectsRequest; + +ListProjectsRequest::ListProjectsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListProjects") { + setMethod(HttpRequest::Method::Post); } -void ListProjectsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +ListProjectsRequest::~ListProjectsRequest() {} + +int ListProjectsRequest::getPageSize() const { + return pageSize_; } -int ListProjectsRequest::getPageNumber()const -{ - return pageNumber_; +void ListProjectsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListProjectsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListProjectsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListProjectsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc b/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc index efac31173..b9fc1d263 100644 --- a/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc +++ b/dataworks-public/src/model/ListQualityResultsByEntityRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListQualityResultsByEntityRequest; - -ListQualityResultsByEntityRequest::ListQualityResultsByEntityRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityResultsByEntity") -{ - setMethod(HttpRequest::Method::Post); -} - -ListQualityResultsByEntityRequest::~ListQualityResultsByEntityRequest() -{} - -std::string ListQualityResultsByEntityRequest::getProjectName()const -{ - return projectName_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListQualityResultsByEntityRequest; + +ListQualityResultsByEntityRequest::ListQualityResultsByEntityRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityResultsByEntity") { + setMethod(HttpRequest::Method::Post); } -void ListQualityResultsByEntityRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +ListQualityResultsByEntityRequest::~ListQualityResultsByEntityRequest() {} + +std::string ListQualityResultsByEntityRequest::getProjectName() const { + return projectName_; } -std::string ListQualityResultsByEntityRequest::getEndDate()const -{ - return endDate_; +void ListQualityResultsByEntityRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void ListQualityResultsByEntityRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); +std::string ListQualityResultsByEntityRequest::getEndDate() const { + return endDate_; } -int ListQualityResultsByEntityRequest::getPageSize()const -{ - return pageSize_; +void ListQualityResultsByEntityRequest::setEndDate(const std::string &endDate) { + endDate_ = endDate; + setBodyParameter(std::string("EndDate"), endDate); } -void ListQualityResultsByEntityRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListQualityResultsByEntityRequest::getPageSize() const { + return pageSize_; } -int ListQualityResultsByEntityRequest::getEntityId()const -{ - return entityId_; +void ListQualityResultsByEntityRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListQualityResultsByEntityRequest::setEntityId(int entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +int ListQualityResultsByEntityRequest::getEntityId() const { + return entityId_; } -std::string ListQualityResultsByEntityRequest::getStartDate()const -{ - return startDate_; +void ListQualityResultsByEntityRequest::setEntityId(int entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } -void ListQualityResultsByEntityRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string ListQualityResultsByEntityRequest::getStartDate() const { + return startDate_; } -int ListQualityResultsByEntityRequest::getPageNumber()const -{ - return pageNumber_; +void ListQualityResultsByEntityRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void ListQualityResultsByEntityRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListQualityResultsByEntityRequest::getPageNumber() const { + return pageNumber_; +} + +void ListQualityResultsByEntityRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc b/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc index 0be7aec07..32df2c0c4 100644 --- a/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc +++ b/dataworks-public/src/model/ListQualityResultsByRuleRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListQualityResultsByRuleRequest; - -ListQualityResultsByRuleRequest::ListQualityResultsByRuleRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityResultsByRule") -{ - setMethod(HttpRequest::Method::Post); -} - -ListQualityResultsByRuleRequest::~ListQualityResultsByRuleRequest() -{} - -std::string ListQualityResultsByRuleRequest::getProjectName()const -{ - return projectName_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListQualityResultsByRuleRequest; + +ListQualityResultsByRuleRequest::ListQualityResultsByRuleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityResultsByRule") { + setMethod(HttpRequest::Method::Post); } -void ListQualityResultsByRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +ListQualityResultsByRuleRequest::~ListQualityResultsByRuleRequest() {} + +std::string ListQualityResultsByRuleRequest::getProjectName() const { + return projectName_; } -std::string ListQualityResultsByRuleRequest::getEndDate()const -{ - return endDate_; +void ListQualityResultsByRuleRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void ListQualityResultsByRuleRequest::setEndDate(const std::string& endDate) -{ - endDate_ = endDate; - setBodyParameter("EndDate", endDate); +std::string ListQualityResultsByRuleRequest::getEndDate() const { + return endDate_; } -int ListQualityResultsByRuleRequest::getPageSize()const -{ - return pageSize_; +void ListQualityResultsByRuleRequest::setEndDate(const std::string &endDate) { + endDate_ = endDate; + setBodyParameter(std::string("EndDate"), endDate); } -void ListQualityResultsByRuleRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListQualityResultsByRuleRequest::getPageSize() const { + return pageSize_; } -int ListQualityResultsByRuleRequest::getRuleId()const -{ - return ruleId_; +void ListQualityResultsByRuleRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListQualityResultsByRuleRequest::setRuleId(int ruleId) -{ - ruleId_ = ruleId; - setBodyParameter("RuleId", std::to_string(ruleId)); +int ListQualityResultsByRuleRequest::getRuleId() const { + return ruleId_; } -std::string ListQualityResultsByRuleRequest::getStartDate()const -{ - return startDate_; +void ListQualityResultsByRuleRequest::setRuleId(int ruleId) { + ruleId_ = ruleId; + setBodyParameter(std::string("RuleId"), std::to_string(ruleId)); } -void ListQualityResultsByRuleRequest::setStartDate(const std::string& startDate) -{ - startDate_ = startDate; - setBodyParameter("StartDate", startDate); +std::string ListQualityResultsByRuleRequest::getStartDate() const { + return startDate_; } -int ListQualityResultsByRuleRequest::getPageNumber()const -{ - return pageNumber_; +void ListQualityResultsByRuleRequest::setStartDate(const std::string &startDate) { + startDate_ = startDate; + setBodyParameter(std::string("StartDate"), startDate); } -void ListQualityResultsByRuleRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListQualityResultsByRuleRequest::getPageNumber() const { + return pageNumber_; +} + +void ListQualityResultsByRuleRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListQualityRulesRequest.cc b/dataworks-public/src/model/ListQualityRulesRequest.cc index 2f0b80d24..5eddec1fd 100644 --- a/dataworks-public/src/model/ListQualityRulesRequest.cc +++ b/dataworks-public/src/model/ListQualityRulesRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListQualityRulesRequest; + +ListQualityRulesRequest::ListQualityRulesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListQualityRules") { + setMethod(HttpRequest::Method::Post); } -void ListQualityRulesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +ListQualityRulesRequest::~ListQualityRulesRequest() {} + +std::string ListQualityRulesRequest::getProjectName() const { + return projectName_; } -int ListQualityRulesRequest::getPageSize()const -{ - return pageSize_; +void ListQualityRulesRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void ListQualityRulesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListQualityRulesRequest::getPageSize() const { + return pageSize_; } -long ListQualityRulesRequest::getEntityId()const -{ - return entityId_; +void ListQualityRulesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListQualityRulesRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +long ListQualityRulesRequest::getEntityId() const { + return entityId_; } -int ListQualityRulesRequest::getPageNumber()const -{ - return pageNumber_; +void ListQualityRulesRequest::setEntityId(long entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } -void ListQualityRulesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListQualityRulesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListQualityRulesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/dataworks-public/src/model/ListRefDISyncTasksRequest.cc b/dataworks-public/src/model/ListRefDISyncTasksRequest.cc index 599b0e790..526b94201 100644 --- a/dataworks-public/src/model/ListRefDISyncTasksRequest.cc +++ b/dataworks-public/src/model/ListRefDISyncTasksRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListRefDISyncTasksRequest; - -ListRefDISyncTasksRequest::ListRefDISyncTasksRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListRefDISyncTasks") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRefDISyncTasksRequest::~ListRefDISyncTasksRequest() -{} - -std::string ListRefDISyncTasksRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListRefDISyncTasksRequest; + +ListRefDISyncTasksRequest::ListRefDISyncTasksRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListRefDISyncTasks") { + setMethod(HttpRequest::Method::Post); } -void ListRefDISyncTasksRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +ListRefDISyncTasksRequest::~ListRefDISyncTasksRequest() {} + +std::string ListRefDISyncTasksRequest::getTaskType() const { + return taskType_; } -std::string ListRefDISyncTasksRequest::getDatasourceName()const -{ - return datasourceName_; +void ListRefDISyncTasksRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void ListRefDISyncTasksRequest::setDatasourceName(const std::string& datasourceName) -{ - datasourceName_ = datasourceName; - setParameter("DatasourceName", datasourceName); +std::string ListRefDISyncTasksRequest::getDatasourceName() const { + return datasourceName_; } -long ListRefDISyncTasksRequest::getPageNumber()const -{ - return pageNumber_; +void ListRefDISyncTasksRequest::setDatasourceName(const std::string &datasourceName) { + datasourceName_ = datasourceName; + setParameter(std::string("DatasourceName"), datasourceName); } -void ListRefDISyncTasksRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long ListRefDISyncTasksRequest::getPageNumber() const { + return pageNumber_; } -long ListRefDISyncTasksRequest::getPageSize()const -{ - return pageSize_; +void ListRefDISyncTasksRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRefDISyncTasksRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long ListRefDISyncTasksRequest::getPageSize() const { + return pageSize_; } -long ListRefDISyncTasksRequest::getProjectId()const -{ - return projectId_; +void ListRefDISyncTasksRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListRefDISyncTasksRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListRefDISyncTasksRequest::getProjectId() const { + return projectId_; } -std::string ListRefDISyncTasksRequest::getRefType()const -{ - return refType_; +void ListRefDISyncTasksRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListRefDISyncTasksRequest::setRefType(const std::string& refType) -{ - refType_ = refType; - setParameter("RefType", refType); +std::string ListRefDISyncTasksRequest::getRefType() const { + return refType_; +} + +void ListRefDISyncTasksRequest::setRefType(const std::string &refType) { + refType_ = refType; + setParameter(std::string("RefType"), refType); } diff --git a/dataworks-public/src/model/ListRemindsRequest.cc b/dataworks-public/src/model/ListRemindsRequest.cc index 807b21b67..67a8385b8 100644 --- a/dataworks-public/src/model/ListRemindsRequest.cc +++ b/dataworks-public/src/model/ListRemindsRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListRemindsRequest; + +ListRemindsRequest::ListRemindsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListReminds") { + setMethod(HttpRequest::Method::Post); } -void ListRemindsRequest::setSearchText(const std::string& searchText) -{ - searchText_ = searchText; - setBodyParameter("SearchText", searchText); +ListRemindsRequest::~ListRemindsRequest() {} + +std::string ListRemindsRequest::getSearchText() const { + return searchText_; } -std::string ListRemindsRequest::getFounder()const -{ - return founder_; +void ListRemindsRequest::setSearchText(const std::string &searchText) { + searchText_ = searchText; + setBodyParameter(std::string("SearchText"), searchText); } -void ListRemindsRequest::setFounder(const std::string& founder) -{ - founder_ = founder; - setBodyParameter("Founder", founder); +std::string ListRemindsRequest::getFounder() const { + return founder_; } -std::string ListRemindsRequest::getRemindTypes()const -{ - return remindTypes_; +void ListRemindsRequest::setFounder(const std::string &founder) { + founder_ = founder; + setBodyParameter(std::string("Founder"), founder); } -void ListRemindsRequest::setRemindTypes(const std::string& remindTypes) -{ - remindTypes_ = remindTypes; - setBodyParameter("RemindTypes", remindTypes); +std::string ListRemindsRequest::getRemindTypes() const { + return remindTypes_; } -int ListRemindsRequest::getPageNumber()const -{ - return pageNumber_; +void ListRemindsRequest::setRemindTypes(const std::string &remindTypes) { + remindTypes_ = remindTypes; + setBodyParameter(std::string("RemindTypes"), remindTypes); } -void ListRemindsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListRemindsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListRemindsRequest::getAlertTarget()const -{ - return alertTarget_; +void ListRemindsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRemindsRequest::setAlertTarget(const std::string& alertTarget) -{ - alertTarget_ = alertTarget; - setBodyParameter("AlertTarget", alertTarget); +std::string ListRemindsRequest::getAlertTarget() const { + return alertTarget_; } -int ListRemindsRequest::getPageSize()const -{ - return pageSize_; +void ListRemindsRequest::setAlertTarget(const std::string &alertTarget) { + alertTarget_ = alertTarget; + setBodyParameter(std::string("AlertTarget"), alertTarget); } -void ListRemindsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListRemindsRequest::getPageSize() const { + return pageSize_; } -long ListRemindsRequest::getNodeId()const -{ - return nodeId_; +void ListRemindsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListRemindsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long ListRemindsRequest::getNodeId() const { + return nodeId_; +} + +void ListRemindsRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/ListResourceGroupsRequest.cc b/dataworks-public/src/model/ListResourceGroupsRequest.cc index 20fcd12de..05b10b67a 100644 --- a/dataworks-public/src/model/ListResourceGroupsRequest.cc +++ b/dataworks-public/src/model/ListResourceGroupsRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListResourceGroupsRequest; - -ListResourceGroupsRequest::ListResourceGroupsRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListResourceGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListResourceGroupsRequest::~ListResourceGroupsRequest() -{} - -std::string ListResourceGroupsRequest::getBizExtKey()const -{ - return bizExtKey_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListResourceGroupsRequest; + +ListResourceGroupsRequest::ListResourceGroupsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListResourceGroups") { + setMethod(HttpRequest::Method::Post); } -void ListResourceGroupsRequest::setBizExtKey(const std::string& bizExtKey) -{ - bizExtKey_ = bizExtKey; - setParameter("BizExtKey", bizExtKey); +ListResourceGroupsRequest::~ListResourceGroupsRequest() {} + +std::string ListResourceGroupsRequest::getBizExtKey() const { + return bizExtKey_; } -int ListResourceGroupsRequest::getResourceGroupType()const -{ - return resourceGroupType_; +void ListResourceGroupsRequest::setBizExtKey(const std::string &bizExtKey) { + bizExtKey_ = bizExtKey; + setParameter(std::string("BizExtKey"), bizExtKey); } -void ListResourceGroupsRequest::setResourceGroupType(int resourceGroupType) -{ - resourceGroupType_ = resourceGroupType; - setParameter("ResourceGroupType", std::to_string(resourceGroupType)); +int ListResourceGroupsRequest::getResourceGroupType() const { + return resourceGroupType_; } -std::string ListResourceGroupsRequest::getKeyword()const -{ - return keyword_; +void ListResourceGroupsRequest::setResourceGroupType(int resourceGroupType) { + resourceGroupType_ = resourceGroupType; + setParameter(std::string("ResourceGroupType"), std::to_string(resourceGroupType)); } -void ListResourceGroupsRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); +std::string ListResourceGroupsRequest::getKeyword() const { + return keyword_; +} + +void ListResourceGroupsRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); } diff --git a/dataworks-public/src/model/ListResourceGroupsResult.cc b/dataworks-public/src/model/ListResourceGroupsResult.cc index 62d83205e..9db28f7a0 100644 --- a/dataworks-public/src/model/ListResourceGroupsResult.cc +++ b/dataworks-public/src/model/ListResourceGroupsResult.cc @@ -43,36 +43,36 @@ void ListResourceGroupsResult::parse(const std::string &payload) 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["UpdateTime"].isNull()) + dataObject.updateTime = valueDataDataItem["UpdateTime"].asString(); + if(!valueDataDataItem["IsDefault"].isNull()) + dataObject.isDefault = valueDataDataItem["IsDefault"].asString() == "true"; + if(!valueDataDataItem["Cluster"].isNull()) + dataObject.cluster = valueDataDataItem["Cluster"].asString(); + if(!valueDataDataItem["EnableKp"].isNull()) + dataObject.enableKp = valueDataDataItem["EnableKp"].asString() == "true"; + if(!valueDataDataItem["ResourceGroupType"].isNull()) + dataObject.resourceGroupType = valueDataDataItem["ResourceGroupType"].asString(); + if(!valueDataDataItem["CreateTime"].isNull()) + dataObject.createTime = valueDataDataItem["CreateTime"].asString(); + if(!valueDataDataItem["Identifier"].isNull()) + dataObject.identifier = valueDataDataItem["Identifier"].asString(); + if(!valueDataDataItem["Mode"].isNull()) + dataObject.mode = valueDataDataItem["Mode"].asString(); + if(!valueDataDataItem["BizExtKey"].isNull()) + dataObject.bizExtKey = valueDataDataItem["BizExtKey"].asString(); + if(!valueDataDataItem["Sequence"].isNull()) + dataObject.sequence = std::stoi(valueDataDataItem["Sequence"].asString()); if(!valueDataDataItem["Specs"].isNull()) dataObject.specs = valueDataDataItem["Specs"].asString(); + if(!valueDataDataItem["Name"].isNull()) + dataObject.name = valueDataDataItem["Name"].asString(); + if(!valueDataDataItem["Id"].isNull()) + dataObject.id = std::stol(valueDataDataItem["Id"].asString()); + if(!valueDataDataItem["TenantId"].isNull()) + dataObject.tenantId = std::stol(valueDataDataItem["TenantId"].asString()); data_.push_back(dataObject); } if(!value["HttpStatusCode"].isNull()) diff --git a/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc b/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc index 9b6ed9eab..c0d90baba 100644 --- a/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc +++ b/dataworks-public/src/model/ListSuccessInstanceAmountRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListSuccessInstanceAmountRequest; - -ListSuccessInstanceAmountRequest::ListSuccessInstanceAmountRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListSuccessInstanceAmount") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSuccessInstanceAmountRequest::~ListSuccessInstanceAmountRequest() -{} - -long ListSuccessInstanceAmountRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListSuccessInstanceAmountRequest; + +ListSuccessInstanceAmountRequest::ListSuccessInstanceAmountRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListSuccessInstanceAmount") { + setMethod(HttpRequest::Method::Post); } -void ListSuccessInstanceAmountRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +ListSuccessInstanceAmountRequest::~ListSuccessInstanceAmountRequest() {} + +long ListSuccessInstanceAmountRequest::getProjectId() const { + return projectId_; +} + +void ListSuccessInstanceAmountRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListTableLevelRequest.cc b/dataworks-public/src/model/ListTableLevelRequest.cc index 53ef94850..bf27c1a74 100644 --- a/dataworks-public/src/model/ListTableLevelRequest.cc +++ b/dataworks-public/src/model/ListTableLevelRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListTableLevelRequest; - -ListTableLevelRequest::ListTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListTableLevel") -{ - setMethod(HttpRequest::Method::Get); -} - -ListTableLevelRequest::~ListTableLevelRequest() -{} - -int ListTableLevelRequest::getLevelType()const -{ - return levelType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListTableLevelRequest; + +ListTableLevelRequest::ListTableLevelRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListTableLevel") { + setMethod(HttpRequest::Method::Get); } -void ListTableLevelRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); +ListTableLevelRequest::~ListTableLevelRequest() {} + +int ListTableLevelRequest::getLevelType() const { + return levelType_; } -int ListTableLevelRequest::getPageSize()const -{ - return pageSize_; +void ListTableLevelRequest::setLevelType(int levelType) { + levelType_ = levelType; + setParameter(std::string("LevelType"), std::to_string(levelType)); } -void ListTableLevelRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListTableLevelRequest::getPageSize() const { + return pageSize_; } -int ListTableLevelRequest::getPageNum()const -{ - return pageNum_; +void ListTableLevelRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListTableLevelRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int ListTableLevelRequest::getPageNum() const { + return pageNum_; } -long ListTableLevelRequest::getProjectId()const -{ - return projectId_; +void ListTableLevelRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void ListTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListTableLevelRequest::getProjectId() const { + return projectId_; +} + +void ListTableLevelRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/ListTableThemeRequest.cc b/dataworks-public/src/model/ListTableThemeRequest.cc index 717b8814c..04f5c144e 100644 --- a/dataworks-public/src/model/ListTableThemeRequest.cc +++ b/dataworks-public/src/model/ListTableThemeRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ListTableThemeRequest; - -ListTableThemeRequest::ListTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ListTableTheme") -{ - setMethod(HttpRequest::Method::Get); -} - -ListTableThemeRequest::~ListTableThemeRequest() -{} - -int ListTableThemeRequest::getPageSize()const -{ - return pageSize_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListTableThemeRequest; + +ListTableThemeRequest::ListTableThemeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListTableTheme") { + setMethod(HttpRequest::Method::Get); } -void ListTableThemeRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +ListTableThemeRequest::~ListTableThemeRequest() {} + +int ListTableThemeRequest::getPageSize() const { + return pageSize_; } -int ListTableThemeRequest::getPageNum()const -{ - return pageNum_; +void ListTableThemeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListTableThemeRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); +int ListTableThemeRequest::getPageNum() const { + return pageNum_; } -long ListTableThemeRequest::getProjectId()const -{ - return projectId_; +void ListTableThemeRequest::setPageNum(int pageNum) { + pageNum_ = pageNum; + setParameter(std::string("PageNum"), std::to_string(pageNum)); } -void ListTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long ListTableThemeRequest::getProjectId() const { + return projectId_; } -long ListTableThemeRequest::getParentId()const -{ - return parentId_; +void ListTableThemeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void ListTableThemeRequest::setParentId(long parentId) -{ - parentId_ = parentId; - setParameter("ParentId", std::to_string(parentId)); +long ListTableThemeRequest::getParentId() const { + return parentId_; +} + +void ListTableThemeRequest::setParentId(long parentId) { + parentId_ = parentId; + setParameter(std::string("ParentId"), std::to_string(parentId)); } diff --git a/dataworks-public/src/model/ListTopicsRequest.cc b/dataworks-public/src/model/ListTopicsRequest.cc index a1998cd8f..64df9ab0e 100644 --- a/dataworks-public/src/model/ListTopicsRequest.cc +++ b/dataworks-public/src/model/ListTopicsRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListTopicsRequest; + +ListTopicsRequest::ListTopicsRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListTopics") { + setMethod(HttpRequest::Method::Post); } -void ListTopicsRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +ListTopicsRequest::~ListTopicsRequest() {} + +std::string ListTopicsRequest::getOwner() const { + return owner_; } -std::string ListTopicsRequest::getEndTime()const -{ - return endTime_; +void ListTopicsRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void ListTopicsRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setBodyParameter("EndTime", endTime); +std::string ListTopicsRequest::getEndTime() const { + return endTime_; } -std::string ListTopicsRequest::getBeginTime()const -{ - return beginTime_; +void ListTopicsRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), endTime); } -void ListTopicsRequest::setBeginTime(const std::string& beginTime) -{ - beginTime_ = beginTime; - setBodyParameter("BeginTime", beginTime); +std::string ListTopicsRequest::getBeginTime() const { + return beginTime_; } -std::string ListTopicsRequest::getTopicStatuses()const -{ - return topicStatuses_; +void ListTopicsRequest::setBeginTime(const std::string &beginTime) { + beginTime_ = beginTime; + setBodyParameter(std::string("BeginTime"), beginTime); } -void ListTopicsRequest::setTopicStatuses(const std::string& topicStatuses) -{ - topicStatuses_ = topicStatuses; - setBodyParameter("TopicStatuses", topicStatuses); +std::string ListTopicsRequest::getTopicStatuses() const { + return topicStatuses_; } -int ListTopicsRequest::getPageNumber()const -{ - return pageNumber_; +void ListTopicsRequest::setTopicStatuses(const std::string &topicStatuses) { + topicStatuses_ = topicStatuses; + setBodyParameter(std::string("TopicStatuses"), topicStatuses); } -void ListTopicsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); +int ListTopicsRequest::getPageNumber() const { + return pageNumber_; } -long ListTopicsRequest::getInstanceId()const -{ - return instanceId_; +void ListTopicsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setBodyParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListTopicsRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long ListTopicsRequest::getInstanceId() const { + return instanceId_; } -int ListTopicsRequest::getPageSize()const -{ - return pageSize_; +void ListTopicsRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } -void ListTopicsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); +int ListTopicsRequest::getPageSize() const { + return pageSize_; } -std::string ListTopicsRequest::getTopicTypes()const -{ - return topicTypes_; +void ListTopicsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListTopicsRequest::setTopicTypes(const std::string& topicTypes) -{ - topicTypes_ = topicTypes; - setBodyParameter("TopicTypes", topicTypes); +std::string ListTopicsRequest::getTopicTypes() const { + return topicTypes_; } -long ListTopicsRequest::getNodeId()const -{ - return nodeId_; +void ListTopicsRequest::setTopicTypes(const std::string &topicTypes) { + topicTypes_ = topicTypes; + setBodyParameter(std::string("TopicTypes"), topicTypes); } -void ListTopicsRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long ListTopicsRequest::getNodeId() const { + return nodeId_; +} + +void ListTopicsRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/ListUsageForResourceGroupRequest.cc b/dataworks-public/src/model/ListUsageForResourceGroupRequest.cc new file mode 100644 index 000000000..e143558e9 --- /dev/null +++ b/dataworks-public/src/model/ListUsageForResourceGroupRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ListUsageForResourceGroupRequest; + +ListUsageForResourceGroupRequest::ListUsageForResourceGroupRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ListUsageForResourceGroup") { + setMethod(HttpRequest::Method::Post); +} + +ListUsageForResourceGroupRequest::~ListUsageForResourceGroupRequest() {} + +std::string ListUsageForResourceGroupRequest::getProjectEnv() const { + return projectEnv_; +} + +void ListUsageForResourceGroupRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); +} + +long ListUsageForResourceGroupRequest::getEndTime() const { + return endTime_; +} + +void ListUsageForResourceGroupRequest::setEndTime(long endTime) { + endTime_ = endTime; + setBodyParameter(std::string("EndTime"), std::to_string(endTime)); +} + +std::string ListUsageForResourceGroupRequest::getResourceGroupIdentifier() const { + return resourceGroupIdentifier_; +} + +void ListUsageForResourceGroupRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) { + resourceGroupIdentifier_ = resourceGroupIdentifier; + setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier); +} + +long ListUsageForResourceGroupRequest::getStartTime() const { + return startTime_; +} + +void ListUsageForResourceGroupRequest::setStartTime(long startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), std::to_string(startTime)); +} + diff --git a/dataworks-public/src/model/ListUsageForResourceGroupResult.cc b/dataworks-public/src/model/ListUsageForResourceGroupResult.cc new file mode 100644 index 000000000..5ba1c5d8c --- /dev/null +++ b/dataworks-public/src/model/ListUsageForResourceGroupResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +ListUsageForResourceGroupResult::ListUsageForResourceGroupResult() : + ServiceResult() +{} + +ListUsageForResourceGroupResult::ListUsageForResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListUsageForResourceGroupResult::~ListUsageForResourceGroupResult() +{} + +void ListUsageForResourceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["PopUsageForResourceGroupDto"]; + for (auto valueDataPopUsageForResourceGroupDto : allDataNode) + { + PopUsageForResourceGroupDto dataObject; + if(!valueDataPopUsageForResourceGroupDto["Usage"].isNull()) + dataObject.usage = valueDataPopUsageForResourceGroupDto["Usage"].asString(); + if(!valueDataPopUsageForResourceGroupDto["RecodeTime"].isNull()) + dataObject.recodeTime = std::stol(valueDataPopUsageForResourceGroupDto["RecodeTime"].asString()); + data_.push_back(dataObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +int ListUsageForResourceGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListUsageForResourceGroupResult::getData()const +{ + return data_; +} + +std::string ListUsageForResourceGroupResult::getErrorCode()const +{ + return errorCode_; +} + +std::string ListUsageForResourceGroupResult::getErrorMessage()const +{ + return errorMessage_; +} + +bool ListUsageForResourceGroupResult::getSuccess()const +{ + return success_; +} + diff --git a/dataworks-public/src/model/PublishDataServiceApiRequest.cc b/dataworks-public/src/model/PublishDataServiceApiRequest.cc index 5b92030f7..f974175d8 100644 --- a/dataworks-public/src/model/PublishDataServiceApiRequest.cc +++ b/dataworks-public/src/model/PublishDataServiceApiRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::PublishDataServiceApiRequest; + +PublishDataServiceApiRequest::PublishDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "PublishDataServiceApi") { + setMethod(HttpRequest::Method::Post); } -void PublishDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +PublishDataServiceApiRequest::~PublishDataServiceApiRequest() {} + +long PublishDataServiceApiRequest::getTenantId() const { + return tenantId_; } -long PublishDataServiceApiRequest::getProjectId()const -{ - return projectId_; +void PublishDataServiceApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void PublishDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long PublishDataServiceApiRequest::getProjectId() const { + return projectId_; } -long PublishDataServiceApiRequest::getApiId()const -{ - return apiId_; +void PublishDataServiceApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void PublishDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long PublishDataServiceApiRequest::getApiId() const { + return apiId_; +} + +void PublishDataServiceApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } diff --git a/dataworks-public/src/model/PublishDataServiceApiResult.cc b/dataworks-public/src/model/PublishDataServiceApiResult.cc index 5eefa2cbb..1745fb907 100644 --- a/dataworks-public/src/model/PublishDataServiceApiResult.cc +++ b/dataworks-public/src/model/PublishDataServiceApiResult.cc @@ -39,14 +39,14 @@ void PublishDataServiceApiResult::parse(const std::string &payload) 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["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/dataworks-public/src/model/QueryDISyncTaskConfigProcessResultRequest.cc b/dataworks-public/src/model/QueryDISyncTaskConfigProcessResultRequest.cc index 4cf956bf3..e60ab76c7 100644 --- a/dataworks-public/src/model/QueryDISyncTaskConfigProcessResultRequest.cc +++ b/dataworks-public/src/model/QueryDISyncTaskConfigProcessResultRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::QueryDISyncTaskConfigProcessResultRequest; - -QueryDISyncTaskConfigProcessResultRequest::QueryDISyncTaskConfigProcessResultRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "QueryDISyncTaskConfigProcessResult") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryDISyncTaskConfigProcessResultRequest::~QueryDISyncTaskConfigProcessResultRequest() -{} - -std::string QueryDISyncTaskConfigProcessResultRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::QueryDISyncTaskConfigProcessResultRequest; + +QueryDISyncTaskConfigProcessResultRequest::QueryDISyncTaskConfigProcessResultRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "QueryDISyncTaskConfigProcessResult") { + setMethod(HttpRequest::Method::Post); } -void QueryDISyncTaskConfigProcessResultRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +QueryDISyncTaskConfigProcessResultRequest::~QueryDISyncTaskConfigProcessResultRequest() {} + +std::string QueryDISyncTaskConfigProcessResultRequest::getTaskType() const { + return taskType_; } -long QueryDISyncTaskConfigProcessResultRequest::getAsyncProcessId()const -{ - return asyncProcessId_; +void QueryDISyncTaskConfigProcessResultRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void QueryDISyncTaskConfigProcessResultRequest::setAsyncProcessId(long asyncProcessId) -{ - asyncProcessId_ = asyncProcessId; - setParameter("AsyncProcessId", std::to_string(asyncProcessId)); +long QueryDISyncTaskConfigProcessResultRequest::getAsyncProcessId() const { + return asyncProcessId_; } -long QueryDISyncTaskConfigProcessResultRequest::getProjectId()const -{ - return projectId_; +void QueryDISyncTaskConfigProcessResultRequest::setAsyncProcessId(long asyncProcessId) { + asyncProcessId_ = asyncProcessId; + setParameter(std::string("AsyncProcessId"), std::to_string(asyncProcessId)); } -void QueryDISyncTaskConfigProcessResultRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long QueryDISyncTaskConfigProcessResultRequest::getProjectId() const { + return projectId_; +} + +void QueryDISyncTaskConfigProcessResultRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/QueryPublicModelEngineRequest.cc b/dataworks-public/src/model/QueryPublicModelEngineRequest.cc index 277cd0d8e..ff446f697 100644 --- a/dataworks-public/src/model/QueryPublicModelEngineRequest.cc +++ b/dataworks-public/src/model/QueryPublicModelEngineRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::QueryPublicModelEngineRequest; - -QueryPublicModelEngineRequest::QueryPublicModelEngineRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "QueryPublicModelEngine") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryPublicModelEngineRequest::~QueryPublicModelEngineRequest() -{} - -std::string QueryPublicModelEngineRequest::getText()const -{ - return text_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::QueryPublicModelEngineRequest; + +QueryPublicModelEngineRequest::QueryPublicModelEngineRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "QueryPublicModelEngine") { + setMethod(HttpRequest::Method::Post); } -void QueryPublicModelEngineRequest::setText(const std::string& text) -{ - text_ = text; - setBodyParameter("Text", text); +QueryPublicModelEngineRequest::~QueryPublicModelEngineRequest() {} + +std::string QueryPublicModelEngineRequest::getText() const { + return text_; } -std::string QueryPublicModelEngineRequest::getProjectId()const -{ - return projectId_; +void QueryPublicModelEngineRequest::setText(const std::string &text) { + text_ = text; + setBodyParameter(std::string("Text"), text); } -void QueryPublicModelEngineRequest::setProjectId(const std::string& projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", projectId); +std::string QueryPublicModelEngineRequest::getProjectId() const { + return projectId_; +} + +void QueryPublicModelEngineRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), projectId); } diff --git a/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc b/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc index 32444fcfc..340956f51 100644 --- a/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc +++ b/dataworks-public/src/model/RemoveProjectMemberFromRoleRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RemoveProjectMemberFromRoleRequest; + +RemoveProjectMemberFromRoleRequest::RemoveProjectMemberFromRoleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RemoveProjectMemberFromRole") { + setMethod(HttpRequest::Method::Post); } -void RemoveProjectMemberFromRoleRequest::setRoleCode(const std::string& roleCode) -{ - roleCode_ = roleCode; - setParameter("RoleCode", roleCode); +RemoveProjectMemberFromRoleRequest::~RemoveProjectMemberFromRoleRequest() {} + +std::string RemoveProjectMemberFromRoleRequest::getRoleCode() const { + return roleCode_; } -long RemoveProjectMemberFromRoleRequest::getProjectId()const -{ - return projectId_; +void RemoveProjectMemberFromRoleRequest::setRoleCode(const std::string &roleCode) { + roleCode_ = roleCode; + setParameter(std::string("RoleCode"), roleCode); } -void RemoveProjectMemberFromRoleRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long RemoveProjectMemberFromRoleRequest::getProjectId() const { + return projectId_; } -std::string RemoveProjectMemberFromRoleRequest::getUserId()const -{ - return userId_; +void RemoveProjectMemberFromRoleRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void RemoveProjectMemberFromRoleRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string RemoveProjectMemberFromRoleRequest::getUserId() const { + return userId_; +} + +void RemoveProjectMemberFromRoleRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } diff --git a/dataworks-public/src/model/RestartInstanceRequest.cc b/dataworks-public/src/model/RestartInstanceRequest.cc index f6ef45132..f387e4503 100644 --- a/dataworks-public/src/model/RestartInstanceRequest.cc +++ b/dataworks-public/src/model/RestartInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RestartInstanceRequest; + +RestartInstanceRequest::RestartInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RestartInstance") { + setMethod(HttpRequest::Method::Post); } -void RestartInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +RestartInstanceRequest::~RestartInstanceRequest() {} + +std::string RestartInstanceRequest::getProjectEnv() const { + return projectEnv_; } -long RestartInstanceRequest::getInstanceId()const -{ - return instanceId_; +void RestartInstanceRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void RestartInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long RestartInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void RestartInstanceRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/RestartInstanceResult.cc b/dataworks-public/src/model/RestartInstanceResult.cc index e16b4961b..c88f28d71 100644 --- a/dataworks-public/src/model/RestartInstanceResult.cc +++ b/dataworks-public/src/model/RestartInstanceResult.cc @@ -39,16 +39,16 @@ void RestartInstanceResult::parse(const std::string &payload) 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"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/ResumeInstanceRequest.cc b/dataworks-public/src/model/ResumeInstanceRequest.cc index 13aaf1a2a..31227f259 100644 --- a/dataworks-public/src/model/ResumeInstanceRequest.cc +++ b/dataworks-public/src/model/ResumeInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ResumeInstanceRequest; + +ResumeInstanceRequest::ResumeInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ResumeInstance") { + setMethod(HttpRequest::Method::Post); } -void ResumeInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +ResumeInstanceRequest::~ResumeInstanceRequest() {} + +std::string ResumeInstanceRequest::getProjectEnv() const { + return projectEnv_; } -long ResumeInstanceRequest::getInstanceId()const -{ - return instanceId_; +void ResumeInstanceRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void ResumeInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long ResumeInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void ResumeInstanceRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/ResumeInstanceResult.cc b/dataworks-public/src/model/ResumeInstanceResult.cc index 36c5a3ce9..0b823ab33 100644 --- a/dataworks-public/src/model/ResumeInstanceResult.cc +++ b/dataworks-public/src/model/ResumeInstanceResult.cc @@ -39,16 +39,16 @@ void ResumeInstanceResult::parse(const std::string &payload) 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"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/RevokeColumnPermissionRequest.cc b/dataworks-public/src/model/RevokeColumnPermissionRequest.cc index 3b55e99f0..b7680b4c7 100644 --- a/dataworks-public/src/model/RevokeColumnPermissionRequest.cc +++ b/dataworks-public/src/model/RevokeColumnPermissionRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RevokeColumnPermissionRequest; - -RevokeColumnPermissionRequest::RevokeColumnPermissionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeColumnPermission") -{ - setMethod(HttpRequest::Method::Post); -} - -RevokeColumnPermissionRequest::~RevokeColumnPermissionRequest() -{} - -std::string RevokeColumnPermissionRequest::getRevokeUserName()const -{ - return revokeUserName_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RevokeColumnPermissionRequest; + +RevokeColumnPermissionRequest::RevokeColumnPermissionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeColumnPermission") { + setMethod(HttpRequest::Method::Post); } -void RevokeColumnPermissionRequest::setRevokeUserName(const std::string& revokeUserName) -{ - revokeUserName_ = revokeUserName; - setParameter("RevokeUserName", revokeUserName); +RevokeColumnPermissionRequest::~RevokeColumnPermissionRequest() {} + +std::string RevokeColumnPermissionRequest::getRevokeUserName() const { + return revokeUserName_; } -std::string RevokeColumnPermissionRequest::getMaxComputeProjectName()const -{ - return maxComputeProjectName_; +void RevokeColumnPermissionRequest::setRevokeUserName(const std::string &revokeUserName) { + revokeUserName_ = revokeUserName; + setParameter(std::string("RevokeUserName"), revokeUserName); } -void RevokeColumnPermissionRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) -{ - maxComputeProjectName_ = maxComputeProjectName; - setParameter("MaxComputeProjectName", maxComputeProjectName); +std::string RevokeColumnPermissionRequest::getMaxComputeProjectName() const { + return maxComputeProjectName_; } -std::string RevokeColumnPermissionRequest::getColumns()const -{ - return columns_; +void RevokeColumnPermissionRequest::setMaxComputeProjectName(const std::string &maxComputeProjectName) { + maxComputeProjectName_ = maxComputeProjectName; + setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName); } -void RevokeColumnPermissionRequest::setColumns(const std::string& columns) -{ - columns_ = columns; - setParameter("Columns", columns); +std::string RevokeColumnPermissionRequest::getColumns() const { + return columns_; } -std::string RevokeColumnPermissionRequest::getRevokeUserId()const -{ - return revokeUserId_; +void RevokeColumnPermissionRequest::setColumns(const std::string &columns) { + columns_ = columns; + setParameter(std::string("Columns"), columns); } -void RevokeColumnPermissionRequest::setRevokeUserId(const std::string& revokeUserId) -{ - revokeUserId_ = revokeUserId; - setParameter("RevokeUserId", revokeUserId); +std::string RevokeColumnPermissionRequest::getRevokeUserId() const { + return revokeUserId_; } -std::string RevokeColumnPermissionRequest::getTableName()const -{ - return tableName_; +void RevokeColumnPermissionRequest::setRevokeUserId(const std::string &revokeUserId) { + revokeUserId_ = revokeUserId; + setParameter(std::string("RevokeUserId"), revokeUserId); } -void RevokeColumnPermissionRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string RevokeColumnPermissionRequest::getTableName() const { + return tableName_; } -long RevokeColumnPermissionRequest::getWorkspaceId()const -{ - return workspaceId_; +void RevokeColumnPermissionRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void RevokeColumnPermissionRequest::setWorkspaceId(long workspaceId) -{ - workspaceId_ = workspaceId; - setParameter("WorkspaceId", std::to_string(workspaceId)); +long RevokeColumnPermissionRequest::getWorkspaceId() const { + return workspaceId_; +} + +void RevokeColumnPermissionRequest::setWorkspaceId(long workspaceId) { + workspaceId_ = workspaceId; + setParameter(std::string("WorkspaceId"), std::to_string(workspaceId)); } diff --git a/dataworks-public/src/model/RevokeTablePermissionRequest.cc b/dataworks-public/src/model/RevokeTablePermissionRequest.cc index 600caac32..1abecacdf 100644 --- a/dataworks-public/src/model/RevokeTablePermissionRequest.cc +++ b/dataworks-public/src/model/RevokeTablePermissionRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RevokeTablePermissionRequest; - -RevokeTablePermissionRequest::RevokeTablePermissionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeTablePermission") -{ - setMethod(HttpRequest::Method::Post); -} - -RevokeTablePermissionRequest::~RevokeTablePermissionRequest() -{} - -std::string RevokeTablePermissionRequest::getRevokeUserName()const -{ - return revokeUserName_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RevokeTablePermissionRequest; + +RevokeTablePermissionRequest::RevokeTablePermissionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RevokeTablePermission") { + setMethod(HttpRequest::Method::Post); } -void RevokeTablePermissionRequest::setRevokeUserName(const std::string& revokeUserName) -{ - revokeUserName_ = revokeUserName; - setParameter("RevokeUserName", revokeUserName); +RevokeTablePermissionRequest::~RevokeTablePermissionRequest() {} + +std::string RevokeTablePermissionRequest::getRevokeUserName() const { + return revokeUserName_; } -std::string RevokeTablePermissionRequest::getMaxComputeProjectName()const -{ - return maxComputeProjectName_; +void RevokeTablePermissionRequest::setRevokeUserName(const std::string &revokeUserName) { + revokeUserName_ = revokeUserName; + setParameter(std::string("RevokeUserName"), revokeUserName); } -void RevokeTablePermissionRequest::setMaxComputeProjectName(const std::string& maxComputeProjectName) -{ - maxComputeProjectName_ = maxComputeProjectName; - setParameter("MaxComputeProjectName", maxComputeProjectName); +std::string RevokeTablePermissionRequest::getMaxComputeProjectName() const { + return maxComputeProjectName_; } -std::string RevokeTablePermissionRequest::getRevokeUserId()const -{ - return revokeUserId_; +void RevokeTablePermissionRequest::setMaxComputeProjectName(const std::string &maxComputeProjectName) { + maxComputeProjectName_ = maxComputeProjectName; + setParameter(std::string("MaxComputeProjectName"), maxComputeProjectName); } -void RevokeTablePermissionRequest::setRevokeUserId(const std::string& revokeUserId) -{ - revokeUserId_ = revokeUserId; - setParameter("RevokeUserId", revokeUserId); +std::string RevokeTablePermissionRequest::getRevokeUserId() const { + return revokeUserId_; } -std::string RevokeTablePermissionRequest::getTableName()const -{ - return tableName_; +void RevokeTablePermissionRequest::setRevokeUserId(const std::string &revokeUserId) { + revokeUserId_ = revokeUserId; + setParameter(std::string("RevokeUserId"), revokeUserId); } -void RevokeTablePermissionRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string RevokeTablePermissionRequest::getTableName() const { + return tableName_; } -std::string RevokeTablePermissionRequest::getActions()const -{ - return actions_; +void RevokeTablePermissionRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void RevokeTablePermissionRequest::setActions(const std::string& actions) -{ - actions_ = actions; - setParameter("Actions", actions); +std::string RevokeTablePermissionRequest::getActions() const { + return actions_; } -long RevokeTablePermissionRequest::getWorkspaceId()const -{ - return workspaceId_; +void RevokeTablePermissionRequest::setActions(const std::string &actions) { + actions_ = actions; + setParameter(std::string("Actions"), actions); } -void RevokeTablePermissionRequest::setWorkspaceId(long workspaceId) -{ - workspaceId_ = workspaceId; - setParameter("WorkspaceId", std::to_string(workspaceId)); +long RevokeTablePermissionRequest::getWorkspaceId() const { + return workspaceId_; +} + +void RevokeTablePermissionRequest::setWorkspaceId(long workspaceId) { + workspaceId_ = workspaceId; + setParameter(std::string("WorkspaceId"), std::to_string(workspaceId)); } diff --git a/dataworks-public/src/model/RunCycleDagNodesRequest.cc b/dataworks-public/src/model/RunCycleDagNodesRequest.cc index 4148d1764..a174a682d 100644 --- a/dataworks-public/src/model/RunCycleDagNodesRequest.cc +++ b/dataworks-public/src/model/RunCycleDagNodesRequest.cc @@ -1,150 +1,126 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RunCycleDagNodesRequest; - -RunCycleDagNodesRequest::RunCycleDagNodesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RunCycleDagNodes") -{ - setMethod(HttpRequest::Method::Post); -} - -RunCycleDagNodesRequest::~RunCycleDagNodesRequest() -{} - -std::string RunCycleDagNodesRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RunCycleDagNodesRequest; + +RunCycleDagNodesRequest::RunCycleDagNodesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RunCycleDagNodes") { + setMethod(HttpRequest::Method::Post); } -void RunCycleDagNodesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +RunCycleDagNodesRequest::~RunCycleDagNodesRequest() {} + +std::string RunCycleDagNodesRequest::getProjectEnv() const { + return projectEnv_; } -std::string RunCycleDagNodesRequest::getStartBizDate()const -{ - return startBizDate_; +void RunCycleDagNodesRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void RunCycleDagNodesRequest::setStartBizDate(const std::string& startBizDate) -{ - startBizDate_ = startBizDate; - setBodyParameter("StartBizDate", startBizDate); +std::string RunCycleDagNodesRequest::getStartBizDate() const { + return startBizDate_; } -bool RunCycleDagNodesRequest::getParallelism()const -{ - return parallelism_; +void RunCycleDagNodesRequest::setStartBizDate(const std::string &startBizDate) { + startBizDate_ = startBizDate; + setBodyParameter(std::string("StartBizDate"), startBizDate); } -void RunCycleDagNodesRequest::setParallelism(bool parallelism) -{ - parallelism_ = parallelism; - setBodyParameter("Parallelism", parallelism ? "true" : "false"); +bool RunCycleDagNodesRequest::getParallelism() const { + return parallelism_; } -long RunCycleDagNodesRequest::getRootNodeId()const -{ - return rootNodeId_; +void RunCycleDagNodesRequest::setParallelism(bool parallelism) { + parallelism_ = parallelism; + setBodyParameter(std::string("Parallelism"), parallelism ? "true" : "false"); } -void RunCycleDagNodesRequest::setRootNodeId(long rootNodeId) -{ - rootNodeId_ = rootNodeId; - setBodyParameter("RootNodeId", std::to_string(rootNodeId)); +long RunCycleDagNodesRequest::getRootNodeId() const { + return rootNodeId_; } -std::string RunCycleDagNodesRequest::getBizBeginTime()const -{ - return bizBeginTime_; +void RunCycleDagNodesRequest::setRootNodeId(long rootNodeId) { + rootNodeId_ = rootNodeId; + setBodyParameter(std::string("RootNodeId"), std::to_string(rootNodeId)); } -void RunCycleDagNodesRequest::setBizBeginTime(const std::string& bizBeginTime) -{ - bizBeginTime_ = bizBeginTime; - setBodyParameter("BizBeginTime", bizBeginTime); +std::string RunCycleDagNodesRequest::getBizBeginTime() const { + return bizBeginTime_; } -std::string RunCycleDagNodesRequest::getEndBizDate()const -{ - return endBizDate_; +void RunCycleDagNodesRequest::setBizBeginTime(const std::string &bizBeginTime) { + bizBeginTime_ = bizBeginTime; + setBodyParameter(std::string("BizBeginTime"), bizBeginTime); } -void RunCycleDagNodesRequest::setEndBizDate(const std::string& endBizDate) -{ - endBizDate_ = endBizDate; - setBodyParameter("EndBizDate", endBizDate); +std::string RunCycleDagNodesRequest::getEndBizDate() const { + return endBizDate_; } -std::string RunCycleDagNodesRequest::getIncludeNodeIds()const -{ - return includeNodeIds_; +void RunCycleDagNodesRequest::setEndBizDate(const std::string &endBizDate) { + endBizDate_ = endBizDate; + setBodyParameter(std::string("EndBizDate"), endBizDate); } -void RunCycleDagNodesRequest::setIncludeNodeIds(const std::string& includeNodeIds) -{ - includeNodeIds_ = includeNodeIds; - setBodyParameter("IncludeNodeIds", includeNodeIds); +std::string RunCycleDagNodesRequest::getIncludeNodeIds() const { + return includeNodeIds_; } -std::string RunCycleDagNodesRequest::getBizEndTime()const -{ - return bizEndTime_; +void RunCycleDagNodesRequest::setIncludeNodeIds(const std::string &includeNodeIds) { + includeNodeIds_ = includeNodeIds; + setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds); } -void RunCycleDagNodesRequest::setBizEndTime(const std::string& bizEndTime) -{ - bizEndTime_ = bizEndTime; - setBodyParameter("BizEndTime", bizEndTime); +std::string RunCycleDagNodesRequest::getBizEndTime() const { + return bizEndTime_; } -std::string RunCycleDagNodesRequest::getName()const -{ - return name_; +void RunCycleDagNodesRequest::setBizEndTime(const std::string &bizEndTime) { + bizEndTime_ = bizEndTime; + setBodyParameter(std::string("BizEndTime"), bizEndTime); } -void RunCycleDagNodesRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string RunCycleDagNodesRequest::getName() const { + return name_; } -std::string RunCycleDagNodesRequest::getExcludeNodeIds()const -{ - return excludeNodeIds_; +void RunCycleDagNodesRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void RunCycleDagNodesRequest::setExcludeNodeIds(const std::string& excludeNodeIds) -{ - excludeNodeIds_ = excludeNodeIds; - setBodyParameter("ExcludeNodeIds", excludeNodeIds); +std::string RunCycleDagNodesRequest::getExcludeNodeIds() const { + return excludeNodeIds_; } -std::string RunCycleDagNodesRequest::getNodeParams()const -{ - return nodeParams_; +void RunCycleDagNodesRequest::setExcludeNodeIds(const std::string &excludeNodeIds) { + excludeNodeIds_ = excludeNodeIds; + setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds); } -void RunCycleDagNodesRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); +std::string RunCycleDagNodesRequest::getNodeParams() const { + return nodeParams_; +} + +void RunCycleDagNodesRequest::setNodeParams(const std::string &nodeParams) { + nodeParams_ = nodeParams; + setBodyParameter(std::string("NodeParams"), nodeParams); } diff --git a/dataworks-public/src/model/RunManualDagNodesRequest.cc b/dataworks-public/src/model/RunManualDagNodesRequest.cc index 242ff9a92..442342af0 100644 --- a/dataworks-public/src/model/RunManualDagNodesRequest.cc +++ b/dataworks-public/src/model/RunManualDagNodesRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RunManualDagNodesRequest; - -RunManualDagNodesRequest::RunManualDagNodesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RunManualDagNodes") -{ - setMethod(HttpRequest::Method::Post); -} - -RunManualDagNodesRequest::~RunManualDagNodesRequest() -{} - -std::string RunManualDagNodesRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RunManualDagNodesRequest; + +RunManualDagNodesRequest::RunManualDagNodesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RunManualDagNodes") { + setMethod(HttpRequest::Method::Post); } -void RunManualDagNodesRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +RunManualDagNodesRequest::~RunManualDagNodesRequest() {} + +std::string RunManualDagNodesRequest::getProjectEnv() const { + return projectEnv_; } -std::string RunManualDagNodesRequest::getProjectName()const -{ - return projectName_; +void RunManualDagNodesRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void RunManualDagNodesRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string RunManualDagNodesRequest::getProjectName() const { + return projectName_; } -std::string RunManualDagNodesRequest::getDagParameters()const -{ - return dagParameters_; +void RunManualDagNodesRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void RunManualDagNodesRequest::setDagParameters(const std::string& dagParameters) -{ - dagParameters_ = dagParameters; - setBodyParameter("DagParameters", dagParameters); +std::string RunManualDagNodesRequest::getDagParameters() const { + return dagParameters_; } -std::string RunManualDagNodesRequest::getIncludeNodeIds()const -{ - return includeNodeIds_; +void RunManualDagNodesRequest::setDagParameters(const std::string &dagParameters) { + dagParameters_ = dagParameters; + setBodyParameter(std::string("DagParameters"), dagParameters); } -void RunManualDagNodesRequest::setIncludeNodeIds(const std::string& includeNodeIds) -{ - includeNodeIds_ = includeNodeIds; - setBodyParameter("IncludeNodeIds", includeNodeIds); +std::string RunManualDagNodesRequest::getIncludeNodeIds() const { + return includeNodeIds_; } -std::string RunManualDagNodesRequest::getBizDate()const -{ - return bizDate_; +void RunManualDagNodesRequest::setIncludeNodeIds(const std::string &includeNodeIds) { + includeNodeIds_ = includeNodeIds; + setBodyParameter(std::string("IncludeNodeIds"), includeNodeIds); } -void RunManualDagNodesRequest::setBizDate(const std::string& bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", bizDate); +std::string RunManualDagNodesRequest::getBizDate() const { + return bizDate_; } -std::string RunManualDagNodesRequest::getExcludeNodeIds()const -{ - return excludeNodeIds_; +void RunManualDagNodesRequest::setBizDate(const std::string &bizDate) { + bizDate_ = bizDate; + setBodyParameter(std::string("BizDate"), bizDate); } -void RunManualDagNodesRequest::setExcludeNodeIds(const std::string& excludeNodeIds) -{ - excludeNodeIds_ = excludeNodeIds; - setBodyParameter("ExcludeNodeIds", excludeNodeIds); +std::string RunManualDagNodesRequest::getExcludeNodeIds() const { + return excludeNodeIds_; } -std::string RunManualDagNodesRequest::getFlowName()const -{ - return flowName_; +void RunManualDagNodesRequest::setExcludeNodeIds(const std::string &excludeNodeIds) { + excludeNodeIds_ = excludeNodeIds; + setBodyParameter(std::string("ExcludeNodeIds"), excludeNodeIds); } -void RunManualDagNodesRequest::setFlowName(const std::string& flowName) -{ - flowName_ = flowName; - setBodyParameter("FlowName", flowName); +std::string RunManualDagNodesRequest::getFlowName() const { + return flowName_; } -long RunManualDagNodesRequest::getProjectId()const -{ - return projectId_; +void RunManualDagNodesRequest::setFlowName(const std::string &flowName) { + flowName_ = flowName; + setBodyParameter(std::string("FlowName"), flowName); } -void RunManualDagNodesRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long RunManualDagNodesRequest::getProjectId() const { + return projectId_; } -std::string RunManualDagNodesRequest::getNodeParameters()const -{ - return nodeParameters_; +void RunManualDagNodesRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void RunManualDagNodesRequest::setNodeParameters(const std::string& nodeParameters) -{ - nodeParameters_ = nodeParameters; - setBodyParameter("NodeParameters", nodeParameters); +std::string RunManualDagNodesRequest::getNodeParameters() const { + return nodeParameters_; +} + +void RunManualDagNodesRequest::setNodeParameters(const std::string &nodeParameters) { + nodeParameters_ = nodeParameters; + setBodyParameter(std::string("NodeParameters"), nodeParameters); } diff --git a/dataworks-public/src/model/RunSmokeTestRequest.cc b/dataworks-public/src/model/RunSmokeTestRequest.cc index e0142e528..0936046ba 100644 --- a/dataworks-public/src/model/RunSmokeTestRequest.cc +++ b/dataworks-public/src/model/RunSmokeTestRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RunSmokeTestRequest; - -RunSmokeTestRequest::RunSmokeTestRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RunSmokeTest") -{ - setMethod(HttpRequest::Method::Post); -} - -RunSmokeTestRequest::~RunSmokeTestRequest() -{} - -std::string RunSmokeTestRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RunSmokeTestRequest; + +RunSmokeTestRequest::RunSmokeTestRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RunSmokeTest") { + setMethod(HttpRequest::Method::Post); } -void RunSmokeTestRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +RunSmokeTestRequest::~RunSmokeTestRequest() {} + +std::string RunSmokeTestRequest::getProjectEnv() const { + return projectEnv_; } -std::string RunSmokeTestRequest::getBizdate()const -{ - return bizdate_; +void RunSmokeTestRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void RunSmokeTestRequest::setBizdate(const std::string& bizdate) -{ - bizdate_ = bizdate; - setBodyParameter("Bizdate", bizdate); +std::string RunSmokeTestRequest::getBizdate() const { + return bizdate_; } -std::string RunSmokeTestRequest::getName()const -{ - return name_; +void RunSmokeTestRequest::setBizdate(const std::string &bizdate) { + bizdate_ = bizdate; + setBodyParameter(std::string("Bizdate"), bizdate); } -void RunSmokeTestRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +std::string RunSmokeTestRequest::getName() const { + return name_; } -std::string RunSmokeTestRequest::getNodeParams()const -{ - return nodeParams_; +void RunSmokeTestRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void RunSmokeTestRequest::setNodeParams(const std::string& nodeParams) -{ - nodeParams_ = nodeParams; - setBodyParameter("NodeParams", nodeParams); +std::string RunSmokeTestRequest::getNodeParams() const { + return nodeParams_; } -long RunSmokeTestRequest::getNodeId()const -{ - return nodeId_; +void RunSmokeTestRequest::setNodeParams(const std::string &nodeParams) { + nodeParams_ = nodeParams; + setBodyParameter(std::string("NodeParams"), nodeParams); } -void RunSmokeTestRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long RunSmokeTestRequest::getNodeId() const { + return nodeId_; +} + +void RunSmokeTestRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/RunSmokeTestResult.cc b/dataworks-public/src/model/RunSmokeTestResult.cc index b410fcb81..53bafd4f3 100644 --- a/dataworks-public/src/model/RunSmokeTestResult.cc +++ b/dataworks-public/src/model/RunSmokeTestResult.cc @@ -39,16 +39,16 @@ void RunSmokeTestResult::parse(const std::string &payload) 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()); + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/RunTriggerNodeRequest.cc b/dataworks-public/src/model/RunTriggerNodeRequest.cc index a00326e53..a5da3dca7 100644 --- a/dataworks-public/src/model/RunTriggerNodeRequest.cc +++ b/dataworks-public/src/model/RunTriggerNodeRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::RunTriggerNodeRequest; - -RunTriggerNodeRequest::RunTriggerNodeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "RunTriggerNode") -{ - setMethod(HttpRequest::Method::Post); -} - -RunTriggerNodeRequest::~RunTriggerNodeRequest() -{} - -long RunTriggerNodeRequest::getBizDate()const -{ - return bizDate_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::RunTriggerNodeRequest; + +RunTriggerNodeRequest::RunTriggerNodeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "RunTriggerNode") { + setMethod(HttpRequest::Method::Post); } -void RunTriggerNodeRequest::setBizDate(long bizDate) -{ - bizDate_ = bizDate; - setBodyParameter("BizDate", std::to_string(bizDate)); +RunTriggerNodeRequest::~RunTriggerNodeRequest() {} + +long RunTriggerNodeRequest::getBizDate() const { + return bizDate_; } -long RunTriggerNodeRequest::getAppId()const -{ - return appId_; +void RunTriggerNodeRequest::setBizDate(long bizDate) { + bizDate_ = bizDate; + setBodyParameter(std::string("BizDate"), std::to_string(bizDate)); } -void RunTriggerNodeRequest::setAppId(long appId) -{ - appId_ = appId; - setBodyParameter("AppId", std::to_string(appId)); +long RunTriggerNodeRequest::getAppId() const { + return appId_; } -long RunTriggerNodeRequest::getCycleTime()const -{ - return cycleTime_; +void RunTriggerNodeRequest::setAppId(long appId) { + appId_ = appId; + setBodyParameter(std::string("AppId"), std::to_string(appId)); } -void RunTriggerNodeRequest::setCycleTime(long cycleTime) -{ - cycleTime_ = cycleTime; - setBodyParameter("CycleTime", std::to_string(cycleTime)); +long RunTriggerNodeRequest::getCycleTime() const { + return cycleTime_; } -long RunTriggerNodeRequest::getNodeId()const -{ - return nodeId_; +void RunTriggerNodeRequest::setCycleTime(long cycleTime) { + cycleTime_ = cycleTime; + setBodyParameter(std::string("CycleTime"), std::to_string(cycleTime)); } -void RunTriggerNodeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long RunTriggerNodeRequest::getNodeId() const { + return nodeId_; +} + +void RunTriggerNodeRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/ScanSensitiveDataRequest.cc b/dataworks-public/src/model/ScanSensitiveDataRequest.cc index 664b6c5d1..4ca416909 100644 --- a/dataworks-public/src/model/ScanSensitiveDataRequest.cc +++ b/dataworks-public/src/model/ScanSensitiveDataRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::ScanSensitiveDataRequest; - -ScanSensitiveDataRequest::ScanSensitiveDataRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "ScanSensitiveData") -{ - setMethod(HttpRequest::Method::Get); -} - -ScanSensitiveDataRequest::~ScanSensitiveDataRequest() -{} - -std::string ScanSensitiveDataRequest::getData()const -{ - return data_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::ScanSensitiveDataRequest; + +ScanSensitiveDataRequest::ScanSensitiveDataRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "ScanSensitiveData") { + setMethod(HttpRequest::Method::Get); } -void ScanSensitiveDataRequest::setData(const std::string& data) -{ - data_ = data; - setParameter("Data", data); +ScanSensitiveDataRequest::~ScanSensitiveDataRequest() {} + +std::string ScanSensitiveDataRequest::getData() const { + return data_; +} + +void ScanSensitiveDataRequest::setData(const std::string &data) { + data_ = data; + setParameter(std::string("Data"), data); } diff --git a/dataworks-public/src/model/SearchMetaTablesRequest.cc b/dataworks-public/src/model/SearchMetaTablesRequest.cc index 14b63c498..9ac7f5662 100644 --- a/dataworks-public/src/model/SearchMetaTablesRequest.cc +++ b/dataworks-public/src/model/SearchMetaTablesRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SearchMetaTablesRequest; - -SearchMetaTablesRequest::SearchMetaTablesRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SearchMetaTables") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchMetaTablesRequest::~SearchMetaTablesRequest() -{} - -std::string SearchMetaTablesRequest::getDataSourceType()const -{ - return dataSourceType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SearchMetaTablesRequest; + +SearchMetaTablesRequest::SearchMetaTablesRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "SearchMetaTables") { + setMethod(HttpRequest::Method::Post); } -void SearchMetaTablesRequest::setDataSourceType(const std::string& dataSourceType) -{ - dataSourceType_ = dataSourceType; - setParameter("DataSourceType", dataSourceType); +SearchMetaTablesRequest::~SearchMetaTablesRequest() {} + +std::string SearchMetaTablesRequest::getDataSourceType() const { + return dataSourceType_; } -std::string SearchMetaTablesRequest::getClusterId()const -{ - return clusterId_; +void SearchMetaTablesRequest::setDataSourceType(const std::string &dataSourceType) { + dataSourceType_ = dataSourceType; + setParameter(std::string("DataSourceType"), dataSourceType); } -void SearchMetaTablesRequest::setClusterId(const std::string& clusterId) -{ - clusterId_ = clusterId; - setParameter("ClusterId", clusterId); +std::string SearchMetaTablesRequest::getClusterId() const { + return clusterId_; } -int SearchMetaTablesRequest::getPageNumber()const -{ - return pageNumber_; +void SearchMetaTablesRequest::setClusterId(const std::string &clusterId) { + clusterId_ = clusterId; + setParameter(std::string("ClusterId"), clusterId); } -void SearchMetaTablesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int SearchMetaTablesRequest::getPageNumber() const { + return pageNumber_; } -int SearchMetaTablesRequest::getEntityType()const -{ - return entityType_; +void SearchMetaTablesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void SearchMetaTablesRequest::setEntityType(int entityType) -{ - entityType_ = entityType; - setParameter("EntityType", std::to_string(entityType)); +int SearchMetaTablesRequest::getEntityType() const { + return entityType_; } -int SearchMetaTablesRequest::getPageSize()const -{ - return pageSize_; +void SearchMetaTablesRequest::setEntityType(int entityType) { + entityType_ = entityType; + setParameter(std::string("EntityType"), std::to_string(entityType)); } -void SearchMetaTablesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int SearchMetaTablesRequest::getPageSize() const { + return pageSize_; } -std::string SearchMetaTablesRequest::getAppGuid()const -{ - return appGuid_; +void SearchMetaTablesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void SearchMetaTablesRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); +std::string SearchMetaTablesRequest::getAppGuid() const { + return appGuid_; } -std::string SearchMetaTablesRequest::getKeyword()const -{ - return keyword_; +void SearchMetaTablesRequest::setAppGuid(const std::string &appGuid) { + appGuid_ = appGuid; + setParameter(std::string("AppGuid"), appGuid); } -void SearchMetaTablesRequest::setKeyword(const std::string& keyword) -{ - keyword_ = keyword; - setParameter("Keyword", keyword); +std::string SearchMetaTablesRequest::getKeyword() const { + return keyword_; +} + +void SearchMetaTablesRequest::setKeyword(const std::string &keyword) { + keyword_ = keyword; + setParameter(std::string("Keyword"), keyword); } diff --git a/dataworks-public/src/model/SearchNodesByOutputRequest.cc b/dataworks-public/src/model/SearchNodesByOutputRequest.cc index e830a27a3..cd640d315 100644 --- a/dataworks-public/src/model/SearchNodesByOutputRequest.cc +++ b/dataworks-public/src/model/SearchNodesByOutputRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SearchNodesByOutputRequest; - -SearchNodesByOutputRequest::SearchNodesByOutputRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SearchNodesByOutput") -{ - setMethod(HttpRequest::Method::Post); -} - -SearchNodesByOutputRequest::~SearchNodesByOutputRequest() -{} - -std::string SearchNodesByOutputRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SearchNodesByOutputRequest; + +SearchNodesByOutputRequest::SearchNodesByOutputRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "SearchNodesByOutput") { + setMethod(HttpRequest::Method::Post); } -void SearchNodesByOutputRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +SearchNodesByOutputRequest::~SearchNodesByOutputRequest() {} + +std::string SearchNodesByOutputRequest::getProjectEnv() const { + return projectEnv_; } -std::string SearchNodesByOutputRequest::getOutputs()const -{ - return outputs_; +void SearchNodesByOutputRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void SearchNodesByOutputRequest::setOutputs(const std::string& outputs) -{ - outputs_ = outputs; - setBodyParameter("Outputs", outputs); +std::string SearchNodesByOutputRequest::getOutputs() const { + return outputs_; +} + +void SearchNodesByOutputRequest::setOutputs(const std::string &outputs) { + outputs_ = outputs; + setBodyParameter(std::string("Outputs"), outputs); } diff --git a/dataworks-public/src/model/SetDataSourceShareRequest.cc b/dataworks-public/src/model/SetDataSourceShareRequest.cc index 885d15814..585849a9c 100644 --- a/dataworks-public/src/model/SetDataSourceShareRequest.cc +++ b/dataworks-public/src/model/SetDataSourceShareRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::SetDataSourceShareRequest; - -SetDataSourceShareRequest::SetDataSourceShareRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "SetDataSourceShare") -{ - setMethod(HttpRequest::Method::Post); -} - -SetDataSourceShareRequest::~SetDataSourceShareRequest() -{} - -std::string SetDataSourceShareRequest::getProjectPermissions()const -{ - return projectPermissions_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SetDataSourceShareRequest; + +SetDataSourceShareRequest::SetDataSourceShareRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "SetDataSourceShare") { + setMethod(HttpRequest::Method::Post); } -void SetDataSourceShareRequest::setProjectPermissions(const std::string& projectPermissions) -{ - projectPermissions_ = projectPermissions; - setParameter("ProjectPermissions", projectPermissions); +SetDataSourceShareRequest::~SetDataSourceShareRequest() {} + +std::string SetDataSourceShareRequest::getProjectPermissions() const { + return projectPermissions_; } -std::string SetDataSourceShareRequest::getDatasourceName()const -{ - return datasourceName_; +void SetDataSourceShareRequest::setProjectPermissions(const std::string &projectPermissions) { + projectPermissions_ = projectPermissions; + setParameter(std::string("ProjectPermissions"), projectPermissions); } -void SetDataSourceShareRequest::setDatasourceName(const std::string& datasourceName) -{ - datasourceName_ = datasourceName; - setParameter("DatasourceName", datasourceName); +std::string SetDataSourceShareRequest::getDatasourceName() const { + return datasourceName_; } -std::string SetDataSourceShareRequest::getUserPermissions()const -{ - return userPermissions_; +void SetDataSourceShareRequest::setDatasourceName(const std::string &datasourceName) { + datasourceName_ = datasourceName; + setParameter(std::string("DatasourceName"), datasourceName); } -void SetDataSourceShareRequest::setUserPermissions(const std::string& userPermissions) -{ - userPermissions_ = userPermissions; - setParameter("UserPermissions", userPermissions); +std::string SetDataSourceShareRequest::getUserPermissions() const { + return userPermissions_; } -std::string SetDataSourceShareRequest::getEnvType()const -{ - return envType_; +void SetDataSourceShareRequest::setUserPermissions(const std::string &userPermissions) { + userPermissions_ = userPermissions; + setParameter(std::string("UserPermissions"), userPermissions); } -void SetDataSourceShareRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setParameter("EnvType", envType); +std::string SetDataSourceShareRequest::getEnvType() const { + return envType_; } -long SetDataSourceShareRequest::getProjectId()const -{ - return projectId_; +void SetDataSourceShareRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); } -void SetDataSourceShareRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long SetDataSourceShareRequest::getProjectId() const { + return projectId_; +} + +void SetDataSourceShareRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/SetSuccessInstanceRequest.cc b/dataworks-public/src/model/SetSuccessInstanceRequest.cc index 891e4c40a..b4f7fe905 100644 --- a/dataworks-public/src/model/SetSuccessInstanceRequest.cc +++ b/dataworks-public/src/model/SetSuccessInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SetSuccessInstanceRequest; + +SetSuccessInstanceRequest::SetSuccessInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "SetSuccessInstance") { + setMethod(HttpRequest::Method::Post); } -void SetSuccessInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +SetSuccessInstanceRequest::~SetSuccessInstanceRequest() {} + +std::string SetSuccessInstanceRequest::getProjectEnv() const { + return projectEnv_; } -long SetSuccessInstanceRequest::getInstanceId()const -{ - return instanceId_; +void SetSuccessInstanceRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void SetSuccessInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long SetSuccessInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void SetSuccessInstanceRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/SetSuccessInstanceResult.cc b/dataworks-public/src/model/SetSuccessInstanceResult.cc index 6d272cd9e..e2d53ebf6 100644 --- a/dataworks-public/src/model/SetSuccessInstanceResult.cc +++ b/dataworks-public/src/model/SetSuccessInstanceResult.cc @@ -39,16 +39,16 @@ void SetSuccessInstanceResult::parse(const std::string &payload) 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"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/StartDISyncInstanceRequest.cc b/dataworks-public/src/model/StartDISyncInstanceRequest.cc index 3cb2b9411..f85c12491 100644 --- a/dataworks-public/src/model/StartDISyncInstanceRequest.cc +++ b/dataworks-public/src/model/StartDISyncInstanceRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::StartDISyncInstanceRequest; - -StartDISyncInstanceRequest::StartDISyncInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "StartDISyncInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -StartDISyncInstanceRequest::~StartDISyncInstanceRequest() -{} - -std::string StartDISyncInstanceRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::StartDISyncInstanceRequest; + +StartDISyncInstanceRequest::StartDISyncInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "StartDISyncInstance") { + setMethod(HttpRequest::Method::Post); } -void StartDISyncInstanceRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +StartDISyncInstanceRequest::~StartDISyncInstanceRequest() {} + +std::string StartDISyncInstanceRequest::getTaskType() const { + return taskType_; } -std::string StartDISyncInstanceRequest::getStartParam()const -{ - return startParam_; +void StartDISyncInstanceRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void StartDISyncInstanceRequest::setStartParam(const std::string& startParam) -{ - startParam_ = startParam; - setParameter("StartParam", startParam); +std::string StartDISyncInstanceRequest::getStartParam() const { + return startParam_; } -long StartDISyncInstanceRequest::getProjectId()const -{ - return projectId_; +void StartDISyncInstanceRequest::setStartParam(const std::string &startParam) { + startParam_ = startParam; + setParameter(std::string("StartParam"), startParam); } -void StartDISyncInstanceRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long StartDISyncInstanceRequest::getProjectId() const { + return projectId_; } -long StartDISyncInstanceRequest::getFileId()const -{ - return fileId_; +void StartDISyncInstanceRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void StartDISyncInstanceRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long StartDISyncInstanceRequest::getFileId() const { + return fileId_; +} + +void StartDISyncInstanceRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/StartMigrationRequest.cc b/dataworks-public/src/model/StartMigrationRequest.cc index 481fe38c0..1075d1ab5 100644 --- a/dataworks-public/src/model/StartMigrationRequest.cc +++ b/dataworks-public/src/model/StartMigrationRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::StartMigrationRequest; - -StartMigrationRequest::StartMigrationRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "StartMigration") -{ - setMethod(HttpRequest::Method::Post); -} - -StartMigrationRequest::~StartMigrationRequest() -{} - -long StartMigrationRequest::getMigrationId()const -{ - return migrationId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::StartMigrationRequest; + +StartMigrationRequest::StartMigrationRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "StartMigration") { + setMethod(HttpRequest::Method::Post); } -void StartMigrationRequest::setMigrationId(long migrationId) -{ - migrationId_ = migrationId; - setBodyParameter("MigrationId", std::to_string(migrationId)); +StartMigrationRequest::~StartMigrationRequest() {} + +long StartMigrationRequest::getMigrationId() const { + return migrationId_; } -long StartMigrationRequest::getProjectId()const -{ - return projectId_; +void StartMigrationRequest::setMigrationId(long migrationId) { + migrationId_ = migrationId; + setBodyParameter(std::string("MigrationId"), std::to_string(migrationId)); } -void StartMigrationRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long StartMigrationRequest::getProjectId() const { + return projectId_; +} + +void StartMigrationRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/StopDISyncInstanceRequest.cc b/dataworks-public/src/model/StopDISyncInstanceRequest.cc index cb24fc245..a2a0c1bec 100644 --- a/dataworks-public/src/model/StopDISyncInstanceRequest.cc +++ b/dataworks-public/src/model/StopDISyncInstanceRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::StopDISyncInstanceRequest; - -StopDISyncInstanceRequest::StopDISyncInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "StopDISyncInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -StopDISyncInstanceRequest::~StopDISyncInstanceRequest() -{} - -std::string StopDISyncInstanceRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::StopDISyncInstanceRequest; + +StopDISyncInstanceRequest::StopDISyncInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "StopDISyncInstance") { + setMethod(HttpRequest::Method::Post); } -void StopDISyncInstanceRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +StopDISyncInstanceRequest::~StopDISyncInstanceRequest() {} + +std::string StopDISyncInstanceRequest::getTaskType() const { + return taskType_; } -long StopDISyncInstanceRequest::getProjectId()const -{ - return projectId_; +void StopDISyncInstanceRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void StopDISyncInstanceRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long StopDISyncInstanceRequest::getProjectId() const { + return projectId_; } -long StopDISyncInstanceRequest::getFileId()const -{ - return fileId_; +void StopDISyncInstanceRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void StopDISyncInstanceRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long StopDISyncInstanceRequest::getFileId() const { + return fileId_; +} + +void StopDISyncInstanceRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/StopInstanceRequest.cc b/dataworks-public/src/model/StopInstanceRequest.cc index 1c9d99312..2b0ffbb5b 100644 --- a/dataworks-public/src/model/StopInstanceRequest.cc +++ b/dataworks-public/src/model/StopInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::StopInstanceRequest; + +StopInstanceRequest::StopInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "StopInstance") { + setMethod(HttpRequest::Method::Post); } -void StopInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +StopInstanceRequest::~StopInstanceRequest() {} + +std::string StopInstanceRequest::getProjectEnv() const { + return projectEnv_; } -long StopInstanceRequest::getInstanceId()const -{ - return instanceId_; +void StopInstanceRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void StopInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long StopInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void StopInstanceRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/StopInstanceResult.cc b/dataworks-public/src/model/StopInstanceResult.cc index 8681ede28..c9db03039 100644 --- a/dataworks-public/src/model/StopInstanceResult.cc +++ b/dataworks-public/src/model/StopInstanceResult.cc @@ -39,16 +39,16 @@ void StopInstanceResult::parse(const std::string &payload) 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"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/SubmitFileRequest.cc b/dataworks-public/src/model/SubmitFileRequest.cc index 05f7520ad..6cc6f34b2 100644 --- a/dataworks-public/src/model/SubmitFileRequest.cc +++ b/dataworks-public/src/model/SubmitFileRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SubmitFileRequest; + +SubmitFileRequest::SubmitFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "SubmitFile") { + setMethod(HttpRequest::Method::Post); } -void SubmitFileRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); +SubmitFileRequest::~SubmitFileRequest() {} + +std::string SubmitFileRequest::getComment() const { + return comment_; } -long SubmitFileRequest::getProjectId()const -{ - return projectId_; +void SubmitFileRequest::setComment(const std::string &comment) { + comment_ = comment; + setBodyParameter(std::string("Comment"), comment); } -void SubmitFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long SubmitFileRequest::getProjectId() const { + return projectId_; } -std::string SubmitFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void SubmitFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void SubmitFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string SubmitFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -long SubmitFileRequest::getFileId()const -{ - return fileId_; +void SubmitFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void SubmitFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long SubmitFileRequest::getFileId() const { + return fileId_; +} + +void SubmitFileRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/SuspendInstanceRequest.cc b/dataworks-public/src/model/SuspendInstanceRequest.cc index 10561e45d..9b01a7099 100644 --- a/dataworks-public/src/model/SuspendInstanceRequest.cc +++ b/dataworks-public/src/model/SuspendInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::SuspendInstanceRequest; + +SuspendInstanceRequest::SuspendInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "SuspendInstance") { + setMethod(HttpRequest::Method::Post); } -void SuspendInstanceRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +SuspendInstanceRequest::~SuspendInstanceRequest() {} + +std::string SuspendInstanceRequest::getProjectEnv() const { + return projectEnv_; } -long SuspendInstanceRequest::getInstanceId()const -{ - return instanceId_; +void SuspendInstanceRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void SuspendInstanceRequest::setInstanceId(long instanceId) -{ - instanceId_ = instanceId; - setBodyParameter("InstanceId", std::to_string(instanceId)); +long SuspendInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void SuspendInstanceRequest::setInstanceId(long instanceId) { + instanceId_ = instanceId; + setBodyParameter(std::string("InstanceId"), std::to_string(instanceId)); } diff --git a/dataworks-public/src/model/SuspendInstanceResult.cc b/dataworks-public/src/model/SuspendInstanceResult.cc index d506c8382..7bfd7d9bb 100644 --- a/dataworks-public/src/model/SuspendInstanceResult.cc +++ b/dataworks-public/src/model/SuspendInstanceResult.cc @@ -39,16 +39,16 @@ void SuspendInstanceResult::parse(const std::string &payload) 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"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/TerminateDISyncInstanceRequest.cc b/dataworks-public/src/model/TerminateDISyncInstanceRequest.cc index 72ab0129c..72e323fa9 100644 --- a/dataworks-public/src/model/TerminateDISyncInstanceRequest.cc +++ b/dataworks-public/src/model/TerminateDISyncInstanceRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::TerminateDISyncInstanceRequest; - -TerminateDISyncInstanceRequest::TerminateDISyncInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "TerminateDISyncInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -TerminateDISyncInstanceRequest::~TerminateDISyncInstanceRequest() -{} - -std::string TerminateDISyncInstanceRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::TerminateDISyncInstanceRequest; + +TerminateDISyncInstanceRequest::TerminateDISyncInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "TerminateDISyncInstance") { + setMethod(HttpRequest::Method::Post); } -void TerminateDISyncInstanceRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +TerminateDISyncInstanceRequest::~TerminateDISyncInstanceRequest() {} + +std::string TerminateDISyncInstanceRequest::getTaskType() const { + return taskType_; } -long TerminateDISyncInstanceRequest::getProjectId()const -{ - return projectId_; +void TerminateDISyncInstanceRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void TerminateDISyncInstanceRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long TerminateDISyncInstanceRequest::getProjectId() const { + return projectId_; } -long TerminateDISyncInstanceRequest::getFileId()const -{ - return fileId_; +void TerminateDISyncInstanceRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void TerminateDISyncInstanceRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long TerminateDISyncInstanceRequest::getFileId() const { + return fileId_; +} + +void TerminateDISyncInstanceRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/TestDataServiceApiRequest.cc b/dataworks-public/src/model/TestDataServiceApiRequest.cc new file mode 100644 index 000000000..4f0f1724c --- /dev/null +++ b/dataworks-public/src/model/TestDataServiceApiRequest.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::TestDataServiceApiRequest; + +TestDataServiceApiRequest::TestDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "TestDataServiceApi") { + setMethod(HttpRequest::Method::Post); +} + +TestDataServiceApiRequest::~TestDataServiceApiRequest() {} + +std::vector TestDataServiceApiRequest::getPathParams() const { + return pathParams_; +} + +void TestDataServiceApiRequest::setPathParams(const std::vector &pathParams) { + pathParams_ = pathParams; + for(int dep1 = 0; dep1 != pathParams.size(); dep1++) { + auto pathParamsObj = pathParams.at(dep1); + std::string pathParamsObjStr = std::string("PathParams") + "." + std::to_string(dep1 + 1); + setBodyParameter(pathParamsObjStr + ".ParamKey", pathParamsObj.paramKey); + setBodyParameter(pathParamsObjStr + ".ParamValue", pathParamsObj.paramValue); + } +} + +std::string TestDataServiceApiRequest::getBodyContent() const { + return bodyContent_; +} + +void TestDataServiceApiRequest::setBodyContent(const std::string &bodyContent) { + bodyContent_ = bodyContent; + setBodyParameter(std::string("BodyContent"), bodyContent); +} + +std::vector TestDataServiceApiRequest::getBodyParams() const { + return bodyParams_; +} + +void TestDataServiceApiRequest::setBodyParams(const std::vector &bodyParams) { + bodyParams_ = bodyParams; + for(int dep1 = 0; dep1 != bodyParams.size(); dep1++) { + auto bodyParamsObj = bodyParams.at(dep1); + std::string bodyParamsObjStr = std::string("BodyParams") + "." + std::to_string(dep1 + 1); + setBodyParameter(bodyParamsObjStr + ".ParamKey", bodyParamsObj.paramKey); + setBodyParameter(bodyParamsObjStr + ".ParamValue", bodyParamsObj.paramValue); + } +} + +std::vector TestDataServiceApiRequest::getQueryParam() const { + return queryParam_; +} + +void TestDataServiceApiRequest::setQueryParam(const std::vector &queryParam) { + queryParam_ = queryParam; + for(int dep1 = 0; dep1 != queryParam.size(); dep1++) { + auto queryParamObj = queryParam.at(dep1); + std::string queryParamObjStr = std::string("QueryParam") + "." + std::to_string(dep1 + 1); + setBodyParameter(queryParamObjStr + ".ParamKey", queryParamObj.paramKey); + setBodyParameter(queryParamObjStr + ".ParamValue", queryParamObj.paramValue); + } +} + +std::vector TestDataServiceApiRequest::getHeadParams() const { + return headParams_; +} + +void TestDataServiceApiRequest::setHeadParams(const std::vector &headParams) { + headParams_ = headParams; + for(int dep1 = 0; dep1 != headParams.size(); dep1++) { + auto headParamsObj = headParams.at(dep1); + std::string headParamsObjStr = std::string("HeadParams") + "." + std::to_string(dep1 + 1); + setBodyParameter(headParamsObjStr + ".ParamKey", headParamsObj.paramKey); + setBodyParameter(headParamsObjStr + ".ParamValue", headParamsObj.paramValue); + } +} + +long TestDataServiceApiRequest::getApiId() const { + return apiId_; +} + +void TestDataServiceApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setParameter(std::string("ApiId"), std::to_string(apiId)); +} + diff --git a/dataworks-public/src/model/TestDataServiceApiResult.cc b/dataworks-public/src/model/TestDataServiceApiResult.cc new file mode 100644 index 000000000..19ec756f7 --- /dev/null +++ b/dataworks-public/src/model/TestDataServiceApiResult.cc @@ -0,0 +1,52 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dataworks_public; +using namespace AlibabaCloud::Dataworks_public::Model; + +TestDataServiceApiResult::TestDataServiceApiResult() : + ServiceResult() +{} + +TestDataServiceApiResult::TestDataServiceApiResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +TestDataServiceApiResult::~TestDataServiceApiResult() +{} + +void TestDataServiceApiResult::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["TestId"].isNull()) + data_.testId = dataNode["TestId"].asString(); + +} + +TestDataServiceApiResult::Data TestDataServiceApiResult::getData()const +{ + return data_; +} + diff --git a/dataworks-public/src/model/TestNetworkConnectionRequest.cc b/dataworks-public/src/model/TestNetworkConnectionRequest.cc index fc6fc47bf..3b1ddcd43 100644 --- a/dataworks-public/src/model/TestNetworkConnectionRequest.cc +++ b/dataworks-public/src/model/TestNetworkConnectionRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::TestNetworkConnectionRequest; - -TestNetworkConnectionRequest::TestNetworkConnectionRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "TestNetworkConnection") -{ - setMethod(HttpRequest::Method::Post); -} - -TestNetworkConnectionRequest::~TestNetworkConnectionRequest() -{} - -std::string TestNetworkConnectionRequest::getResourceGroup()const -{ - return resourceGroup_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::TestNetworkConnectionRequest; + +TestNetworkConnectionRequest::TestNetworkConnectionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "TestNetworkConnection") { + setMethod(HttpRequest::Method::Post); } -void TestNetworkConnectionRequest::setResourceGroup(const std::string& resourceGroup) -{ - resourceGroup_ = resourceGroup; - setParameter("ResourceGroup", resourceGroup); +TestNetworkConnectionRequest::~TestNetworkConnectionRequest() {} + +std::string TestNetworkConnectionRequest::getResourceGroup() const { + return resourceGroup_; } -std::string TestNetworkConnectionRequest::getEnvType()const -{ - return envType_; +void TestNetworkConnectionRequest::setResourceGroup(const std::string &resourceGroup) { + resourceGroup_ = resourceGroup; + setParameter(std::string("ResourceGroup"), resourceGroup); } -void TestNetworkConnectionRequest::setEnvType(const std::string& envType) -{ - envType_ = envType; - setParameter("EnvType", envType); +std::string TestNetworkConnectionRequest::getEnvType() const { + return envType_; } -std::string TestNetworkConnectionRequest::getDatasourceName()const -{ - return datasourceName_; +void TestNetworkConnectionRequest::setEnvType(const std::string &envType) { + envType_ = envType; + setParameter(std::string("EnvType"), envType); } -void TestNetworkConnectionRequest::setDatasourceName(const std::string& datasourceName) -{ - datasourceName_ = datasourceName; - setParameter("DatasourceName", datasourceName); +std::string TestNetworkConnectionRequest::getDatasourceName() const { + return datasourceName_; } -long TestNetworkConnectionRequest::getProjectId()const -{ - return projectId_; +void TestNetworkConnectionRequest::setDatasourceName(const std::string &datasourceName) { + datasourceName_ = datasourceName; + setParameter(std::string("DatasourceName"), datasourceName); } -void TestNetworkConnectionRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long TestNetworkConnectionRequest::getProjectId() const { + return projectId_; +} + +void TestNetworkConnectionRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc b/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc index 9a7e46f2e..46718e2fb 100644 --- a/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc +++ b/dataworks-public/src/model/TopTenElapsedTimeInstanceRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::TopTenElapsedTimeInstanceRequest; - -TopTenElapsedTimeInstanceRequest::TopTenElapsedTimeInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "TopTenElapsedTimeInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -TopTenElapsedTimeInstanceRequest::~TopTenElapsedTimeInstanceRequest() -{} - -long TopTenElapsedTimeInstanceRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::TopTenElapsedTimeInstanceRequest; + +TopTenElapsedTimeInstanceRequest::TopTenElapsedTimeInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "TopTenElapsedTimeInstance") { + setMethod(HttpRequest::Method::Post); } -void TopTenElapsedTimeInstanceRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +TopTenElapsedTimeInstanceRequest::~TopTenElapsedTimeInstanceRequest() {} + +long TopTenElapsedTimeInstanceRequest::getProjectId() const { + return projectId_; +} + +void TopTenElapsedTimeInstanceRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc b/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc index 94f35759e..d370d3a0a 100644 --- a/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc +++ b/dataworks-public/src/model/TopTenErrorTimesInstanceRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::TopTenErrorTimesInstanceRequest; - -TopTenErrorTimesInstanceRequest::TopTenErrorTimesInstanceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "TopTenErrorTimesInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -TopTenErrorTimesInstanceRequest::~TopTenErrorTimesInstanceRequest() -{} - -long TopTenErrorTimesInstanceRequest::getProjectId()const -{ - return projectId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::TopTenErrorTimesInstanceRequest; + +TopTenErrorTimesInstanceRequest::TopTenErrorTimesInstanceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "TopTenErrorTimesInstance") { + setMethod(HttpRequest::Method::Post); } -void TopTenErrorTimesInstanceRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +TopTenErrorTimesInstanceRequest::~TopTenErrorTimesInstanceRequest() {} + +long TopTenErrorTimesInstanceRequest::getProjectId() const { + return projectId_; +} + +void TopTenErrorTimesInstanceRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/UpdateBusinessRequest.cc b/dataworks-public/src/model/UpdateBusinessRequest.cc index 347ff0dfb..ae07adb99 100644 --- a/dataworks-public/src/model/UpdateBusinessRequest.cc +++ b/dataworks-public/src/model/UpdateBusinessRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateBusinessRequest; + +UpdateBusinessRequest::UpdateBusinessRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateBusiness") { + setMethod(HttpRequest::Method::Post); } -void UpdateBusinessRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +UpdateBusinessRequest::~UpdateBusinessRequest() {} + +std::string UpdateBusinessRequest::getOwner() const { + return owner_; } -long UpdateBusinessRequest::getBusinessId()const -{ - return businessId_; +void UpdateBusinessRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void UpdateBusinessRequest::setBusinessId(long businessId) -{ - businessId_ = businessId; - setBodyParameter("BusinessId", std::to_string(businessId)); +long UpdateBusinessRequest::getBusinessId() const { + return businessId_; } -std::string UpdateBusinessRequest::getBusinessName()const -{ - return businessName_; +void UpdateBusinessRequest::setBusinessId(long businessId) { + businessId_ = businessId; + setBodyParameter(std::string("BusinessId"), std::to_string(businessId)); } -void UpdateBusinessRequest::setBusinessName(const std::string& businessName) -{ - businessName_ = businessName; - setBodyParameter("BusinessName", businessName); +std::string UpdateBusinessRequest::getBusinessName() const { + return businessName_; } -std::string UpdateBusinessRequest::getDescription()const -{ - return description_; +void UpdateBusinessRequest::setBusinessName(const std::string &businessName) { + businessName_ = businessName; + setBodyParameter(std::string("BusinessName"), businessName); } -void UpdateBusinessRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); +std::string UpdateBusinessRequest::getDescription() const { + return description_; } -long UpdateBusinessRequest::getProjectId()const -{ - return projectId_; +void UpdateBusinessRequest::setDescription(const std::string &description) { + description_ = description; + setBodyParameter(std::string("Description"), description); } -void UpdateBusinessRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long UpdateBusinessRequest::getProjectId() const { + return projectId_; } -std::string UpdateBusinessRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void UpdateBusinessRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateBusinessRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string UpdateBusinessRequest::getProjectIdentifier() const { + return projectIdentifier_; +} + +void UpdateBusinessRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } diff --git a/dataworks-public/src/model/UpdateConnectionRequest.cc b/dataworks-public/src/model/UpdateConnectionRequest.cc index 880cd84fc..f4a59b4ff 100644 --- a/dataworks-public/src/model/UpdateConnectionRequest.cc +++ b/dataworks-public/src/model/UpdateConnectionRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateConnectionRequest; + +UpdateConnectionRequest::UpdateConnectionRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateConnection") { + setMethod(HttpRequest::Method::Put); } -void UpdateConnectionRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +UpdateConnectionRequest::~UpdateConnectionRequest() {} + +int UpdateConnectionRequest::getEnvType() const { + return envType_; } -std::string UpdateConnectionRequest::getDescription()const -{ - return description_; +void UpdateConnectionRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void UpdateConnectionRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateConnectionRequest::getDescription() const { + return description_; } -long UpdateConnectionRequest::getConnectionId()const -{ - return connectionId_; +void UpdateConnectionRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateConnectionRequest::setConnectionId(long connectionId) -{ - connectionId_ = connectionId; - setParameter("ConnectionId", std::to_string(connectionId)); +long UpdateConnectionRequest::getConnectionId() const { + return connectionId_; } -std::string UpdateConnectionRequest::getContent()const -{ - return content_; +void UpdateConnectionRequest::setConnectionId(long connectionId) { + connectionId_ = connectionId; + setParameter(std::string("ConnectionId"), std::to_string(connectionId)); } -void UpdateConnectionRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string UpdateConnectionRequest::getContent() const { + return content_; } -std::string UpdateConnectionRequest::getStatus()const -{ - return status_; +void UpdateConnectionRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void UpdateConnectionRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string UpdateConnectionRequest::getStatus() const { + return status_; +} + +void UpdateConnectionRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/dataworks-public/src/model/UpdateDIProjectConfigRequest.cc b/dataworks-public/src/model/UpdateDIProjectConfigRequest.cc index d4872d88c..d5b93615d 100644 --- a/dataworks-public/src/model/UpdateDIProjectConfigRequest.cc +++ b/dataworks-public/src/model/UpdateDIProjectConfigRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateDIProjectConfigRequest; - -UpdateDIProjectConfigRequest::UpdateDIProjectConfigRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDIProjectConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDIProjectConfigRequest::~UpdateDIProjectConfigRequest() -{} - -std::string UpdateDIProjectConfigRequest::getDestinationType()const -{ - return destinationType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateDIProjectConfigRequest; + +UpdateDIProjectConfigRequest::UpdateDIProjectConfigRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDIProjectConfig") { + setMethod(HttpRequest::Method::Post); } -void UpdateDIProjectConfigRequest::setDestinationType(const std::string& destinationType) -{ - destinationType_ = destinationType; - setParameter("DestinationType", destinationType); +UpdateDIProjectConfigRequest::~UpdateDIProjectConfigRequest() {} + +std::string UpdateDIProjectConfigRequest::getDestinationType() const { + return destinationType_; } -std::string UpdateDIProjectConfigRequest::getSourceType()const -{ - return sourceType_; +void UpdateDIProjectConfigRequest::setDestinationType(const std::string &destinationType) { + destinationType_ = destinationType; + setParameter(std::string("DestinationType"), destinationType); } -void UpdateDIProjectConfigRequest::setSourceType(const std::string& sourceType) -{ - sourceType_ = sourceType; - setParameter("SourceType", sourceType); +std::string UpdateDIProjectConfigRequest::getSourceType() const { + return sourceType_; } -std::string UpdateDIProjectConfigRequest::getProjectConfig()const -{ - return projectConfig_; +void UpdateDIProjectConfigRequest::setSourceType(const std::string &sourceType) { + sourceType_ = sourceType; + setParameter(std::string("SourceType"), sourceType); } -void UpdateDIProjectConfigRequest::setProjectConfig(const std::string& projectConfig) -{ - projectConfig_ = projectConfig; - setParameter("ProjectConfig", projectConfig); +std::string UpdateDIProjectConfigRequest::getProjectConfig() const { + return projectConfig_; } -long UpdateDIProjectConfigRequest::getProjectId()const -{ - return projectId_; +void UpdateDIProjectConfigRequest::setProjectConfig(const std::string &projectConfig) { + projectConfig_ = projectConfig; + setParameter(std::string("ProjectConfig"), projectConfig); } -void UpdateDIProjectConfigRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long UpdateDIProjectConfigRequest::getProjectId() const { + return projectId_; +} + +void UpdateDIProjectConfigRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/UpdateDISyncTaskRequest.cc b/dataworks-public/src/model/UpdateDISyncTaskRequest.cc index 315719d6f..1ce728402 100644 --- a/dataworks-public/src/model/UpdateDISyncTaskRequest.cc +++ b/dataworks-public/src/model/UpdateDISyncTaskRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateDISyncTaskRequest; - -UpdateDISyncTaskRequest::UpdateDISyncTaskRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDISyncTask") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateDISyncTaskRequest::~UpdateDISyncTaskRequest() -{} - -std::string UpdateDISyncTaskRequest::getTaskType()const -{ - return taskType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateDISyncTaskRequest; + +UpdateDISyncTaskRequest::UpdateDISyncTaskRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDISyncTask") { + setMethod(HttpRequest::Method::Post); } -void UpdateDISyncTaskRequest::setTaskType(const std::string& taskType) -{ - taskType_ = taskType; - setParameter("TaskType", taskType); +UpdateDISyncTaskRequest::~UpdateDISyncTaskRequest() {} + +std::string UpdateDISyncTaskRequest::getTaskType() const { + return taskType_; } -std::string UpdateDISyncTaskRequest::getTaskParam()const -{ - return taskParam_; +void UpdateDISyncTaskRequest::setTaskType(const std::string &taskType) { + taskType_ = taskType; + setParameter(std::string("TaskType"), taskType); } -void UpdateDISyncTaskRequest::setTaskParam(const std::string& taskParam) -{ - taskParam_ = taskParam; - setParameter("TaskParam", taskParam); +std::string UpdateDISyncTaskRequest::getTaskParam() const { + return taskParam_; } -std::string UpdateDISyncTaskRequest::getTaskContent()const -{ - return taskContent_; +void UpdateDISyncTaskRequest::setTaskParam(const std::string &taskParam) { + taskParam_ = taskParam; + setParameter(std::string("TaskParam"), taskParam); } -void UpdateDISyncTaskRequest::setTaskContent(const std::string& taskContent) -{ - taskContent_ = taskContent; - setParameter("TaskContent", taskContent); +std::string UpdateDISyncTaskRequest::getTaskContent() const { + return taskContent_; } -long UpdateDISyncTaskRequest::getProjectId()const -{ - return projectId_; +void UpdateDISyncTaskRequest::setTaskContent(const std::string &taskContent) { + taskContent_ = taskContent; + setParameter(std::string("TaskContent"), taskContent); } -void UpdateDISyncTaskRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long UpdateDISyncTaskRequest::getProjectId() const { + return projectId_; } -long UpdateDISyncTaskRequest::getFileId()const -{ - return fileId_; +void UpdateDISyncTaskRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateDISyncTaskRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setParameter("FileId", std::to_string(fileId)); +long UpdateDISyncTaskRequest::getFileId() const { + return fileId_; +} + +void UpdateDISyncTaskRequest::setFileId(long fileId) { + fileId_ = fileId; + setParameter(std::string("FileId"), std::to_string(fileId)); } diff --git a/dataworks-public/src/model/UpdateDataServiceApiRequest.cc b/dataworks-public/src/model/UpdateDataServiceApiRequest.cc index af33434c6..76db0e5d1 100644 --- a/dataworks-public/src/model/UpdateDataServiceApiRequest.cc +++ b/dataworks-public/src/model/UpdateDataServiceApiRequest.cc @@ -1,172 +1,144 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateDataServiceApiRequest; + +UpdateDataServiceApiRequest::UpdateDataServiceApiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDataServiceApi") { + setMethod(HttpRequest::Method::Post); } -void UpdateDataServiceApiRequest::setScriptDetails(const std::string& scriptDetails) -{ - scriptDetails_ = scriptDetails; - setBodyParameter("ScriptDetails", scriptDetails); +UpdateDataServiceApiRequest::~UpdateDataServiceApiRequest() {} + +std::string UpdateDataServiceApiRequest::getScriptDetails() const { + return scriptDetails_; } -int UpdateDataServiceApiRequest::getRequestMethod()const -{ - return requestMethod_; +void UpdateDataServiceApiRequest::setScriptDetails(const std::string &scriptDetails) { + scriptDetails_ = scriptDetails; + setBodyParameter(std::string("ScriptDetails"), scriptDetails); } -void UpdateDataServiceApiRequest::setRequestMethod(int requestMethod) -{ - requestMethod_ = requestMethod; - setBodyParameter("RequestMethod", std::to_string(requestMethod)); +int UpdateDataServiceApiRequest::getRequestMethod() const { + return requestMethod_; } -std::string UpdateDataServiceApiRequest::getApiPath()const -{ - return apiPath_; +void UpdateDataServiceApiRequest::setRequestMethod(int requestMethod) { + requestMethod_ = requestMethod; + setBodyParameter(std::string("RequestMethod"), std::to_string(requestMethod)); } -void UpdateDataServiceApiRequest::setApiPath(const std::string& apiPath) -{ - apiPath_ = apiPath; - setBodyParameter("ApiPath", apiPath); +std::string UpdateDataServiceApiRequest::getApiPath() const { + return apiPath_; } -std::string UpdateDataServiceApiRequest::getWizardDetails()const -{ - return wizardDetails_; +void UpdateDataServiceApiRequest::setApiPath(const std::string &apiPath) { + apiPath_ = apiPath; + setBodyParameter(std::string("ApiPath"), apiPath); } -void UpdateDataServiceApiRequest::setWizardDetails(const std::string& wizardDetails) -{ - wizardDetails_ = wizardDetails; - setBodyParameter("WizardDetails", wizardDetails); +std::string UpdateDataServiceApiRequest::getWizardDetails() const { + return wizardDetails_; } -int UpdateDataServiceApiRequest::getVisibleRange()const -{ - return visibleRange_; +void UpdateDataServiceApiRequest::setWizardDetails(const std::string &wizardDetails) { + wizardDetails_ = wizardDetails; + setBodyParameter(std::string("WizardDetails"), wizardDetails); } -void UpdateDataServiceApiRequest::setVisibleRange(int visibleRange) -{ - visibleRange_ = visibleRange; - setBodyParameter("VisibleRange", std::to_string(visibleRange)); +int UpdateDataServiceApiRequest::getVisibleRange() const { + return visibleRange_; } -std::string UpdateDataServiceApiRequest::getApiDescription()const -{ - return apiDescription_; +void UpdateDataServiceApiRequest::setVisibleRange(int visibleRange) { + visibleRange_ = visibleRange; + setBodyParameter(std::string("VisibleRange"), std::to_string(visibleRange)); } -void UpdateDataServiceApiRequest::setApiDescription(const std::string& apiDescription) -{ - apiDescription_ = apiDescription; - setBodyParameter("ApiDescription", apiDescription); +std::string UpdateDataServiceApiRequest::getApiDescription() const { + return apiDescription_; } -int UpdateDataServiceApiRequest::getTimeout()const -{ - return timeout_; +void UpdateDataServiceApiRequest::setApiDescription(const std::string &apiDescription) { + apiDescription_ = apiDescription; + setBodyParameter(std::string("ApiDescription"), apiDescription); } -void UpdateDataServiceApiRequest::setTimeout(int timeout) -{ - timeout_ = timeout; - setBodyParameter("Timeout", std::to_string(timeout)); +int UpdateDataServiceApiRequest::getTimeout() const { + return timeout_; } -std::string UpdateDataServiceApiRequest::getRegistrationDetails()const -{ - return registrationDetails_; +void UpdateDataServiceApiRequest::setTimeout(int timeout) { + timeout_ = timeout; + setBodyParameter(std::string("Timeout"), std::to_string(timeout)); } -void UpdateDataServiceApiRequest::setRegistrationDetails(const std::string& registrationDetails) -{ - registrationDetails_ = registrationDetails; - setBodyParameter("RegistrationDetails", registrationDetails); +std::string UpdateDataServiceApiRequest::getRegistrationDetails() const { + return registrationDetails_; } -long UpdateDataServiceApiRequest::getTenantId()const -{ - return tenantId_; +void UpdateDataServiceApiRequest::setRegistrationDetails(const std::string ®istrationDetails) { + registrationDetails_ = registrationDetails; + setBodyParameter(std::string("RegistrationDetails"), registrationDetails); } -void UpdateDataServiceApiRequest::setTenantId(long tenantId) -{ - tenantId_ = tenantId; - setBodyParameter("TenantId", std::to_string(tenantId)); +long UpdateDataServiceApiRequest::getTenantId() const { + return tenantId_; } -std::string UpdateDataServiceApiRequest::getProtocols()const -{ - return protocols_; +void UpdateDataServiceApiRequest::setTenantId(long tenantId) { + tenantId_ = tenantId; + setBodyParameter(std::string("TenantId"), std::to_string(tenantId)); } -void UpdateDataServiceApiRequest::setProtocols(const std::string& protocols) -{ - protocols_ = protocols; - setBodyParameter("Protocols", protocols); +std::string UpdateDataServiceApiRequest::getProtocols() const { + return protocols_; } -long UpdateDataServiceApiRequest::getProjectId()const -{ - return projectId_; +void UpdateDataServiceApiRequest::setProtocols(const std::string &protocols) { + protocols_ = protocols; + setBodyParameter(std::string("Protocols"), protocols); } -void UpdateDataServiceApiRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long UpdateDataServiceApiRequest::getProjectId() const { + return projectId_; } -long UpdateDataServiceApiRequest::getApiId()const -{ - return apiId_; +void UpdateDataServiceApiRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateDataServiceApiRequest::setApiId(long apiId) -{ - apiId_ = apiId; - setBodyParameter("ApiId", std::to_string(apiId)); +long UpdateDataServiceApiRequest::getApiId() const { + return apiId_; } -int UpdateDataServiceApiRequest::getResponseContentType()const -{ - return responseContentType_; +void UpdateDataServiceApiRequest::setApiId(long apiId) { + apiId_ = apiId; + setBodyParameter(std::string("ApiId"), std::to_string(apiId)); } -void UpdateDataServiceApiRequest::setResponseContentType(int responseContentType) -{ - responseContentType_ = responseContentType; - setBodyParameter("ResponseContentType", std::to_string(responseContentType)); +int UpdateDataServiceApiRequest::getResponseContentType() const { + return responseContentType_; +} + +void UpdateDataServiceApiRequest::setResponseContentType(int responseContentType) { + responseContentType_ = responseContentType; + setBodyParameter(std::string("ResponseContentType"), std::to_string(responseContentType)); } diff --git a/dataworks-public/src/model/UpdateDataServiceApiResult.cc b/dataworks-public/src/model/UpdateDataServiceApiResult.cc index 6fde2e22a..461c2e470 100644 --- a/dataworks-public/src/model/UpdateDataServiceApiResult.cc +++ b/dataworks-public/src/model/UpdateDataServiceApiResult.cc @@ -39,14 +39,14 @@ void UpdateDataServiceApiResult::parse(const std::string &payload) 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["Data"].isNull()) + data_ = value["Data"].asString() == "true"; + if(!value["ErrorMessage"].isNull()) + errorMessage_ = value["ErrorMessage"].asString(); + if(!value["ErrorCode"].isNull()) + errorCode_ = value["ErrorCode"].asString(); if(!value["Success"].isNull()) success_ = value["Success"].asString() == "true"; diff --git a/dataworks-public/src/model/UpdateDataSourceRequest.cc b/dataworks-public/src/model/UpdateDataSourceRequest.cc index be1e69b7d..e170ae908 100644 --- a/dataworks-public/src/model/UpdateDataSourceRequest.cc +++ b/dataworks-public/src/model/UpdateDataSourceRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateDataSourceRequest; - -UpdateDataSourceRequest::UpdateDataSourceRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDataSource") -{ - setMethod(HttpRequest::Method::Put); -} - -UpdateDataSourceRequest::~UpdateDataSourceRequest() -{} - -int UpdateDataSourceRequest::getEnvType()const -{ - return envType_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateDataSourceRequest; + +UpdateDataSourceRequest::UpdateDataSourceRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateDataSource") { + setMethod(HttpRequest::Method::Put); } -void UpdateDataSourceRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +UpdateDataSourceRequest::~UpdateDataSourceRequest() {} + +int UpdateDataSourceRequest::getEnvType() const { + return envType_; } -long UpdateDataSourceRequest::getDataSourceId()const -{ - return dataSourceId_; +void UpdateDataSourceRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void UpdateDataSourceRequest::setDataSourceId(long dataSourceId) -{ - dataSourceId_ = dataSourceId; - setParameter("DataSourceId", std::to_string(dataSourceId)); +long UpdateDataSourceRequest::getDataSourceId() const { + return dataSourceId_; } -std::string UpdateDataSourceRequest::getDescription()const -{ - return description_; +void UpdateDataSourceRequest::setDataSourceId(long dataSourceId) { + dataSourceId_ = dataSourceId; + setParameter(std::string("DataSourceId"), std::to_string(dataSourceId)); } -void UpdateDataSourceRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateDataSourceRequest::getDescription() const { + return description_; } -std::string UpdateDataSourceRequest::getContent()const -{ - return content_; +void UpdateDataSourceRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateDataSourceRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string UpdateDataSourceRequest::getContent() const { + return content_; } -std::string UpdateDataSourceRequest::getStatus()const -{ - return status_; +void UpdateDataSourceRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void UpdateDataSourceRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string UpdateDataSourceRequest::getStatus() const { + return status_; +} + +void UpdateDataSourceRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } diff --git a/dataworks-public/src/model/UpdateDataSourceResult.cc b/dataworks-public/src/model/UpdateDataSourceResult.cc index dc94dda2d..288c54238 100644 --- a/dataworks-public/src/model/UpdateDataSourceResult.cc +++ b/dataworks-public/src/model/UpdateDataSourceResult.cc @@ -39,12 +39,12 @@ void UpdateDataSourceResult::parse(const std::string &payload) 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"; + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; } diff --git a/dataworks-public/src/model/UpdateFileRequest.cc b/dataworks-public/src/model/UpdateFileRequest.cc index ef0843510..d4289e776 100644 --- a/dataworks-public/src/model/UpdateFileRequest.cc +++ b/dataworks-public/src/model/UpdateFileRequest.cc @@ -1,348 +1,288 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateFileRequest; + +UpdateFileRequest::UpdateFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateFile") { + setMethod(HttpRequest::Method::Post); } -void UpdateFileRequest::setOutputList(const std::string& outputList) -{ - outputList_ = outputList; - setBodyParameter("OutputList", outputList); +UpdateFileRequest::~UpdateFileRequest() {} + +std::string UpdateFileRequest::getOutputList() const { + return outputList_; } -std::string UpdateFileRequest::getDependentNodeIdList()const -{ - return dependentNodeIdList_; +void UpdateFileRequest::setOutputList(const std::string &outputList) { + outputList_ = outputList; + setBodyParameter(std::string("OutputList"), outputList); } -void UpdateFileRequest::setDependentNodeIdList(const std::string& dependentNodeIdList) -{ - dependentNodeIdList_ = dependentNodeIdList; - setBodyParameter("DependentNodeIdList", dependentNodeIdList); +std::string UpdateFileRequest::getDependentNodeIdList() const { + return dependentNodeIdList_; } -std::string UpdateFileRequest::getContent()const -{ - return content_; +void UpdateFileRequest::setDependentNodeIdList(const std::string &dependentNodeIdList) { + dependentNodeIdList_ = dependentNodeIdList; + setBodyParameter(std::string("DependentNodeIdList"), dependentNodeIdList); } -void UpdateFileRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); +std::string UpdateFileRequest::getContent() const { + return content_; } -std::string UpdateFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void UpdateFileRequest::setContent(const std::string &content) { + content_ = content; + setBodyParameter(std::string("Content"), content); } -void UpdateFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string UpdateFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -bool UpdateFileRequest::getStartImmediately()const -{ - return startImmediately_; +void UpdateFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void UpdateFileRequest::setStartImmediately(bool startImmediately) -{ - startImmediately_ = startImmediately; - setBodyParameter("StartImmediately", startImmediately ? "true" : "false"); +bool UpdateFileRequest::getStartImmediately() const { + return startImmediately_; } -long UpdateFileRequest::getProjectId()const -{ - return projectId_; +void UpdateFileRequest::setStartImmediately(bool startImmediately) { + startImmediately_ = startImmediately; + setBodyParameter(std::string("StartImmediately"), startImmediately ? "true" : "false"); } -void UpdateFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long UpdateFileRequest::getProjectId() const { + return projectId_; } -std::string UpdateFileRequest::getAdvancedSettings()const -{ - return advancedSettings_; +void UpdateFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateFileRequest::setAdvancedSettings(const std::string& advancedSettings) -{ - advancedSettings_ = advancedSettings; - setBodyParameter("AdvancedSettings", advancedSettings); +std::string UpdateFileRequest::getAdvancedSettings() const { + return advancedSettings_; } -long UpdateFileRequest::getStartEffectDate()const -{ - return startEffectDate_; +void UpdateFileRequest::setAdvancedSettings(const std::string &advancedSettings) { + advancedSettings_ = advancedSettings; + setBodyParameter(std::string("AdvancedSettings"), advancedSettings); } -void UpdateFileRequest::setStartEffectDate(long startEffectDate) -{ - startEffectDate_ = startEffectDate; - setBodyParameter("StartEffectDate", std::to_string(startEffectDate)); +long UpdateFileRequest::getStartEffectDate() const { + return startEffectDate_; } -std::string UpdateFileRequest::getCycleType()const -{ - return cycleType_; +void UpdateFileRequest::setStartEffectDate(long startEffectDate) { + startEffectDate_ = startEffectDate; + setBodyParameter(std::string("StartEffectDate"), std::to_string(startEffectDate)); } -void UpdateFileRequest::setCycleType(const std::string& cycleType) -{ - cycleType_ = cycleType; - setBodyParameter("CycleType", cycleType); +std::string UpdateFileRequest::getCycleType() const { + return cycleType_; } -long UpdateFileRequest::getFileId()const -{ - return fileId_; +void UpdateFileRequest::setCycleType(const std::string &cycleType) { + cycleType_ = cycleType; + setBodyParameter(std::string("CycleType"), cycleType); } -void UpdateFileRequest::setFileId(long fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", std::to_string(fileId)); +long UpdateFileRequest::getFileId() const { + return fileId_; } -int UpdateFileRequest::getAutoRerunIntervalMillis()const -{ - return autoRerunIntervalMillis_; +void UpdateFileRequest::setFileId(long fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), std::to_string(fileId)); } -void UpdateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) -{ - autoRerunIntervalMillis_ = autoRerunIntervalMillis; - setBodyParameter("AutoRerunIntervalMillis", std::to_string(autoRerunIntervalMillis)); +int UpdateFileRequest::getAutoRerunIntervalMillis() const { + return autoRerunIntervalMillis_; } -std::string UpdateFileRequest::getOwner()const -{ - return owner_; +void UpdateFileRequest::setAutoRerunIntervalMillis(int autoRerunIntervalMillis) { + autoRerunIntervalMillis_ = autoRerunIntervalMillis; + setBodyParameter(std::string("AutoRerunIntervalMillis"), std::to_string(autoRerunIntervalMillis)); } -void UpdateFileRequest::setOwner(const std::string& owner) -{ - owner_ = owner; - setBodyParameter("Owner", owner); +std::string UpdateFileRequest::getOwner() const { + return owner_; } -std::string UpdateFileRequest::getInputList()const -{ - return inputList_; +void UpdateFileRequest::setOwner(const std::string &owner) { + owner_ = owner; + setBodyParameter(std::string("Owner"), owner); } -void UpdateFileRequest::setInputList(const std::string& inputList) -{ - inputList_ = inputList; - setBodyParameter("InputList", inputList); +std::string UpdateFileRequest::getInputList() const { + return inputList_; } -std::string UpdateFileRequest::getRerunMode()const -{ - return rerunMode_; +void UpdateFileRequest::setInputList(const std::string &inputList) { + inputList_ = inputList; + setBodyParameter(std::string("InputList"), inputList); } -void UpdateFileRequest::setRerunMode(const std::string& rerunMode) -{ - rerunMode_ = rerunMode; - setBodyParameter("RerunMode", rerunMode); +std::string UpdateFileRequest::getRerunMode() const { + return rerunMode_; } -std::string UpdateFileRequest::getConnectionName()const -{ - return connectionName_; +void UpdateFileRequest::setRerunMode(const std::string &rerunMode) { + rerunMode_ = rerunMode; + setBodyParameter(std::string("RerunMode"), rerunMode); } -void UpdateFileRequest::setConnectionName(const std::string& connectionName) -{ - connectionName_ = connectionName; - setBodyParameter("ConnectionName", connectionName); +std::string UpdateFileRequest::getConnectionName() const { + return connectionName_; } -std::string UpdateFileRequest::getOutputParameters()const -{ - return outputParameters_; +void UpdateFileRequest::setConnectionName(const std::string &connectionName) { + connectionName_ = connectionName; + setBodyParameter(std::string("ConnectionName"), connectionName); } -void UpdateFileRequest::setOutputParameters(const std::string& outputParameters) -{ - outputParameters_ = outputParameters; - setBodyParameter("OutputParameters", outputParameters); +std::string UpdateFileRequest::getOutputParameters() const { + return outputParameters_; } -std::string UpdateFileRequest::getParaValue()const -{ - return paraValue_; +void UpdateFileRequest::setOutputParameters(const std::string &outputParameters) { + outputParameters_ = outputParameters; + setBodyParameter(std::string("OutputParameters"), outputParameters); } -void UpdateFileRequest::setParaValue(const std::string& paraValue) -{ - paraValue_ = paraValue; - setBodyParameter("ParaValue", paraValue); +std::string UpdateFileRequest::getParaValue() const { + return paraValue_; } -std::string UpdateFileRequest::getResourceGroupIdentifier()const -{ - return resourceGroupIdentifier_; +void UpdateFileRequest::setParaValue(const std::string ¶Value) { + paraValue_ = paraValue; + setBodyParameter(std::string("ParaValue"), paraValue); } -void UpdateFileRequest::setResourceGroupIdentifier(const std::string& resourceGroupIdentifier) -{ - resourceGroupIdentifier_ = resourceGroupIdentifier; - setBodyParameter("ResourceGroupIdentifier", resourceGroupIdentifier); +std::string UpdateFileRequest::getResourceGroupIdentifier() const { + return resourceGroupIdentifier_; } -int UpdateFileRequest::getAutoRerunTimes()const -{ - return autoRerunTimes_; +void UpdateFileRequest::setResourceGroupIdentifier(const std::string &resourceGroupIdentifier) { + resourceGroupIdentifier_ = resourceGroupIdentifier; + setBodyParameter(std::string("ResourceGroupIdentifier"), resourceGroupIdentifier); } -void UpdateFileRequest::setAutoRerunTimes(int autoRerunTimes) -{ - autoRerunTimes_ = autoRerunTimes; - setBodyParameter("AutoRerunTimes", std::to_string(autoRerunTimes)); +int UpdateFileRequest::getAutoRerunTimes() const { + return autoRerunTimes_; } -std::string UpdateFileRequest::getCronExpress()const -{ - return cronExpress_; +void UpdateFileRequest::setAutoRerunTimes(int autoRerunTimes) { + autoRerunTimes_ = autoRerunTimes; + setBodyParameter(std::string("AutoRerunTimes"), std::to_string(autoRerunTimes)); } -void UpdateFileRequest::setCronExpress(const std::string& cronExpress) -{ - cronExpress_ = cronExpress; - setBodyParameter("CronExpress", cronExpress); +std::string UpdateFileRequest::getCronExpress() const { + return cronExpress_; } -long UpdateFileRequest::getEndEffectDate()const -{ - return endEffectDate_; +void UpdateFileRequest::setCronExpress(const std::string &cronExpress) { + cronExpress_ = cronExpress; + setBodyParameter(std::string("CronExpress"), cronExpress); } -void UpdateFileRequest::setEndEffectDate(long endEffectDate) -{ - endEffectDate_ = endEffectDate; - setBodyParameter("EndEffectDate", std::to_string(endEffectDate)); +long UpdateFileRequest::getEndEffectDate() const { + return endEffectDate_; } -std::string UpdateFileRequest::getFileName()const -{ - return fileName_; +void UpdateFileRequest::setEndEffectDate(long endEffectDate) { + endEffectDate_ = endEffectDate; + setBodyParameter(std::string("EndEffectDate"), std::to_string(endEffectDate)); } -void UpdateFileRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setBodyParameter("FileName", fileName); +std::string UpdateFileRequest::getFileName() const { + return fileName_; } -std::string UpdateFileRequest::getInputParameters()const -{ - return inputParameters_; +void UpdateFileRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setBodyParameter(std::string("FileName"), fileName); } -void UpdateFileRequest::setInputParameters(const std::string& inputParameters) -{ - inputParameters_ = inputParameters; - setBodyParameter("InputParameters", inputParameters); +std::string UpdateFileRequest::getInputParameters() const { + return inputParameters_; } -bool UpdateFileRequest::getStop()const -{ - return stop_; +void UpdateFileRequest::setInputParameters(const std::string &inputParameters) { + inputParameters_ = inputParameters; + setBodyParameter(std::string("InputParameters"), inputParameters); } -void UpdateFileRequest::setStop(bool stop) -{ - stop_ = stop; - setBodyParameter("Stop", stop ? "true" : "false"); +bool UpdateFileRequest::getStop() const { + return stop_; } -std::string UpdateFileRequest::getDependentType()const -{ - return dependentType_; +void UpdateFileRequest::setStop(bool stop) { + stop_ = stop; + setBodyParameter(std::string("Stop"), stop ? "true" : "false"); } -void UpdateFileRequest::setDependentType(const std::string& dependentType) -{ - dependentType_ = dependentType; - setBodyParameter("DependentType", dependentType); +std::string UpdateFileRequest::getDependentType() const { + return dependentType_; } -std::string UpdateFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; +void UpdateFileRequest::setDependentType(const std::string &dependentType) { + dependentType_ = dependentType; + setBodyParameter(std::string("DependentType"), dependentType); } -void UpdateFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); +std::string UpdateFileRequest::getFileFolderPath() const { + return fileFolderPath_; } -std::string UpdateFileRequest::getFileDescription()const -{ - return fileDescription_; +void UpdateFileRequest::setFileFolderPath(const std::string &fileFolderPath) { + fileFolderPath_ = fileFolderPath; + setBodyParameter(std::string("FileFolderPath"), fileFolderPath); } -void UpdateFileRequest::setFileDescription(const std::string& fileDescription) -{ - fileDescription_ = fileDescription; - setBodyParameter("FileDescription", fileDescription); +std::string UpdateFileRequest::getFileDescription() const { + return fileDescription_; } -bool UpdateFileRequest::getAutoParsing()const -{ - return autoParsing_; +void UpdateFileRequest::setFileDescription(const std::string &fileDescription) { + fileDescription_ = fileDescription; + setBodyParameter(std::string("FileDescription"), fileDescription); } -void UpdateFileRequest::setAutoParsing(bool autoParsing) -{ - autoParsing_ = autoParsing; - setBodyParameter("AutoParsing", autoParsing ? "true" : "false"); +bool UpdateFileRequest::getAutoParsing() const { + return autoParsing_; } -std::string UpdateFileRequest::getSchedulerType()const -{ - return schedulerType_; +void UpdateFileRequest::setAutoParsing(bool autoParsing) { + autoParsing_ = autoParsing; + setBodyParameter(std::string("AutoParsing"), autoParsing ? "true" : "false"); } -void UpdateFileRequest::setSchedulerType(const std::string& schedulerType) -{ - schedulerType_ = schedulerType; - setBodyParameter("SchedulerType", schedulerType); +std::string UpdateFileRequest::getSchedulerType() const { + return schedulerType_; +} + +void UpdateFileRequest::setSchedulerType(const std::string &schedulerType) { + schedulerType_ = schedulerType; + setBodyParameter(std::string("SchedulerType"), schedulerType); } diff --git a/dataworks-public/src/model/UpdateFolderRequest.cc b/dataworks-public/src/model/UpdateFolderRequest.cc index fd8720be3..6865a3bad 100644 --- a/dataworks-public/src/model/UpdateFolderRequest.cc +++ b/dataworks-public/src/model/UpdateFolderRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateFolderRequest; + +UpdateFolderRequest::UpdateFolderRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateFolder") { + setMethod(HttpRequest::Method::Post); } -void UpdateFolderRequest::setFolderName(const std::string& folderName) -{ - folderName_ = folderName; - setBodyParameter("FolderName", folderName); +UpdateFolderRequest::~UpdateFolderRequest() {} + +std::string UpdateFolderRequest::getFolderName() const { + return folderName_; } -long UpdateFolderRequest::getProjectId()const -{ - return projectId_; +void UpdateFolderRequest::setFolderName(const std::string &folderName) { + folderName_ = folderName; + setBodyParameter(std::string("FolderName"), folderName); } -void UpdateFolderRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long UpdateFolderRequest::getProjectId() const { + return projectId_; } -std::string UpdateFolderRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void UpdateFolderRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateFolderRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string UpdateFolderRequest::getProjectIdentifier() const { + return projectIdentifier_; } -std::string UpdateFolderRequest::getFolderId()const -{ - return folderId_; +void UpdateFolderRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void UpdateFolderRequest::setFolderId(const std::string& folderId) -{ - folderId_ = folderId; - setBodyParameter("FolderId", folderId); +std::string UpdateFolderRequest::getFolderId() const { + return folderId_; +} + +void UpdateFolderRequest::setFolderId(const std::string &folderId) { + folderId_ = folderId; + setBodyParameter(std::string("FolderId"), folderId); } diff --git a/dataworks-public/src/model/UpdateIDEEventResultRequest.cc b/dataworks-public/src/model/UpdateIDEEventResultRequest.cc index 69f83e32c..24de6d00c 100644 --- a/dataworks-public/src/model/UpdateIDEEventResultRequest.cc +++ b/dataworks-public/src/model/UpdateIDEEventResultRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateIDEEventResultRequest; - -UpdateIDEEventResultRequest::UpdateIDEEventResultRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateIDEEventResult") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateIDEEventResultRequest::~UpdateIDEEventResultRequest() -{} - -std::string UpdateIDEEventResultRequest::getCheckResultTip()const -{ - return checkResultTip_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateIDEEventResultRequest; + +UpdateIDEEventResultRequest::UpdateIDEEventResultRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateIDEEventResult") { + setMethod(HttpRequest::Method::Post); } -void UpdateIDEEventResultRequest::setCheckResultTip(const std::string& checkResultTip) -{ - checkResultTip_ = checkResultTip; - setBodyParameter("CheckResultTip", checkResultTip); +UpdateIDEEventResultRequest::~UpdateIDEEventResultRequest() {} + +std::string UpdateIDEEventResultRequest::getCheckResultTip() const { + return checkResultTip_; } -std::string UpdateIDEEventResultRequest::getCheckResult()const -{ - return checkResult_; +void UpdateIDEEventResultRequest::setCheckResultTip(const std::string &checkResultTip) { + checkResultTip_ = checkResultTip; + setBodyParameter(std::string("CheckResultTip"), checkResultTip); } -void UpdateIDEEventResultRequest::setCheckResult(const std::string& checkResult) -{ - checkResult_ = checkResult; - setBodyParameter("CheckResult", checkResult); +std::string UpdateIDEEventResultRequest::getCheckResult() const { + return checkResult_; } -std::string UpdateIDEEventResultRequest::getMessageId()const -{ - return messageId_; +void UpdateIDEEventResultRequest::setCheckResult(const std::string &checkResult) { + checkResult_ = checkResult; + setBodyParameter(std::string("CheckResult"), checkResult); } -void UpdateIDEEventResultRequest::setMessageId(const std::string& messageId) -{ - messageId_ = messageId; - setBodyParameter("MessageId", messageId); +std::string UpdateIDEEventResultRequest::getMessageId() const { + return messageId_; } -std::string UpdateIDEEventResultRequest::getExtensionCode()const -{ - return extensionCode_; +void UpdateIDEEventResultRequest::setMessageId(const std::string &messageId) { + messageId_ = messageId; + setBodyParameter(std::string("MessageId"), messageId); } -void UpdateIDEEventResultRequest::setExtensionCode(const std::string& extensionCode) -{ - extensionCode_ = extensionCode; - setBodyParameter("ExtensionCode", extensionCode); +std::string UpdateIDEEventResultRequest::getExtensionCode() const { + return extensionCode_; +} + +void UpdateIDEEventResultRequest::setExtensionCode(const std::string &extensionCode) { + extensionCode_ = extensionCode; + setBodyParameter(std::string("ExtensionCode"), extensionCode); } diff --git a/dataworks-public/src/model/UpdateMetaCategoryRequest.cc b/dataworks-public/src/model/UpdateMetaCategoryRequest.cc index 46244ed3f..9a834d9a8 100644 --- a/dataworks-public/src/model/UpdateMetaCategoryRequest.cc +++ b/dataworks-public/src/model/UpdateMetaCategoryRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateMetaCategoryRequest; + +UpdateMetaCategoryRequest::UpdateMetaCategoryRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaCategory") { + setMethod(HttpRequest::Method::Post); } -void UpdateMetaCategoryRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); +UpdateMetaCategoryRequest::~UpdateMetaCategoryRequest() {} + +std::string UpdateMetaCategoryRequest::getName() const { + return name_; } -std::string UpdateMetaCategoryRequest::getComment()const -{ - return comment_; +void UpdateMetaCategoryRequest::setName(const std::string &name) { + name_ = name; + setBodyParameter(std::string("Name"), name); } -void UpdateMetaCategoryRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); +std::string UpdateMetaCategoryRequest::getComment() const { + return comment_; } -long UpdateMetaCategoryRequest::getCategoryId()const -{ - return categoryId_; +void UpdateMetaCategoryRequest::setComment(const std::string &comment) { + comment_ = comment; + setBodyParameter(std::string("Comment"), comment); } -void UpdateMetaCategoryRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setBodyParameter("CategoryId", std::to_string(categoryId)); +long UpdateMetaCategoryRequest::getCategoryId() const { + return categoryId_; +} + +void UpdateMetaCategoryRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setBodyParameter(std::string("CategoryId"), std::to_string(categoryId)); } diff --git a/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc b/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc index 76dd592a4..fd26aa86f 100644 --- a/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc +++ b/dataworks-public/src/model/UpdateMetaTableIntroWikiRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateMetaTableIntroWikiRequest; - -UpdateMetaTableIntroWikiRequest::UpdateMetaTableIntroWikiRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaTableIntroWiki") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMetaTableIntroWikiRequest::~UpdateMetaTableIntroWikiRequest() -{} - -std::string UpdateMetaTableIntroWikiRequest::getTableGuid()const -{ - return tableGuid_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateMetaTableIntroWikiRequest; + +UpdateMetaTableIntroWikiRequest::UpdateMetaTableIntroWikiRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaTableIntroWiki") { + setMethod(HttpRequest::Method::Post); } -void UpdateMetaTableIntroWikiRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +UpdateMetaTableIntroWikiRequest::~UpdateMetaTableIntroWikiRequest() {} + +std::string UpdateMetaTableIntroWikiRequest::getTableGuid() const { + return tableGuid_; } -std::string UpdateMetaTableIntroWikiRequest::getContent()const -{ - return content_; +void UpdateMetaTableIntroWikiRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void UpdateMetaTableIntroWikiRequest::setContent(const std::string& content) -{ - content_ = content; - setBodyParameter("Content", content); +std::string UpdateMetaTableIntroWikiRequest::getContent() const { + return content_; +} + +void UpdateMetaTableIntroWikiRequest::setContent(const std::string &content) { + content_ = content; + setBodyParameter(std::string("Content"), content); } diff --git a/dataworks-public/src/model/UpdateMetaTableRequest.cc b/dataworks-public/src/model/UpdateMetaTableRequest.cc index 1407b06a2..15ddde829 100644 --- a/dataworks-public/src/model/UpdateMetaTableRequest.cc +++ b/dataworks-public/src/model/UpdateMetaTableRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateMetaTableRequest; - -UpdateMetaTableRequest::UpdateMetaTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaTable") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateMetaTableRequest::~UpdateMetaTableRequest() -{} - -int UpdateMetaTableRequest::getVisibility()const -{ - return visibility_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateMetaTableRequest; + +UpdateMetaTableRequest::UpdateMetaTableRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateMetaTable") { + setMethod(HttpRequest::Method::Post); } -void UpdateMetaTableRequest::setVisibility(int visibility) -{ - visibility_ = visibility; - setParameter("Visibility", std::to_string(visibility)); +UpdateMetaTableRequest::~UpdateMetaTableRequest() {} + +int UpdateMetaTableRequest::getVisibility() const { + return visibility_; } -std::string UpdateMetaTableRequest::getCaption()const -{ - return caption_; +void UpdateMetaTableRequest::setVisibility(int visibility) { + visibility_ = visibility; + setParameter(std::string("Visibility"), std::to_string(visibility)); } -void UpdateMetaTableRequest::setCaption(const std::string& caption) -{ - caption_ = caption; - setParameter("Caption", caption); +std::string UpdateMetaTableRequest::getCaption() const { + return caption_; } -std::string UpdateMetaTableRequest::getNewOwnerId()const -{ - return newOwnerId_; +void UpdateMetaTableRequest::setCaption(const std::string &caption) { + caption_ = caption; + setParameter(std::string("Caption"), caption); } -void UpdateMetaTableRequest::setNewOwnerId(const std::string& newOwnerId) -{ - newOwnerId_ = newOwnerId; - setParameter("NewOwnerId", newOwnerId); +std::string UpdateMetaTableRequest::getNewOwnerId() const { + return newOwnerId_; } -std::string UpdateMetaTableRequest::getTableGuid()const -{ - return tableGuid_; +void UpdateMetaTableRequest::setNewOwnerId(const std::string &newOwnerId) { + newOwnerId_ = newOwnerId; + setParameter(std::string("NewOwnerId"), newOwnerId); } -void UpdateMetaTableRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string UpdateMetaTableRequest::getTableGuid() const { + return tableGuid_; } -std::string UpdateMetaTableRequest::getAddedLabels()const -{ - return addedLabels_; +void UpdateMetaTableRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void UpdateMetaTableRequest::setAddedLabels(const std::string& addedLabels) -{ - addedLabels_ = addedLabels; - setBodyParameter("AddedLabels", addedLabels); +std::string UpdateMetaTableRequest::getAddedLabels() const { + return addedLabels_; } -std::string UpdateMetaTableRequest::getRemovedLabels()const -{ - return removedLabels_; +void UpdateMetaTableRequest::setAddedLabels(const std::string &addedLabels) { + addedLabels_ = addedLabels; + setBodyParameter(std::string("AddedLabels"), addedLabels); } -void UpdateMetaTableRequest::setRemovedLabels(const std::string& removedLabels) -{ - removedLabels_ = removedLabels; - setBodyParameter("RemovedLabels", removedLabels); +std::string UpdateMetaTableRequest::getRemovedLabels() const { + return removedLabels_; } -int UpdateMetaTableRequest::getEnvType()const -{ - return envType_; +void UpdateMetaTableRequest::setRemovedLabels(const std::string &removedLabels) { + removedLabels_ = removedLabels; + setBodyParameter(std::string("RemovedLabels"), removedLabels); } -void UpdateMetaTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setParameter("EnvType", std::to_string(envType)); +int UpdateMetaTableRequest::getEnvType() const { + return envType_; } -std::string UpdateMetaTableRequest::getTableName()const -{ - return tableName_; +void UpdateMetaTableRequest::setEnvType(int envType) { + envType_ = envType; + setParameter(std::string("EnvType"), std::to_string(envType)); } -void UpdateMetaTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string UpdateMetaTableRequest::getTableName() const { + return tableName_; } -long UpdateMetaTableRequest::getProjectId()const -{ - return projectId_; +void UpdateMetaTableRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void UpdateMetaTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long UpdateMetaTableRequest::getProjectId() const { + return projectId_; } -long UpdateMetaTableRequest::getCategoryId()const -{ - return categoryId_; +void UpdateMetaTableRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateMetaTableRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +long UpdateMetaTableRequest::getCategoryId() const { + return categoryId_; +} + +void UpdateMetaTableRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } diff --git a/dataworks-public/src/model/UpdateNodeOwnerRequest.cc b/dataworks-public/src/model/UpdateNodeOwnerRequest.cc index 609e772e5..3fe6ba498 100644 --- a/dataworks-public/src/model/UpdateNodeOwnerRequest.cc +++ b/dataworks-public/src/model/UpdateNodeOwnerRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateNodeOwnerRequest; - -UpdateNodeOwnerRequest::UpdateNodeOwnerRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateNodeOwner") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateNodeOwnerRequest::~UpdateNodeOwnerRequest() -{} - -std::string UpdateNodeOwnerRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateNodeOwnerRequest; + +UpdateNodeOwnerRequest::UpdateNodeOwnerRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateNodeOwner") { + setMethod(HttpRequest::Method::Post); } -void UpdateNodeOwnerRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +UpdateNodeOwnerRequest::~UpdateNodeOwnerRequest() {} + +std::string UpdateNodeOwnerRequest::getProjectEnv() const { + return projectEnv_; } -long UpdateNodeOwnerRequest::getNodeId()const -{ - return nodeId_; +void UpdateNodeOwnerRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void UpdateNodeOwnerRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long UpdateNodeOwnerRequest::getNodeId() const { + return nodeId_; } -std::string UpdateNodeOwnerRequest::getUserId()const -{ - return userId_; +void UpdateNodeOwnerRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } -void UpdateNodeOwnerRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setBodyParameter("UserId", userId); +std::string UpdateNodeOwnerRequest::getUserId() const { + return userId_; +} + +void UpdateNodeOwnerRequest::setUserId(const std::string &userId) { + userId_ = userId; + setBodyParameter(std::string("UserId"), userId); } diff --git a/dataworks-public/src/model/UpdateNodeRunModeRequest.cc b/dataworks-public/src/model/UpdateNodeRunModeRequest.cc index 12d0306bd..fa338209f 100644 --- a/dataworks-public/src/model/UpdateNodeRunModeRequest.cc +++ b/dataworks-public/src/model/UpdateNodeRunModeRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateNodeRunModeRequest; - -UpdateNodeRunModeRequest::UpdateNodeRunModeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateNodeRunMode") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateNodeRunModeRequest::~UpdateNodeRunModeRequest() -{} - -std::string UpdateNodeRunModeRequest::getProjectEnv()const -{ - return projectEnv_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateNodeRunModeRequest; + +UpdateNodeRunModeRequest::UpdateNodeRunModeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateNodeRunMode") { + setMethod(HttpRequest::Method::Post); } -void UpdateNodeRunModeRequest::setProjectEnv(const std::string& projectEnv) -{ - projectEnv_ = projectEnv; - setBodyParameter("ProjectEnv", projectEnv); +UpdateNodeRunModeRequest::~UpdateNodeRunModeRequest() {} + +std::string UpdateNodeRunModeRequest::getProjectEnv() const { + return projectEnv_; } -int UpdateNodeRunModeRequest::getSchedulerType()const -{ - return schedulerType_; +void UpdateNodeRunModeRequest::setProjectEnv(const std::string &projectEnv) { + projectEnv_ = projectEnv; + setBodyParameter(std::string("ProjectEnv"), projectEnv); } -void UpdateNodeRunModeRequest::setSchedulerType(int schedulerType) -{ - schedulerType_ = schedulerType; - setBodyParameter("SchedulerType", std::to_string(schedulerType)); +int UpdateNodeRunModeRequest::getSchedulerType() const { + return schedulerType_; } -long UpdateNodeRunModeRequest::getNodeId()const -{ - return nodeId_; +void UpdateNodeRunModeRequest::setSchedulerType(int schedulerType) { + schedulerType_ = schedulerType; + setBodyParameter(std::string("SchedulerType"), std::to_string(schedulerType)); } -void UpdateNodeRunModeRequest::setNodeId(long nodeId) -{ - nodeId_ = nodeId; - setBodyParameter("NodeId", std::to_string(nodeId)); +long UpdateNodeRunModeRequest::getNodeId() const { + return nodeId_; +} + +void UpdateNodeRunModeRequest::setNodeId(long nodeId) { + nodeId_ = nodeId; + setBodyParameter(std::string("NodeId"), std::to_string(nodeId)); } diff --git a/dataworks-public/src/model/UpdateQualityFollowerRequest.cc b/dataworks-public/src/model/UpdateQualityFollowerRequest.cc index 1cb047c29..46e901fb5 100644 --- a/dataworks-public/src/model/UpdateQualityFollowerRequest.cc +++ b/dataworks-public/src/model/UpdateQualityFollowerRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateQualityFollowerRequest; + +UpdateQualityFollowerRequest::UpdateQualityFollowerRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateQualityFollower") { + setMethod(HttpRequest::Method::Post); } -void UpdateQualityFollowerRequest::setAlarmMode(int alarmMode) -{ - alarmMode_ = alarmMode; - setBodyParameter("AlarmMode", std::to_string(alarmMode)); +UpdateQualityFollowerRequest::~UpdateQualityFollowerRequest() {} + +int UpdateQualityFollowerRequest::getAlarmMode() const { + return alarmMode_; } -std::string UpdateQualityFollowerRequest::getProjectName()const -{ - return projectName_; +void UpdateQualityFollowerRequest::setAlarmMode(int alarmMode) { + alarmMode_ = alarmMode; + setBodyParameter(std::string("AlarmMode"), std::to_string(alarmMode)); } -void UpdateQualityFollowerRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string UpdateQualityFollowerRequest::getProjectName() const { + return projectName_; } -std::string UpdateQualityFollowerRequest::getFollower()const -{ - return follower_; +void UpdateQualityFollowerRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void UpdateQualityFollowerRequest::setFollower(const std::string& follower) -{ - follower_ = follower; - setBodyParameter("Follower", follower); +std::string UpdateQualityFollowerRequest::getFollower() const { + return follower_; } -long UpdateQualityFollowerRequest::getFollowerId()const -{ - return followerId_; +void UpdateQualityFollowerRequest::setFollower(const std::string &follower) { + follower_ = follower; + setBodyParameter(std::string("Follower"), follower); } -void UpdateQualityFollowerRequest::setFollowerId(long followerId) -{ - followerId_ = followerId; - setBodyParameter("FollowerId", std::to_string(followerId)); +long UpdateQualityFollowerRequest::getFollowerId() const { + return followerId_; +} + +void UpdateQualityFollowerRequest::setFollowerId(long followerId) { + followerId_ = followerId; + setBodyParameter(std::string("FollowerId"), std::to_string(followerId)); } diff --git a/dataworks-public/src/model/UpdateQualityRuleRequest.cc b/dataworks-public/src/model/UpdateQualityRuleRequest.cc index 545c922fe..1831dc47d 100644 --- a/dataworks-public/src/model/UpdateQualityRuleRequest.cc +++ b/dataworks-public/src/model/UpdateQualityRuleRequest.cc @@ -1,249 +1,207 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateQualityRuleRequest; + +UpdateQualityRuleRequest::UpdateQualityRuleRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateQualityRule") { + setMethod(HttpRequest::Method::Post); } -void UpdateQualityRuleRequest::setTrend(const std::string& trend) -{ - trend_ = trend; - setBodyParameter("Trend", trend); +UpdateQualityRuleRequest::~UpdateQualityRuleRequest() {} + +std::string UpdateQualityRuleRequest::getTrend() const { + return trend_; } -int UpdateQualityRuleRequest::getBlockType()const -{ - return blockType_; +void UpdateQualityRuleRequest::setTrend(const std::string &trend) { + trend_ = trend; + setBodyParameter(std::string("Trend"), trend); } -void UpdateQualityRuleRequest::setBlockType(int blockType) -{ - blockType_ = blockType; - setBodyParameter("BlockType", std::to_string(blockType)); +int UpdateQualityRuleRequest::getBlockType() const { + return blockType_; } -std::string UpdateQualityRuleRequest::getPropertyType()const -{ - return propertyType_; +void UpdateQualityRuleRequest::setBlockType(int blockType) { + blockType_ = blockType; + setBodyParameter(std::string("BlockType"), std::to_string(blockType)); } -void UpdateQualityRuleRequest::setPropertyType(const std::string& propertyType) -{ - propertyType_ = propertyType; - setBodyParameter("PropertyType", propertyType); +std::string UpdateQualityRuleRequest::getPropertyType() const { + return propertyType_; } -long UpdateQualityRuleRequest::getEntityId()const -{ - return entityId_; +void UpdateQualityRuleRequest::setPropertyType(const std::string &propertyType) { + propertyType_ = propertyType; + setBodyParameter(std::string("PropertyType"), propertyType); } -void UpdateQualityRuleRequest::setEntityId(long entityId) -{ - entityId_ = entityId; - setBodyParameter("EntityId", std::to_string(entityId)); +long UpdateQualityRuleRequest::getEntityId() const { + return entityId_; } -std::string UpdateQualityRuleRequest::getRuleName()const -{ - return ruleName_; +void UpdateQualityRuleRequest::setEntityId(long entityId) { + entityId_ = entityId; + setBodyParameter(std::string("EntityId"), std::to_string(entityId)); } -void UpdateQualityRuleRequest::setRuleName(const std::string& ruleName) -{ - ruleName_ = ruleName; - setBodyParameter("RuleName", ruleName); +std::string UpdateQualityRuleRequest::getRuleName() const { + return ruleName_; } -int UpdateQualityRuleRequest::getChecker()const -{ - return checker_; +void UpdateQualityRuleRequest::setRuleName(const std::string &ruleName) { + ruleName_ = ruleName; + setBodyParameter(std::string("RuleName"), ruleName); } -void UpdateQualityRuleRequest::setChecker(int checker) -{ - checker_ = checker; - setBodyParameter("Checker", std::to_string(checker)); +int UpdateQualityRuleRequest::getChecker() const { + return checker_; } -std::string UpdateQualityRuleRequest::get_Operator()const -{ - return _operator_; +void UpdateQualityRuleRequest::setChecker(int checker) { + checker_ = checker; + setBodyParameter(std::string("Checker"), std::to_string(checker)); } -void UpdateQualityRuleRequest::set_Operator(const std::string& _operator) -{ - _operator_ = _operator; - setBodyParameter("_Operator", _operator); +std::string UpdateQualityRuleRequest::get_Operator() const { + return _operator_; } -std::string UpdateQualityRuleRequest::getProperty()const -{ - return property_; +void UpdateQualityRuleRequest::set_Operator(const std::string &_operator) { + _operator_ = _operator; + setBodyParameter(std::string("Operator"), _operator); } -void UpdateQualityRuleRequest::setProperty(const std::string& property) -{ - property_ = property; - setBodyParameter("Property", property); +std::string UpdateQualityRuleRequest::getProperty() const { + return property_; } -long UpdateQualityRuleRequest::getId()const -{ - return id_; +void UpdateQualityRuleRequest::setProperty(const std::string &property) { + property_ = property; + setBodyParameter(std::string("Property"), property); } -void UpdateQualityRuleRequest::setId(long id) -{ - id_ = id; - setBodyParameter("Id", std::to_string(id)); +long UpdateQualityRuleRequest::getId() const { + return id_; } -std::string UpdateQualityRuleRequest::getWarningThreshold()const -{ - return warningThreshold_; +void UpdateQualityRuleRequest::setId(long id) { + id_ = id; + setBodyParameter(std::string("Id"), std::to_string(id)); } -void UpdateQualityRuleRequest::setWarningThreshold(const std::string& warningThreshold) -{ - warningThreshold_ = warningThreshold; - setBodyParameter("WarningThreshold", warningThreshold); +std::string UpdateQualityRuleRequest::getWarningThreshold() const { + return warningThreshold_; } -std::string UpdateQualityRuleRequest::getMethodName()const -{ - return methodName_; +void UpdateQualityRuleRequest::setWarningThreshold(const std::string &warningThreshold) { + warningThreshold_ = warningThreshold; + setBodyParameter(std::string("WarningThreshold"), warningThreshold); } -void UpdateQualityRuleRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setBodyParameter("MethodName", methodName); +std::string UpdateQualityRuleRequest::getMethodName() const { + return methodName_; } -std::string UpdateQualityRuleRequest::getProjectName()const -{ - return projectName_; +void UpdateQualityRuleRequest::setMethodName(const std::string &methodName) { + methodName_ = methodName; + setBodyParameter(std::string("MethodName"), methodName); } -void UpdateQualityRuleRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setBodyParameter("ProjectName", projectName); +std::string UpdateQualityRuleRequest::getProjectName() const { + return projectName_; } -int UpdateQualityRuleRequest::getRuleType()const -{ - return ruleType_; +void UpdateQualityRuleRequest::setProjectName(const std::string &projectName) { + projectName_ = projectName; + setBodyParameter(std::string("ProjectName"), projectName); } -void UpdateQualityRuleRequest::setRuleType(int ruleType) -{ - ruleType_ = ruleType; - setBodyParameter("RuleType", std::to_string(ruleType)); +int UpdateQualityRuleRequest::getRuleType() const { + return ruleType_; } -int UpdateQualityRuleRequest::getTemplateId()const -{ - return templateId_; +void UpdateQualityRuleRequest::setRuleType(int ruleType) { + ruleType_ = ruleType; + setBodyParameter(std::string("RuleType"), std::to_string(ruleType)); } -void UpdateQualityRuleRequest::setTemplateId(int templateId) -{ - templateId_ = templateId; - setBodyParameter("TemplateId", std::to_string(templateId)); +int UpdateQualityRuleRequest::getTemplateId() const { + return templateId_; } -std::string UpdateQualityRuleRequest::getExpectValue()const -{ - return expectValue_; +void UpdateQualityRuleRequest::setTemplateId(int templateId) { + templateId_ = templateId; + setBodyParameter(std::string("TemplateId"), std::to_string(templateId)); } -void UpdateQualityRuleRequest::setExpectValue(const std::string& expectValue) -{ - expectValue_ = expectValue; - setBodyParameter("ExpectValue", expectValue); +std::string UpdateQualityRuleRequest::getExpectValue() const { + return expectValue_; } -std::string UpdateQualityRuleRequest::getWhereCondition()const -{ - return whereCondition_; +void UpdateQualityRuleRequest::setExpectValue(const std::string &expectValue) { + expectValue_ = expectValue; + setBodyParameter(std::string("ExpectValue"), expectValue); } -void UpdateQualityRuleRequest::setWhereCondition(const std::string& whereCondition) -{ - whereCondition_ = whereCondition; - setBodyParameter("WhereCondition", whereCondition); +std::string UpdateQualityRuleRequest::getWhereCondition() const { + return whereCondition_; } -std::string UpdateQualityRuleRequest::getCriticalThreshold()const -{ - return criticalThreshold_; +void UpdateQualityRuleRequest::setWhereCondition(const std::string &whereCondition) { + whereCondition_ = whereCondition; + setBodyParameter(std::string("WhereCondition"), whereCondition); } -void UpdateQualityRuleRequest::setCriticalThreshold(const std::string& criticalThreshold) -{ - criticalThreshold_ = criticalThreshold; - setBodyParameter("CriticalThreshold", criticalThreshold); +std::string UpdateQualityRuleRequest::getCriticalThreshold() const { + return criticalThreshold_; } -bool UpdateQualityRuleRequest::getOpenSwitch()const -{ - return openSwitch_; +void UpdateQualityRuleRequest::setCriticalThreshold(const std::string &criticalThreshold) { + criticalThreshold_ = criticalThreshold; + setBodyParameter(std::string("CriticalThreshold"), criticalThreshold); } -void UpdateQualityRuleRequest::setOpenSwitch(bool openSwitch) -{ - openSwitch_ = openSwitch; - setBodyParameter("OpenSwitch", openSwitch ? "true" : "false"); +bool UpdateQualityRuleRequest::getOpenSwitch() const { + return openSwitch_; } -std::string UpdateQualityRuleRequest::getComment()const -{ - return comment_; +void UpdateQualityRuleRequest::setOpenSwitch(bool openSwitch) { + openSwitch_ = openSwitch; + setBodyParameter(std::string("OpenSwitch"), openSwitch ? "true" : "false"); } -void UpdateQualityRuleRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setBodyParameter("Comment", comment); +std::string UpdateQualityRuleRequest::getComment() const { + return comment_; } -int UpdateQualityRuleRequest::getPredictType()const -{ - return predictType_; +void UpdateQualityRuleRequest::setComment(const std::string &comment) { + comment_ = comment; + setBodyParameter(std::string("Comment"), comment); } -void UpdateQualityRuleRequest::setPredictType(int predictType) -{ - predictType_ = predictType; - setBodyParameter("PredictType", std::to_string(predictType)); +int UpdateQualityRuleRequest::getPredictType() const { + return predictType_; +} + +void UpdateQualityRuleRequest::setPredictType(int predictType) { + predictType_ = predictType; + setBodyParameter(std::string("PredictType"), std::to_string(predictType)); } diff --git a/dataworks-public/src/model/UpdateRemindRequest.cc b/dataworks-public/src/model/UpdateRemindRequest.cc index dd164e3bd..bd4bbff36 100644 --- a/dataworks-public/src/model/UpdateRemindRequest.cc +++ b/dataworks-public/src/model/UpdateRemindRequest.cc @@ -1,216 +1,180 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateRemindRequest; + +UpdateRemindRequest::UpdateRemindRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateRemind") { + setMethod(HttpRequest::Method::Post); } -void UpdateRemindRequest::setDndEnd(const std::string& dndEnd) -{ - dndEnd_ = dndEnd; - setBodyParameter("DndEnd", dndEnd); +UpdateRemindRequest::~UpdateRemindRequest() {} + +std::string UpdateRemindRequest::getDndEnd() const { + return dndEnd_; } -std::string UpdateRemindRequest::getAlertUnit()const -{ - return alertUnit_; +void UpdateRemindRequest::setDndEnd(const std::string &dndEnd) { + dndEnd_ = dndEnd; + setBodyParameter(std::string("DndEnd"), dndEnd); } -void UpdateRemindRequest::setAlertUnit(const std::string& alertUnit) -{ - alertUnit_ = alertUnit; - setBodyParameter("AlertUnit", alertUnit); +std::string UpdateRemindRequest::getAlertUnit() const { + return alertUnit_; } -std::string UpdateRemindRequest::getRemindUnit()const -{ - return remindUnit_; +void UpdateRemindRequest::setAlertUnit(const std::string &alertUnit) { + alertUnit_ = alertUnit; + setBodyParameter(std::string("AlertUnit"), alertUnit); } -void UpdateRemindRequest::setRemindUnit(const std::string& remindUnit) -{ - remindUnit_ = remindUnit; - setBodyParameter("RemindUnit", remindUnit); +std::string UpdateRemindRequest::getRemindUnit() const { + return remindUnit_; } -bool UpdateRemindRequest::getUseFlag()const -{ - return useFlag_; +void UpdateRemindRequest::setRemindUnit(const std::string &remindUnit) { + remindUnit_ = remindUnit; + setBodyParameter(std::string("RemindUnit"), remindUnit); } -void UpdateRemindRequest::setUseFlag(bool useFlag) -{ - useFlag_ = useFlag; - setBodyParameter("UseFlag", useFlag ? "true" : "false"); +bool UpdateRemindRequest::getUseFlag() const { + return useFlag_; } -int UpdateRemindRequest::getAlertInterval()const -{ - return alertInterval_; +void UpdateRemindRequest::setUseFlag(bool useFlag) { + useFlag_ = useFlag; + setBodyParameter(std::string("UseFlag"), useFlag ? "true" : "false"); } -void UpdateRemindRequest::setAlertInterval(int alertInterval) -{ - alertInterval_ = alertInterval; - setBodyParameter("AlertInterval", std::to_string(alertInterval)); +int UpdateRemindRequest::getAlertInterval() const { + return alertInterval_; } -std::string UpdateRemindRequest::getAlertMethods()const -{ - return alertMethods_; +void UpdateRemindRequest::setAlertInterval(int alertInterval) { + alertInterval_ = alertInterval; + setBodyParameter(std::string("AlertInterval"), std::to_string(alertInterval)); } -void UpdateRemindRequest::setAlertMethods(const std::string& alertMethods) -{ - alertMethods_ = alertMethods; - setBodyParameter("AlertMethods", alertMethods); +std::string UpdateRemindRequest::getAlertMethods() const { + return alertMethods_; } -std::string UpdateRemindRequest::getRobotUrls()const -{ - return robotUrls_; +void UpdateRemindRequest::setAlertMethods(const std::string &alertMethods) { + alertMethods_ = alertMethods; + setBodyParameter(std::string("AlertMethods"), alertMethods); } -void UpdateRemindRequest::setRobotUrls(const std::string& robotUrls) -{ - robotUrls_ = robotUrls; - setBodyParameter("RobotUrls", robotUrls); +std::string UpdateRemindRequest::getRobotUrls() const { + return robotUrls_; } -int UpdateRemindRequest::getMaxAlertTimes()const -{ - return maxAlertTimes_; +void UpdateRemindRequest::setRobotUrls(const std::string &robotUrls) { + robotUrls_ = robotUrls; + setBodyParameter(std::string("RobotUrls"), robotUrls); } -void UpdateRemindRequest::setMaxAlertTimes(int maxAlertTimes) -{ - maxAlertTimes_ = maxAlertTimes; - setBodyParameter("MaxAlertTimes", std::to_string(maxAlertTimes)); +int UpdateRemindRequest::getMaxAlertTimes() const { + return maxAlertTimes_; } -std::string UpdateRemindRequest::getBizProcessIds()const -{ - return bizProcessIds_; +void UpdateRemindRequest::setMaxAlertTimes(int maxAlertTimes) { + maxAlertTimes_ = maxAlertTimes; + setBodyParameter(std::string("MaxAlertTimes"), std::to_string(maxAlertTimes)); } -void UpdateRemindRequest::setBizProcessIds(const std::string& bizProcessIds) -{ - bizProcessIds_ = bizProcessIds; - setBodyParameter("BizProcessIds", bizProcessIds); +std::string UpdateRemindRequest::getBizProcessIds() const { + return bizProcessIds_; } -std::string UpdateRemindRequest::getRemindType()const -{ - return remindType_; +void UpdateRemindRequest::setBizProcessIds(const std::string &bizProcessIds) { + bizProcessIds_ = bizProcessIds; + setBodyParameter(std::string("BizProcessIds"), bizProcessIds); } -void UpdateRemindRequest::setRemindType(const std::string& remindType) -{ - remindType_ = remindType; - setBodyParameter("RemindType", remindType); +std::string UpdateRemindRequest::getRemindType() const { + return remindType_; } -std::string UpdateRemindRequest::getAlertTargets()const -{ - return alertTargets_; +void UpdateRemindRequest::setRemindType(const std::string &remindType) { + remindType_ = remindType; + setBodyParameter(std::string("RemindType"), remindType); } -void UpdateRemindRequest::setAlertTargets(const std::string& alertTargets) -{ - alertTargets_ = alertTargets; - setBodyParameter("AlertTargets", alertTargets); +std::string UpdateRemindRequest::getAlertTargets() const { + return alertTargets_; } -std::string UpdateRemindRequest::getBaselineIds()const -{ - return baselineIds_; +void UpdateRemindRequest::setAlertTargets(const std::string &alertTargets) { + alertTargets_ = alertTargets; + setBodyParameter(std::string("AlertTargets"), alertTargets); } -void UpdateRemindRequest::setBaselineIds(const std::string& baselineIds) -{ - baselineIds_ = baselineIds; - setBodyParameter("BaselineIds", baselineIds); +std::string UpdateRemindRequest::getBaselineIds() const { + return baselineIds_; } -long UpdateRemindRequest::getRemindId()const -{ - return remindId_; +void UpdateRemindRequest::setBaselineIds(const std::string &baselineIds) { + baselineIds_ = baselineIds; + setBodyParameter(std::string("BaselineIds"), baselineIds); } -void UpdateRemindRequest::setRemindId(long remindId) -{ - remindId_ = remindId; - setBodyParameter("RemindId", std::to_string(remindId)); +long UpdateRemindRequest::getRemindId() const { + return remindId_; } -std::string UpdateRemindRequest::getDetail()const -{ - return detail_; +void UpdateRemindRequest::setRemindId(long remindId) { + remindId_ = remindId; + setBodyParameter(std::string("RemindId"), std::to_string(remindId)); } -void UpdateRemindRequest::setDetail(const std::string& detail) -{ - detail_ = detail; - setBodyParameter("Detail", detail); +std::string UpdateRemindRequest::getDetail() const { + return detail_; } -std::string UpdateRemindRequest::getRemindName()const -{ - return remindName_; +void UpdateRemindRequest::setDetail(const std::string &detail) { + detail_ = detail; + setBodyParameter(std::string("Detail"), detail); } -void UpdateRemindRequest::setRemindName(const std::string& remindName) -{ - remindName_ = remindName; - setBodyParameter("RemindName", remindName); +std::string UpdateRemindRequest::getRemindName() const { + return remindName_; } -long UpdateRemindRequest::getProjectId()const -{ - return projectId_; +void UpdateRemindRequest::setRemindName(const std::string &remindName) { + remindName_ = remindName; + setBodyParameter(std::string("RemindName"), remindName); } -void UpdateRemindRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long UpdateRemindRequest::getProjectId() const { + return projectId_; } -std::string UpdateRemindRequest::getNodeIds()const -{ - return nodeIds_; +void UpdateRemindRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateRemindRequest::setNodeIds(const std::string& nodeIds) -{ - nodeIds_ = nodeIds; - setBodyParameter("NodeIds", nodeIds); +std::string UpdateRemindRequest::getNodeIds() const { + return nodeIds_; +} + +void UpdateRemindRequest::setNodeIds(const std::string &nodeIds) { + nodeIds_ = nodeIds; + setBodyParameter(std::string("NodeIds"), nodeIds); } diff --git a/dataworks-public/src/model/UpdateTableAddColumnRequest.cc b/dataworks-public/src/model/UpdateTableAddColumnRequest.cc index a5e0a16a4..04bb7c0aa 100644 --- a/dataworks-public/src/model/UpdateTableAddColumnRequest.cc +++ b/dataworks-public/src/model/UpdateTableAddColumnRequest.cc @@ -1,58 +1,52 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableAddColumnRequest; - -UpdateTableAddColumnRequest::UpdateTableAddColumnRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableAddColumn") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableAddColumnRequest::~UpdateTableAddColumnRequest() -{} - -std::string UpdateTableAddColumnRequest::getTableGuid()const -{ - return tableGuid_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateTableAddColumnRequest; + +UpdateTableAddColumnRequest::UpdateTableAddColumnRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableAddColumn") { + setMethod(HttpRequest::Method::Post); } -void UpdateTableAddColumnRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +UpdateTableAddColumnRequest::~UpdateTableAddColumnRequest() {} + +std::string UpdateTableAddColumnRequest::getTableGuid() const { + return tableGuid_; } -std::vector UpdateTableAddColumnRequest::getColumn()const -{ - return column_; +void UpdateTableAddColumnRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void UpdateTableAddColumnRequest::setColumn(const std::vector& column) -{ - column_ = column; - for(int dep1 = 0; dep1!= column.size(); dep1++) { - auto columnObj = column.at(dep1); - std::string columnObjStr = "Column." + std::to_string(dep1 + 1); - setParameter(columnObjStr + ".ColumnNameCn", columnObj.columnNameCn); - setParameter(columnObjStr + ".Comment", columnObj.comment); - setParameter(columnObjStr + ".ColumnName", columnObj.columnName); - setParameter(columnObjStr + ".ColumnType", columnObj.columnType); - } +std::vector UpdateTableAddColumnRequest::getColumn() const { + return column_; +} + +void UpdateTableAddColumnRequest::setColumn(const std::vector &column) { + column_ = column; + for(int dep1 = 0; dep1 != column.size(); dep1++) { + auto columnObj = column.at(dep1); + std::string columnObjStr = std::string("Column") + "." + std::to_string(dep1 + 1); + setBodyParameter(columnObjStr + ".ColumnNameCn", columnObj.columnNameCn); + setBodyParameter(columnObjStr + ".Comment", columnObj.comment); + setBodyParameter(columnObjStr + ".ColumnName", columnObj.columnName); + setBodyParameter(columnObjStr + ".ColumnType", columnObj.columnType); + } } diff --git a/dataworks-public/src/model/UpdateTableLevelRequest.cc b/dataworks-public/src/model/UpdateTableLevelRequest.cc index 7ba73cbde..84055a604 100644 --- a/dataworks-public/src/model/UpdateTableLevelRequest.cc +++ b/dataworks-public/src/model/UpdateTableLevelRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableLevelRequest; - -UpdateTableLevelRequest::UpdateTableLevelRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableLevel") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableLevelRequest::~UpdateTableLevelRequest() -{} - -long UpdateTableLevelRequest::getLevelId()const -{ - return levelId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateTableLevelRequest; + +UpdateTableLevelRequest::UpdateTableLevelRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableLevel") { + setMethod(HttpRequest::Method::Post); } -void UpdateTableLevelRequest::setLevelId(long levelId) -{ - levelId_ = levelId; - setParameter("LevelId", std::to_string(levelId)); +UpdateTableLevelRequest::~UpdateTableLevelRequest() {} + +long UpdateTableLevelRequest::getLevelId() const { + return levelId_; } -int UpdateTableLevelRequest::getLevelType()const -{ - return levelType_; +void UpdateTableLevelRequest::setLevelId(long levelId) { + levelId_ = levelId; + setParameter(std::string("LevelId"), std::to_string(levelId)); } -void UpdateTableLevelRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); +int UpdateTableLevelRequest::getLevelType() const { + return levelType_; } -std::string UpdateTableLevelRequest::getName()const -{ - return name_; +void UpdateTableLevelRequest::setLevelType(int levelType) { + levelType_ = levelType; + setParameter(std::string("LevelType"), std::to_string(levelType)); } -void UpdateTableLevelRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string UpdateTableLevelRequest::getName() const { + return name_; } -std::string UpdateTableLevelRequest::getDescription()const -{ - return description_; +void UpdateTableLevelRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void UpdateTableLevelRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string UpdateTableLevelRequest::getDescription() const { + return description_; } -long UpdateTableLevelRequest::getProjectId()const -{ - return projectId_; +void UpdateTableLevelRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void UpdateTableLevelRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long UpdateTableLevelRequest::getProjectId() const { + return projectId_; +} + +void UpdateTableLevelRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/UpdateTableModelInfoRequest.cc b/dataworks-public/src/model/UpdateTableModelInfoRequest.cc index 84b6fb378..d9372c4f4 100644 --- a/dataworks-public/src/model/UpdateTableModelInfoRequest.cc +++ b/dataworks-public/src/model/UpdateTableModelInfoRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableModelInfoRequest; - -UpdateTableModelInfoRequest::UpdateTableModelInfoRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableModelInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableModelInfoRequest::~UpdateTableModelInfoRequest() -{} - -long UpdateTableModelInfoRequest::getSecondLevelThemeId()const -{ - return secondLevelThemeId_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateTableModelInfoRequest; + +UpdateTableModelInfoRequest::UpdateTableModelInfoRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableModelInfo") { + setMethod(HttpRequest::Method::Post); } -void UpdateTableModelInfoRequest::setSecondLevelThemeId(long secondLevelThemeId) -{ - secondLevelThemeId_ = secondLevelThemeId; - setParameter("SecondLevelThemeId", std::to_string(secondLevelThemeId)); +UpdateTableModelInfoRequest::~UpdateTableModelInfoRequest() {} + +long UpdateTableModelInfoRequest::getSecondLevelThemeId() const { + return secondLevelThemeId_; } -std::string UpdateTableModelInfoRequest::getTableGuid()const -{ - return tableGuid_; +void UpdateTableModelInfoRequest::setSecondLevelThemeId(long secondLevelThemeId) { + secondLevelThemeId_ = secondLevelThemeId; + setParameter(std::string("SecondLevelThemeId"), std::to_string(secondLevelThemeId)); } -void UpdateTableModelInfoRequest::setTableGuid(const std::string& tableGuid) -{ - tableGuid_ = tableGuid; - setParameter("TableGuid", tableGuid); +std::string UpdateTableModelInfoRequest::getTableGuid() const { + return tableGuid_; } -long UpdateTableModelInfoRequest::getLevelId()const -{ - return levelId_; +void UpdateTableModelInfoRequest::setTableGuid(const std::string &tableGuid) { + tableGuid_ = tableGuid; + setParameter(std::string("TableGuid"), tableGuid); } -void UpdateTableModelInfoRequest::setLevelId(long levelId) -{ - levelId_ = levelId; - setParameter("LevelId", std::to_string(levelId)); +long UpdateTableModelInfoRequest::getLevelId() const { + return levelId_; } -int UpdateTableModelInfoRequest::getLevelType()const -{ - return levelType_; +void UpdateTableModelInfoRequest::setLevelId(long levelId) { + levelId_ = levelId; + setParameter(std::string("LevelId"), std::to_string(levelId)); } -void UpdateTableModelInfoRequest::setLevelType(int levelType) -{ - levelType_ = levelType; - setParameter("LevelType", std::to_string(levelType)); +int UpdateTableModelInfoRequest::getLevelType() const { + return levelType_; } -long UpdateTableModelInfoRequest::getFirstLevelThemeId()const -{ - return firstLevelThemeId_; +void UpdateTableModelInfoRequest::setLevelType(int levelType) { + levelType_ = levelType; + setParameter(std::string("LevelType"), std::to_string(levelType)); } -void UpdateTableModelInfoRequest::setFirstLevelThemeId(long firstLevelThemeId) -{ - firstLevelThemeId_ = firstLevelThemeId; - setParameter("FirstLevelThemeId", std::to_string(firstLevelThemeId)); +long UpdateTableModelInfoRequest::getFirstLevelThemeId() const { + return firstLevelThemeId_; +} + +void UpdateTableModelInfoRequest::setFirstLevelThemeId(long firstLevelThemeId) { + firstLevelThemeId_ = firstLevelThemeId; + setParameter(std::string("FirstLevelThemeId"), std::to_string(firstLevelThemeId)); } diff --git a/dataworks-public/src/model/UpdateTableRequest.cc b/dataworks-public/src/model/UpdateTableRequest.cc index e06ccfba2..0b4b0e613 100644 --- a/dataworks-public/src/model/UpdateTableRequest.cc +++ b/dataworks-public/src/model/UpdateTableRequest.cc @@ -1,253 +1,213 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableRequest; - -UpdateTableRequest::UpdateTableRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTable") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableRequest::~UpdateTableRequest() -{} - -std::vector UpdateTableRequest::getColumns()const -{ - return columns_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateTableRequest; + +UpdateTableRequest::UpdateTableRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTable") { + setMethod(HttpRequest::Method::Post); } -void UpdateTableRequest::setColumns(const std::vector& columns) -{ - columns_ = columns; - for(int dep1 = 0; dep1!= columns.size(); dep1++) { - auto columnsObj = columns.at(dep1); - std::string columnsObjStr = "Columns." + std::to_string(dep1 + 1); - setParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber)); - setParameter(columnsObjStr + ".IsPartitionCol", columnsObj.isPartitionCol ? "true" : "false"); - setParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn); - setParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length)); - setParameter(columnsObjStr + ".Comment", columnsObj.comment); - setParameter(columnsObjStr + ".ColumnName", columnsObj.columnName); - setParameter(columnsObjStr + ".ColumnType", columnsObj.columnType); - } +UpdateTableRequest::~UpdateTableRequest() {} + +std::vector UpdateTableRequest::getColumns() const { + return columns_; } -int UpdateTableRequest::getLifeCycle()const -{ - return lifeCycle_; +void UpdateTableRequest::setColumns(const std::vector &columns) { + columns_ = columns; + for(int dep1 = 0; dep1 != columns.size(); dep1++) { + auto columnsObj = columns.at(dep1); + std::string columnsObjStr = std::string("Columns") + "." + std::to_string(dep1 + 1); + setBodyParameter(columnsObjStr + ".SeqNumber", std::to_string(columnsObj.seqNumber)); + setBodyParameter(columnsObjStr + ".IsPartitionCol", columnsObj.isPartitionCol ? "true" : "false"); + setBodyParameter(columnsObjStr + ".ColumnNameCn", columnsObj.columnNameCn); + setBodyParameter(columnsObjStr + ".Length", std::to_string(columnsObj.length)); + setBodyParameter(columnsObjStr + ".Comment", columnsObj.comment); + setBodyParameter(columnsObjStr + ".ColumnName", columnsObj.columnName); + setBodyParameter(columnsObjStr + ".ColumnType", columnsObj.columnType); + } } -void UpdateTableRequest::setLifeCycle(int lifeCycle) -{ - lifeCycle_ = lifeCycle; - setParameter("LifeCycle", std::to_string(lifeCycle)); +int UpdateTableRequest::getLifeCycle() const { + return lifeCycle_; } -std::vector UpdateTableRequest::getThemes()const -{ - return themes_; +void UpdateTableRequest::setLifeCycle(int lifeCycle) { + lifeCycle_ = lifeCycle; + setParameter(std::string("LifeCycle"), std::to_string(lifeCycle)); } -void UpdateTableRequest::setThemes(const std::vector& themes) -{ - themes_ = themes; - for(int dep1 = 0; dep1!= themes.size(); dep1++) { - auto themesObj = themes.at(dep1); - std::string themesObjStr = "Themes." + std::to_string(dep1 + 1); - setParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel)); - setParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId)); - } +std::vector UpdateTableRequest::getThemes() const { + return themes_; } -long UpdateTableRequest::getLogicalLevelId()const -{ - return logicalLevelId_; +void UpdateTableRequest::setThemes(const std::vector &themes) { + themes_ = themes; + for(int dep1 = 0; dep1 != themes.size(); dep1++) { + auto themesObj = themes.at(dep1); + std::string themesObjStr = std::string("Themes") + "." + std::to_string(dep1 + 1); + setBodyParameter(themesObjStr + ".ThemeLevel", std::to_string(themesObj.themeLevel)); + setBodyParameter(themesObjStr + ".ThemeId", std::to_string(themesObj.themeId)); + } } -void UpdateTableRequest::setLogicalLevelId(long logicalLevelId) -{ - logicalLevelId_ = logicalLevelId; - setParameter("LogicalLevelId", std::to_string(logicalLevelId)); +long UpdateTableRequest::getLogicalLevelId() const { + return logicalLevelId_; } -std::string UpdateTableRequest::getEndpoint()const -{ - return endpoint_; +void UpdateTableRequest::setLogicalLevelId(long logicalLevelId) { + logicalLevelId_ = logicalLevelId; + setParameter(std::string("LogicalLevelId"), std::to_string(logicalLevelId)); } -void UpdateTableRequest::setEndpoint(const std::string& endpoint) -{ - endpoint_ = endpoint; - setBodyParameter("Endpoint", endpoint); +std::string UpdateTableRequest::getEndpoint() const { + return endpoint_; } -int UpdateTableRequest::getEnvType()const -{ - return envType_; +void UpdateTableRequest::setEndpoint(const std::string &endpoint) { + endpoint_ = endpoint; + setBodyParameter(std::string("Endpoint"), endpoint); } -void UpdateTableRequest::setEnvType(int envType) -{ - envType_ = envType; - setBodyParameter("EnvType", std::to_string(envType)); +int UpdateTableRequest::getEnvType() const { + return envType_; } -int UpdateTableRequest::getHasPart()const -{ - return hasPart_; +void UpdateTableRequest::setEnvType(int envType) { + envType_ = envType; + setBodyParameter(std::string("EnvType"), std::to_string(envType)); } -void UpdateTableRequest::setHasPart(int hasPart) -{ - hasPart_ = hasPart; - setParameter("HasPart", std::to_string(hasPart)); +int UpdateTableRequest::getHasPart() const { + return hasPart_; } -std::string UpdateTableRequest::getTableName()const -{ - return tableName_; +void UpdateTableRequest::setHasPart(int hasPart) { + hasPart_ = hasPart; + setParameter(std::string("HasPart"), std::to_string(hasPart)); } -void UpdateTableRequest::setTableName(const std::string& tableName) -{ - tableName_ = tableName; - setParameter("TableName", tableName); +std::string UpdateTableRequest::getTableName() const { + return tableName_; } -std::string UpdateTableRequest::getAppGuid()const -{ - return appGuid_; +void UpdateTableRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); } -void UpdateTableRequest::setAppGuid(const std::string& appGuid) -{ - appGuid_ = appGuid; - setParameter("AppGuid", appGuid); +std::string UpdateTableRequest::getAppGuid() const { + return appGuid_; } -long UpdateTableRequest::getProjectId()const -{ - return projectId_; +void UpdateTableRequest::setAppGuid(const std::string &appGuid) { + appGuid_ = appGuid; + setParameter(std::string("AppGuid"), appGuid); } -void UpdateTableRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long UpdateTableRequest::getProjectId() const { + return projectId_; } -long UpdateTableRequest::getCategoryId()const -{ - return categoryId_; +void UpdateTableRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateTableRequest::setCategoryId(long categoryId) -{ - categoryId_ = categoryId; - setParameter("CategoryId", std::to_string(categoryId)); +long UpdateTableRequest::getCategoryId() const { + return categoryId_; } -int UpdateTableRequest::getVisibility()const -{ - return visibility_; +void UpdateTableRequest::setCategoryId(long categoryId) { + categoryId_ = categoryId; + setParameter(std::string("CategoryId"), std::to_string(categoryId)); } -void UpdateTableRequest::setVisibility(int visibility) -{ - visibility_ = visibility; - setParameter("Visibility", std::to_string(visibility)); +int UpdateTableRequest::getVisibility() const { + return visibility_; } -long UpdateTableRequest::getPhysicsLevelId()const -{ - return physicsLevelId_; +void UpdateTableRequest::setVisibility(int visibility) { + visibility_ = visibility; + setParameter(std::string("Visibility"), std::to_string(visibility)); } -void UpdateTableRequest::setPhysicsLevelId(long physicsLevelId) -{ - physicsLevelId_ = physicsLevelId; - setParameter("PhysicsLevelId", std::to_string(physicsLevelId)); +long UpdateTableRequest::getPhysicsLevelId() const { + return physicsLevelId_; } -std::string UpdateTableRequest::getOwnerId()const -{ - return ownerId_; +void UpdateTableRequest::setPhysicsLevelId(long physicsLevelId) { + physicsLevelId_ = physicsLevelId; + setParameter(std::string("PhysicsLevelId"), std::to_string(physicsLevelId)); } -void UpdateTableRequest::setOwnerId(const std::string& ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", ownerId); +std::string UpdateTableRequest::getOwnerId() const { + return ownerId_; } -int UpdateTableRequest::getIsView()const -{ - return isView_; +void UpdateTableRequest::setOwnerId(const std::string &ownerId) { + ownerId_ = ownerId; + setParameter(std::string("OwnerId"), ownerId); } -void UpdateTableRequest::setIsView(int isView) -{ - isView_ = isView; - setParameter("IsView", std::to_string(isView)); +int UpdateTableRequest::getIsView() const { + return isView_; } -std::string UpdateTableRequest::getExternalTableType()const -{ - return externalTableType_; +void UpdateTableRequest::setIsView(int isView) { + isView_ = isView; + setParameter(std::string("IsView"), std::to_string(isView)); } -void UpdateTableRequest::setExternalTableType(const std::string& externalTableType) -{ - externalTableType_ = externalTableType; - setParameter("ExternalTableType", externalTableType); +std::string UpdateTableRequest::getExternalTableType() const { + return externalTableType_; } -std::string UpdateTableRequest::getLocation()const -{ - return location_; +void UpdateTableRequest::setExternalTableType(const std::string &externalTableType) { + externalTableType_ = externalTableType; + setParameter(std::string("ExternalTableType"), externalTableType); } -void UpdateTableRequest::setLocation(const std::string& location) -{ - location_ = location; - setParameter("Location", location); +std::string UpdateTableRequest::getLocation() const { + return location_; } -std::string UpdateTableRequest::getComment()const -{ - return comment_; +void UpdateTableRequest::setLocation(const std::string &location) { + location_ = location; + setParameter(std::string("Location"), location); } -void UpdateTableRequest::setComment(const std::string& comment) -{ - comment_ = comment; - setParameter("Comment", comment); +std::string UpdateTableRequest::getComment() const { + return comment_; } -bool UpdateTableRequest::getCreateIfNotExists()const -{ - return createIfNotExists_; +void UpdateTableRequest::setComment(const std::string &comment) { + comment_ = comment; + setParameter(std::string("Comment"), comment); } -void UpdateTableRequest::setCreateIfNotExists(bool createIfNotExists) -{ - createIfNotExists_ = createIfNotExists; - setParameter("CreateIfNotExists", createIfNotExists ? "true" : "false"); +bool UpdateTableRequest::getCreateIfNotExists() const { + return createIfNotExists_; +} + +void UpdateTableRequest::setCreateIfNotExists(bool createIfNotExists) { + createIfNotExists_ = createIfNotExists; + setParameter(std::string("CreateIfNotExists"), createIfNotExists ? "true" : "false"); } diff --git a/dataworks-public/src/model/UpdateTableThemeRequest.cc b/dataworks-public/src/model/UpdateTableThemeRequest.cc index d2debf600..0eb74fde3 100644 --- a/dataworks-public/src/model/UpdateTableThemeRequest.cc +++ b/dataworks-public/src/model/UpdateTableThemeRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateTableThemeRequest; - -UpdateTableThemeRequest::UpdateTableThemeRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableTheme") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateTableThemeRequest::~UpdateTableThemeRequest() -{} - -std::string UpdateTableThemeRequest::getName()const -{ - return name_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateTableThemeRequest; + +UpdateTableThemeRequest::UpdateTableThemeRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateTableTheme") { + setMethod(HttpRequest::Method::Post); } -void UpdateTableThemeRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +UpdateTableThemeRequest::~UpdateTableThemeRequest() {} + +std::string UpdateTableThemeRequest::getName() const { + return name_; } -long UpdateTableThemeRequest::getThemeId()const -{ - return themeId_; +void UpdateTableThemeRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void UpdateTableThemeRequest::setThemeId(long themeId) -{ - themeId_ = themeId; - setParameter("ThemeId", std::to_string(themeId)); +long UpdateTableThemeRequest::getThemeId() const { + return themeId_; } -long UpdateTableThemeRequest::getProjectId()const -{ - return projectId_; +void UpdateTableThemeRequest::setThemeId(long themeId) { + themeId_ = themeId; + setParameter(std::string("ThemeId"), std::to_string(themeId)); } -void UpdateTableThemeRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setParameter("ProjectId", std::to_string(projectId)); +long UpdateTableThemeRequest::getProjectId() const { + return projectId_; +} + +void UpdateTableThemeRequest::setProjectId(long projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), std::to_string(projectId)); } diff --git a/dataworks-public/src/model/UpdateUdfFileRequest.cc b/dataworks-public/src/model/UpdateUdfFileRequest.cc index b42be4745..492b0c88b 100644 --- a/dataworks-public/src/model/UpdateUdfFileRequest.cc +++ b/dataworks-public/src/model/UpdateUdfFileRequest.cc @@ -1,161 +1,135 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 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_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateUdfFileRequest; + +UpdateUdfFileRequest::UpdateUdfFileRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateUdfFile") { + setMethod(HttpRequest::Method::Post); } -void UpdateUdfFileRequest::setReturnValue(const std::string& returnValue) -{ - returnValue_ = returnValue; - setBodyParameter("ReturnValue", returnValue); +UpdateUdfFileRequest::~UpdateUdfFileRequest() {} + +std::string UpdateUdfFileRequest::getReturnValue() const { + return returnValue_; } -std::string UpdateUdfFileRequest::getResources()const -{ - return resources_; +void UpdateUdfFileRequest::setReturnValue(const std::string &returnValue) { + returnValue_ = returnValue; + setBodyParameter(std::string("ReturnValue"), returnValue); } -void UpdateUdfFileRequest::setResources(const std::string& resources) -{ - resources_ = resources; - setBodyParameter("Resources", resources); +std::string UpdateUdfFileRequest::getResources() const { + return resources_; } -std::string UpdateUdfFileRequest::getFunctionType()const -{ - return functionType_; +void UpdateUdfFileRequest::setResources(const std::string &resources) { + resources_ = resources; + setBodyParameter(std::string("Resources"), resources); } -void UpdateUdfFileRequest::setFunctionType(const std::string& functionType) -{ - functionType_ = functionType; - setBodyParameter("FunctionType", functionType); +std::string UpdateUdfFileRequest::getFunctionType() const { + return functionType_; } -std::string UpdateUdfFileRequest::getCmdDescription()const -{ - return cmdDescription_; +void UpdateUdfFileRequest::setFunctionType(const std::string &functionType) { + functionType_ = functionType; + setBodyParameter(std::string("FunctionType"), functionType); } -void UpdateUdfFileRequest::setCmdDescription(const std::string& cmdDescription) -{ - cmdDescription_ = cmdDescription; - setBodyParameter("CmdDescription", cmdDescription); +std::string UpdateUdfFileRequest::getCmdDescription() const { + return cmdDescription_; } -std::string UpdateUdfFileRequest::getUdfDescription()const -{ - return udfDescription_; +void UpdateUdfFileRequest::setCmdDescription(const std::string &cmdDescription) { + cmdDescription_ = cmdDescription; + setBodyParameter(std::string("CmdDescription"), cmdDescription); } -void UpdateUdfFileRequest::setUdfDescription(const std::string& udfDescription) -{ - udfDescription_ = udfDescription; - setBodyParameter("UdfDescription", udfDescription); +std::string UpdateUdfFileRequest::getUdfDescription() const { + return udfDescription_; } -std::string UpdateUdfFileRequest::getParameterDescription()const -{ - return parameterDescription_; +void UpdateUdfFileRequest::setUdfDescription(const std::string &udfDescription) { + udfDescription_ = udfDescription; + setBodyParameter(std::string("UdfDescription"), udfDescription); } -void UpdateUdfFileRequest::setParameterDescription(const std::string& parameterDescription) -{ - parameterDescription_ = parameterDescription; - setBodyParameter("ParameterDescription", parameterDescription); +std::string UpdateUdfFileRequest::getParameterDescription() const { + return parameterDescription_; } -std::string UpdateUdfFileRequest::getProjectIdentifier()const -{ - return projectIdentifier_; +void UpdateUdfFileRequest::setParameterDescription(const std::string ¶meterDescription) { + parameterDescription_ = parameterDescription; + setBodyParameter(std::string("ParameterDescription"), parameterDescription); } -void UpdateUdfFileRequest::setProjectIdentifier(const std::string& projectIdentifier) -{ - projectIdentifier_ = projectIdentifier; - setBodyParameter("ProjectIdentifier", projectIdentifier); +std::string UpdateUdfFileRequest::getProjectIdentifier() const { + return projectIdentifier_; } -std::string UpdateUdfFileRequest::getExample()const -{ - return example_; +void UpdateUdfFileRequest::setProjectIdentifier(const std::string &projectIdentifier) { + projectIdentifier_ = projectIdentifier; + setBodyParameter(std::string("ProjectIdentifier"), projectIdentifier); } -void UpdateUdfFileRequest::setExample(const std::string& example) -{ - example_ = example; - setBodyParameter("Example", example); +std::string UpdateUdfFileRequest::getExample() const { + return example_; } -std::string UpdateUdfFileRequest::getClassName()const -{ - return className_; +void UpdateUdfFileRequest::setExample(const std::string &example) { + example_ = example; + setBodyParameter(std::string("Example"), example); } -void UpdateUdfFileRequest::setClassName(const std::string& className) -{ - className_ = className; - setBodyParameter("ClassName", className); +std::string UpdateUdfFileRequest::getClassName() const { + return className_; } -std::string UpdateUdfFileRequest::getFileFolderPath()const -{ - return fileFolderPath_; +void UpdateUdfFileRequest::setClassName(const std::string &className) { + className_ = className; + setBodyParameter(std::string("ClassName"), className); } -void UpdateUdfFileRequest::setFileFolderPath(const std::string& fileFolderPath) -{ - fileFolderPath_ = fileFolderPath; - setBodyParameter("FileFolderPath", fileFolderPath); +std::string UpdateUdfFileRequest::getFileFolderPath() const { + return fileFolderPath_; } -long UpdateUdfFileRequest::getProjectId()const -{ - return projectId_; +void UpdateUdfFileRequest::setFileFolderPath(const std::string &fileFolderPath) { + fileFolderPath_ = fileFolderPath; + setBodyParameter(std::string("FileFolderPath"), fileFolderPath); } -void UpdateUdfFileRequest::setProjectId(long projectId) -{ - projectId_ = projectId; - setBodyParameter("ProjectId", std::to_string(projectId)); +long UpdateUdfFileRequest::getProjectId() const { + return projectId_; } -std::string UpdateUdfFileRequest::getFileId()const -{ - return fileId_; +void UpdateUdfFileRequest::setProjectId(long projectId) { + projectId_ = projectId; + setBodyParameter(std::string("ProjectId"), std::to_string(projectId)); } -void UpdateUdfFileRequest::setFileId(const std::string& fileId) -{ - fileId_ = fileId; - setBodyParameter("FileId", fileId); +std::string UpdateUdfFileRequest::getFileId() const { + return fileId_; +} + +void UpdateUdfFileRequest::setFileId(const std::string &fileId) { + fileId_ = fileId; + setBodyParameter(std::string("FileId"), fileId); } diff --git a/dataworks-public/src/model/UpdateWorkbenchEventResultRequest.cc b/dataworks-public/src/model/UpdateWorkbenchEventResultRequest.cc index 9f05d04b7..fc629fbfe 100644 --- a/dataworks-public/src/model/UpdateWorkbenchEventResultRequest.cc +++ b/dataworks-public/src/model/UpdateWorkbenchEventResultRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::Dataworks_public::Model::UpdateWorkbenchEventResultRequest; - -UpdateWorkbenchEventResultRequest::UpdateWorkbenchEventResultRequest() : - RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateWorkbenchEventResult") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateWorkbenchEventResultRequest::~UpdateWorkbenchEventResultRequest() -{} - -std::string UpdateWorkbenchEventResultRequest::getCheckResultTip()const -{ - return checkResultTip_; + */ + +#include + +using AlibabaCloud::Dataworks_public::Model::UpdateWorkbenchEventResultRequest; + +UpdateWorkbenchEventResultRequest::UpdateWorkbenchEventResultRequest() + : RpcServiceRequest("dataworks-public", "2020-05-18", "UpdateWorkbenchEventResult") { + setMethod(HttpRequest::Method::Post); } -void UpdateWorkbenchEventResultRequest::setCheckResultTip(const std::string& checkResultTip) -{ - checkResultTip_ = checkResultTip; - setParameter("CheckResultTip", checkResultTip); +UpdateWorkbenchEventResultRequest::~UpdateWorkbenchEventResultRequest() {} + +std::string UpdateWorkbenchEventResultRequest::getCheckResultTip() const { + return checkResultTip_; } -std::string UpdateWorkbenchEventResultRequest::getCheckResult()const -{ - return checkResult_; +void UpdateWorkbenchEventResultRequest::setCheckResultTip(const std::string &checkResultTip) { + checkResultTip_ = checkResultTip; + setParameter(std::string("CheckResultTip"), checkResultTip); } -void UpdateWorkbenchEventResultRequest::setCheckResult(const std::string& checkResult) -{ - checkResult_ = checkResult; - setParameter("CheckResult", checkResult); +std::string UpdateWorkbenchEventResultRequest::getCheckResult() const { + return checkResult_; } -std::string UpdateWorkbenchEventResultRequest::getMessageId()const -{ - return messageId_; +void UpdateWorkbenchEventResultRequest::setCheckResult(const std::string &checkResult) { + checkResult_ = checkResult; + setParameter(std::string("CheckResult"), checkResult); } -void UpdateWorkbenchEventResultRequest::setMessageId(const std::string& messageId) -{ - messageId_ = messageId; - setParameter("MessageId", messageId); +std::string UpdateWorkbenchEventResultRequest::getMessageId() const { + return messageId_; } -std::string UpdateWorkbenchEventResultRequest::getExtensionCode()const -{ - return extensionCode_; +void UpdateWorkbenchEventResultRequest::setMessageId(const std::string &messageId) { + messageId_ = messageId; + setParameter(std::string("MessageId"), messageId); } -void UpdateWorkbenchEventResultRequest::setExtensionCode(const std::string& extensionCode) -{ - extensionCode_ = extensionCode; - setParameter("ExtensionCode", extensionCode); +std::string UpdateWorkbenchEventResultRequest::getExtensionCode() const { + return extensionCode_; +} + +void UpdateWorkbenchEventResultRequest::setExtensionCode(const std::string &extensionCode) { + extensionCode_ = extensionCode; + setParameter(std::string("ExtensionCode"), extensionCode); }