From 32fd2c4a6b9a3a6d464312d95d4ea061e14d65ea Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 28 Aug 2023 13:47:28 +0000 Subject: [PATCH] Update api ListInstances. --- VERSION | 2 +- paifeaturestore/CMakeLists.txt | 294 +++ .../paifeaturestore/PaiFeatureStoreClient.h | 470 ++++ .../paifeaturestore/PaiFeatureStoreExport.h | 32 + ...eProjectFeatureEntityHotIdVersionRequest.h | 51 + ...geProjectFeatureEntityHotIdVersionResult.h | 49 + .../model/CheckInstanceDatasourceRequest.h | 45 + .../model/CheckInstanceDatasourceResult.h | 51 + .../model/CreateDatasourceRequest.h | 45 + .../model/CreateDatasourceResult.h | 51 + .../model/CreateFeatureEntityRequest.h | 45 + .../model/CreateFeatureEntityResult.h | 51 + .../model/CreateFeatureViewRequest.h | 45 + .../model/CreateFeatureViewResult.h | 51 + .../model/CreateInstanceRequest.h | 42 + .../model/CreateInstanceResult.h | 53 + .../model/CreateLabelTableRequest.h | 45 + .../model/CreateLabelTableResult.h | 51 + .../model/CreateModelFeatureRequest.h | 45 + .../model/CreateModelFeatureResult.h | 51 + .../model/CreateProjectRequest.h | 45 + .../model/CreateProjectResult.h | 51 + .../model/CreateServiceIdentityRoleRequest.h | 42 + .../model/CreateServiceIdentityRoleResult.h | 53 + .../model/DeleteDatasourceRequest.h | 45 + .../model/DeleteDatasourceResult.h | 49 + .../model/DeleteFeatureEntityRequest.h | 45 + .../model/DeleteFeatureEntityResult.h | 49 + .../model/DeleteFeatureViewRequest.h | 45 + .../model/DeleteFeatureViewResult.h | 49 + .../model/DeleteLabelTableRequest.h | 45 + .../model/DeleteLabelTableResult.h | 49 + .../model/DeleteModelFeatureRequest.h | 45 + .../model/DeleteModelFeatureResult.h | 49 + .../model/DeleteProjectRequest.h | 45 + .../model/DeleteProjectResult.h | 49 + ...xportModelFeatureTrainingSetTableRequest.h | 48 + ...ExportModelFeatureTrainingSetTableResult.h | 49 + .../model/GetDatasourceRequest.h | 45 + .../model/GetDatasourceResult.h | 61 + .../model/GetDatasourceTableRequest.h | 48 + .../model/GetDatasourceTableResult.h | 59 + .../model/GetFeatureEntityRequest.h | 45 + .../model/GetFeatureEntityResult.h | 61 + .../model/GetFeatureViewRequest.h | 45 + .../model/GetFeatureViewResult.h | 97 + .../model/GetInstanceRequest.h | 42 + .../paifeaturestore/model/GetInstanceResult.h | 63 + .../model/GetLabelTableRequest.h | 45 + .../model/GetLabelTableResult.h | 73 + .../model/GetModelFeatureRequest.h | 45 + .../model/GetModelFeatureResult.h | 98 + .../GetProjectFeatureEntityHotIdsRequest.h | 51 + .../GetProjectFeatureEntityHotIdsResult.h | 55 + .../model/GetProjectFeatureEntityRequest.h | 48 + .../model/GetProjectFeatureEntityResult.h | 59 + .../model/GetProjectFeatureViewRequest.h | 48 + .../model/GetProjectFeatureViewResult.h | 93 + .../model/GetProjectModelFeatureRequest.h | 48 + .../model/GetProjectModelFeatureResult.h | 85 + .../paifeaturestore/model/GetProjectRequest.h | 45 + .../paifeaturestore/model/GetProjectResult.h | 79 + .../model/GetServiceIdentityRoleRequest.h | 42 + .../model/GetServiceIdentityRoleResult.h | 53 + .../paifeaturestore/model/GetTaskRequest.h | 45 + .../paifeaturestore/model/GetTaskResult.h | 73 + .../model/ListDatasourceTablesRequest.h | 48 + .../model/ListDatasourceTablesResult.h | 53 + .../model/ListDatasourcesRequest.h | 63 + .../model/ListDatasourcesResult.h | 64 + .../model/ListFeatureEntitiesRequest.h | 63 + .../model/ListFeatureEntitiesResult.h | 63 + ...ListFeatureViewFieldRelationshipsRequest.h | 48 + .../ListFeatureViewFieldRelationshipsResult.h | 63 + .../ListFeatureViewRelationshipsRequest.h | 45 + .../ListFeatureViewRelationshipsResult.h | 62 + .../model/ListFeatureViewsRequest.h | 69 + .../model/ListFeatureViewsResult.h | 69 + .../model/ListInstancesRequest.h | 54 + .../model/ListInstancesResult.h | 62 + .../model/ListLabelTablesRequest.h | 63 + .../model/ListLabelTablesResult.h | 65 + .../model/ListModelFeaturesRequest.h | 63 + .../model/ListModelFeaturesResult.h | 64 + .../ListProjectFeatureViewOwnersRequest.h | 45 + .../ListProjectFeatureViewOwnersResult.h | 51 + .../model/ListProjectFeatureViewTagsRequest.h | 45 + .../model/ListProjectFeatureViewTagsResult.h | 51 + .../model/ListProjectFeatureViewsRequest.h | 45 + .../model/ListProjectFeatureViewsResult.h | 65 + .../model/ListProjectsRequest.h | 63 + .../model/ListProjectsResult.h | 72 + .../model/ListTaskLogsRequest.h | 51 + .../model/ListTaskLogsResult.h | 53 + .../paifeaturestore/model/ListTasksRequest.h | 63 + .../paifeaturestore/model/ListTasksResult.h | 66 + .../model/PublishFeatureViewTableRequest.h | 48 + .../model/PublishFeatureViewTableResult.h | 49 + .../model/UpdateDatasourceRequest.h | 48 + .../model/UpdateDatasourceResult.h | 49 + .../model/UpdateLabelTableRequest.h | 48 + .../model/UpdateLabelTableResult.h | 49 + .../model/UpdateModelFeatureRequest.h | 48 + .../model/UpdateModelFeatureResult.h | 49 + .../model/UpdateProjectRequest.h | 48 + .../model/UpdateProjectResult.h | 49 + .../model/WriteFeatureViewTableRequest.h | 48 + .../model/WriteFeatureViewTableResult.h | 49 + .../WriteProjectFeatureEntityHotIdsRequest.h | 51 + .../WriteProjectFeatureEntityHotIdsResult.h | 49 + paifeaturestore/src/PaiFeatureStoreClient.cc | 1961 +++++++++++++++++ ...ProjectFeatureEntityHotIdVersionRequest.cc | 64 + ...eProjectFeatureEntityHotIdVersionResult.cc | 44 + .../model/CheckInstanceDatasourceRequest.cc | 46 + .../model/CheckInstanceDatasourceResult.cc | 51 + .../src/model/CreateDatasourceRequest.cc | 46 + .../src/model/CreateDatasourceResult.cc | 51 + .../src/model/CreateFeatureEntityRequest.cc | 46 + .../src/model/CreateFeatureEntityResult.cc | 51 + .../src/model/CreateFeatureViewRequest.cc | 46 + .../src/model/CreateFeatureViewResult.cc | 51 + .../src/model/CreateInstanceRequest.cc | 37 + .../src/model/CreateInstanceResult.cc | 58 + .../src/model/CreateLabelTableRequest.cc | 46 + .../src/model/CreateLabelTableResult.cc | 51 + .../src/model/CreateModelFeatureRequest.cc | 46 + .../src/model/CreateModelFeatureResult.cc | 51 + .../src/model/CreateProjectRequest.cc | 46 + .../src/model/CreateProjectResult.cc | 51 + .../model/CreateServiceIdentityRoleRequest.cc | 37 + .../model/CreateServiceIdentityRoleResult.cc | 58 + .../src/model/DeleteDatasourceRequest.cc | 46 + .../src/model/DeleteDatasourceResult.cc | 44 + .../src/model/DeleteFeatureEntityRequest.cc | 46 + .../src/model/DeleteFeatureEntityResult.cc | 44 + .../src/model/DeleteFeatureViewRequest.cc | 46 + .../src/model/DeleteFeatureViewResult.cc | 44 + .../src/model/DeleteLabelTableRequest.cc | 46 + .../src/model/DeleteLabelTableResult.cc | 44 + .../src/model/DeleteModelFeatureRequest.cc | 46 + .../src/model/DeleteModelFeatureResult.cc | 44 + .../src/model/DeleteProjectRequest.cc | 46 + .../src/model/DeleteProjectResult.cc | 44 + ...portModelFeatureTrainingSetTableRequest.cc | 55 + ...xportModelFeatureTrainingSetTableResult.cc | 44 + .../src/model/GetDatasourceRequest.cc | 46 + .../src/model/GetDatasourceResult.cc | 86 + .../src/model/GetDatasourceTableRequest.cc | 55 + .../src/model/GetDatasourceTableResult.cc | 69 + .../src/model/GetFeatureEntityRequest.cc | 46 + .../src/model/GetFeatureEntityResult.cc | 86 + .../src/model/GetFeatureViewRequest.cc | 46 + .../src/model/GetFeatureViewResult.cc | 203 ++ .../src/model/GetInstanceRequest.cc | 37 + .../src/model/GetInstanceResult.cc | 93 + .../src/model/GetLabelTableRequest.cc | 46 + .../src/model/GetLabelTableResult.cc | 118 + .../src/model/GetModelFeatureRequest.cc | 46 + .../src/model/GetModelFeatureResult.cc | 165 ++ .../GetProjectFeatureEntityHotIdsRequest.cc | 64 + .../GetProjectFeatureEntityHotIdsResult.cc | 65 + .../model/GetProjectFeatureEntityRequest.cc | 55 + .../model/GetProjectFeatureEntityResult.cc | 79 + .../src/model/GetProjectFeatureViewRequest.cc | 55 + .../src/model/GetProjectFeatureViewResult.cc | 189 ++ .../model/GetProjectModelFeatureRequest.cc | 55 + .../src/model/GetProjectModelFeatureResult.cc | 156 ++ .../src/model/GetProjectRequest.cc | 46 + paifeaturestore/src/model/GetProjectResult.cc | 149 ++ .../model/GetServiceIdentityRoleRequest.cc | 37 + .../src/model/GetServiceIdentityRoleResult.cc | 58 + paifeaturestore/src/model/GetTaskRequest.cc | 46 + paifeaturestore/src/model/GetTaskResult.cc | 128 ++ .../src/model/ListDatasourceTablesRequest.cc | 55 + .../src/model/ListDatasourceTablesResult.cc | 59 + .../src/model/ListDatasourcesRequest.cc | 100 + .../src/model/ListDatasourcesResult.cc | 78 + .../src/model/ListFeatureEntitiesRequest.cc | 100 + .../src/model/ListFeatureEntitiesResult.cc | 76 + ...istFeatureViewFieldRelationshipsRequest.cc | 55 + ...ListFeatureViewFieldRelationshipsResult.cc | 71 + .../ListFeatureViewRelationshipsRequest.cc | 46 + .../ListFeatureViewRelationshipsResult.cc | 69 + .../src/model/ListFeatureViewsRequest.cc | 118 + .../src/model/ListFeatureViewsResult.cc | 88 + .../src/model/ListInstancesRequest.cc | 73 + .../src/model/ListInstancesResult.cc | 74 + .../src/model/ListLabelTablesRequest.cc | 100 + .../src/model/ListLabelTablesResult.cc | 80 + .../src/model/ListModelFeaturesRequest.cc | 100 + .../src/model/ListModelFeaturesResult.cc | 78 + .../ListProjectFeatureViewOwnersRequest.cc | 46 + .../ListProjectFeatureViewOwnersResult.cc | 52 + .../ListProjectFeatureViewTagsRequest.cc | 46 + .../model/ListProjectFeatureViewTagsResult.cc | 52 + .../model/ListProjectFeatureViewsRequest.cc | 46 + .../model/ListProjectFeatureViewsResult.cc | 79 + .../src/model/ListProjectsRequest.cc | 100 + .../src/model/ListProjectsResult.cc | 94 + .../src/model/ListTaskLogsRequest.cc | 64 + .../src/model/ListTaskLogsResult.cc | 59 + paifeaturestore/src/model/ListTasksRequest.cc | 100 + paifeaturestore/src/model/ListTasksResult.cc | 82 + .../model/PublishFeatureViewTableRequest.cc | 55 + .../model/PublishFeatureViewTableResult.cc | 44 + .../src/model/UpdateDatasourceRequest.cc | 55 + .../src/model/UpdateDatasourceResult.cc | 44 + .../src/model/UpdateLabelTableRequest.cc | 55 + .../src/model/UpdateLabelTableResult.cc | 44 + .../src/model/UpdateModelFeatureRequest.cc | 55 + .../src/model/UpdateModelFeatureResult.cc | 44 + .../src/model/UpdateProjectRequest.cc | 55 + .../src/model/UpdateProjectResult.cc | 44 + .../src/model/WriteFeatureViewTableRequest.cc | 55 + .../src/model/WriteFeatureViewTableResult.cc | 44 + .../WriteProjectFeatureEntityHotIdsRequest.cc | 64 + .../WriteProjectFeatureEntityHotIdsResult.cc | 44 + 217 files changed, 15347 insertions(+), 1 deletion(-) create mode 100644 paifeaturestore/CMakeLists.txt create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreExport.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h create mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h create mode 100644 paifeaturestore/src/PaiFeatureStoreClient.cc create mode 100644 paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc create mode 100644 paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc create mode 100644 paifeaturestore/src/model/CheckInstanceDatasourceRequest.cc create mode 100644 paifeaturestore/src/model/CheckInstanceDatasourceResult.cc create mode 100644 paifeaturestore/src/model/CreateDatasourceRequest.cc create mode 100644 paifeaturestore/src/model/CreateDatasourceResult.cc create mode 100644 paifeaturestore/src/model/CreateFeatureEntityRequest.cc create mode 100644 paifeaturestore/src/model/CreateFeatureEntityResult.cc create mode 100644 paifeaturestore/src/model/CreateFeatureViewRequest.cc create mode 100644 paifeaturestore/src/model/CreateFeatureViewResult.cc create mode 100644 paifeaturestore/src/model/CreateInstanceRequest.cc create mode 100644 paifeaturestore/src/model/CreateInstanceResult.cc create mode 100644 paifeaturestore/src/model/CreateLabelTableRequest.cc create mode 100644 paifeaturestore/src/model/CreateLabelTableResult.cc create mode 100644 paifeaturestore/src/model/CreateModelFeatureRequest.cc create mode 100644 paifeaturestore/src/model/CreateModelFeatureResult.cc create mode 100644 paifeaturestore/src/model/CreateProjectRequest.cc create mode 100644 paifeaturestore/src/model/CreateProjectResult.cc create mode 100644 paifeaturestore/src/model/CreateServiceIdentityRoleRequest.cc create mode 100644 paifeaturestore/src/model/CreateServiceIdentityRoleResult.cc create mode 100644 paifeaturestore/src/model/DeleteDatasourceRequest.cc create mode 100644 paifeaturestore/src/model/DeleteDatasourceResult.cc create mode 100644 paifeaturestore/src/model/DeleteFeatureEntityRequest.cc create mode 100644 paifeaturestore/src/model/DeleteFeatureEntityResult.cc create mode 100644 paifeaturestore/src/model/DeleteFeatureViewRequest.cc create mode 100644 paifeaturestore/src/model/DeleteFeatureViewResult.cc create mode 100644 paifeaturestore/src/model/DeleteLabelTableRequest.cc create mode 100644 paifeaturestore/src/model/DeleteLabelTableResult.cc create mode 100644 paifeaturestore/src/model/DeleteModelFeatureRequest.cc create mode 100644 paifeaturestore/src/model/DeleteModelFeatureResult.cc create mode 100644 paifeaturestore/src/model/DeleteProjectRequest.cc create mode 100644 paifeaturestore/src/model/DeleteProjectResult.cc create mode 100644 paifeaturestore/src/model/ExportModelFeatureTrainingSetTableRequest.cc create mode 100644 paifeaturestore/src/model/ExportModelFeatureTrainingSetTableResult.cc create mode 100644 paifeaturestore/src/model/GetDatasourceRequest.cc create mode 100644 paifeaturestore/src/model/GetDatasourceResult.cc create mode 100644 paifeaturestore/src/model/GetDatasourceTableRequest.cc create mode 100644 paifeaturestore/src/model/GetDatasourceTableResult.cc create mode 100644 paifeaturestore/src/model/GetFeatureEntityRequest.cc create mode 100644 paifeaturestore/src/model/GetFeatureEntityResult.cc create mode 100644 paifeaturestore/src/model/GetFeatureViewRequest.cc create mode 100644 paifeaturestore/src/model/GetFeatureViewResult.cc create mode 100644 paifeaturestore/src/model/GetInstanceRequest.cc create mode 100644 paifeaturestore/src/model/GetInstanceResult.cc create mode 100644 paifeaturestore/src/model/GetLabelTableRequest.cc create mode 100644 paifeaturestore/src/model/GetLabelTableResult.cc create mode 100644 paifeaturestore/src/model/GetModelFeatureRequest.cc create mode 100644 paifeaturestore/src/model/GetModelFeatureResult.cc create mode 100644 paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc create mode 100644 paifeaturestore/src/model/GetProjectFeatureEntityHotIdsResult.cc create mode 100644 paifeaturestore/src/model/GetProjectFeatureEntityRequest.cc create mode 100644 paifeaturestore/src/model/GetProjectFeatureEntityResult.cc create mode 100644 paifeaturestore/src/model/GetProjectFeatureViewRequest.cc create mode 100644 paifeaturestore/src/model/GetProjectFeatureViewResult.cc create mode 100644 paifeaturestore/src/model/GetProjectModelFeatureRequest.cc create mode 100644 paifeaturestore/src/model/GetProjectModelFeatureResult.cc create mode 100644 paifeaturestore/src/model/GetProjectRequest.cc create mode 100644 paifeaturestore/src/model/GetProjectResult.cc create mode 100644 paifeaturestore/src/model/GetServiceIdentityRoleRequest.cc create mode 100644 paifeaturestore/src/model/GetServiceIdentityRoleResult.cc create mode 100644 paifeaturestore/src/model/GetTaskRequest.cc create mode 100644 paifeaturestore/src/model/GetTaskResult.cc create mode 100644 paifeaturestore/src/model/ListDatasourceTablesRequest.cc create mode 100644 paifeaturestore/src/model/ListDatasourceTablesResult.cc create mode 100644 paifeaturestore/src/model/ListDatasourcesRequest.cc create mode 100644 paifeaturestore/src/model/ListDatasourcesResult.cc create mode 100644 paifeaturestore/src/model/ListFeatureEntitiesRequest.cc create mode 100644 paifeaturestore/src/model/ListFeatureEntitiesResult.cc create mode 100644 paifeaturestore/src/model/ListFeatureViewFieldRelationshipsRequest.cc create mode 100644 paifeaturestore/src/model/ListFeatureViewFieldRelationshipsResult.cc create mode 100644 paifeaturestore/src/model/ListFeatureViewRelationshipsRequest.cc create mode 100644 paifeaturestore/src/model/ListFeatureViewRelationshipsResult.cc create mode 100644 paifeaturestore/src/model/ListFeatureViewsRequest.cc create mode 100644 paifeaturestore/src/model/ListFeatureViewsResult.cc create mode 100644 paifeaturestore/src/model/ListInstancesRequest.cc create mode 100644 paifeaturestore/src/model/ListInstancesResult.cc create mode 100644 paifeaturestore/src/model/ListLabelTablesRequest.cc create mode 100644 paifeaturestore/src/model/ListLabelTablesResult.cc create mode 100644 paifeaturestore/src/model/ListModelFeaturesRequest.cc create mode 100644 paifeaturestore/src/model/ListModelFeaturesResult.cc create mode 100644 paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc create mode 100644 paifeaturestore/src/model/ListProjectFeatureViewOwnersResult.cc create mode 100644 paifeaturestore/src/model/ListProjectFeatureViewTagsRequest.cc create mode 100644 paifeaturestore/src/model/ListProjectFeatureViewTagsResult.cc create mode 100644 paifeaturestore/src/model/ListProjectFeatureViewsRequest.cc create mode 100644 paifeaturestore/src/model/ListProjectFeatureViewsResult.cc create mode 100644 paifeaturestore/src/model/ListProjectsRequest.cc create mode 100644 paifeaturestore/src/model/ListProjectsResult.cc create mode 100644 paifeaturestore/src/model/ListTaskLogsRequest.cc create mode 100644 paifeaturestore/src/model/ListTaskLogsResult.cc create mode 100644 paifeaturestore/src/model/ListTasksRequest.cc create mode 100644 paifeaturestore/src/model/ListTasksResult.cc create mode 100644 paifeaturestore/src/model/PublishFeatureViewTableRequest.cc create mode 100644 paifeaturestore/src/model/PublishFeatureViewTableResult.cc create mode 100644 paifeaturestore/src/model/UpdateDatasourceRequest.cc create mode 100644 paifeaturestore/src/model/UpdateDatasourceResult.cc create mode 100644 paifeaturestore/src/model/UpdateLabelTableRequest.cc create mode 100644 paifeaturestore/src/model/UpdateLabelTableResult.cc create mode 100644 paifeaturestore/src/model/UpdateModelFeatureRequest.cc create mode 100644 paifeaturestore/src/model/UpdateModelFeatureResult.cc create mode 100644 paifeaturestore/src/model/UpdateProjectRequest.cc create mode 100644 paifeaturestore/src/model/UpdateProjectResult.cc create mode 100644 paifeaturestore/src/model/WriteFeatureViewTableRequest.cc create mode 100644 paifeaturestore/src/model/WriteFeatureViewTableResult.cc create mode 100644 paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc create mode 100644 paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsResult.cc diff --git a/VERSION b/VERSION index ecb803c56..4fe6867f1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1739 \ No newline at end of file +1.36.1740 \ No newline at end of file diff --git a/paifeaturestore/CMakeLists.txt b/paifeaturestore/CMakeLists.txt new file mode 100644 index 000000000..849b25396 --- /dev/null +++ b/paifeaturestore/CMakeLists.txt @@ -0,0 +1,294 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(paifeaturestore_public_header + include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h + include/alibabacloud/paifeaturestore/PaiFeatureStoreExport.h ) + +set(paifeaturestore_public_header_model + include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h + include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h + include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceRequest.h + include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceResult.h + include/alibabacloud/paifeaturestore/model/CreateDatasourceRequest.h + include/alibabacloud/paifeaturestore/model/CreateDatasourceResult.h + include/alibabacloud/paifeaturestore/model/CreateFeatureEntityRequest.h + include/alibabacloud/paifeaturestore/model/CreateFeatureEntityResult.h + include/alibabacloud/paifeaturestore/model/CreateFeatureViewRequest.h + include/alibabacloud/paifeaturestore/model/CreateFeatureViewResult.h + include/alibabacloud/paifeaturestore/model/CreateInstanceRequest.h + include/alibabacloud/paifeaturestore/model/CreateInstanceResult.h + include/alibabacloud/paifeaturestore/model/CreateLabelTableRequest.h + include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.h + include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.h + include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.h + include/alibabacloud/paifeaturestore/model/CreateProjectRequest.h + include/alibabacloud/paifeaturestore/model/CreateProjectResult.h + include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.h + include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleResult.h + include/alibabacloud/paifeaturestore/model/DeleteDatasourceRequest.h + include/alibabacloud/paifeaturestore/model/DeleteDatasourceResult.h + include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityRequest.h + include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityResult.h + include/alibabacloud/paifeaturestore/model/DeleteFeatureViewRequest.h + include/alibabacloud/paifeaturestore/model/DeleteFeatureViewResult.h + include/alibabacloud/paifeaturestore/model/DeleteLabelTableRequest.h + include/alibabacloud/paifeaturestore/model/DeleteLabelTableResult.h + include/alibabacloud/paifeaturestore/model/DeleteModelFeatureRequest.h + include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h + include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.h + include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h + include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h + include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h + include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.h + include/alibabacloud/paifeaturestore/model/GetDatasourceResult.h + include/alibabacloud/paifeaturestore/model/GetDatasourceTableRequest.h + include/alibabacloud/paifeaturestore/model/GetDatasourceTableResult.h + include/alibabacloud/paifeaturestore/model/GetFeatureEntityRequest.h + include/alibabacloud/paifeaturestore/model/GetFeatureEntityResult.h + include/alibabacloud/paifeaturestore/model/GetFeatureViewRequest.h + include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h + include/alibabacloud/paifeaturestore/model/GetInstanceRequest.h + include/alibabacloud/paifeaturestore/model/GetInstanceResult.h + include/alibabacloud/paifeaturestore/model/GetLabelTableRequest.h + include/alibabacloud/paifeaturestore/model/GetLabelTableResult.h + include/alibabacloud/paifeaturestore/model/GetModelFeatureRequest.h + include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h + include/alibabacloud/paifeaturestore/model/GetProjectRequest.h + include/alibabacloud/paifeaturestore/model/GetProjectResult.h + include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h + include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityResult.h + include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h + include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h + include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h + include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h + include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h + include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h + include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleRequest.h + include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleResult.h + include/alibabacloud/paifeaturestore/model/GetTaskRequest.h + include/alibabacloud/paifeaturestore/model/GetTaskResult.h + include/alibabacloud/paifeaturestore/model/ListDatasourceTablesRequest.h + include/alibabacloud/paifeaturestore/model/ListDatasourceTablesResult.h + include/alibabacloud/paifeaturestore/model/ListDatasourcesRequest.h + include/alibabacloud/paifeaturestore/model/ListDatasourcesResult.h + include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesRequest.h + include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesResult.h + include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsRequest.h + include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsResult.h + include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsRequest.h + include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsResult.h + include/alibabacloud/paifeaturestore/model/ListFeatureViewsRequest.h + include/alibabacloud/paifeaturestore/model/ListFeatureViewsResult.h + include/alibabacloud/paifeaturestore/model/ListInstancesRequest.h + include/alibabacloud/paifeaturestore/model/ListInstancesResult.h + include/alibabacloud/paifeaturestore/model/ListLabelTablesRequest.h + include/alibabacloud/paifeaturestore/model/ListLabelTablesResult.h + include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.h + include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.h + include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h + include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h + include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h + include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h + include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsRequest.h + include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsResult.h + include/alibabacloud/paifeaturestore/model/ListProjectsRequest.h + include/alibabacloud/paifeaturestore/model/ListProjectsResult.h + include/alibabacloud/paifeaturestore/model/ListTaskLogsRequest.h + include/alibabacloud/paifeaturestore/model/ListTaskLogsResult.h + include/alibabacloud/paifeaturestore/model/ListTasksRequest.h + include/alibabacloud/paifeaturestore/model/ListTasksResult.h + include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableRequest.h + include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableResult.h + include/alibabacloud/paifeaturestore/model/UpdateDatasourceRequest.h + include/alibabacloud/paifeaturestore/model/UpdateDatasourceResult.h + include/alibabacloud/paifeaturestore/model/UpdateLabelTableRequest.h + include/alibabacloud/paifeaturestore/model/UpdateLabelTableResult.h + include/alibabacloud/paifeaturestore/model/UpdateModelFeatureRequest.h + include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h + include/alibabacloud/paifeaturestore/model/UpdateProjectRequest.h + include/alibabacloud/paifeaturestore/model/UpdateProjectResult.h + include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableRequest.h + include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h + include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h + include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h ) + +set(paifeaturestore_src + src/PaiFeatureStoreClient.cc + src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc + src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc + src/model/CheckInstanceDatasourceRequest.cc + src/model/CheckInstanceDatasourceResult.cc + src/model/CreateDatasourceRequest.cc + src/model/CreateDatasourceResult.cc + src/model/CreateFeatureEntityRequest.cc + src/model/CreateFeatureEntityResult.cc + src/model/CreateFeatureViewRequest.cc + src/model/CreateFeatureViewResult.cc + src/model/CreateInstanceRequest.cc + src/model/CreateInstanceResult.cc + src/model/CreateLabelTableRequest.cc + src/model/CreateLabelTableResult.cc + src/model/CreateModelFeatureRequest.cc + src/model/CreateModelFeatureResult.cc + src/model/CreateProjectRequest.cc + src/model/CreateProjectResult.cc + src/model/CreateServiceIdentityRoleRequest.cc + src/model/CreateServiceIdentityRoleResult.cc + src/model/DeleteDatasourceRequest.cc + src/model/DeleteDatasourceResult.cc + src/model/DeleteFeatureEntityRequest.cc + src/model/DeleteFeatureEntityResult.cc + src/model/DeleteFeatureViewRequest.cc + src/model/DeleteFeatureViewResult.cc + src/model/DeleteLabelTableRequest.cc + src/model/DeleteLabelTableResult.cc + src/model/DeleteModelFeatureRequest.cc + src/model/DeleteModelFeatureResult.cc + src/model/DeleteProjectRequest.cc + src/model/DeleteProjectResult.cc + src/model/ExportModelFeatureTrainingSetTableRequest.cc + src/model/ExportModelFeatureTrainingSetTableResult.cc + src/model/GetDatasourceRequest.cc + src/model/GetDatasourceResult.cc + src/model/GetDatasourceTableRequest.cc + src/model/GetDatasourceTableResult.cc + src/model/GetFeatureEntityRequest.cc + src/model/GetFeatureEntityResult.cc + src/model/GetFeatureViewRequest.cc + src/model/GetFeatureViewResult.cc + src/model/GetInstanceRequest.cc + src/model/GetInstanceResult.cc + src/model/GetLabelTableRequest.cc + src/model/GetLabelTableResult.cc + src/model/GetModelFeatureRequest.cc + src/model/GetModelFeatureResult.cc + src/model/GetProjectRequest.cc + src/model/GetProjectResult.cc + src/model/GetProjectFeatureEntityRequest.cc + src/model/GetProjectFeatureEntityResult.cc + src/model/GetProjectFeatureEntityHotIdsRequest.cc + src/model/GetProjectFeatureEntityHotIdsResult.cc + src/model/GetProjectFeatureViewRequest.cc + src/model/GetProjectFeatureViewResult.cc + src/model/GetProjectModelFeatureRequest.cc + src/model/GetProjectModelFeatureResult.cc + src/model/GetServiceIdentityRoleRequest.cc + src/model/GetServiceIdentityRoleResult.cc + src/model/GetTaskRequest.cc + src/model/GetTaskResult.cc + src/model/ListDatasourceTablesRequest.cc + src/model/ListDatasourceTablesResult.cc + src/model/ListDatasourcesRequest.cc + src/model/ListDatasourcesResult.cc + src/model/ListFeatureEntitiesRequest.cc + src/model/ListFeatureEntitiesResult.cc + src/model/ListFeatureViewFieldRelationshipsRequest.cc + src/model/ListFeatureViewFieldRelationshipsResult.cc + src/model/ListFeatureViewRelationshipsRequest.cc + src/model/ListFeatureViewRelationshipsResult.cc + src/model/ListFeatureViewsRequest.cc + src/model/ListFeatureViewsResult.cc + src/model/ListInstancesRequest.cc + src/model/ListInstancesResult.cc + src/model/ListLabelTablesRequest.cc + src/model/ListLabelTablesResult.cc + src/model/ListModelFeaturesRequest.cc + src/model/ListModelFeaturesResult.cc + src/model/ListProjectFeatureViewOwnersRequest.cc + src/model/ListProjectFeatureViewOwnersResult.cc + src/model/ListProjectFeatureViewTagsRequest.cc + src/model/ListProjectFeatureViewTagsResult.cc + src/model/ListProjectFeatureViewsRequest.cc + src/model/ListProjectFeatureViewsResult.cc + src/model/ListProjectsRequest.cc + src/model/ListProjectsResult.cc + src/model/ListTaskLogsRequest.cc + src/model/ListTaskLogsResult.cc + src/model/ListTasksRequest.cc + src/model/ListTasksResult.cc + src/model/PublishFeatureViewTableRequest.cc + src/model/PublishFeatureViewTableResult.cc + src/model/UpdateDatasourceRequest.cc + src/model/UpdateDatasourceResult.cc + src/model/UpdateLabelTableRequest.cc + src/model/UpdateLabelTableResult.cc + src/model/UpdateModelFeatureRequest.cc + src/model/UpdateModelFeatureResult.cc + src/model/UpdateProjectRequest.cc + src/model/UpdateProjectResult.cc + src/model/WriteFeatureViewTableRequest.cc + src/model/WriteFeatureViewTableResult.cc + src/model/WriteProjectFeatureEntityHotIdsRequest.cc + src/model/WriteProjectFeatureEntityHotIdsResult.cc ) + +add_library(paifeaturestore ${LIB_TYPE} + ${paifeaturestore_public_header} + ${paifeaturestore_public_header_model} + ${paifeaturestore_src}) + +set_target_properties(paifeaturestore + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}paifeaturestore + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(paifeaturestore + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_PAIFEATURESTORE_LIBRARY) +endif() + +target_include_directories(paifeaturestore + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(paifeaturestore + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(paifeaturestore + jsoncpp) + target_include_directories(paifeaturestore + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(paifeaturestore + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(paifeaturestore + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(paifeaturestore + PRIVATE /usr/include/jsoncpp) + target_link_libraries(paifeaturestore + jsoncpp) +endif() + +install(FILES ${paifeaturestore_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/paifeaturestore) +install(FILES ${paifeaturestore_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/paifeaturestore/model) +install(TARGETS paifeaturestore + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h b/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h new file mode 100644 index 000000000..6a6111311 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h @@ -0,0 +1,470 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_PAIFEATURESTORECLIENT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_PAIFEATURESTORECLIENT_H_ + +#include +#include +#include +#include +#include "PaiFeatureStoreExport.h" +#include "model/ChangeProjectFeatureEntityHotIdVersionRequest.h" +#include "model/ChangeProjectFeatureEntityHotIdVersionResult.h" +#include "model/CheckInstanceDatasourceRequest.h" +#include "model/CheckInstanceDatasourceResult.h" +#include "model/CreateDatasourceRequest.h" +#include "model/CreateDatasourceResult.h" +#include "model/CreateFeatureEntityRequest.h" +#include "model/CreateFeatureEntityResult.h" +#include "model/CreateFeatureViewRequest.h" +#include "model/CreateFeatureViewResult.h" +#include "model/CreateInstanceRequest.h" +#include "model/CreateInstanceResult.h" +#include "model/CreateLabelTableRequest.h" +#include "model/CreateLabelTableResult.h" +#include "model/CreateModelFeatureRequest.h" +#include "model/CreateModelFeatureResult.h" +#include "model/CreateProjectRequest.h" +#include "model/CreateProjectResult.h" +#include "model/CreateServiceIdentityRoleRequest.h" +#include "model/CreateServiceIdentityRoleResult.h" +#include "model/DeleteDatasourceRequest.h" +#include "model/DeleteDatasourceResult.h" +#include "model/DeleteFeatureEntityRequest.h" +#include "model/DeleteFeatureEntityResult.h" +#include "model/DeleteFeatureViewRequest.h" +#include "model/DeleteFeatureViewResult.h" +#include "model/DeleteLabelTableRequest.h" +#include "model/DeleteLabelTableResult.h" +#include "model/DeleteModelFeatureRequest.h" +#include "model/DeleteModelFeatureResult.h" +#include "model/DeleteProjectRequest.h" +#include "model/DeleteProjectResult.h" +#include "model/ExportModelFeatureTrainingSetTableRequest.h" +#include "model/ExportModelFeatureTrainingSetTableResult.h" +#include "model/GetDatasourceRequest.h" +#include "model/GetDatasourceResult.h" +#include "model/GetDatasourceTableRequest.h" +#include "model/GetDatasourceTableResult.h" +#include "model/GetFeatureEntityRequest.h" +#include "model/GetFeatureEntityResult.h" +#include "model/GetFeatureViewRequest.h" +#include "model/GetFeatureViewResult.h" +#include "model/GetInstanceRequest.h" +#include "model/GetInstanceResult.h" +#include "model/GetLabelTableRequest.h" +#include "model/GetLabelTableResult.h" +#include "model/GetModelFeatureRequest.h" +#include "model/GetModelFeatureResult.h" +#include "model/GetProjectRequest.h" +#include "model/GetProjectResult.h" +#include "model/GetProjectFeatureEntityRequest.h" +#include "model/GetProjectFeatureEntityResult.h" +#include "model/GetProjectFeatureEntityHotIdsRequest.h" +#include "model/GetProjectFeatureEntityHotIdsResult.h" +#include "model/GetProjectFeatureViewRequest.h" +#include "model/GetProjectFeatureViewResult.h" +#include "model/GetProjectModelFeatureRequest.h" +#include "model/GetProjectModelFeatureResult.h" +#include "model/GetServiceIdentityRoleRequest.h" +#include "model/GetServiceIdentityRoleResult.h" +#include "model/GetTaskRequest.h" +#include "model/GetTaskResult.h" +#include "model/ListDatasourceTablesRequest.h" +#include "model/ListDatasourceTablesResult.h" +#include "model/ListDatasourcesRequest.h" +#include "model/ListDatasourcesResult.h" +#include "model/ListFeatureEntitiesRequest.h" +#include "model/ListFeatureEntitiesResult.h" +#include "model/ListFeatureViewFieldRelationshipsRequest.h" +#include "model/ListFeatureViewFieldRelationshipsResult.h" +#include "model/ListFeatureViewRelationshipsRequest.h" +#include "model/ListFeatureViewRelationshipsResult.h" +#include "model/ListFeatureViewsRequest.h" +#include "model/ListFeatureViewsResult.h" +#include "model/ListInstancesRequest.h" +#include "model/ListInstancesResult.h" +#include "model/ListLabelTablesRequest.h" +#include "model/ListLabelTablesResult.h" +#include "model/ListModelFeaturesRequest.h" +#include "model/ListModelFeaturesResult.h" +#include "model/ListProjectFeatureViewOwnersRequest.h" +#include "model/ListProjectFeatureViewOwnersResult.h" +#include "model/ListProjectFeatureViewTagsRequest.h" +#include "model/ListProjectFeatureViewTagsResult.h" +#include "model/ListProjectFeatureViewsRequest.h" +#include "model/ListProjectFeatureViewsResult.h" +#include "model/ListProjectsRequest.h" +#include "model/ListProjectsResult.h" +#include "model/ListTaskLogsRequest.h" +#include "model/ListTaskLogsResult.h" +#include "model/ListTasksRequest.h" +#include "model/ListTasksResult.h" +#include "model/PublishFeatureViewTableRequest.h" +#include "model/PublishFeatureViewTableResult.h" +#include "model/UpdateDatasourceRequest.h" +#include "model/UpdateDatasourceResult.h" +#include "model/UpdateLabelTableRequest.h" +#include "model/UpdateLabelTableResult.h" +#include "model/UpdateModelFeatureRequest.h" +#include "model/UpdateModelFeatureResult.h" +#include "model/UpdateProjectRequest.h" +#include "model/UpdateProjectResult.h" +#include "model/WriteFeatureViewTableRequest.h" +#include "model/WriteFeatureViewTableResult.h" +#include "model/WriteProjectFeatureEntityHotIdsRequest.h" +#include "model/WriteProjectFeatureEntityHotIdsResult.h" + + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT PaiFeatureStoreClient : public RoaServiceClient + { + public: + typedef Outcome ChangeProjectFeatureEntityHotIdVersionOutcome; + typedef std::future ChangeProjectFeatureEntityHotIdVersionOutcomeCallable; + typedef std::function&)> ChangeProjectFeatureEntityHotIdVersionAsyncHandler; + typedef Outcome CheckInstanceDatasourceOutcome; + typedef std::future CheckInstanceDatasourceOutcomeCallable; + typedef std::function&)> CheckInstanceDatasourceAsyncHandler; + typedef Outcome CreateDatasourceOutcome; + typedef std::future CreateDatasourceOutcomeCallable; + typedef std::function&)> CreateDatasourceAsyncHandler; + typedef Outcome CreateFeatureEntityOutcome; + typedef std::future CreateFeatureEntityOutcomeCallable; + typedef std::function&)> CreateFeatureEntityAsyncHandler; + typedef Outcome CreateFeatureViewOutcome; + typedef std::future CreateFeatureViewOutcomeCallable; + typedef std::function&)> CreateFeatureViewAsyncHandler; + typedef Outcome CreateInstanceOutcome; + typedef std::future CreateInstanceOutcomeCallable; + typedef std::function&)> CreateInstanceAsyncHandler; + typedef Outcome CreateLabelTableOutcome; + typedef std::future CreateLabelTableOutcomeCallable; + typedef std::function&)> CreateLabelTableAsyncHandler; + typedef Outcome CreateModelFeatureOutcome; + typedef std::future CreateModelFeatureOutcomeCallable; + typedef std::function&)> CreateModelFeatureAsyncHandler; + typedef Outcome CreateProjectOutcome; + typedef std::future CreateProjectOutcomeCallable; + typedef std::function&)> CreateProjectAsyncHandler; + typedef Outcome CreateServiceIdentityRoleOutcome; + typedef std::future CreateServiceIdentityRoleOutcomeCallable; + typedef std::function&)> CreateServiceIdentityRoleAsyncHandler; + typedef Outcome DeleteDatasourceOutcome; + typedef std::future DeleteDatasourceOutcomeCallable; + typedef std::function&)> DeleteDatasourceAsyncHandler; + typedef Outcome DeleteFeatureEntityOutcome; + typedef std::future DeleteFeatureEntityOutcomeCallable; + typedef std::function&)> DeleteFeatureEntityAsyncHandler; + typedef Outcome DeleteFeatureViewOutcome; + typedef std::future DeleteFeatureViewOutcomeCallable; + typedef std::function&)> DeleteFeatureViewAsyncHandler; + typedef Outcome DeleteLabelTableOutcome; + typedef std::future DeleteLabelTableOutcomeCallable; + typedef std::function&)> DeleteLabelTableAsyncHandler; + typedef Outcome DeleteModelFeatureOutcome; + typedef std::future DeleteModelFeatureOutcomeCallable; + typedef std::function&)> DeleteModelFeatureAsyncHandler; + typedef Outcome DeleteProjectOutcome; + typedef std::future DeleteProjectOutcomeCallable; + typedef std::function&)> DeleteProjectAsyncHandler; + typedef Outcome ExportModelFeatureTrainingSetTableOutcome; + typedef std::future ExportModelFeatureTrainingSetTableOutcomeCallable; + typedef std::function&)> ExportModelFeatureTrainingSetTableAsyncHandler; + typedef Outcome GetDatasourceOutcome; + typedef std::future GetDatasourceOutcomeCallable; + typedef std::function&)> GetDatasourceAsyncHandler; + typedef Outcome GetDatasourceTableOutcome; + typedef std::future GetDatasourceTableOutcomeCallable; + typedef std::function&)> GetDatasourceTableAsyncHandler; + typedef Outcome GetFeatureEntityOutcome; + typedef std::future GetFeatureEntityOutcomeCallable; + typedef std::function&)> GetFeatureEntityAsyncHandler; + typedef Outcome GetFeatureViewOutcome; + typedef std::future GetFeatureViewOutcomeCallable; + typedef std::function&)> GetFeatureViewAsyncHandler; + typedef Outcome GetInstanceOutcome; + typedef std::future GetInstanceOutcomeCallable; + typedef std::function&)> GetInstanceAsyncHandler; + typedef Outcome GetLabelTableOutcome; + typedef std::future GetLabelTableOutcomeCallable; + typedef std::function&)> GetLabelTableAsyncHandler; + typedef Outcome GetModelFeatureOutcome; + typedef std::future GetModelFeatureOutcomeCallable; + typedef std::function&)> GetModelFeatureAsyncHandler; + typedef Outcome GetProjectOutcome; + typedef std::future GetProjectOutcomeCallable; + typedef std::function&)> GetProjectAsyncHandler; + typedef Outcome GetProjectFeatureEntityOutcome; + typedef std::future GetProjectFeatureEntityOutcomeCallable; + typedef std::function&)> GetProjectFeatureEntityAsyncHandler; + typedef Outcome GetProjectFeatureEntityHotIdsOutcome; + typedef std::future GetProjectFeatureEntityHotIdsOutcomeCallable; + typedef std::function&)> GetProjectFeatureEntityHotIdsAsyncHandler; + typedef Outcome GetProjectFeatureViewOutcome; + typedef std::future GetProjectFeatureViewOutcomeCallable; + typedef std::function&)> GetProjectFeatureViewAsyncHandler; + typedef Outcome GetProjectModelFeatureOutcome; + typedef std::future GetProjectModelFeatureOutcomeCallable; + typedef std::function&)> GetProjectModelFeatureAsyncHandler; + typedef Outcome GetServiceIdentityRoleOutcome; + typedef std::future GetServiceIdentityRoleOutcomeCallable; + typedef std::function&)> GetServiceIdentityRoleAsyncHandler; + typedef Outcome GetTaskOutcome; + typedef std::future GetTaskOutcomeCallable; + typedef std::function&)> GetTaskAsyncHandler; + typedef Outcome ListDatasourceTablesOutcome; + typedef std::future ListDatasourceTablesOutcomeCallable; + typedef std::function&)> ListDatasourceTablesAsyncHandler; + typedef Outcome ListDatasourcesOutcome; + typedef std::future ListDatasourcesOutcomeCallable; + typedef std::function&)> ListDatasourcesAsyncHandler; + typedef Outcome ListFeatureEntitiesOutcome; + typedef std::future ListFeatureEntitiesOutcomeCallable; + typedef std::function&)> ListFeatureEntitiesAsyncHandler; + typedef Outcome ListFeatureViewFieldRelationshipsOutcome; + typedef std::future ListFeatureViewFieldRelationshipsOutcomeCallable; + typedef std::function&)> ListFeatureViewFieldRelationshipsAsyncHandler; + typedef Outcome ListFeatureViewRelationshipsOutcome; + typedef std::future ListFeatureViewRelationshipsOutcomeCallable; + typedef std::function&)> ListFeatureViewRelationshipsAsyncHandler; + typedef Outcome ListFeatureViewsOutcome; + typedef std::future ListFeatureViewsOutcomeCallable; + typedef std::function&)> ListFeatureViewsAsyncHandler; + typedef Outcome ListInstancesOutcome; + typedef std::future ListInstancesOutcomeCallable; + typedef std::function&)> ListInstancesAsyncHandler; + typedef Outcome ListLabelTablesOutcome; + typedef std::future ListLabelTablesOutcomeCallable; + typedef std::function&)> ListLabelTablesAsyncHandler; + typedef Outcome ListModelFeaturesOutcome; + typedef std::future ListModelFeaturesOutcomeCallable; + typedef std::function&)> ListModelFeaturesAsyncHandler; + typedef Outcome ListProjectFeatureViewOwnersOutcome; + typedef std::future ListProjectFeatureViewOwnersOutcomeCallable; + typedef std::function&)> ListProjectFeatureViewOwnersAsyncHandler; + typedef Outcome ListProjectFeatureViewTagsOutcome; + typedef std::future ListProjectFeatureViewTagsOutcomeCallable; + typedef std::function&)> ListProjectFeatureViewTagsAsyncHandler; + typedef Outcome ListProjectFeatureViewsOutcome; + typedef std::future ListProjectFeatureViewsOutcomeCallable; + typedef std::function&)> ListProjectFeatureViewsAsyncHandler; + typedef Outcome ListProjectsOutcome; + typedef std::future ListProjectsOutcomeCallable; + typedef std::function&)> ListProjectsAsyncHandler; + typedef Outcome ListTaskLogsOutcome; + typedef std::future ListTaskLogsOutcomeCallable; + typedef std::function&)> ListTaskLogsAsyncHandler; + typedef Outcome ListTasksOutcome; + typedef std::future ListTasksOutcomeCallable; + typedef std::function&)> ListTasksAsyncHandler; + typedef Outcome PublishFeatureViewTableOutcome; + typedef std::future PublishFeatureViewTableOutcomeCallable; + typedef std::function&)> PublishFeatureViewTableAsyncHandler; + typedef Outcome UpdateDatasourceOutcome; + typedef std::future UpdateDatasourceOutcomeCallable; + typedef std::function&)> UpdateDatasourceAsyncHandler; + typedef Outcome UpdateLabelTableOutcome; + typedef std::future UpdateLabelTableOutcomeCallable; + typedef std::function&)> UpdateLabelTableAsyncHandler; + typedef Outcome UpdateModelFeatureOutcome; + typedef std::future UpdateModelFeatureOutcomeCallable; + typedef std::function&)> UpdateModelFeatureAsyncHandler; + typedef Outcome UpdateProjectOutcome; + typedef std::future UpdateProjectOutcomeCallable; + typedef std::function&)> UpdateProjectAsyncHandler; + typedef Outcome WriteFeatureViewTableOutcome; + typedef std::future WriteFeatureViewTableOutcomeCallable; + typedef std::function&)> WriteFeatureViewTableAsyncHandler; + typedef Outcome WriteProjectFeatureEntityHotIdsOutcome; + typedef std::future WriteProjectFeatureEntityHotIdsOutcomeCallable; + typedef std::function&)> WriteProjectFeatureEntityHotIdsAsyncHandler; + + PaiFeatureStoreClient(const Credentials &credentials, const ClientConfiguration &configuration); + PaiFeatureStoreClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + PaiFeatureStoreClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~PaiFeatureStoreClient(); + ChangeProjectFeatureEntityHotIdVersionOutcome changeProjectFeatureEntityHotIdVersion(const Model::ChangeProjectFeatureEntityHotIdVersionRequest &request)const; + void changeProjectFeatureEntityHotIdVersionAsync(const Model::ChangeProjectFeatureEntityHotIdVersionRequest& request, const ChangeProjectFeatureEntityHotIdVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ChangeProjectFeatureEntityHotIdVersionOutcomeCallable changeProjectFeatureEntityHotIdVersionCallable(const Model::ChangeProjectFeatureEntityHotIdVersionRequest& request) const; + CheckInstanceDatasourceOutcome checkInstanceDatasource(const Model::CheckInstanceDatasourceRequest &request)const; + void checkInstanceDatasourceAsync(const Model::CheckInstanceDatasourceRequest& request, const CheckInstanceDatasourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckInstanceDatasourceOutcomeCallable checkInstanceDatasourceCallable(const Model::CheckInstanceDatasourceRequest& request) const; + CreateDatasourceOutcome createDatasource(const Model::CreateDatasourceRequest &request)const; + void createDatasourceAsync(const Model::CreateDatasourceRequest& request, const CreateDatasourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDatasourceOutcomeCallable createDatasourceCallable(const Model::CreateDatasourceRequest& request) const; + CreateFeatureEntityOutcome createFeatureEntity(const Model::CreateFeatureEntityRequest &request)const; + void createFeatureEntityAsync(const Model::CreateFeatureEntityRequest& request, const CreateFeatureEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateFeatureEntityOutcomeCallable createFeatureEntityCallable(const Model::CreateFeatureEntityRequest& request) const; + CreateFeatureViewOutcome createFeatureView(const Model::CreateFeatureViewRequest &request)const; + void createFeatureViewAsync(const Model::CreateFeatureViewRequest& request, const CreateFeatureViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateFeatureViewOutcomeCallable createFeatureViewCallable(const Model::CreateFeatureViewRequest& request) const; + CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; + void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; + CreateLabelTableOutcome createLabelTable(const Model::CreateLabelTableRequest &request)const; + void createLabelTableAsync(const Model::CreateLabelTableRequest& request, const CreateLabelTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateLabelTableOutcomeCallable createLabelTableCallable(const Model::CreateLabelTableRequest& request) const; + CreateModelFeatureOutcome createModelFeature(const Model::CreateModelFeatureRequest &request)const; + void createModelFeatureAsync(const Model::CreateModelFeatureRequest& request, const CreateModelFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateModelFeatureOutcomeCallable createModelFeatureCallable(const Model::CreateModelFeatureRequest& request) const; + CreateProjectOutcome createProject(const Model::CreateProjectRequest &request)const; + void createProjectAsync(const Model::CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const; + CreateServiceIdentityRoleOutcome createServiceIdentityRole(const Model::CreateServiceIdentityRoleRequest &request)const; + void createServiceIdentityRoleAsync(const Model::CreateServiceIdentityRoleRequest& request, const CreateServiceIdentityRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateServiceIdentityRoleOutcomeCallable createServiceIdentityRoleCallable(const Model::CreateServiceIdentityRoleRequest& request) const; + DeleteDatasourceOutcome deleteDatasource(const Model::DeleteDatasourceRequest &request)const; + void deleteDatasourceAsync(const Model::DeleteDatasourceRequest& request, const DeleteDatasourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDatasourceOutcomeCallable deleteDatasourceCallable(const Model::DeleteDatasourceRequest& request) const; + DeleteFeatureEntityOutcome deleteFeatureEntity(const Model::DeleteFeatureEntityRequest &request)const; + void deleteFeatureEntityAsync(const Model::DeleteFeatureEntityRequest& request, const DeleteFeatureEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFeatureEntityOutcomeCallable deleteFeatureEntityCallable(const Model::DeleteFeatureEntityRequest& request) const; + DeleteFeatureViewOutcome deleteFeatureView(const Model::DeleteFeatureViewRequest &request)const; + void deleteFeatureViewAsync(const Model::DeleteFeatureViewRequest& request, const DeleteFeatureViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFeatureViewOutcomeCallable deleteFeatureViewCallable(const Model::DeleteFeatureViewRequest& request) const; + DeleteLabelTableOutcome deleteLabelTable(const Model::DeleteLabelTableRequest &request)const; + void deleteLabelTableAsync(const Model::DeleteLabelTableRequest& request, const DeleteLabelTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteLabelTableOutcomeCallable deleteLabelTableCallable(const Model::DeleteLabelTableRequest& request) const; + DeleteModelFeatureOutcome deleteModelFeature(const Model::DeleteModelFeatureRequest &request)const; + void deleteModelFeatureAsync(const Model::DeleteModelFeatureRequest& request, const DeleteModelFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteModelFeatureOutcomeCallable deleteModelFeatureCallable(const Model::DeleteModelFeatureRequest& request) const; + DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const; + void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const; + ExportModelFeatureTrainingSetTableOutcome exportModelFeatureTrainingSetTable(const Model::ExportModelFeatureTrainingSetTableRequest &request)const; + void exportModelFeatureTrainingSetTableAsync(const Model::ExportModelFeatureTrainingSetTableRequest& request, const ExportModelFeatureTrainingSetTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportModelFeatureTrainingSetTableOutcomeCallable exportModelFeatureTrainingSetTableCallable(const Model::ExportModelFeatureTrainingSetTableRequest& request) const; + GetDatasourceOutcome getDatasource(const Model::GetDatasourceRequest &request)const; + void getDatasourceAsync(const Model::GetDatasourceRequest& request, const GetDatasourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDatasourceOutcomeCallable getDatasourceCallable(const Model::GetDatasourceRequest& request) const; + GetDatasourceTableOutcome getDatasourceTable(const Model::GetDatasourceTableRequest &request)const; + void getDatasourceTableAsync(const Model::GetDatasourceTableRequest& request, const GetDatasourceTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDatasourceTableOutcomeCallable getDatasourceTableCallable(const Model::GetDatasourceTableRequest& request) const; + GetFeatureEntityOutcome getFeatureEntity(const Model::GetFeatureEntityRequest &request)const; + void getFeatureEntityAsync(const Model::GetFeatureEntityRequest& request, const GetFeatureEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFeatureEntityOutcomeCallable getFeatureEntityCallable(const Model::GetFeatureEntityRequest& request) const; + GetFeatureViewOutcome getFeatureView(const Model::GetFeatureViewRequest &request)const; + void getFeatureViewAsync(const Model::GetFeatureViewRequest& request, const GetFeatureViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFeatureViewOutcomeCallable getFeatureViewCallable(const Model::GetFeatureViewRequest& request) const; + GetInstanceOutcome getInstance(const Model::GetInstanceRequest &request)const; + void getInstanceAsync(const Model::GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetInstanceOutcomeCallable getInstanceCallable(const Model::GetInstanceRequest& request) const; + GetLabelTableOutcome getLabelTable(const Model::GetLabelTableRequest &request)const; + void getLabelTableAsync(const Model::GetLabelTableRequest& request, const GetLabelTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetLabelTableOutcomeCallable getLabelTableCallable(const Model::GetLabelTableRequest& request) const; + GetModelFeatureOutcome getModelFeature(const Model::GetModelFeatureRequest &request)const; + void getModelFeatureAsync(const Model::GetModelFeatureRequest& request, const GetModelFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetModelFeatureOutcomeCallable getModelFeatureCallable(const Model::GetModelFeatureRequest& request) const; + GetProjectOutcome getProject(const Model::GetProjectRequest &request)const; + void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const; + GetProjectFeatureEntityOutcome getProjectFeatureEntity(const Model::GetProjectFeatureEntityRequest &request)const; + void getProjectFeatureEntityAsync(const Model::GetProjectFeatureEntityRequest& request, const GetProjectFeatureEntityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectFeatureEntityOutcomeCallable getProjectFeatureEntityCallable(const Model::GetProjectFeatureEntityRequest& request) const; + GetProjectFeatureEntityHotIdsOutcome getProjectFeatureEntityHotIds(const Model::GetProjectFeatureEntityHotIdsRequest &request)const; + void getProjectFeatureEntityHotIdsAsync(const Model::GetProjectFeatureEntityHotIdsRequest& request, const GetProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectFeatureEntityHotIdsOutcomeCallable getProjectFeatureEntityHotIdsCallable(const Model::GetProjectFeatureEntityHotIdsRequest& request) const; + GetProjectFeatureViewOutcome getProjectFeatureView(const Model::GetProjectFeatureViewRequest &request)const; + void getProjectFeatureViewAsync(const Model::GetProjectFeatureViewRequest& request, const GetProjectFeatureViewAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectFeatureViewOutcomeCallable getProjectFeatureViewCallable(const Model::GetProjectFeatureViewRequest& request) const; + GetProjectModelFeatureOutcome getProjectModelFeature(const Model::GetProjectModelFeatureRequest &request)const; + void getProjectModelFeatureAsync(const Model::GetProjectModelFeatureRequest& request, const GetProjectModelFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectModelFeatureOutcomeCallable getProjectModelFeatureCallable(const Model::GetProjectModelFeatureRequest& request) const; + GetServiceIdentityRoleOutcome getServiceIdentityRole(const Model::GetServiceIdentityRoleRequest &request)const; + void getServiceIdentityRoleAsync(const Model::GetServiceIdentityRoleRequest& request, const GetServiceIdentityRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetServiceIdentityRoleOutcomeCallable getServiceIdentityRoleCallable(const Model::GetServiceIdentityRoleRequest& request) const; + GetTaskOutcome getTask(const Model::GetTaskRequest &request)const; + void getTaskAsync(const Model::GetTaskRequest& request, const GetTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTaskOutcomeCallable getTaskCallable(const Model::GetTaskRequest& request) const; + ListDatasourceTablesOutcome listDatasourceTables(const Model::ListDatasourceTablesRequest &request)const; + void listDatasourceTablesAsync(const Model::ListDatasourceTablesRequest& request, const ListDatasourceTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDatasourceTablesOutcomeCallable listDatasourceTablesCallable(const Model::ListDatasourceTablesRequest& request) const; + ListDatasourcesOutcome listDatasources(const Model::ListDatasourcesRequest &request)const; + void listDatasourcesAsync(const Model::ListDatasourcesRequest& request, const ListDatasourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDatasourcesOutcomeCallable listDatasourcesCallable(const Model::ListDatasourcesRequest& request) const; + ListFeatureEntitiesOutcome listFeatureEntities(const Model::ListFeatureEntitiesRequest &request)const; + void listFeatureEntitiesAsync(const Model::ListFeatureEntitiesRequest& request, const ListFeatureEntitiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFeatureEntitiesOutcomeCallable listFeatureEntitiesCallable(const Model::ListFeatureEntitiesRequest& request) const; + ListFeatureViewFieldRelationshipsOutcome listFeatureViewFieldRelationships(const Model::ListFeatureViewFieldRelationshipsRequest &request)const; + void listFeatureViewFieldRelationshipsAsync(const Model::ListFeatureViewFieldRelationshipsRequest& request, const ListFeatureViewFieldRelationshipsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFeatureViewFieldRelationshipsOutcomeCallable listFeatureViewFieldRelationshipsCallable(const Model::ListFeatureViewFieldRelationshipsRequest& request) const; + ListFeatureViewRelationshipsOutcome listFeatureViewRelationships(const Model::ListFeatureViewRelationshipsRequest &request)const; + void listFeatureViewRelationshipsAsync(const Model::ListFeatureViewRelationshipsRequest& request, const ListFeatureViewRelationshipsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFeatureViewRelationshipsOutcomeCallable listFeatureViewRelationshipsCallable(const Model::ListFeatureViewRelationshipsRequest& request) const; + ListFeatureViewsOutcome listFeatureViews(const Model::ListFeatureViewsRequest &request)const; + void listFeatureViewsAsync(const Model::ListFeatureViewsRequest& request, const ListFeatureViewsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFeatureViewsOutcomeCallable listFeatureViewsCallable(const Model::ListFeatureViewsRequest& request) const; + ListInstancesOutcome listInstances(const Model::ListInstancesRequest &request)const; + void listInstancesAsync(const Model::ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListInstancesOutcomeCallable listInstancesCallable(const Model::ListInstancesRequest& request) const; + ListLabelTablesOutcome listLabelTables(const Model::ListLabelTablesRequest &request)const; + void listLabelTablesAsync(const Model::ListLabelTablesRequest& request, const ListLabelTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListLabelTablesOutcomeCallable listLabelTablesCallable(const Model::ListLabelTablesRequest& request) const; + ListModelFeaturesOutcome listModelFeatures(const Model::ListModelFeaturesRequest &request)const; + void listModelFeaturesAsync(const Model::ListModelFeaturesRequest& request, const ListModelFeaturesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListModelFeaturesOutcomeCallable listModelFeaturesCallable(const Model::ListModelFeaturesRequest& request) const; + ListProjectFeatureViewOwnersOutcome listProjectFeatureViewOwners(const Model::ListProjectFeatureViewOwnersRequest &request)const; + void listProjectFeatureViewOwnersAsync(const Model::ListProjectFeatureViewOwnersRequest& request, const ListProjectFeatureViewOwnersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListProjectFeatureViewOwnersOutcomeCallable listProjectFeatureViewOwnersCallable(const Model::ListProjectFeatureViewOwnersRequest& request) const; + ListProjectFeatureViewTagsOutcome listProjectFeatureViewTags(const Model::ListProjectFeatureViewTagsRequest &request)const; + void listProjectFeatureViewTagsAsync(const Model::ListProjectFeatureViewTagsRequest& request, const ListProjectFeatureViewTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListProjectFeatureViewTagsOutcomeCallable listProjectFeatureViewTagsCallable(const Model::ListProjectFeatureViewTagsRequest& request) const; + ListProjectFeatureViewsOutcome listProjectFeatureViews(const Model::ListProjectFeatureViewsRequest &request)const; + void listProjectFeatureViewsAsync(const Model::ListProjectFeatureViewsRequest& request, const ListProjectFeatureViewsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListProjectFeatureViewsOutcomeCallable listProjectFeatureViewsCallable(const Model::ListProjectFeatureViewsRequest& request) const; + ListProjectsOutcome listProjects(const Model::ListProjectsRequest &request)const; + void listProjectsAsync(const Model::ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListProjectsOutcomeCallable listProjectsCallable(const Model::ListProjectsRequest& request) const; + ListTaskLogsOutcome listTaskLogs(const Model::ListTaskLogsRequest &request)const; + void listTaskLogsAsync(const Model::ListTaskLogsRequest& request, const ListTaskLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTaskLogsOutcomeCallable listTaskLogsCallable(const Model::ListTaskLogsRequest& request) const; + ListTasksOutcome listTasks(const Model::ListTasksRequest &request)const; + void listTasksAsync(const Model::ListTasksRequest& request, const ListTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTasksOutcomeCallable listTasksCallable(const Model::ListTasksRequest& request) const; + PublishFeatureViewTableOutcome publishFeatureViewTable(const Model::PublishFeatureViewTableRequest &request)const; + void publishFeatureViewTableAsync(const Model::PublishFeatureViewTableRequest& request, const PublishFeatureViewTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PublishFeatureViewTableOutcomeCallable publishFeatureViewTableCallable(const Model::PublishFeatureViewTableRequest& request) const; + UpdateDatasourceOutcome updateDatasource(const Model::UpdateDatasourceRequest &request)const; + void updateDatasourceAsync(const Model::UpdateDatasourceRequest& request, const UpdateDatasourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDatasourceOutcomeCallable updateDatasourceCallable(const Model::UpdateDatasourceRequest& request) const; + UpdateLabelTableOutcome updateLabelTable(const Model::UpdateLabelTableRequest &request)const; + void updateLabelTableAsync(const Model::UpdateLabelTableRequest& request, const UpdateLabelTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateLabelTableOutcomeCallable updateLabelTableCallable(const Model::UpdateLabelTableRequest& request) const; + UpdateModelFeatureOutcome updateModelFeature(const Model::UpdateModelFeatureRequest &request)const; + void updateModelFeatureAsync(const Model::UpdateModelFeatureRequest& request, const UpdateModelFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateModelFeatureOutcomeCallable updateModelFeatureCallable(const Model::UpdateModelFeatureRequest& request) const; + UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const; + void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const; + WriteFeatureViewTableOutcome writeFeatureViewTable(const Model::WriteFeatureViewTableRequest &request)const; + void writeFeatureViewTableAsync(const Model::WriteFeatureViewTableRequest& request, const WriteFeatureViewTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + WriteFeatureViewTableOutcomeCallable writeFeatureViewTableCallable(const Model::WriteFeatureViewTableRequest& request) const; + WriteProjectFeatureEntityHotIdsOutcome writeProjectFeatureEntityHotIds(const Model::WriteProjectFeatureEntityHotIdsRequest &request)const; + void writeProjectFeatureEntityHotIdsAsync(const Model::WriteProjectFeatureEntityHotIdsRequest& request, const WriteProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + WriteProjectFeatureEntityHotIdsOutcomeCallable writeProjectFeatureEntityHotIdsCallable(const Model::WriteProjectFeatureEntityHotIdsRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_PAIFEATURESTORE_PAIFEATURESTORECLIENT_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreExport.h b/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreExport.h new file mode 100644 index 000000000..e9e3a48b8 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreExport.h @@ -0,0 +1,32 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_PAIFEATURESTOREEXPORT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_PAIFEATURESTOREEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_PAIFEATURESTORE_LIBRARY) +# define ALIBABACLOUD_PAIFEATURESTORE_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_PAIFEATURESTORE_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_PAIFEATURESTORE_EXPORT +#endif + +#endif // !ALIBABACLOUD_PAIFEATURESTORE_PAIFEATURESTOREEXPORT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h new file mode 100644 index 000000000..3411eafdb --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.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_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ChangeProjectFeatureEntityHotIdVersionRequest : public RoaServiceRequest { +public: + ChangeProjectFeatureEntityHotIdVersionRequest(); + ~ChangeProjectFeatureEntityHotIdVersionRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureEntityName() const; + void setFeatureEntityName(const std::string &featureEntityName); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string body_; + std::string instanceId_; + std::string featureEntityName_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h new file mode 100644 index 000000000..6417e4368 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ChangeProjectFeatureEntityHotIdVersionResult : public ServiceResult + { + public: + + + ChangeProjectFeatureEntityHotIdVersionResult(); + explicit ChangeProjectFeatureEntityHotIdVersionResult(const std::string &payload); + ~ChangeProjectFeatureEntityHotIdVersionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceRequest.h new file mode 100644 index 000000000..24601e3b7 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceRequest.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_PAIFEATURESTORE_MODEL_CHECKINSTANCEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHECKINSTANCEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CheckInstanceDatasourceRequest : public RoaServiceRequest { +public: + CheckInstanceDatasourceRequest(); + ~CheckInstanceDatasourceRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHECKINSTANCEDATASOURCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceResult.h new file mode 100644 index 000000000..ca3a3e56e --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceResult.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_PAIFEATURESTORE_MODEL_CHECKINSTANCEDATASOURCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHECKINSTANCEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CheckInstanceDatasourceResult : public ServiceResult + { + public: + + + CheckInstanceDatasourceResult(); + explicit CheckInstanceDatasourceResult(const std::string &payload); + ~CheckInstanceDatasourceResult(); + std::string getStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHECKINSTANCEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceRequest.h new file mode 100644 index 000000000..c64ba3b91 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceRequest.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_PAIFEATURESTORE_MODEL_CREATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateDatasourceRequest : public RoaServiceRequest { +public: + CreateDatasourceRequest(); + ~CreateDatasourceRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEDATASOURCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceResult.h new file mode 100644 index 000000000..6020ecdb1 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateDatasourceResult.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_PAIFEATURESTORE_MODEL_CREATEDATASOURCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateDatasourceResult : public ServiceResult + { + public: + + + CreateDatasourceResult(); + explicit CreateDatasourceResult(const std::string &payload); + ~CreateDatasourceResult(); + std::string getDatasourceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string datasourceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityRequest.h new file mode 100644 index 000000000..6f8e39e40 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityRequest.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_PAIFEATURESTORE_MODEL_CREATEFEATUREENTITYREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateFeatureEntityRequest : public RoaServiceRequest { +public: + CreateFeatureEntityRequest(); + ~CreateFeatureEntityRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREENTITYREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityResult.h new file mode 100644 index 000000000..c047c7768 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureEntityResult.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_PAIFEATURESTORE_MODEL_CREATEFEATUREENTITYRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREENTITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateFeatureEntityResult : public ServiceResult + { + public: + + + CreateFeatureEntityResult(); + explicit CreateFeatureEntityResult(const std::string &payload); + ~CreateFeatureEntityResult(); + std::string getFeatureEntityId()const; + + protected: + void parse(const std::string &payload); + private: + std::string featureEntityId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREENTITYRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewRequest.h new file mode 100644 index 000000000..73778a457 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewRequest.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_PAIFEATURESTORE_MODEL_CREATEFEATUREVIEWREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREVIEWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateFeatureViewRequest : public RoaServiceRequest { +public: + CreateFeatureViewRequest(); + ~CreateFeatureViewRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREVIEWREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewResult.h new file mode 100644 index 000000000..fac371d3d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateFeatureViewResult.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_PAIFEATURESTORE_MODEL_CREATEFEATUREVIEWRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateFeatureViewResult : public ServiceResult + { + public: + + + CreateFeatureViewResult(); + explicit CreateFeatureViewResult(const std::string &payload); + ~CreateFeatureViewResult(); + std::string getFeatureViewId()const; + + protected: + void parse(const std::string &payload); + private: + std::string featureViewId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEFEATUREVIEWRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceRequest.h new file mode 100644 index 000000000..c5b726777 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceRequest.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_PAIFEATURESTORE_MODEL_CREATEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateInstanceRequest : public RoaServiceRequest { +public: + CreateInstanceRequest(); + ~CreateInstanceRequest(); + std::string getBody() const; + void setBody(const std::string &body); + +private: + std::string body_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEINSTANCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceResult.h new file mode 100644 index 000000000..4e03fb7d3 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateInstanceResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEINSTANCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateInstanceResult : public ServiceResult + { + public: + + + CreateInstanceResult(); + explicit CreateInstanceResult(const std::string &payload); + ~CreateInstanceResult(); + std::string getInstanceId()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string instanceId_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEINSTANCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableRequest.h new file mode 100644 index 000000000..d367d7700 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableRequest.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_PAIFEATURESTORE_MODEL_CREATELABELTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATELABELTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateLabelTableRequest : public RoaServiceRequest { +public: + CreateLabelTableRequest(); + ~CreateLabelTableRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATELABELTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.h new file mode 100644 index 000000000..52f63c72e --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.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_PAIFEATURESTORE_MODEL_CREATELABELTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATELABELTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateLabelTableResult : public ServiceResult + { + public: + + + CreateLabelTableResult(); + explicit CreateLabelTableResult(const std::string &payload); + ~CreateLabelTableResult(); + std::string getLabelTableId()const; + + protected: + void parse(const std::string &payload); + private: + std::string labelTableId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATELABELTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.h new file mode 100644 index 000000000..879e2342d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.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_PAIFEATURESTORE_MODEL_CREATEMODELFEATUREREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateModelFeatureRequest : public RoaServiceRequest { +public: + CreateModelFeatureRequest(); + ~CreateModelFeatureRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATUREREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.h new file mode 100644 index 000000000..0c3f93a2c --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.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_PAIFEATURESTORE_MODEL_CREATEMODELFEATURERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateModelFeatureResult : public ServiceResult + { + public: + + + CreateModelFeatureResult(); + explicit CreateModelFeatureResult(const std::string &payload); + ~CreateModelFeatureResult(); + std::string getModelFeatureId()const; + + protected: + void parse(const std::string &payload); + private: + std::string modelFeatureId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectRequest.h new file mode 100644 index 000000000..3e4d20461 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectRequest.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_PAIFEATURESTORE_MODEL_CREATEPROJECTREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateProjectRequest : public RoaServiceRequest { +public: + CreateProjectRequest(); + ~CreateProjectRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEPROJECTREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectResult.h new file mode 100644 index 000000000..d549e12f0 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateProjectResult.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_PAIFEATURESTORE_MODEL_CREATEPROJECTRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateProjectResult : public ServiceResult + { + public: + + + CreateProjectResult(); + explicit CreateProjectResult(const std::string &payload); + ~CreateProjectResult(); + std::string getProjectId()const; + + protected: + void parse(const std::string &payload); + private: + std::string projectId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEPROJECTRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.h new file mode 100644 index 000000000..34b172dd5 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.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_PAIFEATURESTORE_MODEL_CREATESERVICEIDENTITYROLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATESERVICEIDENTITYROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateServiceIdentityRoleRequest : public RoaServiceRequest { +public: + CreateServiceIdentityRoleRequest(); + ~CreateServiceIdentityRoleRequest(); + std::string getBody() const; + void setBody(const std::string &body); + +private: + std::string body_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATESERVICEIDENTITYROLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleResult.h new file mode 100644 index 000000000..73dc27a8d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATESERVICEIDENTITYROLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATESERVICEIDENTITYROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateServiceIdentityRoleResult : public ServiceResult + { + public: + + + CreateServiceIdentityRoleResult(); + explicit CreateServiceIdentityRoleResult(const std::string &payload); + ~CreateServiceIdentityRoleResult(); + std::string getRoleName()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string roleName_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATESERVICEIDENTITYROLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceRequest.h new file mode 100644 index 000000000..b7d549a23 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceRequest.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_PAIFEATURESTORE_MODEL_DELETEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteDatasourceRequest : public RoaServiceRequest { +public: + DeleteDatasourceRequest(); + ~DeleteDatasourceRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDatasourceId() const; + void setDatasourceId(const std::string &datasourceId); + +private: + std::string instanceId_; + std::string datasourceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEDATASOURCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceResult.h new file mode 100644 index 000000000..a1ab23eea --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteDatasourceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEDATASOURCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteDatasourceResult : public ServiceResult + { + public: + + + DeleteDatasourceResult(); + explicit DeleteDatasourceResult(const std::string &payload); + ~DeleteDatasourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityRequest.h new file mode 100644 index 000000000..eaa678719 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityRequest.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_PAIFEATURESTORE_MODEL_DELETEFEATUREENTITYREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteFeatureEntityRequest : public RoaServiceRequest { +public: + DeleteFeatureEntityRequest(); + ~DeleteFeatureEntityRequest(); + std::string getFeatureEntityId() const; + void setFeatureEntityId(const std::string &featureEntityId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string featureEntityId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREENTITYREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityResult.h new file mode 100644 index 000000000..c366bd203 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureEntityResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREENTITYRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREENTITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteFeatureEntityResult : public ServiceResult + { + public: + + + DeleteFeatureEntityResult(); + explicit DeleteFeatureEntityResult(const std::string &payload); + ~DeleteFeatureEntityResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREENTITYRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewRequest.h new file mode 100644 index 000000000..7304938cc --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewRequest.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_PAIFEATURESTORE_MODEL_DELETEFEATUREVIEWREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREVIEWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteFeatureViewRequest : public RoaServiceRequest { +public: + DeleteFeatureViewRequest(); + ~DeleteFeatureViewRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewId() const; + void setFeatureViewId(const std::string &featureViewId); + +private: + std::string instanceId_; + std::string featureViewId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREVIEWREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewResult.h new file mode 100644 index 000000000..83821ddc4 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteFeatureViewResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREVIEWRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteFeatureViewResult : public ServiceResult + { + public: + + + DeleteFeatureViewResult(); + explicit DeleteFeatureViewResult(const std::string &payload); + ~DeleteFeatureViewResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEFEATUREVIEWRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableRequest.h new file mode 100644 index 000000000..8e1363eae --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableRequest.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_PAIFEATURESTORE_MODEL_DELETELABELTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETELABELTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteLabelTableRequest : public RoaServiceRequest { +public: + DeleteLabelTableRequest(); + ~DeleteLabelTableRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getLabelTableId() const; + void setLabelTableId(const std::string &labelTableId); + +private: + std::string instanceId_; + std::string labelTableId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETELABELTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableResult.h new file mode 100644 index 000000000..7c1a5abda --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteLabelTableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETELABELTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETELABELTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteLabelTableResult : public ServiceResult + { + public: + + + DeleteLabelTableResult(); + explicit DeleteLabelTableResult(const std::string &payload); + ~DeleteLabelTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETELABELTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureRequest.h new file mode 100644 index 000000000..3a2cd2c09 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureRequest.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_PAIFEATURESTORE_MODEL_DELETEMODELFEATUREREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEMODELFEATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteModelFeatureRequest : public RoaServiceRequest { +public: + DeleteModelFeatureRequest(); + ~DeleteModelFeatureRequest(); + std::string getModelFeatureId() const; + void setModelFeatureId(const std::string &modelFeatureId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string modelFeatureId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEMODELFEATUREREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h new file mode 100644 index 000000000..98d780b1d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEMODELFEATURERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEMODELFEATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteModelFeatureResult : public ServiceResult + { + public: + + + DeleteModelFeatureResult(); + explicit DeleteModelFeatureResult(const std::string &payload); + ~DeleteModelFeatureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEMODELFEATURERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.h new file mode 100644 index 000000000..f869d0a89 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.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_PAIFEATURESTORE_MODEL_DELETEPROJECTREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteProjectRequest : public RoaServiceRequest { +public: + DeleteProjectRequest(); + ~DeleteProjectRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEPROJECTREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h new file mode 100644 index 000000000..eb5ff1a0f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEPROJECTRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT DeleteProjectResult : public ServiceResult + { + public: + + + DeleteProjectResult(); + explicit DeleteProjectResult(const std::string &payload); + ~DeleteProjectResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_DELETEPROJECTRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h new file mode 100644 index 000000000..2cf2d646b --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ExportModelFeatureTrainingSetTableRequest : public RoaServiceRequest { +public: + ExportModelFeatureTrainingSetTableRequest(); + ~ExportModelFeatureTrainingSetTableRequest(); + std::string getModelFeatureId() const; + void setModelFeatureId(const std::string &modelFeatureId); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string modelFeatureId_; + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h new file mode 100644 index 000000000..f40073d7b --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ExportModelFeatureTrainingSetTableResult : public ServiceResult + { + public: + + + ExportModelFeatureTrainingSetTableResult(); + explicit ExportModelFeatureTrainingSetTableResult(const std::string &payload); + ~ExportModelFeatureTrainingSetTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.h new file mode 100644 index 000000000..a348a4613 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.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_PAIFEATURESTORE_MODEL_GETDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetDatasourceRequest : public RoaServiceRequest { +public: + GetDatasourceRequest(); + ~GetDatasourceRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDatasourceId() const; + void setDatasourceId(const std::string &datasourceId); + +private: + std::string instanceId_; + std::string datasourceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceResult.h new file mode 100644 index 000000000..05cd626c9 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetDatasourceResult : public ServiceResult + { + public: + + + GetDatasourceResult(); + explicit GetDatasourceResult(const std::string &payload); + ~GetDatasourceResult(); + std::string getType()const; + std::string getDatasourceId()const; + std::string getConfig()const; + std::string getWorkspaceId()const; + std::string getUri()const; + std::string getName()const; + + protected: + void parse(const std::string &payload); + private: + std::string type_; + std::string datasourceId_; + std::string config_; + std::string workspaceId_; + std::string uri_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableRequest.h new file mode 100644 index 000000000..d87838790 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCETABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCETABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetDatasourceTableRequest : public RoaServiceRequest { +public: + GetDatasourceTableRequest(); + ~GetDatasourceTableRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDatasourceId() const; + void setDatasourceId(const std::string &datasourceId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string instanceId_; + std::string datasourceId_; + std::string tableName_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCETABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableResult.h new file mode 100644 index 000000000..ecc05e1db --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetDatasourceTableResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCETABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCETABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetDatasourceTableResult : public ServiceResult + { + public: + struct FieldsItem + { + std::string type; + std::vector attributes; + std::string name; + }; + + + GetDatasourceTableResult(); + explicit GetDatasourceTableResult(const std::string &payload); + ~GetDatasourceTableResult(); + std::string getTableName()const; + std::vector getFields()const; + + protected: + void parse(const std::string &payload); + private: + std::string tableName_; + std::vector fields_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETDATASOURCETABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityRequest.h new file mode 100644 index 000000000..6f6c5eb7d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityRequest.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_PAIFEATURESTORE_MODEL_GETFEATUREENTITYREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetFeatureEntityRequest : public RoaServiceRequest { +public: + GetFeatureEntityRequest(); + ~GetFeatureEntityRequest(); + std::string getFeatureEntityId() const; + void setFeatureEntityId(const std::string &featureEntityId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string featureEntityId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREENTITYREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityResult.h new file mode 100644 index 000000000..71095261e --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureEntityResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREENTITYRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREENTITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetFeatureEntityResult : public ServiceResult + { + public: + + + GetFeatureEntityResult(); + explicit GetFeatureEntityResult(const std::string &payload); + ~GetFeatureEntityResult(); + std::string getJoinId()const; + std::string getOwner()const; + std::string getProjectName()const; + std::string getProjectId()const; + std::string getGmtCreateTime()const; + std::string getName()const; + + protected: + void parse(const std::string &payload); + private: + std::string joinId_; + std::string owner_; + std::string projectName_; + std::string projectId_; + std::string gmtCreateTime_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREENTITYRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewRequest.h new file mode 100644 index 000000000..aefc439d2 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewRequest.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_PAIFEATURESTORE_MODEL_GETFEATUREVIEWREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREVIEWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetFeatureViewRequest : public RoaServiceRequest { +public: + GetFeatureViewRequest(); + ~GetFeatureViewRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewId() const; + void setFeatureViewId(const std::string &featureViewId); + +private: + std::string instanceId_; + std::string featureViewId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREVIEWREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h new file mode 100644 index 000000000..641d260ab --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREVIEWRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetFeatureViewResult : public ServiceResult + { + public: + struct FieldsItem + { + std::string type; + std::vector attributes; + std::string name; + }; + + + GetFeatureViewResult(); + explicit GetFeatureViewResult(const std::string &payload); + ~GetFeatureViewResult(); + std::string getFeatureEntityName()const; + std::string getOwner()const; + std::string getProjectName()const; + std::string getConfig()const; + std::string getWriteMethod()const; + bool getSyncOnlineTable()const; + std::string getProjectId()const; + std::string getRegisterTable()const; + int getTTL()const; + std::string getGmtModifiedTime()const; + std::string getGmtSyncTime()const; + std::string getName()const; + std::string getJoinId()const; + std::string getLastSyncConfig()const; + std::string getType()const; + std::vector getFields()const; + std::string getRegisterDatasourceName()const; + std::string getFeatureEntityId()const; + std::vector getTags()const; + std::string getGmtCreateTime()const; + std::string getRegisterDatasourceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string featureEntityName_; + std::string owner_; + std::string projectName_; + std::string config_; + std::string writeMethod_; + bool syncOnlineTable_; + std::string projectId_; + std::string registerTable_; + int tTL_; + std::string gmtModifiedTime_; + std::string gmtSyncTime_; + std::string name_; + std::string joinId_; + std::string lastSyncConfig_; + std::string type_; + std::vector fields_; + std::string registerDatasourceName_; + std::string featureEntityId_; + std::vector tags_; + std::string gmtCreateTime_; + std::string registerDatasourceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETFEATUREVIEWRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceRequest.h new file mode 100644 index 000000000..8b1fcba7f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceRequest.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_PAIFEATURESTORE_MODEL_GETINSTANCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetInstanceRequest : public RoaServiceRequest { +public: + GetInstanceRequest(); + ~GetInstanceRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETINSTANCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h new file mode 100644 index 000000000..801f22e22 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.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_PAIFEATURESTORE_MODEL_GETINSTANCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetInstanceResult : public ServiceResult + { + public: + + + GetInstanceResult(); + explicit GetInstanceResult(const std::string &payload); + ~GetInstanceResult(); + std::string getStatus()const; + double getProgress()const; + std::string getType()const; + std::string getMessage()const; + std::string getRegionId()const; + std::string getGmtCreateTime()const; + std::string getGmtModifiedTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + double progress_; + std::string type_; + std::string message_; + std::string regionId_; + std::string gmtCreateTime_; + std::string gmtModifiedTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETINSTANCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableRequest.h new file mode 100644 index 000000000..90848b570 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableRequest.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_PAIFEATURESTORE_MODEL_GETLABELTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETLABELTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetLabelTableRequest : public RoaServiceRequest { +public: + GetLabelTableRequest(); + ~GetLabelTableRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getLabelTableId() const; + void setLabelTableId(const std::string &labelTableId); + +private: + std::string instanceId_; + std::string labelTableId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETLABELTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableResult.h new file mode 100644 index 000000000..e46ac15ef --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetLabelTableResult.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_PAIFEATURESTORE_MODEL_GETLABELTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETLABELTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetLabelTableResult : public ServiceResult + { + public: + struct Field + { + std::string type; + std::vector attributes; + std::string name; + }; + + + GetLabelTableResult(); + explicit GetLabelTableResult(const std::string &payload); + ~GetLabelTableResult(); + std::string getOwner()const; + std::vector getFields()const; + std::string getDatasourceId()const; + std::string getDatasourceName()const; + std::string getProjectName()const; + std::string getProjectId()const; + std::string getGmtCreateTime()const; + std::string getGmtModifiedTime()const; + std::string getName()const; + + protected: + void parse(const std::string &payload); + private: + std::string owner_; + std::vector fields_; + std::string datasourceId_; + std::string datasourceName_; + std::string projectName_; + std::string projectId_; + std::string gmtCreateTime_; + std::string gmtModifiedTime_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETLABELTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureRequest.h new file mode 100644 index 000000000..8e8de4858 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureRequest.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_PAIFEATURESTORE_MODEL_GETMODELFEATUREREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetModelFeatureRequest : public RoaServiceRequest { +public: + GetModelFeatureRequest(); + ~GetModelFeatureRequest(); + std::string getModelFeatureId() const; + void setModelFeatureId(const std::string &modelFeatureId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string modelFeatureId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h new file mode 100644 index 000000000..9d7d42332 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h @@ -0,0 +1,98 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATURERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetModelFeatureResult : public ServiceResult + { + public: + struct Relations + { + struct DomainsItem + { + std::string domainType; + std::string id; + std::string name; + }; + struct LinksItem + { + std::string from; + std::string to; + std::string link; + }; + std::vector domains; + std::vector links; + }; + struct FeaturesItem + { + std::string type; + std::string featureViewId; + std::string aliasName; + std::string featureViewName; + std::string name; + }; + + + GetModelFeatureResult(); + explicit GetModelFeatureResult(const std::string &payload); + ~GetModelFeatureResult(); + std::string getOwner()const; + std::string getProjectName()const; + std::string getProjectId()const; + std::string getLabelTableName()const; + Relations getRelations()const; + std::vector getFeatures()const; + std::string getLabelTableId()const; + std::string getGmtCreateTime()const; + std::string getGmtModifiedTime()const; + std::string getTrainingSetFGTable()const; + std::string getName()const; + std::string getTrainingSetTable()const; + + protected: + void parse(const std::string &payload); + private: + std::string owner_; + std::string projectName_; + std::string projectId_; + std::string labelTableName_; + Relations relations_; + std::vector features_; + std::string labelTableId_; + std::string gmtCreateTime_; + std::string gmtModifiedTime_; + std::string trainingSetFGTable_; + std::string name_; + std::string trainingSetTable_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATURERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h new file mode 100644 index 000000000..a1f34d623 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.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_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectFeatureEntityHotIdsRequest : public RoaServiceRequest { +public: + GetProjectFeatureEntityHotIdsRequest(); + ~GetProjectFeatureEntityHotIdsRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureEntityName() const; + void setFeatureEntityName(const std::string &featureEntityName); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getNextSeqNumber() const; + void setNextSeqNumber(const std::string &nextSeqNumber); + +private: + std::string instanceId_; + std::string featureEntityName_; + std::string projectId_; + std::string nextSeqNumber_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h new file mode 100644 index 000000000..3c04c268d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.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_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectFeatureEntityHotIdsResult : public ServiceResult + { + public: + + + GetProjectFeatureEntityHotIdsResult(); + explicit GetProjectFeatureEntityHotIdsResult(const std::string &payload); + ~GetProjectFeatureEntityHotIdsResult(); + std::string getNextSeqNumber()const; + std::string getHotIds()const; + int getCount()const; + + protected: + void parse(const std::string &payload); + private: + std::string nextSeqNumber_; + std::string hotIds_; + int count_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h new file mode 100644 index 000000000..d881c69b8 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectFeatureEntityRequest : public RoaServiceRequest { +public: + GetProjectFeatureEntityRequest(); + ~GetProjectFeatureEntityRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureEntityName() const; + void setFeatureEntityName(const std::string &featureEntityName); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string featureEntityName_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityResult.h new file mode 100644 index 000000000..5477e088d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectFeatureEntityResult : public ServiceResult + { + public: + + + GetProjectFeatureEntityResult(); + explicit GetProjectFeatureEntityResult(const std::string &payload); + ~GetProjectFeatureEntityResult(); + std::string getJoinId()const; + std::string getProjectName()const; + std::string getFeatureEntityId()const; + std::string getWorkspaceId()const; + std::string getName()const; + + protected: + void parse(const std::string &payload); + private: + std::string joinId_; + std::string projectName_; + std::string featureEntityId_; + std::string workspaceId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h new file mode 100644 index 000000000..e5ecaa45f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectFeatureViewRequest : public RoaServiceRequest { +public: + GetProjectFeatureViewRequest(); + ~GetProjectFeatureViewRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewName() const; + void setFeatureViewName(const std::string &featureViewName); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string featureViewName_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h new file mode 100644 index 000000000..aaa23d00f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectFeatureViewResult : public ServiceResult + { + public: + struct FieldsItem + { + std::string type; + std::vector attributes; + std::string name; + }; + + + GetProjectFeatureViewResult(); + explicit GetProjectFeatureViewResult(const std::string &payload); + ~GetProjectFeatureViewResult(); + std::string getFeatureEntityName()const; + std::string getOwner()const; + std::string getFeatureViewId()const; + std::string getProjectName()const; + std::string getConfig()const; + std::string getWriteMethod()const; + bool getSyncOnlineTable()const; + std::string getProjectId()const; + std::string getRegisterTable()const; + int getTTL()const; + std::string getGmtSyncTime()const; + std::string getName()const; + std::string getJoinId()const; + std::string getLastSyncConfig()const; + std::string getType()const; + std::vector getFields()const; + std::string getFeatureEntityId()const; + std::vector getTags()const; + std::string getRegisterDatasourceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string featureEntityName_; + std::string owner_; + std::string featureViewId_; + std::string projectName_; + std::string config_; + std::string writeMethod_; + bool syncOnlineTable_; + std::string projectId_; + std::string registerTable_; + int tTL_; + std::string gmtSyncTime_; + std::string name_; + std::string joinId_; + std::string lastSyncConfig_; + std::string type_; + std::vector fields_; + std::string featureEntityId_; + std::vector tags_; + std::string registerDatasourceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h new file mode 100644 index 000000000..2e10bcffb --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATUREREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectModelFeatureRequest : public RoaServiceRequest { +public: + GetProjectModelFeatureRequest(); + ~GetProjectModelFeatureRequest(); + std::string getModelFeatureName() const; + void setModelFeatureName(const std::string &modelFeatureName); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string modelFeatureName_; + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATUREREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h new file mode 100644 index 000000000..48d78b68d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATURERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectModelFeatureResult : public ServiceResult + { + public: + struct FeaturesItem + { + std::string type; + std::string featureViewId; + std::string aliasName; + std::string featureViewName; + std::string name; + }; + + + GetProjectModelFeatureResult(); + explicit GetProjectModelFeatureResult(const std::string &payload); + ~GetProjectModelFeatureResult(); + std::string getOwner()const; + std::string getProjectName()const; + std::string getLabelDatasourceTable()const; + std::string getProjectId()const; + std::string getLabelDatasourceId()const; + std::string getModelFeatureId()const; + std::string getTrainingSetFGTable()const; + std::string getGmtModifiedTime()const; + std::string getName()const; + std::string getTrainingSetTable()const; + std::string getLabelEventTime()const; + std::vector getFeatures()const; + std::string getLabelTableId()const; + std::string getGmtCreateTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string owner_; + std::string projectName_; + std::string labelDatasourceTable_; + std::string projectId_; + std::string labelDatasourceId_; + std::string modelFeatureId_; + std::string trainingSetFGTable_; + std::string gmtModifiedTime_; + std::string name_; + std::string trainingSetTable_; + std::string labelEventTime_; + std::vector features_; + std::string labelTableId_; + std::string gmtCreateTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATURERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectRequest.h new file mode 100644 index 000000000..7d42726ba --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectRequest.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_PAIFEATURESTORE_MODEL_GETPROJECTREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectRequest : public RoaServiceRequest { +public: + GetProjectRequest(); + ~GetProjectRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectResult.h new file mode 100644 index 000000000..339f32d63 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectResult.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_PAIFEATURESTORE_MODEL_GETPROJECTRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetProjectResult : public ServiceResult + { + public: + + + GetProjectResult(); + explicit GetProjectResult(const std::string &payload); + ~GetProjectResult(); + std::string getOnlineDatasourceType()const; + std::string getOwner()const; + std::string getDescription()const; + std::string getOfflineDatasourceName()const; + std::string getGmtModifiedTime()const; + std::string getName()const; + std::string getOfflineDatasourceId()const; + std::string getOnlineDatasourceName()const; + int getFeatureViewCount()const; + int getOfflineLifecycle()const; + int getModelCount()const; + std::string getOfflineDatasourceType()const; + int getFeatureEntityCount()const; + std::string getGmtCreateTime()const; + std::string getOnlineDatasourceId()const; + + protected: + void parse(const std::string &payload); + private: + std::string onlineDatasourceType_; + std::string owner_; + std::string description_; + std::string offlineDatasourceName_; + std::string gmtModifiedTime_; + std::string name_; + std::string offlineDatasourceId_; + std::string onlineDatasourceName_; + int featureViewCount_; + int offlineLifecycle_; + int modelCount_; + std::string offlineDatasourceType_; + int featureEntityCount_; + std::string gmtCreateTime_; + std::string onlineDatasourceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleRequest.h new file mode 100644 index 000000000..28d57a038 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleRequest.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_PAIFEATURESTORE_MODEL_GETSERVICEIDENTITYROLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETSERVICEIDENTITYROLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetServiceIdentityRoleRequest : public RoaServiceRequest { +public: + GetServiceIdentityRoleRequest(); + ~GetServiceIdentityRoleRequest(); + std::string getRoleName() const; + void setRoleName(const std::string &roleName); + +private: + std::string roleName_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETSERVICEIDENTITYROLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleResult.h new file mode 100644 index 000000000..1d2a533d2 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETSERVICEIDENTITYROLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETSERVICEIDENTITYROLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetServiceIdentityRoleResult : public ServiceResult + { + public: + + + GetServiceIdentityRoleResult(); + explicit GetServiceIdentityRoleResult(const std::string &payload); + ~GetServiceIdentityRoleResult(); + std::string getPolicy()const; + std::string getRoleName()const; + + protected: + void parse(const std::string &payload); + private: + std::string policy_; + std::string roleName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETSERVICEIDENTITYROLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskRequest.h new file mode 100644 index 000000000..6b331cade --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskRequest.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_PAIFEATURESTORE_MODEL_GETTASKREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETTASKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetTaskRequest : public RoaServiceRequest { +public: + GetTaskRequest(); + ~GetTaskRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + std::string instanceId_; + std::string taskId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETTASKREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskResult.h new file mode 100644 index 000000000..af396853d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetTaskResult.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_PAIFEATURESTORE_MODEL_GETTASKRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetTaskResult : public ServiceResult + { + public: + + + GetTaskResult(); + explicit GetTaskResult(const std::string &payload); + ~GetTaskResult(); + std::string getStatus()const; + std::string getObjectType()const; + std::string getType()const; + std::string getRunningConfig()const; + std::string getProjectName()const; + std::string getObjectId()const; + std::string getConfig()const; + std::string getGmtExecutedTime()const; + std::string getGmtFinishedTime()const; + std::string getProjectId()const; + std::string getGmtCreateTime()const; + std::string getGmtModifiedTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string objectType_; + std::string type_; + std::string runningConfig_; + std::string projectName_; + std::string objectId_; + std::string config_; + std::string gmtExecutedTime_; + std::string gmtFinishedTime_; + std::string projectId_; + std::string gmtCreateTime_; + std::string gmtModifiedTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETTASKRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesRequest.h new file mode 100644 index 000000000..519e4a7f1 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCETABLESREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCETABLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListDatasourceTablesRequest : public RoaServiceRequest { +public: + ListDatasourceTablesRequest(); + ~ListDatasourceTablesRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDatasourceId() const; + void setDatasourceId(const std::string &datasourceId); + std::string getTableName() const; + void setTableName(const std::string &tableName); + +private: + std::string instanceId_; + std::string datasourceId_; + std::string tableName_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCETABLESREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesResult.h new file mode 100644 index 000000000..afccf6f81 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourceTablesResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCETABLESRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCETABLESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListDatasourceTablesResult : public ServiceResult + { + public: + + + ListDatasourceTablesResult(); + explicit ListDatasourceTablesResult(const std::string &payload); + ~ListDatasourceTablesResult(); + long getTotalCount()const; + std::vector getTables()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector tables_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCETABLESRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesRequest.h new file mode 100644 index 000000000..76fe3e131 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesRequest.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_PAIFEATURESTORE_MODEL_LISTDATASOURCESREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListDatasourcesRequest : public RoaServiceRequest { +public: + ListDatasourcesRequest(); + ~ListDatasourcesRequest(); + std::string getType() const; + void setType(const std::string &type); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getName() const; + void setName(const std::string &name); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getWorkspaceId() const; + void setWorkspaceId(const std::string &workspaceId); + std::string getOrder() const; + void setOrder(const std::string &order); + +private: + std::string type_; + int pageNumber_; + std::string instanceId_; + std::string name_; + int pageSize_; + std::string sortBy_; + std::string workspaceId_; + std::string order_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCESREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesResult.h new file mode 100644 index 000000000..50d80fe01 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListDatasourcesResult.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_PAIFEATURESTORE_MODEL_LISTDATASOURCESRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListDatasourcesResult : public ServiceResult + { + public: + struct DatasourcesItem + { + std::string type; + std::string datasourceId; + std::string config; + std::string workspaceId; + std::string uri; + std::string gmtCreateTime; + std::string gmtModifiedTime; + std::string name; + }; + + + ListDatasourcesResult(); + explicit ListDatasourcesResult(const std::string &payload); + ~ListDatasourcesResult(); + long getTotalCount()const; + std::vector getDatasources()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector datasources_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTDATASOURCESRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesRequest.h new file mode 100644 index 000000000..c759999f0 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesRequest.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_PAIFEATURESTORE_MODEL_LISTFEATUREENTITIESREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREENTITIESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureEntitiesRequest : public RoaServiceRequest { +public: + ListFeatureEntitiesRequest(); + ~ListFeatureEntitiesRequest(); + std::string getOwner() const; + void setOwner(const std::string &owner); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getName() const; + void setName(const std::string &name); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrder() const; + void setOrder(const std::string &order); + +private: + std::string owner_; + int pageNumber_; + std::string instanceId_; + std::string name_; + int pageSize_; + std::string sortBy_; + std::string projectId_; + std::string order_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREENTITIESREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesResult.h new file mode 100644 index 000000000..92e6a094b --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureEntitiesResult.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_PAIFEATURESTORE_MODEL_LISTFEATUREENTITIESRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREENTITIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureEntitiesResult : public ServiceResult + { + public: + struct FeatureEntitiesItem + { + std::string joinId; + std::string owner; + std::string projectName; + std::string featureEntityId; + std::string projectId; + std::string gmtCreateTime; + std::string name; + }; + + + ListFeatureEntitiesResult(); + explicit ListFeatureEntitiesResult(const std::string &payload); + ~ListFeatureEntitiesResult(); + int getTotalCount()const; + std::vector getFeatureEntities()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector featureEntities_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREENTITIESRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsRequest.h new file mode 100644 index 000000000..621178737 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWFIELDRELATIONSHIPSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWFIELDRELATIONSHIPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureViewFieldRelationshipsRequest : public RoaServiceRequest { +public: + ListFeatureViewFieldRelationshipsRequest(); + ~ListFeatureViewFieldRelationshipsRequest(); + std::string getFieldName() const; + void setFieldName(const std::string &fieldName); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewId() const; + void setFeatureViewId(const std::string &featureViewId); + +private: + std::string fieldName_; + std::string instanceId_; + std::string featureViewId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWFIELDRELATIONSHIPSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsResult.h new file mode 100644 index 000000000..c67309e7b --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewFieldRelationshipsResult.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_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWFIELDRELATIONSHIPSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWFIELDRELATIONSHIPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureViewFieldRelationshipsResult : public ServiceResult + { + public: + struct RelationshipsItem + { + struct ModelsItem + { + std::string modelName; + std::string modelId; + }; + std::vector models; + std::string onlineTableName; + std::string offlineTableName; + std::string featureName; + }; + + + ListFeatureViewFieldRelationshipsResult(); + explicit ListFeatureViewFieldRelationshipsResult(const std::string &payload); + ~ListFeatureViewFieldRelationshipsResult(); + std::vector getRelationships()const; + + protected: + void parse(const std::string &payload); + private: + std::vector relationships_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWFIELDRELATIONSHIPSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsRequest.h new file mode 100644 index 000000000..018811873 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsRequest.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_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWRELATIONSHIPSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWRELATIONSHIPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureViewRelationshipsRequest : public RoaServiceRequest { +public: + ListFeatureViewRelationshipsRequest(); + ~ListFeatureViewRelationshipsRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewId() const; + void setFeatureViewId(const std::string &featureViewId); + +private: + std::string instanceId_; + std::string featureViewId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWRELATIONSHIPSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsResult.h new file mode 100644 index 000000000..74132105a --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewRelationshipsResult.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_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWRELATIONSHIPSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWRELATIONSHIPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureViewRelationshipsResult : public ServiceResult + { + public: + struct RelationshipsItem + { + struct ModelsItem + { + std::string modelName; + std::string modelId; + }; + std::string projectName; + std::vector models; + std::string featureViewName; + }; + + + ListFeatureViewRelationshipsResult(); + explicit ListFeatureViewRelationshipsResult(const std::string &payload); + ~ListFeatureViewRelationshipsResult(); + std::vector getRelationships()const; + + protected: + void parse(const std::string &payload); + private: + std::vector relationships_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWRELATIONSHIPSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsRequest.h new file mode 100644 index 000000000..ae40d1a86 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureViewsRequest : public RoaServiceRequest { +public: + ListFeatureViewsRequest(); + ~ListFeatureViewsRequest(); + std::string getType() const; + void setType(const std::string &type); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getFeatureName() const; + void setFeatureName(const std::string &featureName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTag() const; + void setTag(const std::string &tag); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrder() const; + void setOrder(const std::string &order); + std::string getOwner() const; + void setOwner(const std::string &owner); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + +private: + std::string type_; + int pageNumber_; + std::string featureName_; + int pageSize_; + std::string tag_; + std::string projectId_; + std::string order_; + std::string owner_; + std::string instanceId_; + std::string sortBy_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsResult.h new file mode 100644 index 000000000..e7f5e9ab9 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListFeatureViewsResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListFeatureViewsResult : public ServiceResult + { + public: + struct FeatureViewsItem + { + std::string featureEntityName; + std::string owner; + std::string featureViewId; + std::string projectName; + std::string projectId; + std::string registerTable; + int tTL; + std::string gmtModifiedTime; + std::string name; + std::string type; + std::string registerDatasourceName; + std::string gmtCreateTime; + std::string registerDatasourceId; + }; + + + ListFeatureViewsResult(); + explicit ListFeatureViewsResult(const std::string &payload); + ~ListFeatureViewsResult(); + std::vector getFeatureViews()const; + long getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector featureViews_; + long totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTFEATUREVIEWSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesRequest.h new file mode 100644 index 000000000..3a9225f23 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesRequest.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_PAIFEATURESTORE_MODEL_LISTINSTANCESREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListInstancesRequest : public RoaServiceRequest { +public: + ListInstancesRequest(); + ~ListInstancesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getStatus() const; + void setStatus(const std::string &status); + std::string getOrder() const; + void setOrder(const std::string &order); + +private: + int pageNumber_; + int pageSize_; + std::string sortBy_; + std::string status_; + std::string order_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTINSTANCESREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.h new file mode 100644 index 000000000..78e674cae --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.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_PAIFEATURESTORE_MODEL_LISTINSTANCESRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListInstancesResult : public ServiceResult + { + public: + struct InstancesItem + { + std::string status; + std::string type; + std::string instanceId; + std::string regionId; + std::string gmtCreateTime; + std::string gmtModifiedTime; + }; + + + ListInstancesResult(); + explicit ListInstancesResult(const std::string &payload); + ~ListInstancesResult(); + std::vector getInstances()const; + long getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector instances_; + long totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTINSTANCESRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesRequest.h new file mode 100644 index 000000000..2af29614e --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesRequest.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_PAIFEATURESTORE_MODEL_LISTLABELTABLESREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTLABELTABLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListLabelTablesRequest : public RoaServiceRequest { +public: + ListLabelTablesRequest(); + ~ListLabelTablesRequest(); + std::string getOwner() const; + void setOwner(const std::string &owner); + long getPageNumber() const; + void setPageNumber(long pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getName() const; + void setName(const std::string &name); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrder() const; + void setOrder(const std::string &order); + +private: + std::string owner_; + long pageNumber_; + std::string instanceId_; + long pageSize_; + std::string name_; + std::string sortBy_; + std::string projectId_; + std::string order_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTLABELTABLESREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesResult.h new file mode 100644 index 000000000..ca4adb2d9 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListLabelTablesResult.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_PAIFEATURESTORE_MODEL_LISTLABELTABLESRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTLABELTABLESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListLabelTablesResult : public ServiceResult + { + public: + struct LabelTable + { + std::string owner; + std::string datasourceId; + std::string datasourceName; + std::string projectName; + std::string projectId; + std::string labelTableId; + std::string gmtCreateTime; + std::string gmtModifiedTime; + std::string name; + }; + + + ListLabelTablesResult(); + explicit ListLabelTablesResult(const std::string &payload); + ~ListLabelTablesResult(); + long getTotalCount()const; + std::vector getLabelTables()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector labelTables_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTLABELTABLESRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.h new file mode 100644 index 000000000..fc87dd840 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.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_PAIFEATURESTORE_MODEL_LISTMODELFEATURESREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATURESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListModelFeaturesRequest : public RoaServiceRequest { +public: + ListModelFeaturesRequest(); + ~ListModelFeaturesRequest(); + std::string getOwner() const; + void setOwner(const std::string &owner); + std::string getPageNumber() const; + void setPageNumber(const std::string &pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getPageSize() const; + void setPageSize(const std::string &pageSize); + std::string getName() const; + void setName(const std::string &name); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getOrder() const; + void setOrder(const std::string &order); + +private: + std::string owner_; + std::string pageNumber_; + std::string instanceId_; + std::string pageSize_; + std::string name_; + std::string sortBy_; + std::string projectId_; + std::string order_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATURESREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.h new file mode 100644 index 000000000..94e6aac20 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.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_PAIFEATURESTORE_MODEL_LISTMODELFEATURESRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATURESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListModelFeaturesResult : public ServiceResult + { + public: + struct ModelFeaturesItem + { + std::string owner; + std::string projectName; + std::string projectId; + std::string labelTableName; + std::string modelFeatureId; + std::string gmtCreateTime; + std::string gmtModifiedTime; + std::string name; + }; + + + ListModelFeaturesResult(); + explicit ListModelFeaturesResult(const std::string &payload); + ~ListModelFeaturesResult(); + long getTotalCount()const; + std::vector getModelFeatures()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector modelFeatures_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATURESRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h new file mode 100644 index 000000000..35bd49378 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.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_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectFeatureViewOwnersRequest : public RoaServiceRequest { +public: + ListProjectFeatureViewOwnersRequest(); + ~ListProjectFeatureViewOwnersRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h new file mode 100644 index 000000000..2dd5cbd59 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.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_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectFeatureViewOwnersResult : public ServiceResult + { + public: + + + ListProjectFeatureViewOwnersResult(); + explicit ListProjectFeatureViewOwnersResult(const std::string &payload); + ~ListProjectFeatureViewOwnersResult(); + std::vector getOwners()const; + + protected: + void parse(const std::string &payload); + private: + std::vector owners_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h new file mode 100644 index 000000000..29a0c7b9f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.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_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectFeatureViewTagsRequest : public RoaServiceRequest { +public: + ListProjectFeatureViewTagsRequest(); + ~ListProjectFeatureViewTagsRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h new file mode 100644 index 000000000..d85194791 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.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_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectFeatureViewTagsResult : public ServiceResult + { + public: + + + ListProjectFeatureViewTagsResult(); + explicit ListProjectFeatureViewTagsResult(const std::string &payload); + ~ListProjectFeatureViewTagsResult(); + std::vector getTags()const; + + protected: + void parse(const std::string &payload); + private: + std::vector tags_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsRequest.h new file mode 100644 index 000000000..d92ac66b8 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsRequest.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_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectFeatureViewsRequest : public RoaServiceRequest { +public: + ListProjectFeatureViewsRequest(); + ~ListProjectFeatureViewsRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsResult.h new file mode 100644 index 000000000..d9b16a853 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsResult.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_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectFeatureViewsResult : public ServiceResult + { + public: + struct FeatureViewsItem + { + struct FeaturesItem + { + std::string type; + std::vector attributes; + std::string name; + }; + std::string featureViewId; + std::vector features; + std::string name; + }; + + + ListProjectFeatureViewsResult(); + explicit ListProjectFeatureViewsResult(const std::string &payload); + ~ListProjectFeatureViewsResult(); + std::vector getFeatureViews()const; + long getTotalCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector featureViews_; + long totalCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsRequest.h new file mode 100644 index 000000000..e20dea845 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsRequest.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_PAIFEATURESTORE_MODEL_LISTPROJECTSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectsRequest : public RoaServiceRequest { +public: + ListProjectsRequest(); + ~ListProjectsRequest(); + std::string getOwner() const; + void setOwner(const std::string &owner); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getName() const; + void setName(const std::string &name); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSortBy() const; + void setSortBy(const std::string &sortBy); + std::string getWorkspaceId() const; + void setWorkspaceId(const std::string &workspaceId); + std::string getOrder() const; + void setOrder(const std::string &order); + +private: + std::string owner_; + int pageNumber_; + std::string instanceId_; + std::string name_; + int pageSize_; + std::string sortBy_; + std::string workspaceId_; + std::string order_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsResult.h new file mode 100644 index 000000000..56e0101cf --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectsResult.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_PAIFEATURESTORE_MODEL_LISTPROJECTSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListProjectsResult : public ServiceResult + { + public: + struct ProjectsItem + { + std::string onlineDatasourceType; + std::string owner; + std::string description; + std::string projectId; + std::string offlineDatasourceName; + std::string gmtModifiedTime; + std::string name; + std::string offlineDatasourceId; + std::string onlineDatasourceName; + int featureViewCount; + int offlineLifecycle; + int modelCount; + std::string offlineDatasourceType; + int featureEntityCount; + std::string gmtCreateTime; + std::string onlineDatasourceId; + }; + + + ListProjectsResult(); + explicit ListProjectsResult(const std::string &payload); + ~ListProjectsResult(); + long getTotalCount()const; + std::vector getProjects()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + std::vector projects_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsRequest.h new file mode 100644 index 000000000..52e1ed0f6 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsRequest.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_PAIFEATURESTORE_MODEL_LISTTASKLOGSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKLOGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListTaskLogsRequest : public RoaServiceRequest { +public: + ListTaskLogsRequest(); + ~ListTaskLogsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getTaskId() const; + void setTaskId(const std::string &taskId); + +private: + int pageNumber_; + std::string instanceId_; + int pageSize_; + std::string taskId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKLOGSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsResult.h new file mode 100644 index 000000000..962f3d24f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTaskLogsResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKLOGSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListTaskLogsResult : public ServiceResult + { + public: + + + ListTaskLogsResult(); + explicit ListTaskLogsResult(const std::string &payload); + ~ListTaskLogsResult(); + int getTotalCount()const; + std::vector getLogs()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector logs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKLOGSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksRequest.h new file mode 100644 index 000000000..6f8896f8d --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksRequest.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_PAIFEATURESTORE_MODEL_LISTTASKSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListTasksRequest : public RoaServiceRequest { +public: + ListTasksRequest(); + ~ListTasksRequest(); + std::string getType() const; + void setType(const std::string &type); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + std::string getObjectId() const; + void setObjectId(const std::string &objectId); + std::string getStatus() const; + void setStatus(const std::string &status); + +private: + std::string type_; + int pageNumber_; + std::string instanceId_; + int pageSize_; + std::string objectType_; + std::string projectId_; + std::string objectId_; + std::string status_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksResult.h new file mode 100644 index 000000000..2acafa832 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListTasksResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListTasksResult : public ServiceResult + { + public: + struct TasksItem + { + std::string status; + std::string objectType; + std::string type; + std::string taskId; + std::string objectId; + std::string projectName; + std::string gmtExecutedTime; + std::string gmtFinishedTime; + std::string projectId; + std::string gmtCreateTime; + }; + + + ListTasksResult(); + explicit ListTasksResult(const std::string &payload); + ~ListTasksResult(); + int getTotalCount()const; + std::vector getTasks()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + std::vector tasks_; + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTTASKSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableRequest.h new file mode 100644 index 000000000..242c89d80 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_PUBLISHFEATUREVIEWTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_PUBLISHFEATUREVIEWTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT PublishFeatureViewTableRequest : public RoaServiceRequest { +public: + PublishFeatureViewTableRequest(); + ~PublishFeatureViewTableRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewId() const; + void setFeatureViewId(const std::string &featureViewId); + +private: + std::string body_; + std::string instanceId_; + std::string featureViewId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_PUBLISHFEATUREVIEWTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableResult.h new file mode 100644 index 000000000..57df0dcdd --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/PublishFeatureViewTableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_PUBLISHFEATUREVIEWTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_PUBLISHFEATUREVIEWTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT PublishFeatureViewTableResult : public ServiceResult + { + public: + + + PublishFeatureViewTableResult(); + explicit PublishFeatureViewTableResult(const std::string &payload); + ~PublishFeatureViewTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_PUBLISHFEATUREVIEWTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceRequest.h new file mode 100644 index 000000000..682005f41 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEDATASOURCEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEDATASOURCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateDatasourceRequest : public RoaServiceRequest { +public: + UpdateDatasourceRequest(); + ~UpdateDatasourceRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDatasourceId() const; + void setDatasourceId(const std::string &datasourceId); + +private: + std::string body_; + std::string instanceId_; + std::string datasourceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEDATASOURCEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceResult.h new file mode 100644 index 000000000..758a7bb0f --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateDatasourceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEDATASOURCERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEDATASOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateDatasourceResult : public ServiceResult + { + public: + + + UpdateDatasourceResult(); + explicit UpdateDatasourceResult(const std::string &payload); + ~UpdateDatasourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEDATASOURCERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableRequest.h new file mode 100644 index 000000000..fdf504ece --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATELABELTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATELABELTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateLabelTableRequest : public RoaServiceRequest { +public: + UpdateLabelTableRequest(); + ~UpdateLabelTableRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getLabelTableId() const; + void setLabelTableId(const std::string &labelTableId); + +private: + std::string body_; + std::string instanceId_; + std::string labelTableId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATELABELTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableResult.h new file mode 100644 index 000000000..90356e626 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateLabelTableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATELABELTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATELABELTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateLabelTableResult : public ServiceResult + { + public: + + + UpdateLabelTableResult(); + explicit UpdateLabelTableResult(const std::string &payload); + ~UpdateLabelTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATELABELTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureRequest.h new file mode 100644 index 000000000..2586306d8 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateModelFeatureRequest : public RoaServiceRequest { +public: + UpdateModelFeatureRequest(); + ~UpdateModelFeatureRequest(); + std::string getModelFeatureId() const; + void setModelFeatureId(const std::string &modelFeatureId); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string modelFeatureId_; + std::string body_; + std::string instanceId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h new file mode 100644 index 000000000..40346c4f6 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATURERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateModelFeatureResult : public ServiceResult + { + public: + + + UpdateModelFeatureResult(); + explicit UpdateModelFeatureResult(const std::string &payload); + ~UpdateModelFeatureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATURERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectRequest.h new file mode 100644 index 000000000..14f1ab7cb --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEPROJECTREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEPROJECTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateProjectRequest : public RoaServiceRequest { +public: + UpdateProjectRequest(); + ~UpdateProjectRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string body_; + std::string instanceId_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEPROJECTREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectResult.h new file mode 100644 index 000000000..d8a8760ca --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateProjectResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEPROJECTRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateProjectResult : public ServiceResult + { + public: + + + UpdateProjectResult(); + explicit UpdateProjectResult(const std::string &payload); + ~UpdateProjectResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEPROJECTRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableRequest.h new file mode 100644 index 000000000..1f19edd42 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEFEATUREVIEWTABLEREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEFEATUREVIEWTABLEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT WriteFeatureViewTableRequest : public RoaServiceRequest { +public: + WriteFeatureViewTableRequest(); + ~WriteFeatureViewTableRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureViewId() const; + void setFeatureViewId(const std::string &featureViewId); + +private: + std::string body_; + std::string instanceId_; + std::string featureViewId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEFEATUREVIEWTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h new file mode 100644 index 000000000..b8b0b47e0 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEFEATUREVIEWTABLERESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEFEATUREVIEWTABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT WriteFeatureViewTableResult : public ServiceResult + { + public: + + + WriteFeatureViewTableResult(); + explicit WriteFeatureViewTableResult(const std::string &payload); + ~WriteFeatureViewTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEFEATUREVIEWTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h new file mode 100644 index 000000000..ae62d391c --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.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_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSREQUEST_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace PaiFeatureStore { +namespace Model { +class ALIBABACLOUD_PAIFEATURESTORE_EXPORT WriteProjectFeatureEntityHotIdsRequest : public RoaServiceRequest { +public: + WriteProjectFeatureEntityHotIdsRequest(); + ~WriteProjectFeatureEntityHotIdsRequest(); + std::string getBody() const; + void setBody(const std::string &body); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFeatureEntityName() const; + void setFeatureEntityName(const std::string &featureEntityName); + std::string getProjectId() const; + void setProjectId(const std::string &projectId); + +private: + std::string body_; + std::string instanceId_; + std::string featureEntityName_; + std::string projectId_; +}; +} // namespace Model +} // namespace PaiFeatureStore +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h new file mode 100644 index 000000000..2b3ed8233 --- /dev/null +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSRESULT_H_ +#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace PaiFeatureStore + { + namespace Model + { + class ALIBABACLOUD_PAIFEATURESTORE_EXPORT WriteProjectFeatureEntityHotIdsResult : public ServiceResult + { + public: + + + WriteProjectFeatureEntityHotIdsResult(); + explicit WriteProjectFeatureEntityHotIdsResult(const std::string &payload); + ~WriteProjectFeatureEntityHotIdsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSRESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/src/PaiFeatureStoreClient.cc b/paifeaturestore/src/PaiFeatureStoreClient.cc new file mode 100644 index 000000000..edc3e40e1 --- /dev/null +++ b/paifeaturestore/src/PaiFeatureStoreClient.cc @@ -0,0 +1,1961 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +namespace +{ + const std::string SERVICE_NAME = "PaiFeatureStore"; +} + +PaiFeatureStoreClient::PaiFeatureStoreClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RoaServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +PaiFeatureStoreClient::PaiFeatureStoreClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RoaServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +PaiFeatureStoreClient::PaiFeatureStoreClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RoaServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +PaiFeatureStoreClient::~PaiFeatureStoreClient() +{} + +PaiFeatureStoreClient::ChangeProjectFeatureEntityHotIdVersionOutcome PaiFeatureStoreClient::changeProjectFeatureEntityHotIdVersion(const ChangeProjectFeatureEntityHotIdVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ChangeProjectFeatureEntityHotIdVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ChangeProjectFeatureEntityHotIdVersionOutcome(ChangeProjectFeatureEntityHotIdVersionResult(outcome.result())); + else + return ChangeProjectFeatureEntityHotIdVersionOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::changeProjectFeatureEntityHotIdVersionAsync(const ChangeProjectFeatureEntityHotIdVersionRequest& request, const ChangeProjectFeatureEntityHotIdVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, changeProjectFeatureEntityHotIdVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ChangeProjectFeatureEntityHotIdVersionOutcomeCallable PaiFeatureStoreClient::changeProjectFeatureEntityHotIdVersionCallable(const ChangeProjectFeatureEntityHotIdVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->changeProjectFeatureEntityHotIdVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CheckInstanceDatasourceOutcome PaiFeatureStoreClient::checkInstanceDatasource(const CheckInstanceDatasourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckInstanceDatasourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckInstanceDatasourceOutcome(CheckInstanceDatasourceResult(outcome.result())); + else + return CheckInstanceDatasourceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::checkInstanceDatasourceAsync(const CheckInstanceDatasourceRequest& request, const CheckInstanceDatasourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkInstanceDatasource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CheckInstanceDatasourceOutcomeCallable PaiFeatureStoreClient::checkInstanceDatasourceCallable(const CheckInstanceDatasourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkInstanceDatasource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateDatasourceOutcome PaiFeatureStoreClient::createDatasource(const CreateDatasourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDatasourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDatasourceOutcome(CreateDatasourceResult(outcome.result())); + else + return CreateDatasourceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createDatasourceAsync(const CreateDatasourceRequest& request, const CreateDatasourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDatasource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateDatasourceOutcomeCallable PaiFeatureStoreClient::createDatasourceCallable(const CreateDatasourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDatasource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateFeatureEntityOutcome PaiFeatureStoreClient::createFeatureEntity(const CreateFeatureEntityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateFeatureEntityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateFeatureEntityOutcome(CreateFeatureEntityResult(outcome.result())); + else + return CreateFeatureEntityOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createFeatureEntityAsync(const CreateFeatureEntityRequest& request, const CreateFeatureEntityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createFeatureEntity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateFeatureEntityOutcomeCallable PaiFeatureStoreClient::createFeatureEntityCallable(const CreateFeatureEntityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createFeatureEntity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateFeatureViewOutcome PaiFeatureStoreClient::createFeatureView(const CreateFeatureViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateFeatureViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateFeatureViewOutcome(CreateFeatureViewResult(outcome.result())); + else + return CreateFeatureViewOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createFeatureViewAsync(const CreateFeatureViewRequest& request, const CreateFeatureViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createFeatureView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateFeatureViewOutcomeCallable PaiFeatureStoreClient::createFeatureViewCallable(const CreateFeatureViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createFeatureView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateInstanceOutcome PaiFeatureStoreClient::createInstance(const CreateInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateInstanceOutcome(CreateInstanceResult(outcome.result())); + else + return CreateInstanceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createInstanceAsync(const CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateInstanceOutcomeCallable PaiFeatureStoreClient::createInstanceCallable(const CreateInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateLabelTableOutcome PaiFeatureStoreClient::createLabelTable(const CreateLabelTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateLabelTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateLabelTableOutcome(CreateLabelTableResult(outcome.result())); + else + return CreateLabelTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createLabelTableAsync(const CreateLabelTableRequest& request, const CreateLabelTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createLabelTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateLabelTableOutcomeCallable PaiFeatureStoreClient::createLabelTableCallable(const CreateLabelTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createLabelTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateModelFeatureOutcome PaiFeatureStoreClient::createModelFeature(const CreateModelFeatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateModelFeatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateModelFeatureOutcome(CreateModelFeatureResult(outcome.result())); + else + return CreateModelFeatureOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createModelFeatureAsync(const CreateModelFeatureRequest& request, const CreateModelFeatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createModelFeature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateModelFeatureOutcomeCallable PaiFeatureStoreClient::createModelFeatureCallable(const CreateModelFeatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createModelFeature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateProjectOutcome PaiFeatureStoreClient::createProject(const CreateProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateProjectOutcome(CreateProjectResult(outcome.result())); + else + return CreateProjectOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createProjectAsync(const CreateProjectRequest& request, const CreateProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateProjectOutcomeCallable PaiFeatureStoreClient::createProjectCallable(const CreateProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::CreateServiceIdentityRoleOutcome PaiFeatureStoreClient::createServiceIdentityRole(const CreateServiceIdentityRoleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateServiceIdentityRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateServiceIdentityRoleOutcome(CreateServiceIdentityRoleResult(outcome.result())); + else + return CreateServiceIdentityRoleOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::createServiceIdentityRoleAsync(const CreateServiceIdentityRoleRequest& request, const CreateServiceIdentityRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createServiceIdentityRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::CreateServiceIdentityRoleOutcomeCallable PaiFeatureStoreClient::createServiceIdentityRoleCallable(const CreateServiceIdentityRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createServiceIdentityRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::DeleteDatasourceOutcome PaiFeatureStoreClient::deleteDatasource(const DeleteDatasourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDatasourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDatasourceOutcome(DeleteDatasourceResult(outcome.result())); + else + return DeleteDatasourceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::deleteDatasourceAsync(const DeleteDatasourceRequest& request, const DeleteDatasourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDatasource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::DeleteDatasourceOutcomeCallable PaiFeatureStoreClient::deleteDatasourceCallable(const DeleteDatasourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDatasource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::DeleteFeatureEntityOutcome PaiFeatureStoreClient::deleteFeatureEntity(const DeleteFeatureEntityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFeatureEntityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFeatureEntityOutcome(DeleteFeatureEntityResult(outcome.result())); + else + return DeleteFeatureEntityOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::deleteFeatureEntityAsync(const DeleteFeatureEntityRequest& request, const DeleteFeatureEntityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFeatureEntity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::DeleteFeatureEntityOutcomeCallable PaiFeatureStoreClient::deleteFeatureEntityCallable(const DeleteFeatureEntityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFeatureEntity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::DeleteFeatureViewOutcome PaiFeatureStoreClient::deleteFeatureView(const DeleteFeatureViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFeatureViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFeatureViewOutcome(DeleteFeatureViewResult(outcome.result())); + else + return DeleteFeatureViewOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::deleteFeatureViewAsync(const DeleteFeatureViewRequest& request, const DeleteFeatureViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFeatureView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::DeleteFeatureViewOutcomeCallable PaiFeatureStoreClient::deleteFeatureViewCallable(const DeleteFeatureViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFeatureView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::DeleteLabelTableOutcome PaiFeatureStoreClient::deleteLabelTable(const DeleteLabelTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteLabelTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteLabelTableOutcome(DeleteLabelTableResult(outcome.result())); + else + return DeleteLabelTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::deleteLabelTableAsync(const DeleteLabelTableRequest& request, const DeleteLabelTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteLabelTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::DeleteLabelTableOutcomeCallable PaiFeatureStoreClient::deleteLabelTableCallable(const DeleteLabelTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteLabelTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::DeleteModelFeatureOutcome PaiFeatureStoreClient::deleteModelFeature(const DeleteModelFeatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteModelFeatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteModelFeatureOutcome(DeleteModelFeatureResult(outcome.result())); + else + return DeleteModelFeatureOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::deleteModelFeatureAsync(const DeleteModelFeatureRequest& request, const DeleteModelFeatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteModelFeature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::DeleteModelFeatureOutcomeCallable PaiFeatureStoreClient::deleteModelFeatureCallable(const DeleteModelFeatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteModelFeature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::DeleteProjectOutcome PaiFeatureStoreClient::deleteProject(const DeleteProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteProjectOutcome(DeleteProjectResult(outcome.result())); + else + return DeleteProjectOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::deleteProjectAsync(const DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::DeleteProjectOutcomeCallable PaiFeatureStoreClient::deleteProjectCallable(const DeleteProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ExportModelFeatureTrainingSetTableOutcome PaiFeatureStoreClient::exportModelFeatureTrainingSetTable(const ExportModelFeatureTrainingSetTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportModelFeatureTrainingSetTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportModelFeatureTrainingSetTableOutcome(ExportModelFeatureTrainingSetTableResult(outcome.result())); + else + return ExportModelFeatureTrainingSetTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::exportModelFeatureTrainingSetTableAsync(const ExportModelFeatureTrainingSetTableRequest& request, const ExportModelFeatureTrainingSetTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportModelFeatureTrainingSetTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ExportModelFeatureTrainingSetTableOutcomeCallable PaiFeatureStoreClient::exportModelFeatureTrainingSetTableCallable(const ExportModelFeatureTrainingSetTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportModelFeatureTrainingSetTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetDatasourceOutcome PaiFeatureStoreClient::getDatasource(const GetDatasourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDatasourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDatasourceOutcome(GetDatasourceResult(outcome.result())); + else + return GetDatasourceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getDatasourceAsync(const GetDatasourceRequest& request, const GetDatasourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDatasource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetDatasourceOutcomeCallable PaiFeatureStoreClient::getDatasourceCallable(const GetDatasourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDatasource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetDatasourceTableOutcome PaiFeatureStoreClient::getDatasourceTable(const GetDatasourceTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDatasourceTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDatasourceTableOutcome(GetDatasourceTableResult(outcome.result())); + else + return GetDatasourceTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getDatasourceTableAsync(const GetDatasourceTableRequest& request, const GetDatasourceTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDatasourceTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetDatasourceTableOutcomeCallable PaiFeatureStoreClient::getDatasourceTableCallable(const GetDatasourceTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDatasourceTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetFeatureEntityOutcome PaiFeatureStoreClient::getFeatureEntity(const GetFeatureEntityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFeatureEntityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFeatureEntityOutcome(GetFeatureEntityResult(outcome.result())); + else + return GetFeatureEntityOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getFeatureEntityAsync(const GetFeatureEntityRequest& request, const GetFeatureEntityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFeatureEntity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetFeatureEntityOutcomeCallable PaiFeatureStoreClient::getFeatureEntityCallable(const GetFeatureEntityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFeatureEntity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetFeatureViewOutcome PaiFeatureStoreClient::getFeatureView(const GetFeatureViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFeatureViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFeatureViewOutcome(GetFeatureViewResult(outcome.result())); + else + return GetFeatureViewOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getFeatureViewAsync(const GetFeatureViewRequest& request, const GetFeatureViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFeatureView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetFeatureViewOutcomeCallable PaiFeatureStoreClient::getFeatureViewCallable(const GetFeatureViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFeatureView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetInstanceOutcome PaiFeatureStoreClient::getInstance(const GetInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetInstanceOutcome(GetInstanceResult(outcome.result())); + else + return GetInstanceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getInstanceAsync(const GetInstanceRequest& request, const GetInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetInstanceOutcomeCallable PaiFeatureStoreClient::getInstanceCallable(const GetInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetLabelTableOutcome PaiFeatureStoreClient::getLabelTable(const GetLabelTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetLabelTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetLabelTableOutcome(GetLabelTableResult(outcome.result())); + else + return GetLabelTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getLabelTableAsync(const GetLabelTableRequest& request, const GetLabelTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getLabelTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetLabelTableOutcomeCallable PaiFeatureStoreClient::getLabelTableCallable(const GetLabelTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getLabelTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetModelFeatureOutcome PaiFeatureStoreClient::getModelFeature(const GetModelFeatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetModelFeatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetModelFeatureOutcome(GetModelFeatureResult(outcome.result())); + else + return GetModelFeatureOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getModelFeatureAsync(const GetModelFeatureRequest& request, const GetModelFeatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getModelFeature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetModelFeatureOutcomeCallable PaiFeatureStoreClient::getModelFeatureCallable(const GetModelFeatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getModelFeature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetProjectOutcome PaiFeatureStoreClient::getProject(const GetProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectOutcome(GetProjectResult(outcome.result())); + else + return GetProjectOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getProjectAsync(const GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetProjectOutcomeCallable PaiFeatureStoreClient::getProjectCallable(const GetProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetProjectFeatureEntityOutcome PaiFeatureStoreClient::getProjectFeatureEntity(const GetProjectFeatureEntityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectFeatureEntityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectFeatureEntityOutcome(GetProjectFeatureEntityResult(outcome.result())); + else + return GetProjectFeatureEntityOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getProjectFeatureEntityAsync(const GetProjectFeatureEntityRequest& request, const GetProjectFeatureEntityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProjectFeatureEntity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetProjectFeatureEntityOutcomeCallable PaiFeatureStoreClient::getProjectFeatureEntityCallable(const GetProjectFeatureEntityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProjectFeatureEntity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetProjectFeatureEntityHotIdsOutcome PaiFeatureStoreClient::getProjectFeatureEntityHotIds(const GetProjectFeatureEntityHotIdsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectFeatureEntityHotIdsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectFeatureEntityHotIdsOutcome(GetProjectFeatureEntityHotIdsResult(outcome.result())); + else + return GetProjectFeatureEntityHotIdsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getProjectFeatureEntityHotIdsAsync(const GetProjectFeatureEntityHotIdsRequest& request, const GetProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProjectFeatureEntityHotIds(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetProjectFeatureEntityHotIdsOutcomeCallable PaiFeatureStoreClient::getProjectFeatureEntityHotIdsCallable(const GetProjectFeatureEntityHotIdsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProjectFeatureEntityHotIds(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetProjectFeatureViewOutcome PaiFeatureStoreClient::getProjectFeatureView(const GetProjectFeatureViewRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectFeatureViewOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectFeatureViewOutcome(GetProjectFeatureViewResult(outcome.result())); + else + return GetProjectFeatureViewOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getProjectFeatureViewAsync(const GetProjectFeatureViewRequest& request, const GetProjectFeatureViewAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProjectFeatureView(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetProjectFeatureViewOutcomeCallable PaiFeatureStoreClient::getProjectFeatureViewCallable(const GetProjectFeatureViewRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProjectFeatureView(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetProjectModelFeatureOutcome PaiFeatureStoreClient::getProjectModelFeature(const GetProjectModelFeatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectModelFeatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectModelFeatureOutcome(GetProjectModelFeatureResult(outcome.result())); + else + return GetProjectModelFeatureOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getProjectModelFeatureAsync(const GetProjectModelFeatureRequest& request, const GetProjectModelFeatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProjectModelFeature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetProjectModelFeatureOutcomeCallable PaiFeatureStoreClient::getProjectModelFeatureCallable(const GetProjectModelFeatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProjectModelFeature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetServiceIdentityRoleOutcome PaiFeatureStoreClient::getServiceIdentityRole(const GetServiceIdentityRoleRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetServiceIdentityRoleOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetServiceIdentityRoleOutcome(GetServiceIdentityRoleResult(outcome.result())); + else + return GetServiceIdentityRoleOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getServiceIdentityRoleAsync(const GetServiceIdentityRoleRequest& request, const GetServiceIdentityRoleAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getServiceIdentityRole(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetServiceIdentityRoleOutcomeCallable PaiFeatureStoreClient::getServiceIdentityRoleCallable(const GetServiceIdentityRoleRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getServiceIdentityRole(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::GetTaskOutcome PaiFeatureStoreClient::getTask(const GetTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTaskOutcome(GetTaskResult(outcome.result())); + else + return GetTaskOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::getTaskAsync(const GetTaskRequest& request, const GetTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::GetTaskOutcomeCallable PaiFeatureStoreClient::getTaskCallable(const GetTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListDatasourceTablesOutcome PaiFeatureStoreClient::listDatasourceTables(const ListDatasourceTablesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDatasourceTablesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDatasourceTablesOutcome(ListDatasourceTablesResult(outcome.result())); + else + return ListDatasourceTablesOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listDatasourceTablesAsync(const ListDatasourceTablesRequest& request, const ListDatasourceTablesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDatasourceTables(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListDatasourceTablesOutcomeCallable PaiFeatureStoreClient::listDatasourceTablesCallable(const ListDatasourceTablesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDatasourceTables(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListDatasourcesOutcome PaiFeatureStoreClient::listDatasources(const ListDatasourcesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDatasourcesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDatasourcesOutcome(ListDatasourcesResult(outcome.result())); + else + return ListDatasourcesOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listDatasourcesAsync(const ListDatasourcesRequest& request, const ListDatasourcesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDatasources(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListDatasourcesOutcomeCallable PaiFeatureStoreClient::listDatasourcesCallable(const ListDatasourcesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDatasources(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListFeatureEntitiesOutcome PaiFeatureStoreClient::listFeatureEntities(const ListFeatureEntitiesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFeatureEntitiesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFeatureEntitiesOutcome(ListFeatureEntitiesResult(outcome.result())); + else + return ListFeatureEntitiesOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listFeatureEntitiesAsync(const ListFeatureEntitiesRequest& request, const ListFeatureEntitiesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFeatureEntities(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListFeatureEntitiesOutcomeCallable PaiFeatureStoreClient::listFeatureEntitiesCallable(const ListFeatureEntitiesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFeatureEntities(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListFeatureViewFieldRelationshipsOutcome PaiFeatureStoreClient::listFeatureViewFieldRelationships(const ListFeatureViewFieldRelationshipsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFeatureViewFieldRelationshipsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFeatureViewFieldRelationshipsOutcome(ListFeatureViewFieldRelationshipsResult(outcome.result())); + else + return ListFeatureViewFieldRelationshipsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listFeatureViewFieldRelationshipsAsync(const ListFeatureViewFieldRelationshipsRequest& request, const ListFeatureViewFieldRelationshipsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFeatureViewFieldRelationships(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListFeatureViewFieldRelationshipsOutcomeCallable PaiFeatureStoreClient::listFeatureViewFieldRelationshipsCallable(const ListFeatureViewFieldRelationshipsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFeatureViewFieldRelationships(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListFeatureViewRelationshipsOutcome PaiFeatureStoreClient::listFeatureViewRelationships(const ListFeatureViewRelationshipsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFeatureViewRelationshipsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFeatureViewRelationshipsOutcome(ListFeatureViewRelationshipsResult(outcome.result())); + else + return ListFeatureViewRelationshipsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listFeatureViewRelationshipsAsync(const ListFeatureViewRelationshipsRequest& request, const ListFeatureViewRelationshipsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFeatureViewRelationships(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListFeatureViewRelationshipsOutcomeCallable PaiFeatureStoreClient::listFeatureViewRelationshipsCallable(const ListFeatureViewRelationshipsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFeatureViewRelationships(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListFeatureViewsOutcome PaiFeatureStoreClient::listFeatureViews(const ListFeatureViewsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFeatureViewsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFeatureViewsOutcome(ListFeatureViewsResult(outcome.result())); + else + return ListFeatureViewsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listFeatureViewsAsync(const ListFeatureViewsRequest& request, const ListFeatureViewsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFeatureViews(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListFeatureViewsOutcomeCallable PaiFeatureStoreClient::listFeatureViewsCallable(const ListFeatureViewsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFeatureViews(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListInstancesOutcome PaiFeatureStoreClient::listInstances(const ListInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListInstancesOutcome(ListInstancesResult(outcome.result())); + else + return ListInstancesOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listInstancesAsync(const ListInstancesRequest& request, const ListInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListInstancesOutcomeCallable PaiFeatureStoreClient::listInstancesCallable(const ListInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListLabelTablesOutcome PaiFeatureStoreClient::listLabelTables(const ListLabelTablesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListLabelTablesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListLabelTablesOutcome(ListLabelTablesResult(outcome.result())); + else + return ListLabelTablesOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listLabelTablesAsync(const ListLabelTablesRequest& request, const ListLabelTablesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listLabelTables(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListLabelTablesOutcomeCallable PaiFeatureStoreClient::listLabelTablesCallable(const ListLabelTablesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listLabelTables(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListModelFeaturesOutcome PaiFeatureStoreClient::listModelFeatures(const ListModelFeaturesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListModelFeaturesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListModelFeaturesOutcome(ListModelFeaturesResult(outcome.result())); + else + return ListModelFeaturesOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listModelFeaturesAsync(const ListModelFeaturesRequest& request, const ListModelFeaturesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listModelFeatures(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListModelFeaturesOutcomeCallable PaiFeatureStoreClient::listModelFeaturesCallable(const ListModelFeaturesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listModelFeatures(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListProjectFeatureViewOwnersOutcome PaiFeatureStoreClient::listProjectFeatureViewOwners(const ListProjectFeatureViewOwnersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListProjectFeatureViewOwnersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListProjectFeatureViewOwnersOutcome(ListProjectFeatureViewOwnersResult(outcome.result())); + else + return ListProjectFeatureViewOwnersOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listProjectFeatureViewOwnersAsync(const ListProjectFeatureViewOwnersRequest& request, const ListProjectFeatureViewOwnersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listProjectFeatureViewOwners(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListProjectFeatureViewOwnersOutcomeCallable PaiFeatureStoreClient::listProjectFeatureViewOwnersCallable(const ListProjectFeatureViewOwnersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listProjectFeatureViewOwners(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListProjectFeatureViewTagsOutcome PaiFeatureStoreClient::listProjectFeatureViewTags(const ListProjectFeatureViewTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListProjectFeatureViewTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListProjectFeatureViewTagsOutcome(ListProjectFeatureViewTagsResult(outcome.result())); + else + return ListProjectFeatureViewTagsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listProjectFeatureViewTagsAsync(const ListProjectFeatureViewTagsRequest& request, const ListProjectFeatureViewTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listProjectFeatureViewTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListProjectFeatureViewTagsOutcomeCallable PaiFeatureStoreClient::listProjectFeatureViewTagsCallable(const ListProjectFeatureViewTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listProjectFeatureViewTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListProjectFeatureViewsOutcome PaiFeatureStoreClient::listProjectFeatureViews(const ListProjectFeatureViewsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListProjectFeatureViewsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListProjectFeatureViewsOutcome(ListProjectFeatureViewsResult(outcome.result())); + else + return ListProjectFeatureViewsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listProjectFeatureViewsAsync(const ListProjectFeatureViewsRequest& request, const ListProjectFeatureViewsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listProjectFeatureViews(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListProjectFeatureViewsOutcomeCallable PaiFeatureStoreClient::listProjectFeatureViewsCallable(const ListProjectFeatureViewsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listProjectFeatureViews(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListProjectsOutcome PaiFeatureStoreClient::listProjects(const ListProjectsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListProjectsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListProjectsOutcome(ListProjectsResult(outcome.result())); + else + return ListProjectsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listProjectsAsync(const ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listProjects(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListProjectsOutcomeCallable PaiFeatureStoreClient::listProjectsCallable(const ListProjectsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listProjects(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListTaskLogsOutcome PaiFeatureStoreClient::listTaskLogs(const ListTaskLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTaskLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTaskLogsOutcome(ListTaskLogsResult(outcome.result())); + else + return ListTaskLogsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listTaskLogsAsync(const ListTaskLogsRequest& request, const ListTaskLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTaskLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListTaskLogsOutcomeCallable PaiFeatureStoreClient::listTaskLogsCallable(const ListTaskLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTaskLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::ListTasksOutcome PaiFeatureStoreClient::listTasks(const ListTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTasksOutcome(ListTasksResult(outcome.result())); + else + return ListTasksOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::listTasksAsync(const ListTasksRequest& request, const ListTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::ListTasksOutcomeCallable PaiFeatureStoreClient::listTasksCallable(const ListTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::PublishFeatureViewTableOutcome PaiFeatureStoreClient::publishFeatureViewTable(const PublishFeatureViewTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PublishFeatureViewTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PublishFeatureViewTableOutcome(PublishFeatureViewTableResult(outcome.result())); + else + return PublishFeatureViewTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::publishFeatureViewTableAsync(const PublishFeatureViewTableRequest& request, const PublishFeatureViewTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, publishFeatureViewTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::PublishFeatureViewTableOutcomeCallable PaiFeatureStoreClient::publishFeatureViewTableCallable(const PublishFeatureViewTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->publishFeatureViewTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::UpdateDatasourceOutcome PaiFeatureStoreClient::updateDatasource(const UpdateDatasourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDatasourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDatasourceOutcome(UpdateDatasourceResult(outcome.result())); + else + return UpdateDatasourceOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::updateDatasourceAsync(const UpdateDatasourceRequest& request, const UpdateDatasourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDatasource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::UpdateDatasourceOutcomeCallable PaiFeatureStoreClient::updateDatasourceCallable(const UpdateDatasourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDatasource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::UpdateLabelTableOutcome PaiFeatureStoreClient::updateLabelTable(const UpdateLabelTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateLabelTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateLabelTableOutcome(UpdateLabelTableResult(outcome.result())); + else + return UpdateLabelTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::updateLabelTableAsync(const UpdateLabelTableRequest& request, const UpdateLabelTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateLabelTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::UpdateLabelTableOutcomeCallable PaiFeatureStoreClient::updateLabelTableCallable(const UpdateLabelTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateLabelTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::UpdateModelFeatureOutcome PaiFeatureStoreClient::updateModelFeature(const UpdateModelFeatureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateModelFeatureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateModelFeatureOutcome(UpdateModelFeatureResult(outcome.result())); + else + return UpdateModelFeatureOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::updateModelFeatureAsync(const UpdateModelFeatureRequest& request, const UpdateModelFeatureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateModelFeature(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::UpdateModelFeatureOutcomeCallable PaiFeatureStoreClient::updateModelFeatureCallable(const UpdateModelFeatureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateModelFeature(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::UpdateProjectOutcome PaiFeatureStoreClient::updateProject(const UpdateProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateProjectOutcome(UpdateProjectResult(outcome.result())); + else + return UpdateProjectOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::UpdateProjectOutcomeCallable PaiFeatureStoreClient::updateProjectCallable(const UpdateProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::WriteFeatureViewTableOutcome PaiFeatureStoreClient::writeFeatureViewTable(const WriteFeatureViewTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return WriteFeatureViewTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return WriteFeatureViewTableOutcome(WriteFeatureViewTableResult(outcome.result())); + else + return WriteFeatureViewTableOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::writeFeatureViewTableAsync(const WriteFeatureViewTableRequest& request, const WriteFeatureViewTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, writeFeatureViewTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::WriteFeatureViewTableOutcomeCallable PaiFeatureStoreClient::writeFeatureViewTableCallable(const WriteFeatureViewTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->writeFeatureViewTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +PaiFeatureStoreClient::WriteProjectFeatureEntityHotIdsOutcome PaiFeatureStoreClient::writeProjectFeatureEntityHotIds(const WriteProjectFeatureEntityHotIdsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return WriteProjectFeatureEntityHotIdsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return WriteProjectFeatureEntityHotIdsOutcome(WriteProjectFeatureEntityHotIdsResult(outcome.result())); + else + return WriteProjectFeatureEntityHotIdsOutcome(outcome.error()); +} + +void PaiFeatureStoreClient::writeProjectFeatureEntityHotIdsAsync(const WriteProjectFeatureEntityHotIdsRequest& request, const WriteProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, writeProjectFeatureEntityHotIds(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +PaiFeatureStoreClient::WriteProjectFeatureEntityHotIdsOutcomeCallable PaiFeatureStoreClient::writeProjectFeatureEntityHotIdsCallable(const WriteProjectFeatureEntityHotIdsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->writeProjectFeatureEntityHotIds(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc b/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc new file mode 100644 index 000000000..83d019e34 --- /dev/null +++ b/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ChangeProjectFeatureEntityHotIdVersionRequest; + +ChangeProjectFeatureEntityHotIdVersionRequest::ChangeProjectFeatureEntityHotIdVersionRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/action/changehotidversion"}; + setMethod(HttpRequest::Method::Post); +} + +ChangeProjectFeatureEntityHotIdVersionRequest::~ChangeProjectFeatureEntityHotIdVersionRequest() {} + +std::string ChangeProjectFeatureEntityHotIdVersionRequest::getBody() const { + return body_; +} + +void ChangeProjectFeatureEntityHotIdVersionRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string ChangeProjectFeatureEntityHotIdVersionRequest::getInstanceId() const { + return instanceId_; +} + +void ChangeProjectFeatureEntityHotIdVersionRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ChangeProjectFeatureEntityHotIdVersionRequest::getFeatureEntityName() const { + return featureEntityName_; +} + +void ChangeProjectFeatureEntityHotIdVersionRequest::setFeatureEntityName(const std::string &featureEntityName) { + featureEntityName_ = featureEntityName; + setParameter(std::string("FeatureEntityName"), featureEntityName); +} + +std::string ChangeProjectFeatureEntityHotIdVersionRequest::getProjectId() const { + return projectId_; +} + +void ChangeProjectFeatureEntityHotIdVersionRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc b/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc new file mode 100644 index 000000000..c63998421 --- /dev/null +++ b/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ChangeProjectFeatureEntityHotIdVersionResult::ChangeProjectFeatureEntityHotIdVersionResult() : + ServiceResult() +{} + +ChangeProjectFeatureEntityHotIdVersionResult::ChangeProjectFeatureEntityHotIdVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ChangeProjectFeatureEntityHotIdVersionResult::~ChangeProjectFeatureEntityHotIdVersionResult() +{} + +void ChangeProjectFeatureEntityHotIdVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/CheckInstanceDatasourceRequest.cc b/paifeaturestore/src/model/CheckInstanceDatasourceRequest.cc new file mode 100644 index 000000000..b0db64e33 --- /dev/null +++ b/paifeaturestore/src/model/CheckInstanceDatasourceRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CheckInstanceDatasourceRequest; + +CheckInstanceDatasourceRequest::CheckInstanceDatasourceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/action/checkdatasource"}; + setMethod(HttpRequest::Method::Post); +} + +CheckInstanceDatasourceRequest::~CheckInstanceDatasourceRequest() {} + +std::string CheckInstanceDatasourceRequest::getBody() const { + return body_; +} + +void CheckInstanceDatasourceRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CheckInstanceDatasourceRequest::getInstanceId() const { + return instanceId_; +} + +void CheckInstanceDatasourceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CheckInstanceDatasourceResult.cc b/paifeaturestore/src/model/CheckInstanceDatasourceResult.cc new file mode 100644 index 000000000..78e15facb --- /dev/null +++ b/paifeaturestore/src/model/CheckInstanceDatasourceResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CheckInstanceDatasourceResult::CheckInstanceDatasourceResult() : + ServiceResult() +{} + +CheckInstanceDatasourceResult::CheckInstanceDatasourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckInstanceDatasourceResult::~CheckInstanceDatasourceResult() +{} + +void CheckInstanceDatasourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + +} + +std::string CheckInstanceDatasourceResult::getStatus()const +{ + return status_; +} + diff --git a/paifeaturestore/src/model/CreateDatasourceRequest.cc b/paifeaturestore/src/model/CreateDatasourceRequest.cc new file mode 100644 index 000000000..f086d7195 --- /dev/null +++ b/paifeaturestore/src/model/CreateDatasourceRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateDatasourceRequest; + +CreateDatasourceRequest::CreateDatasourceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources"}; + setMethod(HttpRequest::Method::Post); +} + +CreateDatasourceRequest::~CreateDatasourceRequest() {} + +std::string CreateDatasourceRequest::getBody() const { + return body_; +} + +void CreateDatasourceRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CreateDatasourceRequest::getInstanceId() const { + return instanceId_; +} + +void CreateDatasourceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CreateDatasourceResult.cc b/paifeaturestore/src/model/CreateDatasourceResult.cc new file mode 100644 index 000000000..d7be65434 --- /dev/null +++ b/paifeaturestore/src/model/CreateDatasourceResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateDatasourceResult::CreateDatasourceResult() : + ServiceResult() +{} + +CreateDatasourceResult::CreateDatasourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDatasourceResult::~CreateDatasourceResult() +{} + +void CreateDatasourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DatasourceId"].isNull()) + datasourceId_ = value["DatasourceId"].asString(); + +} + +std::string CreateDatasourceResult::getDatasourceId()const +{ + return datasourceId_; +} + diff --git a/paifeaturestore/src/model/CreateFeatureEntityRequest.cc b/paifeaturestore/src/model/CreateFeatureEntityRequest.cc new file mode 100644 index 000000000..10be554b9 --- /dev/null +++ b/paifeaturestore/src/model/CreateFeatureEntityRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateFeatureEntityRequest; + +CreateFeatureEntityRequest::CreateFeatureEntityRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureentities"}; + setMethod(HttpRequest::Method::Post); +} + +CreateFeatureEntityRequest::~CreateFeatureEntityRequest() {} + +std::string CreateFeatureEntityRequest::getBody() const { + return body_; +} + +void CreateFeatureEntityRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CreateFeatureEntityRequest::getInstanceId() const { + return instanceId_; +} + +void CreateFeatureEntityRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CreateFeatureEntityResult.cc b/paifeaturestore/src/model/CreateFeatureEntityResult.cc new file mode 100644 index 000000000..93a089112 --- /dev/null +++ b/paifeaturestore/src/model/CreateFeatureEntityResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateFeatureEntityResult::CreateFeatureEntityResult() : + ServiceResult() +{} + +CreateFeatureEntityResult::CreateFeatureEntityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateFeatureEntityResult::~CreateFeatureEntityResult() +{} + +void CreateFeatureEntityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["FeatureEntityId"].isNull()) + featureEntityId_ = value["FeatureEntityId"].asString(); + +} + +std::string CreateFeatureEntityResult::getFeatureEntityId()const +{ + return featureEntityId_; +} + diff --git a/paifeaturestore/src/model/CreateFeatureViewRequest.cc b/paifeaturestore/src/model/CreateFeatureViewRequest.cc new file mode 100644 index 000000000..f82fe3e41 --- /dev/null +++ b/paifeaturestore/src/model/CreateFeatureViewRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateFeatureViewRequest; + +CreateFeatureViewRequest::CreateFeatureViewRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews"}; + setMethod(HttpRequest::Method::Post); +} + +CreateFeatureViewRequest::~CreateFeatureViewRequest() {} + +std::string CreateFeatureViewRequest::getBody() const { + return body_; +} + +void CreateFeatureViewRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CreateFeatureViewRequest::getInstanceId() const { + return instanceId_; +} + +void CreateFeatureViewRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CreateFeatureViewResult.cc b/paifeaturestore/src/model/CreateFeatureViewResult.cc new file mode 100644 index 000000000..227bc5b9a --- /dev/null +++ b/paifeaturestore/src/model/CreateFeatureViewResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateFeatureViewResult::CreateFeatureViewResult() : + ServiceResult() +{} + +CreateFeatureViewResult::CreateFeatureViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateFeatureViewResult::~CreateFeatureViewResult() +{} + +void CreateFeatureViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["FeatureViewId"].isNull()) + featureViewId_ = value["FeatureViewId"].asString(); + +} + +std::string CreateFeatureViewResult::getFeatureViewId()const +{ + return featureViewId_; +} + diff --git a/paifeaturestore/src/model/CreateInstanceRequest.cc b/paifeaturestore/src/model/CreateInstanceRequest.cc new file mode 100644 index 000000000..762bff930 --- /dev/null +++ b/paifeaturestore/src/model/CreateInstanceRequest.cc @@ -0,0 +1,37 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateInstanceRequest; + +CreateInstanceRequest::CreateInstanceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances"}; + setMethod(HttpRequest::Method::Post); +} + +CreateInstanceRequest::~CreateInstanceRequest() {} + +std::string CreateInstanceRequest::getBody() const { + return body_; +} + +void CreateInstanceRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + diff --git a/paifeaturestore/src/model/CreateInstanceResult.cc b/paifeaturestore/src/model/CreateInstanceResult.cc new file mode 100644 index 000000000..975621821 --- /dev/null +++ b/paifeaturestore/src/model/CreateInstanceResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateInstanceResult::CreateInstanceResult() : + ServiceResult() +{} + +CreateInstanceResult::CreateInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateInstanceResult::~CreateInstanceResult() +{} + +void CreateInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + +} + +std::string CreateInstanceResult::getInstanceId()const +{ + return instanceId_; +} + +std::string CreateInstanceResult::getCode()const +{ + return code_; +} + diff --git a/paifeaturestore/src/model/CreateLabelTableRequest.cc b/paifeaturestore/src/model/CreateLabelTableRequest.cc new file mode 100644 index 000000000..c0739803a --- /dev/null +++ b/paifeaturestore/src/model/CreateLabelTableRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateLabelTableRequest; + +CreateLabelTableRequest::CreateLabelTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/labeltables"}; + setMethod(HttpRequest::Method::Post); +} + +CreateLabelTableRequest::~CreateLabelTableRequest() {} + +std::string CreateLabelTableRequest::getBody() const { + return body_; +} + +void CreateLabelTableRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CreateLabelTableRequest::getInstanceId() const { + return instanceId_; +} + +void CreateLabelTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CreateLabelTableResult.cc b/paifeaturestore/src/model/CreateLabelTableResult.cc new file mode 100644 index 000000000..91e0f9b83 --- /dev/null +++ b/paifeaturestore/src/model/CreateLabelTableResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateLabelTableResult::CreateLabelTableResult() : + ServiceResult() +{} + +CreateLabelTableResult::CreateLabelTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateLabelTableResult::~CreateLabelTableResult() +{} + +void CreateLabelTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["LabelTableId"].isNull()) + labelTableId_ = value["LabelTableId"].asString(); + +} + +std::string CreateLabelTableResult::getLabelTableId()const +{ + return labelTableId_; +} + diff --git a/paifeaturestore/src/model/CreateModelFeatureRequest.cc b/paifeaturestore/src/model/CreateModelFeatureRequest.cc new file mode 100644 index 000000000..16259a639 --- /dev/null +++ b/paifeaturestore/src/model/CreateModelFeatureRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateModelFeatureRequest; + +CreateModelFeatureRequest::CreateModelFeatureRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures"}; + setMethod(HttpRequest::Method::Post); +} + +CreateModelFeatureRequest::~CreateModelFeatureRequest() {} + +std::string CreateModelFeatureRequest::getBody() const { + return body_; +} + +void CreateModelFeatureRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CreateModelFeatureRequest::getInstanceId() const { + return instanceId_; +} + +void CreateModelFeatureRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CreateModelFeatureResult.cc b/paifeaturestore/src/model/CreateModelFeatureResult.cc new file mode 100644 index 000000000..b10361c57 --- /dev/null +++ b/paifeaturestore/src/model/CreateModelFeatureResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateModelFeatureResult::CreateModelFeatureResult() : + ServiceResult() +{} + +CreateModelFeatureResult::CreateModelFeatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateModelFeatureResult::~CreateModelFeatureResult() +{} + +void CreateModelFeatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ModelFeatureId"].isNull()) + modelFeatureId_ = value["ModelFeatureId"].asString(); + +} + +std::string CreateModelFeatureResult::getModelFeatureId()const +{ + return modelFeatureId_; +} + diff --git a/paifeaturestore/src/model/CreateProjectRequest.cc b/paifeaturestore/src/model/CreateProjectRequest.cc new file mode 100644 index 000000000..1be6018a8 --- /dev/null +++ b/paifeaturestore/src/model/CreateProjectRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateProjectRequest; + +CreateProjectRequest::CreateProjectRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects"}; + setMethod(HttpRequest::Method::Post); +} + +CreateProjectRequest::~CreateProjectRequest() {} + +std::string CreateProjectRequest::getBody() const { + return body_; +} + +void CreateProjectRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string CreateProjectRequest::getInstanceId() const { + return instanceId_; +} + +void CreateProjectRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/CreateProjectResult.cc b/paifeaturestore/src/model/CreateProjectResult.cc new file mode 100644 index 000000000..90de61c8c --- /dev/null +++ b/paifeaturestore/src/model/CreateProjectResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateProjectResult::CreateProjectResult() : + ServiceResult() +{} + +CreateProjectResult::CreateProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateProjectResult::~CreateProjectResult() +{} + +void CreateProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + +} + +std::string CreateProjectResult::getProjectId()const +{ + return projectId_; +} + diff --git a/paifeaturestore/src/model/CreateServiceIdentityRoleRequest.cc b/paifeaturestore/src/model/CreateServiceIdentityRoleRequest.cc new file mode 100644 index 000000000..dd2bee7d4 --- /dev/null +++ b/paifeaturestore/src/model/CreateServiceIdentityRoleRequest.cc @@ -0,0 +1,37 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::CreateServiceIdentityRoleRequest; + +CreateServiceIdentityRoleRequest::CreateServiceIdentityRoleRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/serviceidentityroles"}; + setMethod(HttpRequest::Method::Post); +} + +CreateServiceIdentityRoleRequest::~CreateServiceIdentityRoleRequest() {} + +std::string CreateServiceIdentityRoleRequest::getBody() const { + return body_; +} + +void CreateServiceIdentityRoleRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + diff --git a/paifeaturestore/src/model/CreateServiceIdentityRoleResult.cc b/paifeaturestore/src/model/CreateServiceIdentityRoleResult.cc new file mode 100644 index 000000000..d787c5f61 --- /dev/null +++ b/paifeaturestore/src/model/CreateServiceIdentityRoleResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +CreateServiceIdentityRoleResult::CreateServiceIdentityRoleResult() : + ServiceResult() +{} + +CreateServiceIdentityRoleResult::CreateServiceIdentityRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateServiceIdentityRoleResult::~CreateServiceIdentityRoleResult() +{} + +void CreateServiceIdentityRoleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RoleName"].isNull()) + roleName_ = value["RoleName"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + +} + +std::string CreateServiceIdentityRoleResult::getRoleName()const +{ + return roleName_; +} + +std::string CreateServiceIdentityRoleResult::getCode()const +{ + return code_; +} + diff --git a/paifeaturestore/src/model/DeleteDatasourceRequest.cc b/paifeaturestore/src/model/DeleteDatasourceRequest.cc new file mode 100644 index 000000000..bb87795ca --- /dev/null +++ b/paifeaturestore/src/model/DeleteDatasourceRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::DeleteDatasourceRequest; + +DeleteDatasourceRequest::DeleteDatasourceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources/[DatasourceId]"}; + setMethod(HttpRequest::Method::Delete); +} + +DeleteDatasourceRequest::~DeleteDatasourceRequest() {} + +std::string DeleteDatasourceRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteDatasourceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string DeleteDatasourceRequest::getDatasourceId() const { + return datasourceId_; +} + +void DeleteDatasourceRequest::setDatasourceId(const std::string &datasourceId) { + datasourceId_ = datasourceId; + setParameter(std::string("DatasourceId"), datasourceId); +} + diff --git a/paifeaturestore/src/model/DeleteDatasourceResult.cc b/paifeaturestore/src/model/DeleteDatasourceResult.cc new file mode 100644 index 000000000..2e607e951 --- /dev/null +++ b/paifeaturestore/src/model/DeleteDatasourceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +DeleteDatasourceResult::DeleteDatasourceResult() : + ServiceResult() +{} + +DeleteDatasourceResult::DeleteDatasourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDatasourceResult::~DeleteDatasourceResult() +{} + +void DeleteDatasourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/DeleteFeatureEntityRequest.cc b/paifeaturestore/src/model/DeleteFeatureEntityRequest.cc new file mode 100644 index 000000000..3e2c41cf1 --- /dev/null +++ b/paifeaturestore/src/model/DeleteFeatureEntityRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::DeleteFeatureEntityRequest; + +DeleteFeatureEntityRequest::DeleteFeatureEntityRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureentities/[FeatureEntityId]"}; + setMethod(HttpRequest::Method::Delete); +} + +DeleteFeatureEntityRequest::~DeleteFeatureEntityRequest() {} + +std::string DeleteFeatureEntityRequest::getFeatureEntityId() const { + return featureEntityId_; +} + +void DeleteFeatureEntityRequest::setFeatureEntityId(const std::string &featureEntityId) { + featureEntityId_ = featureEntityId; + setParameter(std::string("FeatureEntityId"), featureEntityId); +} + +std::string DeleteFeatureEntityRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteFeatureEntityRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/DeleteFeatureEntityResult.cc b/paifeaturestore/src/model/DeleteFeatureEntityResult.cc new file mode 100644 index 000000000..a089fa204 --- /dev/null +++ b/paifeaturestore/src/model/DeleteFeatureEntityResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +DeleteFeatureEntityResult::DeleteFeatureEntityResult() : + ServiceResult() +{} + +DeleteFeatureEntityResult::DeleteFeatureEntityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFeatureEntityResult::~DeleteFeatureEntityResult() +{} + +void DeleteFeatureEntityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/DeleteFeatureViewRequest.cc b/paifeaturestore/src/model/DeleteFeatureViewRequest.cc new file mode 100644 index 000000000..17d86f2c8 --- /dev/null +++ b/paifeaturestore/src/model/DeleteFeatureViewRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::DeleteFeatureViewRequest; + +DeleteFeatureViewRequest::DeleteFeatureViewRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews/[FeatureViewId]"}; + setMethod(HttpRequest::Method::Delete); +} + +DeleteFeatureViewRequest::~DeleteFeatureViewRequest() {} + +std::string DeleteFeatureViewRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteFeatureViewRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string DeleteFeatureViewRequest::getFeatureViewId() const { + return featureViewId_; +} + +void DeleteFeatureViewRequest::setFeatureViewId(const std::string &featureViewId) { + featureViewId_ = featureViewId; + setParameter(std::string("FeatureViewId"), featureViewId); +} + diff --git a/paifeaturestore/src/model/DeleteFeatureViewResult.cc b/paifeaturestore/src/model/DeleteFeatureViewResult.cc new file mode 100644 index 000000000..13a0b399b --- /dev/null +++ b/paifeaturestore/src/model/DeleteFeatureViewResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +DeleteFeatureViewResult::DeleteFeatureViewResult() : + ServiceResult() +{} + +DeleteFeatureViewResult::DeleteFeatureViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFeatureViewResult::~DeleteFeatureViewResult() +{} + +void DeleteFeatureViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/DeleteLabelTableRequest.cc b/paifeaturestore/src/model/DeleteLabelTableRequest.cc new file mode 100644 index 000000000..35909e835 --- /dev/null +++ b/paifeaturestore/src/model/DeleteLabelTableRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::DeleteLabelTableRequest; + +DeleteLabelTableRequest::DeleteLabelTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/labeltables/[LabelTableId]"}; + setMethod(HttpRequest::Method::Delete); +} + +DeleteLabelTableRequest::~DeleteLabelTableRequest() {} + +std::string DeleteLabelTableRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteLabelTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string DeleteLabelTableRequest::getLabelTableId() const { + return labelTableId_; +} + +void DeleteLabelTableRequest::setLabelTableId(const std::string &labelTableId) { + labelTableId_ = labelTableId; + setParameter(std::string("LabelTableId"), labelTableId); +} + diff --git a/paifeaturestore/src/model/DeleteLabelTableResult.cc b/paifeaturestore/src/model/DeleteLabelTableResult.cc new file mode 100644 index 000000000..01293b638 --- /dev/null +++ b/paifeaturestore/src/model/DeleteLabelTableResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +DeleteLabelTableResult::DeleteLabelTableResult() : + ServiceResult() +{} + +DeleteLabelTableResult::DeleteLabelTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteLabelTableResult::~DeleteLabelTableResult() +{} + +void DeleteLabelTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/DeleteModelFeatureRequest.cc b/paifeaturestore/src/model/DeleteModelFeatureRequest.cc new file mode 100644 index 000000000..efbd69ad0 --- /dev/null +++ b/paifeaturestore/src/model/DeleteModelFeatureRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::DeleteModelFeatureRequest; + +DeleteModelFeatureRequest::DeleteModelFeatureRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]"}; + setMethod(HttpRequest::Method::Delete); +} + +DeleteModelFeatureRequest::~DeleteModelFeatureRequest() {} + +std::string DeleteModelFeatureRequest::getModelFeatureId() const { + return modelFeatureId_; +} + +void DeleteModelFeatureRequest::setModelFeatureId(const std::string &modelFeatureId) { + modelFeatureId_ = modelFeatureId; + setParameter(std::string("ModelFeatureId"), modelFeatureId); +} + +std::string DeleteModelFeatureRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteModelFeatureRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/DeleteModelFeatureResult.cc b/paifeaturestore/src/model/DeleteModelFeatureResult.cc new file mode 100644 index 000000000..dd3025437 --- /dev/null +++ b/paifeaturestore/src/model/DeleteModelFeatureResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +DeleteModelFeatureResult::DeleteModelFeatureResult() : + ServiceResult() +{} + +DeleteModelFeatureResult::DeleteModelFeatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteModelFeatureResult::~DeleteModelFeatureResult() +{} + +void DeleteModelFeatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/DeleteProjectRequest.cc b/paifeaturestore/src/model/DeleteProjectRequest.cc new file mode 100644 index 000000000..5e0949259 --- /dev/null +++ b/paifeaturestore/src/model/DeleteProjectRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::DeleteProjectRequest; + +DeleteProjectRequest::DeleteProjectRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]"}; + setMethod(HttpRequest::Method::Delete); +} + +DeleteProjectRequest::~DeleteProjectRequest() {} + +std::string DeleteProjectRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteProjectRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string DeleteProjectRequest::getProjectId() const { + return projectId_; +} + +void DeleteProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/DeleteProjectResult.cc b/paifeaturestore/src/model/DeleteProjectResult.cc new file mode 100644 index 000000000..83781835f --- /dev/null +++ b/paifeaturestore/src/model/DeleteProjectResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +DeleteProjectResult::DeleteProjectResult() : + ServiceResult() +{} + +DeleteProjectResult::DeleteProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteProjectResult::~DeleteProjectResult() +{} + +void DeleteProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/ExportModelFeatureTrainingSetTableRequest.cc b/paifeaturestore/src/model/ExportModelFeatureTrainingSetTableRequest.cc new file mode 100644 index 000000000..1b8dbfffd --- /dev/null +++ b/paifeaturestore/src/model/ExportModelFeatureTrainingSetTableRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ExportModelFeatureTrainingSetTableRequest; + +ExportModelFeatureTrainingSetTableRequest::ExportModelFeatureTrainingSetTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/action/exporttrainingsettable"}; + setMethod(HttpRequest::Method::Post); +} + +ExportModelFeatureTrainingSetTableRequest::~ExportModelFeatureTrainingSetTableRequest() {} + +std::string ExportModelFeatureTrainingSetTableRequest::getModelFeatureId() const { + return modelFeatureId_; +} + +void ExportModelFeatureTrainingSetTableRequest::setModelFeatureId(const std::string &modelFeatureId) { + modelFeatureId_ = modelFeatureId; + setParameter(std::string("ModelFeatureId"), modelFeatureId); +} + +std::string ExportModelFeatureTrainingSetTableRequest::getBody() const { + return body_; +} + +void ExportModelFeatureTrainingSetTableRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string ExportModelFeatureTrainingSetTableRequest::getInstanceId() const { + return instanceId_; +} + +void ExportModelFeatureTrainingSetTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/ExportModelFeatureTrainingSetTableResult.cc b/paifeaturestore/src/model/ExportModelFeatureTrainingSetTableResult.cc new file mode 100644 index 000000000..d8abcdace --- /dev/null +++ b/paifeaturestore/src/model/ExportModelFeatureTrainingSetTableResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ExportModelFeatureTrainingSetTableResult::ExportModelFeatureTrainingSetTableResult() : + ServiceResult() +{} + +ExportModelFeatureTrainingSetTableResult::ExportModelFeatureTrainingSetTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportModelFeatureTrainingSetTableResult::~ExportModelFeatureTrainingSetTableResult() +{} + +void ExportModelFeatureTrainingSetTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/GetDatasourceRequest.cc b/paifeaturestore/src/model/GetDatasourceRequest.cc new file mode 100644 index 000000000..ce173b7c4 --- /dev/null +++ b/paifeaturestore/src/model/GetDatasourceRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetDatasourceRequest; + +GetDatasourceRequest::GetDatasourceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources/[DatasourceId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetDatasourceRequest::~GetDatasourceRequest() {} + +std::string GetDatasourceRequest::getInstanceId() const { + return instanceId_; +} + +void GetDatasourceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetDatasourceRequest::getDatasourceId() const { + return datasourceId_; +} + +void GetDatasourceRequest::setDatasourceId(const std::string &datasourceId) { + datasourceId_ = datasourceId; + setParameter(std::string("DatasourceId"), datasourceId); +} + diff --git a/paifeaturestore/src/model/GetDatasourceResult.cc b/paifeaturestore/src/model/GetDatasourceResult.cc new file mode 100644 index 000000000..fbd7b66c9 --- /dev/null +++ b/paifeaturestore/src/model/GetDatasourceResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetDatasourceResult::GetDatasourceResult() : + ServiceResult() +{} + +GetDatasourceResult::GetDatasourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDatasourceResult::~GetDatasourceResult() +{} + +void GetDatasourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["DatasourceId"].isNull()) + datasourceId_ = value["DatasourceId"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Uri"].isNull()) + uri_ = value["Uri"].asString(); + if(!value["Config"].isNull()) + config_ = value["Config"].asString(); + if(!value["WorkspaceId"].isNull()) + workspaceId_ = value["WorkspaceId"].asString(); + +} + +std::string GetDatasourceResult::getType()const +{ + return type_; +} + +std::string GetDatasourceResult::getDatasourceId()const +{ + return datasourceId_; +} + +std::string GetDatasourceResult::getConfig()const +{ + return config_; +} + +std::string GetDatasourceResult::getWorkspaceId()const +{ + return workspaceId_; +} + +std::string GetDatasourceResult::getUri()const +{ + return uri_; +} + +std::string GetDatasourceResult::getName()const +{ + return name_; +} + diff --git a/paifeaturestore/src/model/GetDatasourceTableRequest.cc b/paifeaturestore/src/model/GetDatasourceTableRequest.cc new file mode 100644 index 000000000..d3055287f --- /dev/null +++ b/paifeaturestore/src/model/GetDatasourceTableRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetDatasourceTableRequest; + +GetDatasourceTableRequest::GetDatasourceTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources/[DatasourceId]/tables/[TableName]"}; + setMethod(HttpRequest::Method::Get); +} + +GetDatasourceTableRequest::~GetDatasourceTableRequest() {} + +std::string GetDatasourceTableRequest::getInstanceId() const { + return instanceId_; +} + +void GetDatasourceTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetDatasourceTableRequest::getDatasourceId() const { + return datasourceId_; +} + +void GetDatasourceTableRequest::setDatasourceId(const std::string &datasourceId) { + datasourceId_ = datasourceId; + setParameter(std::string("DatasourceId"), datasourceId); +} + +std::string GetDatasourceTableRequest::getTableName() const { + return tableName_; +} + +void GetDatasourceTableRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); +} + diff --git a/paifeaturestore/src/model/GetDatasourceTableResult.cc b/paifeaturestore/src/model/GetDatasourceTableResult.cc new file mode 100644 index 000000000..bec97275c --- /dev/null +++ b/paifeaturestore/src/model/GetDatasourceTableResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetDatasourceTableResult::GetDatasourceTableResult() : + ServiceResult() +{} + +GetDatasourceTableResult::GetDatasourceTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDatasourceTableResult::~GetDatasourceTableResult() +{} + +void GetDatasourceTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFieldsNode = value["Fields"]["FieldsItem"]; + for (auto valueFieldsFieldsItem : allFieldsNode) + { + FieldsItem fieldsObject; + if(!valueFieldsFieldsItem["Name"].isNull()) + fieldsObject.name = valueFieldsFieldsItem["Name"].asString(); + if(!valueFieldsFieldsItem["Type"].isNull()) + fieldsObject.type = valueFieldsFieldsItem["Type"].asString(); + auto allAttributes = value["Attributes"]["Attributes"]; + for (auto value : allAttributes) + fieldsObject.attributes.push_back(value.asString()); + fields_.push_back(fieldsObject); + } + if(!value["TableName"].isNull()) + tableName_ = value["TableName"].asString(); + +} + +std::string GetDatasourceTableResult::getTableName()const +{ + return tableName_; +} + +std::vector GetDatasourceTableResult::getFields()const +{ + return fields_; +} + diff --git a/paifeaturestore/src/model/GetFeatureEntityRequest.cc b/paifeaturestore/src/model/GetFeatureEntityRequest.cc new file mode 100644 index 000000000..12fa582e8 --- /dev/null +++ b/paifeaturestore/src/model/GetFeatureEntityRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetFeatureEntityRequest; + +GetFeatureEntityRequest::GetFeatureEntityRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureentities/[FeatureEntityId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetFeatureEntityRequest::~GetFeatureEntityRequest() {} + +std::string GetFeatureEntityRequest::getFeatureEntityId() const { + return featureEntityId_; +} + +void GetFeatureEntityRequest::setFeatureEntityId(const std::string &featureEntityId) { + featureEntityId_ = featureEntityId; + setParameter(std::string("FeatureEntityId"), featureEntityId); +} + +std::string GetFeatureEntityRequest::getInstanceId() const { + return instanceId_; +} + +void GetFeatureEntityRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/GetFeatureEntityResult.cc b/paifeaturestore/src/model/GetFeatureEntityResult.cc new file mode 100644 index 000000000..dc5313ab3 --- /dev/null +++ b/paifeaturestore/src/model/GetFeatureEntityResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetFeatureEntityResult::GetFeatureEntityResult() : + ServiceResult() +{} + +GetFeatureEntityResult::GetFeatureEntityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFeatureEntityResult::~GetFeatureEntityResult() +{} + +void GetFeatureEntityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["JoinId"].isNull()) + joinId_ = value["JoinId"].asString(); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + +} + +std::string GetFeatureEntityResult::getJoinId()const +{ + return joinId_; +} + +std::string GetFeatureEntityResult::getOwner()const +{ + return owner_; +} + +std::string GetFeatureEntityResult::getProjectName()const +{ + return projectName_; +} + +std::string GetFeatureEntityResult::getProjectId()const +{ + return projectId_; +} + +std::string GetFeatureEntityResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetFeatureEntityResult::getName()const +{ + return name_; +} + diff --git a/paifeaturestore/src/model/GetFeatureViewRequest.cc b/paifeaturestore/src/model/GetFeatureViewRequest.cc new file mode 100644 index 000000000..979771342 --- /dev/null +++ b/paifeaturestore/src/model/GetFeatureViewRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetFeatureViewRequest; + +GetFeatureViewRequest::GetFeatureViewRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews/[FeatureViewId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetFeatureViewRequest::~GetFeatureViewRequest() {} + +std::string GetFeatureViewRequest::getInstanceId() const { + return instanceId_; +} + +void GetFeatureViewRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetFeatureViewRequest::getFeatureViewId() const { + return featureViewId_; +} + +void GetFeatureViewRequest::setFeatureViewId(const std::string &featureViewId) { + featureViewId_ = featureViewId; + setParameter(std::string("FeatureViewId"), featureViewId); +} + diff --git a/paifeaturestore/src/model/GetFeatureViewResult.cc b/paifeaturestore/src/model/GetFeatureViewResult.cc new file mode 100644 index 000000000..82b772033 --- /dev/null +++ b/paifeaturestore/src/model/GetFeatureViewResult.cc @@ -0,0 +1,203 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetFeatureViewResult::GetFeatureViewResult() : + ServiceResult() +{} + +GetFeatureViewResult::GetFeatureViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFeatureViewResult::~GetFeatureViewResult() +{} + +void GetFeatureViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFieldsNode = value["Fields"]["FieldsItem"]; + for (auto valueFieldsFieldsItem : allFieldsNode) + { + FieldsItem fieldsObject; + if(!valueFieldsFieldsItem["Name"].isNull()) + fieldsObject.name = valueFieldsFieldsItem["Name"].asString(); + if(!valueFieldsFieldsItem["Type"].isNull()) + fieldsObject.type = valueFieldsFieldsItem["Type"].asString(); + auto allAttributes = value["Attributes"]["Attributes"]; + for (auto value : allAttributes) + fieldsObject.attributes.push_back(value.asString()); + fields_.push_back(fieldsObject); + } + auto allTags = value["Tags"]["Tags"]; + for (const auto &item : allTags) + tags_.push_back(item.asString()); + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["FeatureEntityName"].isNull()) + featureEntityName_ = value["FeatureEntityName"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + if(!value["FeatureEntityId"].isNull()) + featureEntityId_ = value["FeatureEntityId"].asString(); + if(!value["JoinId"].isNull()) + joinId_ = value["JoinId"].asString(); + if(!value["WriteMethod"].isNull()) + writeMethod_ = value["WriteMethod"].asString(); + if(!value["RegisterTable"].isNull()) + registerTable_ = value["RegisterTable"].asString(); + if(!value["RegisterDatasourceId"].isNull()) + registerDatasourceId_ = value["RegisterDatasourceId"].asString(); + if(!value["RegisterDatasourceName"].isNull()) + registerDatasourceName_ = value["RegisterDatasourceName"].asString(); + if(!value["SyncOnlineTable"].isNull()) + syncOnlineTable_ = value["SyncOnlineTable"].asString() == "true"; + if(!value["TTL"].isNull()) + tTL_ = std::stoi(value["TTL"].asString()); + if(!value["Config"].isNull()) + config_ = value["Config"].asString(); + if(!value["GmtSyncTime"].isNull()) + gmtSyncTime_ = value["GmtSyncTime"].asString(); + if(!value["LastSyncConfig"].isNull()) + lastSyncConfig_ = value["LastSyncConfig"].asString(); + +} + +std::string GetFeatureViewResult::getFeatureEntityName()const +{ + return featureEntityName_; +} + +std::string GetFeatureViewResult::getOwner()const +{ + return owner_; +} + +std::string GetFeatureViewResult::getProjectName()const +{ + return projectName_; +} + +std::string GetFeatureViewResult::getConfig()const +{ + return config_; +} + +std::string GetFeatureViewResult::getWriteMethod()const +{ + return writeMethod_; +} + +bool GetFeatureViewResult::getSyncOnlineTable()const +{ + return syncOnlineTable_; +} + +std::string GetFeatureViewResult::getProjectId()const +{ + return projectId_; +} + +std::string GetFeatureViewResult::getRegisterTable()const +{ + return registerTable_; +} + +int GetFeatureViewResult::getTTL()const +{ + return tTL_; +} + +std::string GetFeatureViewResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + +std::string GetFeatureViewResult::getGmtSyncTime()const +{ + return gmtSyncTime_; +} + +std::string GetFeatureViewResult::getName()const +{ + return name_; +} + +std::string GetFeatureViewResult::getJoinId()const +{ + return joinId_; +} + +std::string GetFeatureViewResult::getLastSyncConfig()const +{ + return lastSyncConfig_; +} + +std::string GetFeatureViewResult::getType()const +{ + return type_; +} + +std::vector GetFeatureViewResult::getFields()const +{ + return fields_; +} + +std::string GetFeatureViewResult::getRegisterDatasourceName()const +{ + return registerDatasourceName_; +} + +std::string GetFeatureViewResult::getFeatureEntityId()const +{ + return featureEntityId_; +} + +std::vector GetFeatureViewResult::getTags()const +{ + return tags_; +} + +std::string GetFeatureViewResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetFeatureViewResult::getRegisterDatasourceId()const +{ + return registerDatasourceId_; +} + diff --git a/paifeaturestore/src/model/GetInstanceRequest.cc b/paifeaturestore/src/model/GetInstanceRequest.cc new file mode 100644 index 000000000..cb04dfe35 --- /dev/null +++ b/paifeaturestore/src/model/GetInstanceRequest.cc @@ -0,0 +1,37 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetInstanceRequest; + +GetInstanceRequest::GetInstanceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetInstanceRequest::~GetInstanceRequest() {} + +std::string GetInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void GetInstanceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/GetInstanceResult.cc b/paifeaturestore/src/model/GetInstanceResult.cc new file mode 100644 index 000000000..129e34a29 --- /dev/null +++ b/paifeaturestore/src/model/GetInstanceResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetInstanceResult::GetInstanceResult() : + ServiceResult() +{} + +GetInstanceResult::GetInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetInstanceResult::~GetInstanceResult() +{} + +void GetInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["RegionId"].isNull()) + regionId_ = value["RegionId"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + if(!value["Progress"].isNull()) + progress_ = value["Progress"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + +} + +std::string GetInstanceResult::getStatus()const +{ + return status_; +} + +double GetInstanceResult::getProgress()const +{ + return progress_; +} + +std::string GetInstanceResult::getType()const +{ + return type_; +} + +std::string GetInstanceResult::getMessage()const +{ + return message_; +} + +std::string GetInstanceResult::getRegionId()const +{ + return regionId_; +} + +std::string GetInstanceResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetInstanceResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + diff --git a/paifeaturestore/src/model/GetLabelTableRequest.cc b/paifeaturestore/src/model/GetLabelTableRequest.cc new file mode 100644 index 000000000..96f8dfc70 --- /dev/null +++ b/paifeaturestore/src/model/GetLabelTableRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetLabelTableRequest; + +GetLabelTableRequest::GetLabelTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/labeltables/[LabelTableId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetLabelTableRequest::~GetLabelTableRequest() {} + +std::string GetLabelTableRequest::getInstanceId() const { + return instanceId_; +} + +void GetLabelTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetLabelTableRequest::getLabelTableId() const { + return labelTableId_; +} + +void GetLabelTableRequest::setLabelTableId(const std::string &labelTableId) { + labelTableId_ = labelTableId; + setParameter(std::string("LabelTableId"), labelTableId); +} + diff --git a/paifeaturestore/src/model/GetLabelTableResult.cc b/paifeaturestore/src/model/GetLabelTableResult.cc new file mode 100644 index 000000000..05947b4b4 --- /dev/null +++ b/paifeaturestore/src/model/GetLabelTableResult.cc @@ -0,0 +1,118 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetLabelTableResult::GetLabelTableResult() : + ServiceResult() +{} + +GetLabelTableResult::GetLabelTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetLabelTableResult::~GetLabelTableResult() +{} + +void GetLabelTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFieldsNode = value["Fields"]["Field"]; + for (auto valueFieldsField : allFieldsNode) + { + Field fieldsObject; + if(!valueFieldsField["Name"].isNull()) + fieldsObject.name = valueFieldsField["Name"].asString(); + if(!valueFieldsField["Type"].isNull()) + fieldsObject.type = valueFieldsField["Type"].asString(); + auto allAttributes = value["Attributes"]["Attribute"]; + for (auto value : allAttributes) + fieldsObject.attributes.push_back(value.asString()); + fields_.push_back(fieldsObject); + } + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["DatasourceId"].isNull()) + datasourceId_ = value["DatasourceId"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["DatasourceName"].isNull()) + datasourceName_ = value["DatasourceName"].asString(); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + +} + +std::string GetLabelTableResult::getOwner()const +{ + return owner_; +} + +std::vector GetLabelTableResult::getFields()const +{ + return fields_; +} + +std::string GetLabelTableResult::getDatasourceId()const +{ + return datasourceId_; +} + +std::string GetLabelTableResult::getDatasourceName()const +{ + return datasourceName_; +} + +std::string GetLabelTableResult::getProjectName()const +{ + return projectName_; +} + +std::string GetLabelTableResult::getProjectId()const +{ + return projectId_; +} + +std::string GetLabelTableResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetLabelTableResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + +std::string GetLabelTableResult::getName()const +{ + return name_; +} + diff --git a/paifeaturestore/src/model/GetModelFeatureRequest.cc b/paifeaturestore/src/model/GetModelFeatureRequest.cc new file mode 100644 index 000000000..994e11d82 --- /dev/null +++ b/paifeaturestore/src/model/GetModelFeatureRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetModelFeatureRequest; + +GetModelFeatureRequest::GetModelFeatureRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetModelFeatureRequest::~GetModelFeatureRequest() {} + +std::string GetModelFeatureRequest::getModelFeatureId() const { + return modelFeatureId_; +} + +void GetModelFeatureRequest::setModelFeatureId(const std::string &modelFeatureId) { + modelFeatureId_ = modelFeatureId; + setParameter(std::string("ModelFeatureId"), modelFeatureId); +} + +std::string GetModelFeatureRequest::getInstanceId() const { + return instanceId_; +} + +void GetModelFeatureRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/GetModelFeatureResult.cc b/paifeaturestore/src/model/GetModelFeatureResult.cc new file mode 100644 index 000000000..18a5c9567 --- /dev/null +++ b/paifeaturestore/src/model/GetModelFeatureResult.cc @@ -0,0 +1,165 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetModelFeatureResult::GetModelFeatureResult() : + ServiceResult() +{} + +GetModelFeatureResult::GetModelFeatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetModelFeatureResult::~GetModelFeatureResult() +{} + +void GetModelFeatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFeaturesNode = value["Features"]["FeaturesItem"]; + for (auto valueFeaturesFeaturesItem : allFeaturesNode) + { + FeaturesItem featuresObject; + if(!valueFeaturesFeaturesItem["FeatureViewId"].isNull()) + featuresObject.featureViewId = valueFeaturesFeaturesItem["FeatureViewId"].asString(); + if(!valueFeaturesFeaturesItem["FeatureViewName"].isNull()) + featuresObject.featureViewName = valueFeaturesFeaturesItem["FeatureViewName"].asString(); + if(!valueFeaturesFeaturesItem["Name"].isNull()) + featuresObject.name = valueFeaturesFeaturesItem["Name"].asString(); + if(!valueFeaturesFeaturesItem["Type"].isNull()) + featuresObject.type = valueFeaturesFeaturesItem["Type"].asString(); + if(!valueFeaturesFeaturesItem["AliasName"].isNull()) + featuresObject.aliasName = valueFeaturesFeaturesItem["AliasName"].asString(); + features_.push_back(featuresObject); + } + auto relationsNode = value["Relations"]; + auto allDomainsNode = relationsNode["Domains"]["DomainsItem"]; + for (auto relationsNodeDomainsDomainsItem : allDomainsNode) + { + Relations::DomainsItem domainsItemObject; + if(!relationsNodeDomainsDomainsItem["Id"].isNull()) + domainsItemObject.id = relationsNodeDomainsDomainsItem["Id"].asString(); + if(!relationsNodeDomainsDomainsItem["Name"].isNull()) + domainsItemObject.name = relationsNodeDomainsDomainsItem["Name"].asString(); + if(!relationsNodeDomainsDomainsItem["DomainType"].isNull()) + domainsItemObject.domainType = relationsNodeDomainsDomainsItem["DomainType"].asString(); + relations_.domains.push_back(domainsItemObject); + } + auto allLinksNode = relationsNode["Links"]["LinksItem"]; + for (auto relationsNodeLinksLinksItem : allLinksNode) + { + Relations::LinksItem linksItemObject; + if(!relationsNodeLinksLinksItem["From"].isNull()) + linksItemObject.from = relationsNodeLinksLinksItem["From"].asString(); + if(!relationsNodeLinksLinksItem["To"].isNull()) + linksItemObject.to = relationsNodeLinksLinksItem["To"].asString(); + if(!relationsNodeLinksLinksItem["Link"].isNull()) + linksItemObject.link = relationsNodeLinksLinksItem["Link"].asString(); + relations_.links.push_back(linksItemObject); + } + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + if(!value["LabelTableId"].isNull()) + labelTableId_ = value["LabelTableId"].asString(); + if(!value["LabelTableName"].isNull()) + labelTableName_ = value["LabelTableName"].asString(); + if(!value["TrainingSetTable"].isNull()) + trainingSetTable_ = value["TrainingSetTable"].asString(); + if(!value["TrainingSetFGTable"].isNull()) + trainingSetFGTable_ = value["TrainingSetFGTable"].asString(); + +} + +std::string GetModelFeatureResult::getOwner()const +{ + return owner_; +} + +std::string GetModelFeatureResult::getProjectName()const +{ + return projectName_; +} + +std::string GetModelFeatureResult::getProjectId()const +{ + return projectId_; +} + +std::string GetModelFeatureResult::getLabelTableName()const +{ + return labelTableName_; +} + +std::vector GetModelFeatureResult::getFeatures()const +{ + return features_; +} + +GetModelFeatureResult::Relations GetModelFeatureResult::getRelations()const +{ + return relations_; +} + +std::string GetModelFeatureResult::getLabelTableId()const +{ + return labelTableId_; +} + +std::string GetModelFeatureResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetModelFeatureResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + +std::string GetModelFeatureResult::getTrainingSetFGTable()const +{ + return trainingSetFGTable_; +} + +std::string GetModelFeatureResult::getName()const +{ + return name_; +} + +std::string GetModelFeatureResult::getTrainingSetTable()const +{ + return trainingSetTable_; +} + diff --git a/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc b/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc new file mode 100644 index 000000000..a841e4ce7 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetProjectFeatureEntityHotIdsRequest; + +GetProjectFeatureEntityHotIdsRequest::GetProjectFeatureEntityHotIdsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/hotids/[NextSeqNumber]"}; + setMethod(HttpRequest::Method::Get); +} + +GetProjectFeatureEntityHotIdsRequest::~GetProjectFeatureEntityHotIdsRequest() {} + +std::string GetProjectFeatureEntityHotIdsRequest::getInstanceId() const { + return instanceId_; +} + +void GetProjectFeatureEntityHotIdsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetProjectFeatureEntityHotIdsRequest::getFeatureEntityName() const { + return featureEntityName_; +} + +void GetProjectFeatureEntityHotIdsRequest::setFeatureEntityName(const std::string &featureEntityName) { + featureEntityName_ = featureEntityName; + setParameter(std::string("FeatureEntityName"), featureEntityName); +} + +std::string GetProjectFeatureEntityHotIdsRequest::getProjectId() const { + return projectId_; +} + +void GetProjectFeatureEntityHotIdsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + +std::string GetProjectFeatureEntityHotIdsRequest::getNextSeqNumber() const { + return nextSeqNumber_; +} + +void GetProjectFeatureEntityHotIdsRequest::setNextSeqNumber(const std::string &nextSeqNumber) { + nextSeqNumber_ = nextSeqNumber; + setParameter(std::string("NextSeqNumber"), nextSeqNumber); +} + diff --git a/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsResult.cc b/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsResult.cc new file mode 100644 index 000000000..608b70737 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetProjectFeatureEntityHotIdsResult::GetProjectFeatureEntityHotIdsResult() : + ServiceResult() +{} + +GetProjectFeatureEntityHotIdsResult::GetProjectFeatureEntityHotIdsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectFeatureEntityHotIdsResult::~GetProjectFeatureEntityHotIdsResult() +{} + +void GetProjectFeatureEntityHotIdsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["HotIds"].isNull()) + hotIds_ = value["HotIds"].asString(); + if(!value["Count"].isNull()) + count_ = std::stoi(value["Count"].asString()); + if(!value["NextSeqNumber"].isNull()) + nextSeqNumber_ = value["NextSeqNumber"].asString(); + +} + +std::string GetProjectFeatureEntityHotIdsResult::getNextSeqNumber()const +{ + return nextSeqNumber_; +} + +std::string GetProjectFeatureEntityHotIdsResult::getHotIds()const +{ + return hotIds_; +} + +int GetProjectFeatureEntityHotIdsResult::getCount()const +{ + return count_; +} + diff --git a/paifeaturestore/src/model/GetProjectFeatureEntityRequest.cc b/paifeaturestore/src/model/GetProjectFeatureEntityRequest.cc new file mode 100644 index 000000000..1a03aebb8 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectFeatureEntityRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetProjectFeatureEntityRequest; + +GetProjectFeatureEntityRequest::GetProjectFeatureEntityRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]"}; + setMethod(HttpRequest::Method::Get); +} + +GetProjectFeatureEntityRequest::~GetProjectFeatureEntityRequest() {} + +std::string GetProjectFeatureEntityRequest::getInstanceId() const { + return instanceId_; +} + +void GetProjectFeatureEntityRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetProjectFeatureEntityRequest::getFeatureEntityName() const { + return featureEntityName_; +} + +void GetProjectFeatureEntityRequest::setFeatureEntityName(const std::string &featureEntityName) { + featureEntityName_ = featureEntityName; + setParameter(std::string("FeatureEntityName"), featureEntityName); +} + +std::string GetProjectFeatureEntityRequest::getProjectId() const { + return projectId_; +} + +void GetProjectFeatureEntityRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/GetProjectFeatureEntityResult.cc b/paifeaturestore/src/model/GetProjectFeatureEntityResult.cc new file mode 100644 index 000000000..b2daa45d8 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectFeatureEntityResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetProjectFeatureEntityResult::GetProjectFeatureEntityResult() : + ServiceResult() +{} + +GetProjectFeatureEntityResult::GetProjectFeatureEntityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectFeatureEntityResult::~GetProjectFeatureEntityResult() +{} + +void GetProjectFeatureEntityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["FeatureEntityId"].isNull()) + featureEntityId_ = value["FeatureEntityId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["WorkspaceId"].isNull()) + workspaceId_ = value["WorkspaceId"].asString(); + if(!value["JoinId"].isNull()) + joinId_ = value["JoinId"].asString(); + +} + +std::string GetProjectFeatureEntityResult::getJoinId()const +{ + return joinId_; +} + +std::string GetProjectFeatureEntityResult::getProjectName()const +{ + return projectName_; +} + +std::string GetProjectFeatureEntityResult::getFeatureEntityId()const +{ + return featureEntityId_; +} + +std::string GetProjectFeatureEntityResult::getWorkspaceId()const +{ + return workspaceId_; +} + +std::string GetProjectFeatureEntityResult::getName()const +{ + return name_; +} + diff --git a/paifeaturestore/src/model/GetProjectFeatureViewRequest.cc b/paifeaturestore/src/model/GetProjectFeatureViewRequest.cc new file mode 100644 index 000000000..9cb03237e --- /dev/null +++ b/paifeaturestore/src/model/GetProjectFeatureViewRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetProjectFeatureViewRequest; + +GetProjectFeatureViewRequest::GetProjectFeatureViewRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviews/[FeatureViewName]"}; + setMethod(HttpRequest::Method::Get); +} + +GetProjectFeatureViewRequest::~GetProjectFeatureViewRequest() {} + +std::string GetProjectFeatureViewRequest::getInstanceId() const { + return instanceId_; +} + +void GetProjectFeatureViewRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetProjectFeatureViewRequest::getFeatureViewName() const { + return featureViewName_; +} + +void GetProjectFeatureViewRequest::setFeatureViewName(const std::string &featureViewName) { + featureViewName_ = featureViewName; + setParameter(std::string("FeatureViewName"), featureViewName); +} + +std::string GetProjectFeatureViewRequest::getProjectId() const { + return projectId_; +} + +void GetProjectFeatureViewRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/GetProjectFeatureViewResult.cc b/paifeaturestore/src/model/GetProjectFeatureViewResult.cc new file mode 100644 index 000000000..223c75cf6 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectFeatureViewResult.cc @@ -0,0 +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 +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetProjectFeatureViewResult::GetProjectFeatureViewResult() : + ServiceResult() +{} + +GetProjectFeatureViewResult::GetProjectFeatureViewResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectFeatureViewResult::~GetProjectFeatureViewResult() +{} + +void GetProjectFeatureViewResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFieldsNode = value["Fields"]["FieldsItem"]; + for (auto valueFieldsFieldsItem : allFieldsNode) + { + FieldsItem fieldsObject; + if(!valueFieldsFieldsItem["Name"].isNull()) + fieldsObject.name = valueFieldsFieldsItem["Name"].asString(); + if(!valueFieldsFieldsItem["Type"].isNull()) + fieldsObject.type = valueFieldsFieldsItem["Type"].asString(); + auto allAttributes = value["Attributes"]["Attributes"]; + for (auto value : allAttributes) + fieldsObject.attributes.push_back(value.asString()); + fields_.push_back(fieldsObject); + } + auto allTags = value["Tags"]["Tags"]; + for (const auto &item : allTags) + tags_.push_back(item.asString()); + if(!value["FeatureViewId"].isNull()) + featureViewId_ = value["FeatureViewId"].asString(); + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["FeatureEntityId"].isNull()) + featureEntityId_ = value["FeatureEntityId"].asString(); + if(!value["FeatureEntityName"].isNull()) + featureEntityName_ = value["FeatureEntityName"].asString(); + if(!value["JoinId"].isNull()) + joinId_ = value["JoinId"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["WriteMethod"].isNull()) + writeMethod_ = value["WriteMethod"].asString(); + if(!value["RegisterTable"].isNull()) + registerTable_ = value["RegisterTable"].asString(); + if(!value["RegisterDatasourceId"].isNull()) + registerDatasourceId_ = value["RegisterDatasourceId"].asString(); + if(!value["SyncOnlineTable"].isNull()) + syncOnlineTable_ = value["SyncOnlineTable"].asString() == "true"; + if(!value["TTL"].isNull()) + tTL_ = std::stoi(value["TTL"].asString()); + if(!value["Config"].isNull()) + config_ = value["Config"].asString(); + if(!value["GmtSyncTime"].isNull()) + gmtSyncTime_ = value["GmtSyncTime"].asString(); + if(!value["LastSyncConfig"].isNull()) + lastSyncConfig_ = value["LastSyncConfig"].asString(); + +} + +std::string GetProjectFeatureViewResult::getFeatureEntityName()const +{ + return featureEntityName_; +} + +std::string GetProjectFeatureViewResult::getOwner()const +{ + return owner_; +} + +std::string GetProjectFeatureViewResult::getFeatureViewId()const +{ + return featureViewId_; +} + +std::string GetProjectFeatureViewResult::getProjectName()const +{ + return projectName_; +} + +std::string GetProjectFeatureViewResult::getConfig()const +{ + return config_; +} + +std::string GetProjectFeatureViewResult::getWriteMethod()const +{ + return writeMethod_; +} + +bool GetProjectFeatureViewResult::getSyncOnlineTable()const +{ + return syncOnlineTable_; +} + +std::string GetProjectFeatureViewResult::getProjectId()const +{ + return projectId_; +} + +std::string GetProjectFeatureViewResult::getRegisterTable()const +{ + return registerTable_; +} + +int GetProjectFeatureViewResult::getTTL()const +{ + return tTL_; +} + +std::string GetProjectFeatureViewResult::getGmtSyncTime()const +{ + return gmtSyncTime_; +} + +std::string GetProjectFeatureViewResult::getName()const +{ + return name_; +} + +std::string GetProjectFeatureViewResult::getJoinId()const +{ + return joinId_; +} + +std::string GetProjectFeatureViewResult::getLastSyncConfig()const +{ + return lastSyncConfig_; +} + +std::string GetProjectFeatureViewResult::getType()const +{ + return type_; +} + +std::vector GetProjectFeatureViewResult::getFields()const +{ + return fields_; +} + +std::string GetProjectFeatureViewResult::getFeatureEntityId()const +{ + return featureEntityId_; +} + +std::vector GetProjectFeatureViewResult::getTags()const +{ + return tags_; +} + +std::string GetProjectFeatureViewResult::getRegisterDatasourceId()const +{ + return registerDatasourceId_; +} + diff --git a/paifeaturestore/src/model/GetProjectModelFeatureRequest.cc b/paifeaturestore/src/model/GetProjectModelFeatureRequest.cc new file mode 100644 index 000000000..fc28bda70 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectModelFeatureRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetProjectModelFeatureRequest; + +GetProjectModelFeatureRequest::GetProjectModelFeatureRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/modelfeatures/[ModelFeatureName]"}; + setMethod(HttpRequest::Method::Get); +} + +GetProjectModelFeatureRequest::~GetProjectModelFeatureRequest() {} + +std::string GetProjectModelFeatureRequest::getModelFeatureName() const { + return modelFeatureName_; +} + +void GetProjectModelFeatureRequest::setModelFeatureName(const std::string &modelFeatureName) { + modelFeatureName_ = modelFeatureName; + setParameter(std::string("ModelFeatureName"), modelFeatureName); +} + +std::string GetProjectModelFeatureRequest::getInstanceId() const { + return instanceId_; +} + +void GetProjectModelFeatureRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetProjectModelFeatureRequest::getProjectId() const { + return projectId_; +} + +void GetProjectModelFeatureRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/GetProjectModelFeatureResult.cc b/paifeaturestore/src/model/GetProjectModelFeatureResult.cc new file mode 100644 index 000000000..70500cb87 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectModelFeatureResult.cc @@ -0,0 +1,156 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetProjectModelFeatureResult::GetProjectModelFeatureResult() : + ServiceResult() +{} + +GetProjectModelFeatureResult::GetProjectModelFeatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectModelFeatureResult::~GetProjectModelFeatureResult() +{} + +void GetProjectModelFeatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFeaturesNode = value["Features"]["FeaturesItem"]; + for (auto valueFeaturesFeaturesItem : allFeaturesNode) + { + FeaturesItem featuresObject; + if(!valueFeaturesFeaturesItem["FeatureViewId"].isNull()) + featuresObject.featureViewId = valueFeaturesFeaturesItem["FeatureViewId"].asString(); + if(!valueFeaturesFeaturesItem["FeatureViewName"].isNull()) + featuresObject.featureViewName = valueFeaturesFeaturesItem["FeatureViewName"].asString(); + if(!valueFeaturesFeaturesItem["Name"].isNull()) + featuresObject.name = valueFeaturesFeaturesItem["Name"].asString(); + if(!valueFeaturesFeaturesItem["Type"].isNull()) + featuresObject.type = valueFeaturesFeaturesItem["Type"].asString(); + if(!valueFeaturesFeaturesItem["AliasName"].isNull()) + featuresObject.aliasName = valueFeaturesFeaturesItem["AliasName"].asString(); + features_.push_back(featuresObject); + } + if(!value["ModelFeatureId"].isNull()) + modelFeatureId_ = value["ModelFeatureId"].asString(); + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["LabelTableId"].isNull()) + labelTableId_ = value["LabelTableId"].asString(); + if(!value["LabelDatasourceId"].isNull()) + labelDatasourceId_ = value["LabelDatasourceId"].asString(); + if(!value["LabelDatasourceTable"].isNull()) + labelDatasourceTable_ = value["LabelDatasourceTable"].asString(); + if(!value["LabelEventTime"].isNull()) + labelEventTime_ = value["LabelEventTime"].asString(); + if(!value["TrainingSetTable"].isNull()) + trainingSetTable_ = value["TrainingSetTable"].asString(); + if(!value["TrainingSetFGTable"].isNull()) + trainingSetFGTable_ = value["TrainingSetFGTable"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + +} + +std::string GetProjectModelFeatureResult::getOwner()const +{ + return owner_; +} + +std::string GetProjectModelFeatureResult::getProjectName()const +{ + return projectName_; +} + +std::string GetProjectModelFeatureResult::getLabelDatasourceTable()const +{ + return labelDatasourceTable_; +} + +std::string GetProjectModelFeatureResult::getProjectId()const +{ + return projectId_; +} + +std::string GetProjectModelFeatureResult::getLabelDatasourceId()const +{ + return labelDatasourceId_; +} + +std::string GetProjectModelFeatureResult::getModelFeatureId()const +{ + return modelFeatureId_; +} + +std::string GetProjectModelFeatureResult::getTrainingSetFGTable()const +{ + return trainingSetFGTable_; +} + +std::string GetProjectModelFeatureResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + +std::string GetProjectModelFeatureResult::getName()const +{ + return name_; +} + +std::string GetProjectModelFeatureResult::getTrainingSetTable()const +{ + return trainingSetTable_; +} + +std::string GetProjectModelFeatureResult::getLabelEventTime()const +{ + return labelEventTime_; +} + +std::vector GetProjectModelFeatureResult::getFeatures()const +{ + return features_; +} + +std::string GetProjectModelFeatureResult::getLabelTableId()const +{ + return labelTableId_; +} + +std::string GetProjectModelFeatureResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + diff --git a/paifeaturestore/src/model/GetProjectRequest.cc b/paifeaturestore/src/model/GetProjectRequest.cc new file mode 100644 index 000000000..62302e895 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetProjectRequest; + +GetProjectRequest::GetProjectRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetProjectRequest::~GetProjectRequest() {} + +std::string GetProjectRequest::getInstanceId() const { + return instanceId_; +} + +void GetProjectRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetProjectRequest::getProjectId() const { + return projectId_; +} + +void GetProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/GetProjectResult.cc b/paifeaturestore/src/model/GetProjectResult.cc new file mode 100644 index 000000000..7c10c3638 --- /dev/null +++ b/paifeaturestore/src/model/GetProjectResult.cc @@ -0,0 +1,149 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetProjectResult::GetProjectResult() : + ServiceResult() +{} + +GetProjectResult::GetProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectResult::~GetProjectResult() +{} + +void GetProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["OfflineDatasourceType"].isNull()) + offlineDatasourceType_ = value["OfflineDatasourceType"].asString(); + if(!value["OfflineDatasourceId"].isNull()) + offlineDatasourceId_ = value["OfflineDatasourceId"].asString(); + if(!value["OfflineDatasourceName"].isNull()) + offlineDatasourceName_ = value["OfflineDatasourceName"].asString(); + if(!value["OnlineDatasourceType"].isNull()) + onlineDatasourceType_ = value["OnlineDatasourceType"].asString(); + if(!value["OnlineDatasourceId"].isNull()) + onlineDatasourceId_ = value["OnlineDatasourceId"].asString(); + if(!value["OnlineDatasourceName"].isNull()) + onlineDatasourceName_ = value["OnlineDatasourceName"].asString(); + if(!value["OfflineLifecycle"].isNull()) + offlineLifecycle_ = std::stoi(value["OfflineLifecycle"].asString()); + if(!value["FeatureEntityCount"].isNull()) + featureEntityCount_ = std::stoi(value["FeatureEntityCount"].asString()); + if(!value["FeatureViewCount"].isNull()) + featureViewCount_ = std::stoi(value["FeatureViewCount"].asString()); + if(!value["ModelCount"].isNull()) + modelCount_ = std::stoi(value["ModelCount"].asString()); + if(!value["Owner"].isNull()) + owner_ = value["Owner"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + +} + +std::string GetProjectResult::getOnlineDatasourceType()const +{ + return onlineDatasourceType_; +} + +std::string GetProjectResult::getOwner()const +{ + return owner_; +} + +std::string GetProjectResult::getDescription()const +{ + return description_; +} + +std::string GetProjectResult::getOfflineDatasourceName()const +{ + return offlineDatasourceName_; +} + +std::string GetProjectResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + +std::string GetProjectResult::getName()const +{ + return name_; +} + +std::string GetProjectResult::getOfflineDatasourceId()const +{ + return offlineDatasourceId_; +} + +std::string GetProjectResult::getOnlineDatasourceName()const +{ + return onlineDatasourceName_; +} + +int GetProjectResult::getFeatureViewCount()const +{ + return featureViewCount_; +} + +int GetProjectResult::getOfflineLifecycle()const +{ + return offlineLifecycle_; +} + +int GetProjectResult::getModelCount()const +{ + return modelCount_; +} + +std::string GetProjectResult::getOfflineDatasourceType()const +{ + return offlineDatasourceType_; +} + +int GetProjectResult::getFeatureEntityCount()const +{ + return featureEntityCount_; +} + +std::string GetProjectResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetProjectResult::getOnlineDatasourceId()const +{ + return onlineDatasourceId_; +} + diff --git a/paifeaturestore/src/model/GetServiceIdentityRoleRequest.cc b/paifeaturestore/src/model/GetServiceIdentityRoleRequest.cc new file mode 100644 index 000000000..eeefa3a6d --- /dev/null +++ b/paifeaturestore/src/model/GetServiceIdentityRoleRequest.cc @@ -0,0 +1,37 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetServiceIdentityRoleRequest; + +GetServiceIdentityRoleRequest::GetServiceIdentityRoleRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/serviceidentityroles/[RoleName]"}; + setMethod(HttpRequest::Method::Get); +} + +GetServiceIdentityRoleRequest::~GetServiceIdentityRoleRequest() {} + +std::string GetServiceIdentityRoleRequest::getRoleName() const { + return roleName_; +} + +void GetServiceIdentityRoleRequest::setRoleName(const std::string &roleName) { + roleName_ = roleName; + setParameter(std::string("RoleName"), roleName); +} + diff --git a/paifeaturestore/src/model/GetServiceIdentityRoleResult.cc b/paifeaturestore/src/model/GetServiceIdentityRoleResult.cc new file mode 100644 index 000000000..74f5ce869 --- /dev/null +++ b/paifeaturestore/src/model/GetServiceIdentityRoleResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetServiceIdentityRoleResult::GetServiceIdentityRoleResult() : + ServiceResult() +{} + +GetServiceIdentityRoleResult::GetServiceIdentityRoleResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetServiceIdentityRoleResult::~GetServiceIdentityRoleResult() +{} + +void GetServiceIdentityRoleResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["RoleName"].isNull()) + roleName_ = value["RoleName"].asString(); + if(!value["Policy"].isNull()) + policy_ = value["Policy"].asString(); + +} + +std::string GetServiceIdentityRoleResult::getPolicy()const +{ + return policy_; +} + +std::string GetServiceIdentityRoleResult::getRoleName()const +{ + return roleName_; +} + diff --git a/paifeaturestore/src/model/GetTaskRequest.cc b/paifeaturestore/src/model/GetTaskRequest.cc new file mode 100644 index 000000000..e2e7bab7e --- /dev/null +++ b/paifeaturestore/src/model/GetTaskRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::GetTaskRequest; + +GetTaskRequest::GetTaskRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/tasks/[TaskId]"}; + setMethod(HttpRequest::Method::Get); +} + +GetTaskRequest::~GetTaskRequest() {} + +std::string GetTaskRequest::getInstanceId() const { + return instanceId_; +} + +void GetTaskRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetTaskRequest::getTaskId() const { + return taskId_; +} + +void GetTaskRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + diff --git a/paifeaturestore/src/model/GetTaskResult.cc b/paifeaturestore/src/model/GetTaskResult.cc new file mode 100644 index 000000000..3b2098055 --- /dev/null +++ b/paifeaturestore/src/model/GetTaskResult.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +GetTaskResult::GetTaskResult() : + ServiceResult() +{} + +GetTaskResult::GetTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTaskResult::~GetTaskResult() +{} + +void GetTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ProjectId"].isNull()) + projectId_ = value["ProjectId"].asString(); + if(!value["ProjectName"].isNull()) + projectName_ = value["ProjectName"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["ObjectType"].isNull()) + objectType_ = value["ObjectType"].asString(); + if(!value["ObjectId"].isNull()) + objectId_ = value["ObjectId"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Config"].isNull()) + config_ = value["Config"].asString(); + if(!value["RunningConfig"].isNull()) + runningConfig_ = value["RunningConfig"].asString(); + if(!value["GmtCreateTime"].isNull()) + gmtCreateTime_ = value["GmtCreateTime"].asString(); + if(!value["GmtModifiedTime"].isNull()) + gmtModifiedTime_ = value["GmtModifiedTime"].asString(); + if(!value["GmtExecutedTime"].isNull()) + gmtExecutedTime_ = value["GmtExecutedTime"].asString(); + if(!value["GmtFinishedTime"].isNull()) + gmtFinishedTime_ = value["GmtFinishedTime"].asString(); + +} + +std::string GetTaskResult::getStatus()const +{ + return status_; +} + +std::string GetTaskResult::getObjectType()const +{ + return objectType_; +} + +std::string GetTaskResult::getType()const +{ + return type_; +} + +std::string GetTaskResult::getRunningConfig()const +{ + return runningConfig_; +} + +std::string GetTaskResult::getProjectName()const +{ + return projectName_; +} + +std::string GetTaskResult::getObjectId()const +{ + return objectId_; +} + +std::string GetTaskResult::getConfig()const +{ + return config_; +} + +std::string GetTaskResult::getGmtExecutedTime()const +{ + return gmtExecutedTime_; +} + +std::string GetTaskResult::getGmtFinishedTime()const +{ + return gmtFinishedTime_; +} + +std::string GetTaskResult::getProjectId()const +{ + return projectId_; +} + +std::string GetTaskResult::getGmtCreateTime()const +{ + return gmtCreateTime_; +} + +std::string GetTaskResult::getGmtModifiedTime()const +{ + return gmtModifiedTime_; +} + diff --git a/paifeaturestore/src/model/ListDatasourceTablesRequest.cc b/paifeaturestore/src/model/ListDatasourceTablesRequest.cc new file mode 100644 index 000000000..19d6dffa0 --- /dev/null +++ b/paifeaturestore/src/model/ListDatasourceTablesRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListDatasourceTablesRequest; + +ListDatasourceTablesRequest::ListDatasourceTablesRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources/[DatasourceId]/tables"}; + setMethod(HttpRequest::Method::Get); +} + +ListDatasourceTablesRequest::~ListDatasourceTablesRequest() {} + +std::string ListDatasourceTablesRequest::getInstanceId() const { + return instanceId_; +} + +void ListDatasourceTablesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListDatasourceTablesRequest::getDatasourceId() const { + return datasourceId_; +} + +void ListDatasourceTablesRequest::setDatasourceId(const std::string &datasourceId) { + datasourceId_ = datasourceId; + setParameter(std::string("DatasourceId"), datasourceId); +} + +std::string ListDatasourceTablesRequest::getTableName() const { + return tableName_; +} + +void ListDatasourceTablesRequest::setTableName(const std::string &tableName) { + tableName_ = tableName; + setParameter(std::string("TableName"), tableName); +} + diff --git a/paifeaturestore/src/model/ListDatasourceTablesResult.cc b/paifeaturestore/src/model/ListDatasourceTablesResult.cc new file mode 100644 index 000000000..430ea1742 --- /dev/null +++ b/paifeaturestore/src/model/ListDatasourceTablesResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListDatasourceTablesResult::ListDatasourceTablesResult() : + ServiceResult() +{} + +ListDatasourceTablesResult::ListDatasourceTablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDatasourceTablesResult::~ListDatasourceTablesResult() +{} + +void ListDatasourceTablesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTables = value["Tables"]["Tables"]; + for (const auto &item : allTables) + tables_.push_back(item.asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListDatasourceTablesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListDatasourceTablesResult::getTables()const +{ + return tables_; +} + diff --git a/paifeaturestore/src/model/ListDatasourcesRequest.cc b/paifeaturestore/src/model/ListDatasourcesRequest.cc new file mode 100644 index 000000000..982794d15 --- /dev/null +++ b/paifeaturestore/src/model/ListDatasourcesRequest.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListDatasourcesRequest; + +ListDatasourcesRequest::ListDatasourcesRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources"}; + setMethod(HttpRequest::Method::Get); +} + +ListDatasourcesRequest::~ListDatasourcesRequest() {} + +std::string ListDatasourcesRequest::getType() const { + return type_; +} + +void ListDatasourcesRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +int ListDatasourcesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDatasourcesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListDatasourcesRequest::getInstanceId() const { + return instanceId_; +} + +void ListDatasourcesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListDatasourcesRequest::getName() const { + return name_; +} + +void ListDatasourcesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +int ListDatasourcesRequest::getPageSize() const { + return pageSize_; +} + +void ListDatasourcesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListDatasourcesRequest::getSortBy() const { + return sortBy_; +} + +void ListDatasourcesRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListDatasourcesRequest::getWorkspaceId() const { + return workspaceId_; +} + +void ListDatasourcesRequest::setWorkspaceId(const std::string &workspaceId) { + workspaceId_ = workspaceId; + setParameter(std::string("WorkspaceId"), workspaceId); +} + +std::string ListDatasourcesRequest::getOrder() const { + return order_; +} + +void ListDatasourcesRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + diff --git a/paifeaturestore/src/model/ListDatasourcesResult.cc b/paifeaturestore/src/model/ListDatasourcesResult.cc new file mode 100644 index 000000000..798b1cfe8 --- /dev/null +++ b/paifeaturestore/src/model/ListDatasourcesResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListDatasourcesResult::ListDatasourcesResult() : + ServiceResult() +{} + +ListDatasourcesResult::ListDatasourcesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDatasourcesResult::~ListDatasourcesResult() +{} + +void ListDatasourcesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDatasourcesNode = value["Datasources"]["DatasourcesItem"]; + for (auto valueDatasourcesDatasourcesItem : allDatasourcesNode) + { + DatasourcesItem datasourcesObject; + if(!valueDatasourcesDatasourcesItem["DatasourceId"].isNull()) + datasourcesObject.datasourceId = valueDatasourcesDatasourcesItem["DatasourceId"].asString(); + if(!valueDatasourcesDatasourcesItem["Name"].isNull()) + datasourcesObject.name = valueDatasourcesDatasourcesItem["Name"].asString(); + if(!valueDatasourcesDatasourcesItem["Type"].isNull()) + datasourcesObject.type = valueDatasourcesDatasourcesItem["Type"].asString(); + if(!valueDatasourcesDatasourcesItem["Uri"].isNull()) + datasourcesObject.uri = valueDatasourcesDatasourcesItem["Uri"].asString(); + if(!valueDatasourcesDatasourcesItem["Config"].isNull()) + datasourcesObject.config = valueDatasourcesDatasourcesItem["Config"].asString(); + if(!valueDatasourcesDatasourcesItem["GmtCreateTime"].isNull()) + datasourcesObject.gmtCreateTime = valueDatasourcesDatasourcesItem["GmtCreateTime"].asString(); + if(!valueDatasourcesDatasourcesItem["GmtModifiedTime"].isNull()) + datasourcesObject.gmtModifiedTime = valueDatasourcesDatasourcesItem["GmtModifiedTime"].asString(); + if(!valueDatasourcesDatasourcesItem["WorkspaceId"].isNull()) + datasourcesObject.workspaceId = valueDatasourcesDatasourcesItem["WorkspaceId"].asString(); + datasources_.push_back(datasourcesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListDatasourcesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListDatasourcesResult::getDatasources()const +{ + return datasources_; +} + diff --git a/paifeaturestore/src/model/ListFeatureEntitiesRequest.cc b/paifeaturestore/src/model/ListFeatureEntitiesRequest.cc new file mode 100644 index 000000000..70ca9f94e --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureEntitiesRequest.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListFeatureEntitiesRequest; + +ListFeatureEntitiesRequest::ListFeatureEntitiesRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureentities"}; + setMethod(HttpRequest::Method::Get); +} + +ListFeatureEntitiesRequest::~ListFeatureEntitiesRequest() {} + +std::string ListFeatureEntitiesRequest::getOwner() const { + return owner_; +} + +void ListFeatureEntitiesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setParameter(std::string("Owner"), owner); +} + +int ListFeatureEntitiesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListFeatureEntitiesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListFeatureEntitiesRequest::getInstanceId() const { + return instanceId_; +} + +void ListFeatureEntitiesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListFeatureEntitiesRequest::getName() const { + return name_; +} + +void ListFeatureEntitiesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +int ListFeatureEntitiesRequest::getPageSize() const { + return pageSize_; +} + +void ListFeatureEntitiesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListFeatureEntitiesRequest::getSortBy() const { + return sortBy_; +} + +void ListFeatureEntitiesRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListFeatureEntitiesRequest::getProjectId() const { + return projectId_; +} + +void ListFeatureEntitiesRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + +std::string ListFeatureEntitiesRequest::getOrder() const { + return order_; +} + +void ListFeatureEntitiesRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + diff --git a/paifeaturestore/src/model/ListFeatureEntitiesResult.cc b/paifeaturestore/src/model/ListFeatureEntitiesResult.cc new file mode 100644 index 000000000..574ff63c4 --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureEntitiesResult.cc @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListFeatureEntitiesResult::ListFeatureEntitiesResult() : + ServiceResult() +{} + +ListFeatureEntitiesResult::ListFeatureEntitiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFeatureEntitiesResult::~ListFeatureEntitiesResult() +{} + +void ListFeatureEntitiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFeatureEntitiesNode = value["FeatureEntities"]["FeatureEntitiesItem"]; + for (auto valueFeatureEntitiesFeatureEntitiesItem : allFeatureEntitiesNode) + { + FeatureEntitiesItem featureEntitiesObject; + if(!valueFeatureEntitiesFeatureEntitiesItem["FeatureEntityId"].isNull()) + featureEntitiesObject.featureEntityId = valueFeatureEntitiesFeatureEntitiesItem["FeatureEntityId"].asString(); + if(!valueFeatureEntitiesFeatureEntitiesItem["GmtCreateTime"].isNull()) + featureEntitiesObject.gmtCreateTime = valueFeatureEntitiesFeatureEntitiesItem["GmtCreateTime"].asString(); + if(!valueFeatureEntitiesFeatureEntitiesItem["JoinId"].isNull()) + featureEntitiesObject.joinId = valueFeatureEntitiesFeatureEntitiesItem["JoinId"].asString(); + if(!valueFeatureEntitiesFeatureEntitiesItem["Name"].isNull()) + featureEntitiesObject.name = valueFeatureEntitiesFeatureEntitiesItem["Name"].asString(); + if(!valueFeatureEntitiesFeatureEntitiesItem["Owner"].isNull()) + featureEntitiesObject.owner = valueFeatureEntitiesFeatureEntitiesItem["Owner"].asString(); + if(!valueFeatureEntitiesFeatureEntitiesItem["ProjectId"].isNull()) + featureEntitiesObject.projectId = valueFeatureEntitiesFeatureEntitiesItem["ProjectId"].asString(); + if(!valueFeatureEntitiesFeatureEntitiesItem["ProjectName"].isNull()) + featureEntitiesObject.projectName = valueFeatureEntitiesFeatureEntitiesItem["ProjectName"].asString(); + featureEntities_.push_back(featureEntitiesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListFeatureEntitiesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListFeatureEntitiesResult::getFeatureEntities()const +{ + return featureEntities_; +} + diff --git a/paifeaturestore/src/model/ListFeatureViewFieldRelationshipsRequest.cc b/paifeaturestore/src/model/ListFeatureViewFieldRelationshipsRequest.cc new file mode 100644 index 000000000..bf1b75150 --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureViewFieldRelationshipsRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListFeatureViewFieldRelationshipsRequest; + +ListFeatureViewFieldRelationshipsRequest::ListFeatureViewFieldRelationshipsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews/[FeatureViewId]/fields/[FieldName]/relationships"}; + setMethod(HttpRequest::Method::Get); +} + +ListFeatureViewFieldRelationshipsRequest::~ListFeatureViewFieldRelationshipsRequest() {} + +std::string ListFeatureViewFieldRelationshipsRequest::getFieldName() const { + return fieldName_; +} + +void ListFeatureViewFieldRelationshipsRequest::setFieldName(const std::string &fieldName) { + fieldName_ = fieldName; + setParameter(std::string("FieldName"), fieldName); +} + +std::string ListFeatureViewFieldRelationshipsRequest::getInstanceId() const { + return instanceId_; +} + +void ListFeatureViewFieldRelationshipsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListFeatureViewFieldRelationshipsRequest::getFeatureViewId() const { + return featureViewId_; +} + +void ListFeatureViewFieldRelationshipsRequest::setFeatureViewId(const std::string &featureViewId) { + featureViewId_ = featureViewId; + setParameter(std::string("FeatureViewId"), featureViewId); +} + diff --git a/paifeaturestore/src/model/ListFeatureViewFieldRelationshipsResult.cc b/paifeaturestore/src/model/ListFeatureViewFieldRelationshipsResult.cc new file mode 100644 index 000000000..0b5fc2d73 --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureViewFieldRelationshipsResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListFeatureViewFieldRelationshipsResult::ListFeatureViewFieldRelationshipsResult() : + ServiceResult() +{} + +ListFeatureViewFieldRelationshipsResult::ListFeatureViewFieldRelationshipsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFeatureViewFieldRelationshipsResult::~ListFeatureViewFieldRelationshipsResult() +{} + +void ListFeatureViewFieldRelationshipsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRelationshipsNode = value["Relationships"]["RelationshipsItem"]; + for (auto valueRelationshipsRelationshipsItem : allRelationshipsNode) + { + RelationshipsItem relationshipsObject; + if(!valueRelationshipsRelationshipsItem["FeatureName"].isNull()) + relationshipsObject.featureName = valueRelationshipsRelationshipsItem["FeatureName"].asString(); + if(!valueRelationshipsRelationshipsItem["OnlineTableName"].isNull()) + relationshipsObject.onlineTableName = valueRelationshipsRelationshipsItem["OnlineTableName"].asString(); + if(!valueRelationshipsRelationshipsItem["OfflineTableName"].isNull()) + relationshipsObject.offlineTableName = valueRelationshipsRelationshipsItem["OfflineTableName"].asString(); + auto allModelsNode = valueRelationshipsRelationshipsItem["Models"]["ModelsItem"]; + for (auto valueRelationshipsRelationshipsItemModelsModelsItem : allModelsNode) + { + RelationshipsItem::ModelsItem modelsObject; + if(!valueRelationshipsRelationshipsItemModelsModelsItem["ModelId"].isNull()) + modelsObject.modelId = valueRelationshipsRelationshipsItemModelsModelsItem["ModelId"].asString(); + if(!valueRelationshipsRelationshipsItemModelsModelsItem["ModelName"].isNull()) + modelsObject.modelName = valueRelationshipsRelationshipsItemModelsModelsItem["ModelName"].asString(); + relationshipsObject.models.push_back(modelsObject); + } + relationships_.push_back(relationshipsObject); + } + +} + +std::vector ListFeatureViewFieldRelationshipsResult::getRelationships()const +{ + return relationships_; +} + diff --git a/paifeaturestore/src/model/ListFeatureViewRelationshipsRequest.cc b/paifeaturestore/src/model/ListFeatureViewRelationshipsRequest.cc new file mode 100644 index 000000000..a94203a36 --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureViewRelationshipsRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListFeatureViewRelationshipsRequest; + +ListFeatureViewRelationshipsRequest::ListFeatureViewRelationshipsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews/[FeatureViewId]/relationships"}; + setMethod(HttpRequest::Method::Get); +} + +ListFeatureViewRelationshipsRequest::~ListFeatureViewRelationshipsRequest() {} + +std::string ListFeatureViewRelationshipsRequest::getInstanceId() const { + return instanceId_; +} + +void ListFeatureViewRelationshipsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListFeatureViewRelationshipsRequest::getFeatureViewId() const { + return featureViewId_; +} + +void ListFeatureViewRelationshipsRequest::setFeatureViewId(const std::string &featureViewId) { + featureViewId_ = featureViewId; + setParameter(std::string("FeatureViewId"), featureViewId); +} + diff --git a/paifeaturestore/src/model/ListFeatureViewRelationshipsResult.cc b/paifeaturestore/src/model/ListFeatureViewRelationshipsResult.cc new file mode 100644 index 000000000..6a498a2f7 --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureViewRelationshipsResult.cc @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListFeatureViewRelationshipsResult::ListFeatureViewRelationshipsResult() : + ServiceResult() +{} + +ListFeatureViewRelationshipsResult::ListFeatureViewRelationshipsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFeatureViewRelationshipsResult::~ListFeatureViewRelationshipsResult() +{} + +void ListFeatureViewRelationshipsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRelationshipsNode = value["Relationships"]["RelationshipsItem"]; + for (auto valueRelationshipsRelationshipsItem : allRelationshipsNode) + { + RelationshipsItem relationshipsObject; + if(!valueRelationshipsRelationshipsItem["FeatureViewName"].isNull()) + relationshipsObject.featureViewName = valueRelationshipsRelationshipsItem["FeatureViewName"].asString(); + if(!valueRelationshipsRelationshipsItem["ProjectName"].isNull()) + relationshipsObject.projectName = valueRelationshipsRelationshipsItem["ProjectName"].asString(); + auto allModelsNode = valueRelationshipsRelationshipsItem["Models"]["ModelsItem"]; + for (auto valueRelationshipsRelationshipsItemModelsModelsItem : allModelsNode) + { + RelationshipsItem::ModelsItem modelsObject; + if(!valueRelationshipsRelationshipsItemModelsModelsItem["ModelId"].isNull()) + modelsObject.modelId = valueRelationshipsRelationshipsItemModelsModelsItem["ModelId"].asString(); + if(!valueRelationshipsRelationshipsItemModelsModelsItem["ModelName"].isNull()) + modelsObject.modelName = valueRelationshipsRelationshipsItemModelsModelsItem["ModelName"].asString(); + relationshipsObject.models.push_back(modelsObject); + } + relationships_.push_back(relationshipsObject); + } + +} + +std::vector ListFeatureViewRelationshipsResult::getRelationships()const +{ + return relationships_; +} + diff --git a/paifeaturestore/src/model/ListFeatureViewsRequest.cc b/paifeaturestore/src/model/ListFeatureViewsRequest.cc new file mode 100644 index 000000000..1382ec75d --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureViewsRequest.cc @@ -0,0 +1,118 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListFeatureViewsRequest; + +ListFeatureViewsRequest::ListFeatureViewsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews"}; + setMethod(HttpRequest::Method::Get); +} + +ListFeatureViewsRequest::~ListFeatureViewsRequest() {} + +std::string ListFeatureViewsRequest::getType() const { + return type_; +} + +void ListFeatureViewsRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +int ListFeatureViewsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListFeatureViewsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListFeatureViewsRequest::getFeatureName() const { + return featureName_; +} + +void ListFeatureViewsRequest::setFeatureName(const std::string &featureName) { + featureName_ = featureName; + setParameter(std::string("FeatureName"), featureName); +} + +int ListFeatureViewsRequest::getPageSize() const { + return pageSize_; +} + +void ListFeatureViewsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListFeatureViewsRequest::getTag() const { + return tag_; +} + +void ListFeatureViewsRequest::setTag(const std::string &tag) { + tag_ = tag; + setParameter(std::string("Tag"), tag); +} + +std::string ListFeatureViewsRequest::getProjectId() const { + return projectId_; +} + +void ListFeatureViewsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + +std::string ListFeatureViewsRequest::getOrder() const { + return order_; +} + +void ListFeatureViewsRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + +std::string ListFeatureViewsRequest::getOwner() const { + return owner_; +} + +void ListFeatureViewsRequest::setOwner(const std::string &owner) { + owner_ = owner; + setParameter(std::string("Owner"), owner); +} + +std::string ListFeatureViewsRequest::getInstanceId() const { + return instanceId_; +} + +void ListFeatureViewsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListFeatureViewsRequest::getSortBy() const { + return sortBy_; +} + +void ListFeatureViewsRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + diff --git a/paifeaturestore/src/model/ListFeatureViewsResult.cc b/paifeaturestore/src/model/ListFeatureViewsResult.cc new file mode 100644 index 000000000..439741c4a --- /dev/null +++ b/paifeaturestore/src/model/ListFeatureViewsResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListFeatureViewsResult::ListFeatureViewsResult() : + ServiceResult() +{} + +ListFeatureViewsResult::ListFeatureViewsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFeatureViewsResult::~ListFeatureViewsResult() +{} + +void ListFeatureViewsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFeatureViewsNode = value["FeatureViews"]["FeatureViewsItem"]; + for (auto valueFeatureViewsFeatureViewsItem : allFeatureViewsNode) + { + FeatureViewsItem featureViewsObject; + if(!valueFeatureViewsFeatureViewsItem["FeatureViewId"].isNull()) + featureViewsObject.featureViewId = valueFeatureViewsFeatureViewsItem["FeatureViewId"].asString(); + if(!valueFeatureViewsFeatureViewsItem["ProjectId"].isNull()) + featureViewsObject.projectId = valueFeatureViewsFeatureViewsItem["ProjectId"].asString(); + if(!valueFeatureViewsFeatureViewsItem["ProjectName"].isNull()) + featureViewsObject.projectName = valueFeatureViewsFeatureViewsItem["ProjectName"].asString(); + if(!valueFeatureViewsFeatureViewsItem["FeatureEntityName"].isNull()) + featureViewsObject.featureEntityName = valueFeatureViewsFeatureViewsItem["FeatureEntityName"].asString(); + if(!valueFeatureViewsFeatureViewsItem["Name"].isNull()) + featureViewsObject.name = valueFeatureViewsFeatureViewsItem["Name"].asString(); + if(!valueFeatureViewsFeatureViewsItem["Owner"].isNull()) + featureViewsObject.owner = valueFeatureViewsFeatureViewsItem["Owner"].asString(); + if(!valueFeatureViewsFeatureViewsItem["Type"].isNull()) + featureViewsObject.type = valueFeatureViewsFeatureViewsItem["Type"].asString(); + if(!valueFeatureViewsFeatureViewsItem["GmtCreateTime"].isNull()) + featureViewsObject.gmtCreateTime = valueFeatureViewsFeatureViewsItem["GmtCreateTime"].asString(); + if(!valueFeatureViewsFeatureViewsItem["GmtModifiedTime"].isNull()) + featureViewsObject.gmtModifiedTime = valueFeatureViewsFeatureViewsItem["GmtModifiedTime"].asString(); + if(!valueFeatureViewsFeatureViewsItem["RegisterTable"].isNull()) + featureViewsObject.registerTable = valueFeatureViewsFeatureViewsItem["RegisterTable"].asString(); + if(!valueFeatureViewsFeatureViewsItem["RegisterDatasourceName"].isNull()) + featureViewsObject.registerDatasourceName = valueFeatureViewsFeatureViewsItem["RegisterDatasourceName"].asString(); + if(!valueFeatureViewsFeatureViewsItem["TTL"].isNull()) + featureViewsObject.tTL = std::stoi(valueFeatureViewsFeatureViewsItem["TTL"].asString()); + if(!valueFeatureViewsFeatureViewsItem["RegisterDatasourceId"].isNull()) + featureViewsObject.registerDatasourceId = valueFeatureViewsFeatureViewsItem["RegisterDatasourceId"].asString(); + featureViews_.push_back(featureViewsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector ListFeatureViewsResult::getFeatureViews()const +{ + return featureViews_; +} + +long ListFeatureViewsResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/paifeaturestore/src/model/ListInstancesRequest.cc b/paifeaturestore/src/model/ListInstancesRequest.cc new file mode 100644 index 000000000..1a33fc667 --- /dev/null +++ b/paifeaturestore/src/model/ListInstancesRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListInstancesRequest; + +ListInstancesRequest::ListInstancesRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances"}; + setMethod(HttpRequest::Method::Get); +} + +ListInstancesRequest::~ListInstancesRequest() {} + +int ListInstancesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListInstancesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +int ListInstancesRequest::getPageSize() const { + return pageSize_; +} + +void ListInstancesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListInstancesRequest::getSortBy() const { + return sortBy_; +} + +void ListInstancesRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListInstancesRequest::getStatus() const { + return status_; +} + +void ListInstancesRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + +std::string ListInstancesRequest::getOrder() const { + return order_; +} + +void ListInstancesRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + diff --git a/paifeaturestore/src/model/ListInstancesResult.cc b/paifeaturestore/src/model/ListInstancesResult.cc new file mode 100644 index 000000000..298ff1dbe --- /dev/null +++ b/paifeaturestore/src/model/ListInstancesResult.cc @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListInstancesResult::ListInstancesResult() : + ServiceResult() +{} + +ListInstancesResult::ListInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListInstancesResult::~ListInstancesResult() +{} + +void ListInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allInstancesNode = value["Instances"]["InstancesItem"]; + for (auto valueInstancesInstancesItem : allInstancesNode) + { + InstancesItem instancesObject; + if(!valueInstancesInstancesItem["InstanceId"].isNull()) + instancesObject.instanceId = valueInstancesInstancesItem["InstanceId"].asString(); + if(!valueInstancesInstancesItem["Type"].isNull()) + instancesObject.type = valueInstancesInstancesItem["Type"].asString(); + if(!valueInstancesInstancesItem["Status"].isNull()) + instancesObject.status = valueInstancesInstancesItem["Status"].asString(); + if(!valueInstancesInstancesItem["RegionId"].isNull()) + instancesObject.regionId = valueInstancesInstancesItem["RegionId"].asString(); + if(!valueInstancesInstancesItem["GmtCreateTime"].isNull()) + instancesObject.gmtCreateTime = valueInstancesInstancesItem["GmtCreateTime"].asString(); + if(!valueInstancesInstancesItem["GmtModifiedTime"].isNull()) + instancesObject.gmtModifiedTime = valueInstancesInstancesItem["GmtModifiedTime"].asString(); + instances_.push_back(instancesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector ListInstancesResult::getInstances()const +{ + return instances_; +} + +long ListInstancesResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/paifeaturestore/src/model/ListLabelTablesRequest.cc b/paifeaturestore/src/model/ListLabelTablesRequest.cc new file mode 100644 index 000000000..de1e18682 --- /dev/null +++ b/paifeaturestore/src/model/ListLabelTablesRequest.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListLabelTablesRequest; + +ListLabelTablesRequest::ListLabelTablesRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/labeltables"}; + setMethod(HttpRequest::Method::Get); +} + +ListLabelTablesRequest::~ListLabelTablesRequest() {} + +std::string ListLabelTablesRequest::getOwner() const { + return owner_; +} + +void ListLabelTablesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setParameter(std::string("Owner"), owner); +} + +long ListLabelTablesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListLabelTablesRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListLabelTablesRequest::getInstanceId() const { + return instanceId_; +} + +void ListLabelTablesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +long ListLabelTablesRequest::getPageSize() const { + return pageSize_; +} + +void ListLabelTablesRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListLabelTablesRequest::getName() const { + return name_; +} + +void ListLabelTablesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListLabelTablesRequest::getSortBy() const { + return sortBy_; +} + +void ListLabelTablesRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListLabelTablesRequest::getProjectId() const { + return projectId_; +} + +void ListLabelTablesRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + +std::string ListLabelTablesRequest::getOrder() const { + return order_; +} + +void ListLabelTablesRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + diff --git a/paifeaturestore/src/model/ListLabelTablesResult.cc b/paifeaturestore/src/model/ListLabelTablesResult.cc new file mode 100644 index 000000000..3e9d9852a --- /dev/null +++ b/paifeaturestore/src/model/ListLabelTablesResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListLabelTablesResult::ListLabelTablesResult() : + ServiceResult() +{} + +ListLabelTablesResult::ListLabelTablesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListLabelTablesResult::~ListLabelTablesResult() +{} + +void ListLabelTablesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allLabelTablesNode = value["LabelTables"]["LabelTable"]; + for (auto valueLabelTablesLabelTable : allLabelTablesNode) + { + LabelTable labelTablesObject; + if(!valueLabelTablesLabelTable["LabelTableId"].isNull()) + labelTablesObject.labelTableId = valueLabelTablesLabelTable["LabelTableId"].asString(); + if(!valueLabelTablesLabelTable["ProjectId"].isNull()) + labelTablesObject.projectId = valueLabelTablesLabelTable["ProjectId"].asString(); + if(!valueLabelTablesLabelTable["ProjectName"].isNull()) + labelTablesObject.projectName = valueLabelTablesLabelTable["ProjectName"].asString(); + if(!valueLabelTablesLabelTable["DatasourceId"].isNull()) + labelTablesObject.datasourceId = valueLabelTablesLabelTable["DatasourceId"].asString(); + if(!valueLabelTablesLabelTable["Name"].isNull()) + labelTablesObject.name = valueLabelTablesLabelTable["Name"].asString(); + if(!valueLabelTablesLabelTable["DatasourceName"].isNull()) + labelTablesObject.datasourceName = valueLabelTablesLabelTable["DatasourceName"].asString(); + if(!valueLabelTablesLabelTable["Owner"].isNull()) + labelTablesObject.owner = valueLabelTablesLabelTable["Owner"].asString(); + if(!valueLabelTablesLabelTable["GmtCreateTime"].isNull()) + labelTablesObject.gmtCreateTime = valueLabelTablesLabelTable["GmtCreateTime"].asString(); + if(!valueLabelTablesLabelTable["GmtModifiedTime"].isNull()) + labelTablesObject.gmtModifiedTime = valueLabelTablesLabelTable["GmtModifiedTime"].asString(); + labelTables_.push_back(labelTablesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListLabelTablesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListLabelTablesResult::getLabelTables()const +{ + return labelTables_; +} + diff --git a/paifeaturestore/src/model/ListModelFeaturesRequest.cc b/paifeaturestore/src/model/ListModelFeaturesRequest.cc new file mode 100644 index 000000000..753683352 --- /dev/null +++ b/paifeaturestore/src/model/ListModelFeaturesRequest.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListModelFeaturesRequest; + +ListModelFeaturesRequest::ListModelFeaturesRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures"}; + setMethod(HttpRequest::Method::Get); +} + +ListModelFeaturesRequest::~ListModelFeaturesRequest() {} + +std::string ListModelFeaturesRequest::getOwner() const { + return owner_; +} + +void ListModelFeaturesRequest::setOwner(const std::string &owner) { + owner_ = owner; + setParameter(std::string("Owner"), owner); +} + +std::string ListModelFeaturesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListModelFeaturesRequest::setPageNumber(const std::string &pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), pageNumber); +} + +std::string ListModelFeaturesRequest::getInstanceId() const { + return instanceId_; +} + +void ListModelFeaturesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListModelFeaturesRequest::getPageSize() const { + return pageSize_; +} + +void ListModelFeaturesRequest::setPageSize(const std::string &pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), pageSize); +} + +std::string ListModelFeaturesRequest::getName() const { + return name_; +} + +void ListModelFeaturesRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +std::string ListModelFeaturesRequest::getSortBy() const { + return sortBy_; +} + +void ListModelFeaturesRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListModelFeaturesRequest::getProjectId() const { + return projectId_; +} + +void ListModelFeaturesRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + +std::string ListModelFeaturesRequest::getOrder() const { + return order_; +} + +void ListModelFeaturesRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + diff --git a/paifeaturestore/src/model/ListModelFeaturesResult.cc b/paifeaturestore/src/model/ListModelFeaturesResult.cc new file mode 100644 index 000000000..d8ba9d992 --- /dev/null +++ b/paifeaturestore/src/model/ListModelFeaturesResult.cc @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListModelFeaturesResult::ListModelFeaturesResult() : + ServiceResult() +{} + +ListModelFeaturesResult::ListModelFeaturesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListModelFeaturesResult::~ListModelFeaturesResult() +{} + +void ListModelFeaturesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allModelFeaturesNode = value["ModelFeatures"]["ModelFeaturesItem"]; + for (auto valueModelFeaturesModelFeaturesItem : allModelFeaturesNode) + { + ModelFeaturesItem modelFeaturesObject; + if(!valueModelFeaturesModelFeaturesItem["ModelFeatureId"].isNull()) + modelFeaturesObject.modelFeatureId = valueModelFeaturesModelFeaturesItem["ModelFeatureId"].asString(); + if(!valueModelFeaturesModelFeaturesItem["ProjectId"].isNull()) + modelFeaturesObject.projectId = valueModelFeaturesModelFeaturesItem["ProjectId"].asString(); + if(!valueModelFeaturesModelFeaturesItem["ProjectName"].isNull()) + modelFeaturesObject.projectName = valueModelFeaturesModelFeaturesItem["ProjectName"].asString(); + if(!valueModelFeaturesModelFeaturesItem["Name"].isNull()) + modelFeaturesObject.name = valueModelFeaturesModelFeaturesItem["Name"].asString(); + if(!valueModelFeaturesModelFeaturesItem["Owner"].isNull()) + modelFeaturesObject.owner = valueModelFeaturesModelFeaturesItem["Owner"].asString(); + if(!valueModelFeaturesModelFeaturesItem["GmtCreateTime"].isNull()) + modelFeaturesObject.gmtCreateTime = valueModelFeaturesModelFeaturesItem["GmtCreateTime"].asString(); + if(!valueModelFeaturesModelFeaturesItem["GmtModifiedTime"].isNull()) + modelFeaturesObject.gmtModifiedTime = valueModelFeaturesModelFeaturesItem["GmtModifiedTime"].asString(); + if(!valueModelFeaturesModelFeaturesItem["LabelTableName"].isNull()) + modelFeaturesObject.labelTableName = valueModelFeaturesModelFeaturesItem["LabelTableName"].asString(); + modelFeatures_.push_back(modelFeaturesObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListModelFeaturesResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListModelFeaturesResult::getModelFeatures()const +{ + return modelFeatures_; +} + diff --git a/paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc b/paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc new file mode 100644 index 000000000..74c473def --- /dev/null +++ b/paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListProjectFeatureViewOwnersRequest; + +ListProjectFeatureViewOwnersRequest::ListProjectFeatureViewOwnersRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviewowners"}; + setMethod(HttpRequest::Method::Get); +} + +ListProjectFeatureViewOwnersRequest::~ListProjectFeatureViewOwnersRequest() {} + +std::string ListProjectFeatureViewOwnersRequest::getInstanceId() const { + return instanceId_; +} + +void ListProjectFeatureViewOwnersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListProjectFeatureViewOwnersRequest::getProjectId() const { + return projectId_; +} + +void ListProjectFeatureViewOwnersRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/ListProjectFeatureViewOwnersResult.cc b/paifeaturestore/src/model/ListProjectFeatureViewOwnersResult.cc new file mode 100644 index 000000000..4527a215c --- /dev/null +++ b/paifeaturestore/src/model/ListProjectFeatureViewOwnersResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListProjectFeatureViewOwnersResult::ListProjectFeatureViewOwnersResult() : + ServiceResult() +{} + +ListProjectFeatureViewOwnersResult::ListProjectFeatureViewOwnersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListProjectFeatureViewOwnersResult::~ListProjectFeatureViewOwnersResult() +{} + +void ListProjectFeatureViewOwnersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOwners = value["Owners"]["Owners"]; + for (const auto &item : allOwners) + owners_.push_back(item.asString()); + +} + +std::vector ListProjectFeatureViewOwnersResult::getOwners()const +{ + return owners_; +} + diff --git a/paifeaturestore/src/model/ListProjectFeatureViewTagsRequest.cc b/paifeaturestore/src/model/ListProjectFeatureViewTagsRequest.cc new file mode 100644 index 000000000..91a1e3396 --- /dev/null +++ b/paifeaturestore/src/model/ListProjectFeatureViewTagsRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListProjectFeatureViewTagsRequest; + +ListProjectFeatureViewTagsRequest::ListProjectFeatureViewTagsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviewtags"}; + setMethod(HttpRequest::Method::Get); +} + +ListProjectFeatureViewTagsRequest::~ListProjectFeatureViewTagsRequest() {} + +std::string ListProjectFeatureViewTagsRequest::getInstanceId() const { + return instanceId_; +} + +void ListProjectFeatureViewTagsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListProjectFeatureViewTagsRequest::getProjectId() const { + return projectId_; +} + +void ListProjectFeatureViewTagsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/ListProjectFeatureViewTagsResult.cc b/paifeaturestore/src/model/ListProjectFeatureViewTagsResult.cc new file mode 100644 index 000000000..be485346f --- /dev/null +++ b/paifeaturestore/src/model/ListProjectFeatureViewTagsResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListProjectFeatureViewTagsResult::ListProjectFeatureViewTagsResult() : + ServiceResult() +{} + +ListProjectFeatureViewTagsResult::ListProjectFeatureViewTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListProjectFeatureViewTagsResult::~ListProjectFeatureViewTagsResult() +{} + +void ListProjectFeatureViewTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTags = value["Tags"]["Tags"]; + for (const auto &item : allTags) + tags_.push_back(item.asString()); + +} + +std::vector ListProjectFeatureViewTagsResult::getTags()const +{ + return tags_; +} + diff --git a/paifeaturestore/src/model/ListProjectFeatureViewsRequest.cc b/paifeaturestore/src/model/ListProjectFeatureViewsRequest.cc new file mode 100644 index 000000000..08c6aedd5 --- /dev/null +++ b/paifeaturestore/src/model/ListProjectFeatureViewsRequest.cc @@ -0,0 +1,46 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListProjectFeatureViewsRequest; + +ListProjectFeatureViewsRequest::ListProjectFeatureViewsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviews"}; + setMethod(HttpRequest::Method::Get); +} + +ListProjectFeatureViewsRequest::~ListProjectFeatureViewsRequest() {} + +std::string ListProjectFeatureViewsRequest::getInstanceId() const { + return instanceId_; +} + +void ListProjectFeatureViewsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListProjectFeatureViewsRequest::getProjectId() const { + return projectId_; +} + +void ListProjectFeatureViewsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/ListProjectFeatureViewsResult.cc b/paifeaturestore/src/model/ListProjectFeatureViewsResult.cc new file mode 100644 index 000000000..fbb91ff30 --- /dev/null +++ b/paifeaturestore/src/model/ListProjectFeatureViewsResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListProjectFeatureViewsResult::ListProjectFeatureViewsResult() : + ServiceResult() +{} + +ListProjectFeatureViewsResult::ListProjectFeatureViewsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListProjectFeatureViewsResult::~ListProjectFeatureViewsResult() +{} + +void ListProjectFeatureViewsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allFeatureViewsNode = value["FeatureViews"]["FeatureViewsItem"]; + for (auto valueFeatureViewsFeatureViewsItem : allFeatureViewsNode) + { + FeatureViewsItem featureViewsObject; + if(!valueFeatureViewsFeatureViewsItem["Name"].isNull()) + featureViewsObject.name = valueFeatureViewsFeatureViewsItem["Name"].asString(); + if(!valueFeatureViewsFeatureViewsItem["FeatureViewId"].isNull()) + featureViewsObject.featureViewId = valueFeatureViewsFeatureViewsItem["FeatureViewId"].asString(); + auto allFeaturesNode = valueFeatureViewsFeatureViewsItem["Features"]["FeaturesItem"]; + for (auto valueFeatureViewsFeatureViewsItemFeaturesFeaturesItem : allFeaturesNode) + { + FeatureViewsItem::FeaturesItem featuresObject; + if(!valueFeatureViewsFeatureViewsItemFeaturesFeaturesItem["Name"].isNull()) + featuresObject.name = valueFeatureViewsFeatureViewsItemFeaturesFeaturesItem["Name"].asString(); + if(!valueFeatureViewsFeatureViewsItemFeaturesFeaturesItem["Type"].isNull()) + featuresObject.type = valueFeatureViewsFeatureViewsItemFeaturesFeaturesItem["Type"].asString(); + auto allAttributes = value["Attributes"]["Attributes"]; + for (auto value : allAttributes) + featuresObject.attributes.push_back(value.asString()); + featureViewsObject.features.push_back(featuresObject); + } + featureViews_.push_back(featureViewsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector ListProjectFeatureViewsResult::getFeatureViews()const +{ + return featureViews_; +} + +long ListProjectFeatureViewsResult::getTotalCount()const +{ + return totalCount_; +} + diff --git a/paifeaturestore/src/model/ListProjectsRequest.cc b/paifeaturestore/src/model/ListProjectsRequest.cc new file mode 100644 index 000000000..d6fba05bc --- /dev/null +++ b/paifeaturestore/src/model/ListProjectsRequest.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListProjectsRequest; + +ListProjectsRequest::ListProjectsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects"}; + setMethod(HttpRequest::Method::Get); +} + +ListProjectsRequest::~ListProjectsRequest() {} + +std::string ListProjectsRequest::getOwner() const { + return owner_; +} + +void ListProjectsRequest::setOwner(const std::string &owner) { + owner_ = owner; + setParameter(std::string("Owner"), owner); +} + +int ListProjectsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListProjectsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListProjectsRequest::getInstanceId() const { + return instanceId_; +} + +void ListProjectsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListProjectsRequest::getName() const { + return name_; +} + +void ListProjectsRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); +} + +int ListProjectsRequest::getPageSize() const { + return pageSize_; +} + +void ListProjectsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListProjectsRequest::getSortBy() const { + return sortBy_; +} + +void ListProjectsRequest::setSortBy(const std::string &sortBy) { + sortBy_ = sortBy; + setParameter(std::string("SortBy"), sortBy); +} + +std::string ListProjectsRequest::getWorkspaceId() const { + return workspaceId_; +} + +void ListProjectsRequest::setWorkspaceId(const std::string &workspaceId) { + workspaceId_ = workspaceId; + setParameter(std::string("WorkspaceId"), workspaceId); +} + +std::string ListProjectsRequest::getOrder() const { + return order_; +} + +void ListProjectsRequest::setOrder(const std::string &order) { + order_ = order; + setParameter(std::string("Order"), order); +} + diff --git a/paifeaturestore/src/model/ListProjectsResult.cc b/paifeaturestore/src/model/ListProjectsResult.cc new file mode 100644 index 000000000..4dc7e9781 --- /dev/null +++ b/paifeaturestore/src/model/ListProjectsResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListProjectsResult::ListProjectsResult() : + ServiceResult() +{} + +ListProjectsResult::ListProjectsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListProjectsResult::~ListProjectsResult() +{} + +void ListProjectsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allProjectsNode = value["Projects"]["ProjectsItem"]; + for (auto valueProjectsProjectsItem : allProjectsNode) + { + ProjectsItem projectsObject; + if(!valueProjectsProjectsItem["ProjectId"].isNull()) + projectsObject.projectId = valueProjectsProjectsItem["ProjectId"].asString(); + if(!valueProjectsProjectsItem["Name"].isNull()) + projectsObject.name = valueProjectsProjectsItem["Name"].asString(); + if(!valueProjectsProjectsItem["Description"].isNull()) + projectsObject.description = valueProjectsProjectsItem["Description"].asString(); + if(!valueProjectsProjectsItem["OfflineDatasourceType"].isNull()) + projectsObject.offlineDatasourceType = valueProjectsProjectsItem["OfflineDatasourceType"].asString(); + if(!valueProjectsProjectsItem["OfflineDatasourceId"].isNull()) + projectsObject.offlineDatasourceId = valueProjectsProjectsItem["OfflineDatasourceId"].asString(); + if(!valueProjectsProjectsItem["OfflineDatasourceName"].isNull()) + projectsObject.offlineDatasourceName = valueProjectsProjectsItem["OfflineDatasourceName"].asString(); + if(!valueProjectsProjectsItem["OnlineDatasourceType"].isNull()) + projectsObject.onlineDatasourceType = valueProjectsProjectsItem["OnlineDatasourceType"].asString(); + if(!valueProjectsProjectsItem["OnlineDatasourceId"].isNull()) + projectsObject.onlineDatasourceId = valueProjectsProjectsItem["OnlineDatasourceId"].asString(); + if(!valueProjectsProjectsItem["OnlineDatasourceName"].isNull()) + projectsObject.onlineDatasourceName = valueProjectsProjectsItem["OnlineDatasourceName"].asString(); + if(!valueProjectsProjectsItem["OfflineLifecycle"].isNull()) + projectsObject.offlineLifecycle = std::stoi(valueProjectsProjectsItem["OfflineLifecycle"].asString()); + if(!valueProjectsProjectsItem["FeatureEntityCount"].isNull()) + projectsObject.featureEntityCount = std::stoi(valueProjectsProjectsItem["FeatureEntityCount"].asString()); + if(!valueProjectsProjectsItem["FeatureViewCount"].isNull()) + projectsObject.featureViewCount = std::stoi(valueProjectsProjectsItem["FeatureViewCount"].asString()); + if(!valueProjectsProjectsItem["ModelCount"].isNull()) + projectsObject.modelCount = std::stoi(valueProjectsProjectsItem["ModelCount"].asString()); + if(!valueProjectsProjectsItem["Owner"].isNull()) + projectsObject.owner = valueProjectsProjectsItem["Owner"].asString(); + if(!valueProjectsProjectsItem["GmtCreateTime"].isNull()) + projectsObject.gmtCreateTime = valueProjectsProjectsItem["GmtCreateTime"].asString(); + if(!valueProjectsProjectsItem["GmtModifiedTime"].isNull()) + projectsObject.gmtModifiedTime = valueProjectsProjectsItem["GmtModifiedTime"].asString(); + projects_.push_back(projectsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long ListProjectsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListProjectsResult::getProjects()const +{ + return projects_; +} + diff --git a/paifeaturestore/src/model/ListTaskLogsRequest.cc b/paifeaturestore/src/model/ListTaskLogsRequest.cc new file mode 100644 index 000000000..6d45d885e --- /dev/null +++ b/paifeaturestore/src/model/ListTaskLogsRequest.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListTaskLogsRequest; + +ListTaskLogsRequest::ListTaskLogsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/tasks/[TaskId]/logs"}; + setMethod(HttpRequest::Method::Get); +} + +ListTaskLogsRequest::~ListTaskLogsRequest() {} + +int ListTaskLogsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListTaskLogsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListTaskLogsRequest::getInstanceId() const { + return instanceId_; +} + +void ListTaskLogsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +int ListTaskLogsRequest::getPageSize() const { + return pageSize_; +} + +void ListTaskLogsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListTaskLogsRequest::getTaskId() const { + return taskId_; +} + +void ListTaskLogsRequest::setTaskId(const std::string &taskId) { + taskId_ = taskId; + setParameter(std::string("TaskId"), taskId); +} + diff --git a/paifeaturestore/src/model/ListTaskLogsResult.cc b/paifeaturestore/src/model/ListTaskLogsResult.cc new file mode 100644 index 000000000..cfbecc300 --- /dev/null +++ b/paifeaturestore/src/model/ListTaskLogsResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListTaskLogsResult::ListTaskLogsResult() : + ServiceResult() +{} + +ListTaskLogsResult::ListTaskLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTaskLogsResult::~ListTaskLogsResult() +{} + +void ListTaskLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allLogs = value["Logs"]["Logs"]; + for (const auto &item : allLogs) + logs_.push_back(item.asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListTaskLogsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListTaskLogsResult::getLogs()const +{ + return logs_; +} + diff --git a/paifeaturestore/src/model/ListTasksRequest.cc b/paifeaturestore/src/model/ListTasksRequest.cc new file mode 100644 index 000000000..8f55f398a --- /dev/null +++ b/paifeaturestore/src/model/ListTasksRequest.cc @@ -0,0 +1,100 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::ListTasksRequest; + +ListTasksRequest::ListTasksRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/tasks"}; + setMethod(HttpRequest::Method::Get); +} + +ListTasksRequest::~ListTasksRequest() {} + +std::string ListTasksRequest::getType() const { + return type_; +} + +void ListTasksRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); +} + +int ListTasksRequest::getPageNumber() const { + return pageNumber_; +} + +void ListTasksRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListTasksRequest::getInstanceId() const { + return instanceId_; +} + +void ListTasksRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +int ListTasksRequest::getPageSize() const { + return pageSize_; +} + +void ListTasksRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListTasksRequest::getObjectType() const { + return objectType_; +} + +void ListTasksRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); +} + +std::string ListTasksRequest::getProjectId() const { + return projectId_; +} + +void ListTasksRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + +std::string ListTasksRequest::getObjectId() const { + return objectId_; +} + +void ListTasksRequest::setObjectId(const std::string &objectId) { + objectId_ = objectId; + setParameter(std::string("ObjectId"), objectId); +} + +std::string ListTasksRequest::getStatus() const { + return status_; +} + +void ListTasksRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); +} + diff --git a/paifeaturestore/src/model/ListTasksResult.cc b/paifeaturestore/src/model/ListTasksResult.cc new file mode 100644 index 000000000..91c6261bc --- /dev/null +++ b/paifeaturestore/src/model/ListTasksResult.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::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +ListTasksResult::ListTasksResult() : + ServiceResult() +{} + +ListTasksResult::ListTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTasksResult::~ListTasksResult() +{} + +void ListTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTasksNode = value["Tasks"]["TasksItem"]; + for (auto valueTasksTasksItem : allTasksNode) + { + TasksItem tasksObject; + if(!valueTasksTasksItem["GmtCreateTime"].isNull()) + tasksObject.gmtCreateTime = valueTasksTasksItem["GmtCreateTime"].asString(); + if(!valueTasksTasksItem["GmtExecutedTime"].isNull()) + tasksObject.gmtExecutedTime = valueTasksTasksItem["GmtExecutedTime"].asString(); + if(!valueTasksTasksItem["GmtFinishedTime"].isNull()) + tasksObject.gmtFinishedTime = valueTasksTasksItem["GmtFinishedTime"].asString(); + if(!valueTasksTasksItem["ObjectId"].isNull()) + tasksObject.objectId = valueTasksTasksItem["ObjectId"].asString(); + if(!valueTasksTasksItem["ObjectType"].isNull()) + tasksObject.objectType = valueTasksTasksItem["ObjectType"].asString(); + if(!valueTasksTasksItem["ProjectId"].isNull()) + tasksObject.projectId = valueTasksTasksItem["ProjectId"].asString(); + if(!valueTasksTasksItem["ProjectName"].isNull()) + tasksObject.projectName = valueTasksTasksItem["ProjectName"].asString(); + if(!valueTasksTasksItem["Status"].isNull()) + tasksObject.status = valueTasksTasksItem["Status"].asString(); + if(!valueTasksTasksItem["TaskId"].isNull()) + tasksObject.taskId = valueTasksTasksItem["TaskId"].asString(); + if(!valueTasksTasksItem["Type"].isNull()) + tasksObject.type = valueTasksTasksItem["Type"].asString(); + tasks_.push_back(tasksObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int ListTasksResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector ListTasksResult::getTasks()const +{ + return tasks_; +} + diff --git a/paifeaturestore/src/model/PublishFeatureViewTableRequest.cc b/paifeaturestore/src/model/PublishFeatureViewTableRequest.cc new file mode 100644 index 000000000..e340d4f77 --- /dev/null +++ b/paifeaturestore/src/model/PublishFeatureViewTableRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::PublishFeatureViewTableRequest; + +PublishFeatureViewTableRequest::PublishFeatureViewTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews/[FeatureViewId]/action/publishtable"}; + setMethod(HttpRequest::Method::Post); +} + +PublishFeatureViewTableRequest::~PublishFeatureViewTableRequest() {} + +std::string PublishFeatureViewTableRequest::getBody() const { + return body_; +} + +void PublishFeatureViewTableRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string PublishFeatureViewTableRequest::getInstanceId() const { + return instanceId_; +} + +void PublishFeatureViewTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string PublishFeatureViewTableRequest::getFeatureViewId() const { + return featureViewId_; +} + +void PublishFeatureViewTableRequest::setFeatureViewId(const std::string &featureViewId) { + featureViewId_ = featureViewId; + setParameter(std::string("FeatureViewId"), featureViewId); +} + diff --git a/paifeaturestore/src/model/PublishFeatureViewTableResult.cc b/paifeaturestore/src/model/PublishFeatureViewTableResult.cc new file mode 100644 index 000000000..d6fe8e7b7 --- /dev/null +++ b/paifeaturestore/src/model/PublishFeatureViewTableResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +PublishFeatureViewTableResult::PublishFeatureViewTableResult() : + ServiceResult() +{} + +PublishFeatureViewTableResult::PublishFeatureViewTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PublishFeatureViewTableResult::~PublishFeatureViewTableResult() +{} + +void PublishFeatureViewTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/UpdateDatasourceRequest.cc b/paifeaturestore/src/model/UpdateDatasourceRequest.cc new file mode 100644 index 000000000..8bed43e7b --- /dev/null +++ b/paifeaturestore/src/model/UpdateDatasourceRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::UpdateDatasourceRequest; + +UpdateDatasourceRequest::UpdateDatasourceRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/datasources/[DatasourceId]"}; + setMethod(HttpRequest::Method::Put); +} + +UpdateDatasourceRequest::~UpdateDatasourceRequest() {} + +std::string UpdateDatasourceRequest::getBody() const { + return body_; +} + +void UpdateDatasourceRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string UpdateDatasourceRequest::getInstanceId() const { + return instanceId_; +} + +void UpdateDatasourceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string UpdateDatasourceRequest::getDatasourceId() const { + return datasourceId_; +} + +void UpdateDatasourceRequest::setDatasourceId(const std::string &datasourceId) { + datasourceId_ = datasourceId; + setParameter(std::string("DatasourceId"), datasourceId); +} + diff --git a/paifeaturestore/src/model/UpdateDatasourceResult.cc b/paifeaturestore/src/model/UpdateDatasourceResult.cc new file mode 100644 index 000000000..0cc8f42eb --- /dev/null +++ b/paifeaturestore/src/model/UpdateDatasourceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +UpdateDatasourceResult::UpdateDatasourceResult() : + ServiceResult() +{} + +UpdateDatasourceResult::UpdateDatasourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDatasourceResult::~UpdateDatasourceResult() +{} + +void UpdateDatasourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/UpdateLabelTableRequest.cc b/paifeaturestore/src/model/UpdateLabelTableRequest.cc new file mode 100644 index 000000000..d887c1f7f --- /dev/null +++ b/paifeaturestore/src/model/UpdateLabelTableRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::UpdateLabelTableRequest; + +UpdateLabelTableRequest::UpdateLabelTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/labeltables/[LabelTableId]"}; + setMethod(HttpRequest::Method::Put); +} + +UpdateLabelTableRequest::~UpdateLabelTableRequest() {} + +std::string UpdateLabelTableRequest::getBody() const { + return body_; +} + +void UpdateLabelTableRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string UpdateLabelTableRequest::getInstanceId() const { + return instanceId_; +} + +void UpdateLabelTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string UpdateLabelTableRequest::getLabelTableId() const { + return labelTableId_; +} + +void UpdateLabelTableRequest::setLabelTableId(const std::string &labelTableId) { + labelTableId_ = labelTableId; + setParameter(std::string("LabelTableId"), labelTableId); +} + diff --git a/paifeaturestore/src/model/UpdateLabelTableResult.cc b/paifeaturestore/src/model/UpdateLabelTableResult.cc new file mode 100644 index 000000000..c1f93b4c3 --- /dev/null +++ b/paifeaturestore/src/model/UpdateLabelTableResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +UpdateLabelTableResult::UpdateLabelTableResult() : + ServiceResult() +{} + +UpdateLabelTableResult::UpdateLabelTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateLabelTableResult::~UpdateLabelTableResult() +{} + +void UpdateLabelTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/UpdateModelFeatureRequest.cc b/paifeaturestore/src/model/UpdateModelFeatureRequest.cc new file mode 100644 index 000000000..809c89642 --- /dev/null +++ b/paifeaturestore/src/model/UpdateModelFeatureRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::UpdateModelFeatureRequest; + +UpdateModelFeatureRequest::UpdateModelFeatureRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]"}; + setMethod(HttpRequest::Method::Put); +} + +UpdateModelFeatureRequest::~UpdateModelFeatureRequest() {} + +std::string UpdateModelFeatureRequest::getModelFeatureId() const { + return modelFeatureId_; +} + +void UpdateModelFeatureRequest::setModelFeatureId(const std::string &modelFeatureId) { + modelFeatureId_ = modelFeatureId; + setParameter(std::string("ModelFeatureId"), modelFeatureId); +} + +std::string UpdateModelFeatureRequest::getBody() const { + return body_; +} + +void UpdateModelFeatureRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string UpdateModelFeatureRequest::getInstanceId() const { + return instanceId_; +} + +void UpdateModelFeatureRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/paifeaturestore/src/model/UpdateModelFeatureResult.cc b/paifeaturestore/src/model/UpdateModelFeatureResult.cc new file mode 100644 index 000000000..b91abc7fd --- /dev/null +++ b/paifeaturestore/src/model/UpdateModelFeatureResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +UpdateModelFeatureResult::UpdateModelFeatureResult() : + ServiceResult() +{} + +UpdateModelFeatureResult::UpdateModelFeatureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateModelFeatureResult::~UpdateModelFeatureResult() +{} + +void UpdateModelFeatureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/UpdateProjectRequest.cc b/paifeaturestore/src/model/UpdateProjectRequest.cc new file mode 100644 index 000000000..49d7615c6 --- /dev/null +++ b/paifeaturestore/src/model/UpdateProjectRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::UpdateProjectRequest; + +UpdateProjectRequest::UpdateProjectRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]"}; + setMethod(HttpRequest::Method::Put); +} + +UpdateProjectRequest::~UpdateProjectRequest() {} + +std::string UpdateProjectRequest::getBody() const { + return body_; +} + +void UpdateProjectRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string UpdateProjectRequest::getInstanceId() const { + return instanceId_; +} + +void UpdateProjectRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string UpdateProjectRequest::getProjectId() const { + return projectId_; +} + +void UpdateProjectRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/UpdateProjectResult.cc b/paifeaturestore/src/model/UpdateProjectResult.cc new file mode 100644 index 000000000..ba6db4dd3 --- /dev/null +++ b/paifeaturestore/src/model/UpdateProjectResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +UpdateProjectResult::UpdateProjectResult() : + ServiceResult() +{} + +UpdateProjectResult::UpdateProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateProjectResult::~UpdateProjectResult() +{} + +void UpdateProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/WriteFeatureViewTableRequest.cc b/paifeaturestore/src/model/WriteFeatureViewTableRequest.cc new file mode 100644 index 000000000..3da46fc8d --- /dev/null +++ b/paifeaturestore/src/model/WriteFeatureViewTableRequest.cc @@ -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. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::WriteFeatureViewTableRequest; + +WriteFeatureViewTableRequest::WriteFeatureViewTableRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/featureviews/[FeatureViewId]/action/writetable"}; + setMethod(HttpRequest::Method::Post); +} + +WriteFeatureViewTableRequest::~WriteFeatureViewTableRequest() {} + +std::string WriteFeatureViewTableRequest::getBody() const { + return body_; +} + +void WriteFeatureViewTableRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string WriteFeatureViewTableRequest::getInstanceId() const { + return instanceId_; +} + +void WriteFeatureViewTableRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string WriteFeatureViewTableRequest::getFeatureViewId() const { + return featureViewId_; +} + +void WriteFeatureViewTableRequest::setFeatureViewId(const std::string &featureViewId) { + featureViewId_ = featureViewId; + setParameter(std::string("FeatureViewId"), featureViewId); +} + diff --git a/paifeaturestore/src/model/WriteFeatureViewTableResult.cc b/paifeaturestore/src/model/WriteFeatureViewTableResult.cc new file mode 100644 index 000000000..de9fa1710 --- /dev/null +++ b/paifeaturestore/src/model/WriteFeatureViewTableResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +WriteFeatureViewTableResult::WriteFeatureViewTableResult() : + ServiceResult() +{} + +WriteFeatureViewTableResult::WriteFeatureViewTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +WriteFeatureViewTableResult::~WriteFeatureViewTableResult() +{} + +void WriteFeatureViewTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc b/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc new file mode 100644 index 000000000..faa2bb1b0 --- /dev/null +++ b/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::PaiFeatureStore::Model::WriteProjectFeatureEntityHotIdsRequest; + +WriteProjectFeatureEntityHotIdsRequest::WriteProjectFeatureEntityHotIdsRequest() + : RoaServiceRequest("paifeaturestore", "2023-06-21") { + setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/action/writehotids"}; + setMethod(HttpRequest::Method::Post); +} + +WriteProjectFeatureEntityHotIdsRequest::~WriteProjectFeatureEntityHotIdsRequest() {} + +std::string WriteProjectFeatureEntityHotIdsRequest::getBody() const { + return body_; +} + +void WriteProjectFeatureEntityHotIdsRequest::setBody(const std::string &body) { + body_ = body; + setBodyParameter(std::string("body"), body); +} + +std::string WriteProjectFeatureEntityHotIdsRequest::getInstanceId() const { + return instanceId_; +} + +void WriteProjectFeatureEntityHotIdsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string WriteProjectFeatureEntityHotIdsRequest::getFeatureEntityName() const { + return featureEntityName_; +} + +void WriteProjectFeatureEntityHotIdsRequest::setFeatureEntityName(const std::string &featureEntityName) { + featureEntityName_ = featureEntityName; + setParameter(std::string("FeatureEntityName"), featureEntityName); +} + +std::string WriteProjectFeatureEntityHotIdsRequest::getProjectId() const { + return projectId_; +} + +void WriteProjectFeatureEntityHotIdsRequest::setProjectId(const std::string &projectId) { + projectId_ = projectId; + setParameter(std::string("ProjectId"), projectId); +} + diff --git a/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsResult.cc b/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsResult.cc new file mode 100644 index 000000000..7f230e61a --- /dev/null +++ b/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::PaiFeatureStore; +using namespace AlibabaCloud::PaiFeatureStore::Model; + +WriteProjectFeatureEntityHotIdsResult::WriteProjectFeatureEntityHotIdsResult() : + ServiceResult() +{} + +WriteProjectFeatureEntityHotIdsResult::WriteProjectFeatureEntityHotIdsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +WriteProjectFeatureEntityHotIdsResult::~WriteProjectFeatureEntityHotIdsResult() +{} + +void WriteProjectFeatureEntityHotIdsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +