From e05ba433d02fd4913c89e7a8fd7361eea4c69cf5 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 2 Dec 2024 04:00:57 +0000 Subject: [PATCH] Add LabelPriorityLevel in UpdateModelFeature API. --- VERSION | 2 +- paifeaturestore/CMakeLists.txt | 44 +-- .../paifeaturestore/PaiFeatureStoreClient.h | 80 ---- ...eProjectFeatureEntityHotIdVersionRequest.h | 51 --- ...geProjectFeatureEntityHotIdVersionResult.h | 49 --- ...ateModelFeatureTrainingSetFGTableRequest.h | 45 --- ...eateModelFeatureTrainingSetFGTableResult.h | 53 --- ...ortModelFeatureTrainingSetFGTableRequest.h | 48 --- ...portModelFeatureTrainingSetFGTableResult.h | 53 --- .../paifeaturestore/model/GetInstanceResult.h | 6 + .../model/GetModelFeatureResult.h | 2 + .../GetProjectFeatureEntityHotIdsRequest.h | 51 --- .../GetProjectFeatureEntityHotIdsResult.h | 55 --- .../model/GetProjectFeatureViewRequest.h | 48 --- .../model/GetProjectFeatureViewResult.h | 93 ----- .../model/GetProjectModelFeatureRequest.h | 48 --- .../model/GetProjectModelFeatureResult.h | 85 ----- .../model/ListInstancesResult.h | 5 + .../ListProjectFeatureViewOwnersRequest.h | 45 --- .../ListProjectFeatureViewOwnersResult.h | 51 --- .../model/ListProjectFeatureViewTagsRequest.h | 45 --- .../model/ListProjectFeatureViewTagsResult.h | 51 --- .../model/UpdateModelFeatureFGInfoRequest.h | 48 --- .../model/UpdateModelFeatureFGInfoResult.h | 51 --- .../WriteProjectFeatureEntityHotIdsRequest.h | 51 --- .../WriteProjectFeatureEntityHotIdsResult.h | 49 --- paifeaturestore/src/PaiFeatureStoreClient.cc | 360 ------------------ ...ProjectFeatureEntityHotIdVersionRequest.cc | 64 ---- ...eProjectFeatureEntityHotIdVersionResult.cc | 44 --- ...teModelFeatureTrainingSetFGTableRequest.cc | 46 --- ...ateModelFeatureTrainingSetFGTableResult.cc | 58 --- ...rtModelFeatureTrainingSetFGTableRequest.cc | 55 --- ...ortModelFeatureTrainingSetFGTableResult.cc | 58 --- .../src/model/GetInstanceResult.cc | 8 + .../src/model/GetModelFeatureResult.cc | 7 + .../GetProjectFeatureEntityHotIdsRequest.cc | 64 ---- .../GetProjectFeatureEntityHotIdsResult.cc | 65 ---- .../src/model/GetProjectFeatureViewRequest.cc | 55 --- .../src/model/GetProjectFeatureViewResult.cc | 189 --------- .../model/GetProjectModelFeatureRequest.cc | 55 --- .../src/model/GetProjectModelFeatureResult.cc | 156 -------- .../src/model/ListInstancesResult.cc | 3 + .../ListProjectFeatureViewOwnersRequest.cc | 46 --- .../ListProjectFeatureViewOwnersResult.cc | 52 --- .../ListProjectFeatureViewTagsRequest.cc | 46 --- .../model/ListProjectFeatureViewTagsResult.cc | 52 --- .../model/UpdateModelFeatureFGInfoRequest.cc | 55 --- .../model/UpdateModelFeatureFGInfoResult.cc | 51 --- .../WriteProjectFeatureEntityHotIdsRequest.cc | 64 ---- .../WriteProjectFeatureEntityHotIdsResult.cc | 44 --- 50 files changed, 34 insertions(+), 2872 deletions(-) delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h delete mode 100644 paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h delete mode 100644 paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc delete mode 100644 paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc delete mode 100644 paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableRequest.cc delete mode 100644 paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableResult.cc delete mode 100644 paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableRequest.cc delete mode 100644 paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableResult.cc delete mode 100644 paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc delete mode 100644 paifeaturestore/src/model/GetProjectFeatureEntityHotIdsResult.cc delete mode 100644 paifeaturestore/src/model/GetProjectFeatureViewRequest.cc delete mode 100644 paifeaturestore/src/model/GetProjectFeatureViewResult.cc delete mode 100644 paifeaturestore/src/model/GetProjectModelFeatureRequest.cc delete mode 100644 paifeaturestore/src/model/GetProjectModelFeatureResult.cc delete mode 100644 paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc delete mode 100644 paifeaturestore/src/model/ListProjectFeatureViewOwnersResult.cc delete mode 100644 paifeaturestore/src/model/ListProjectFeatureViewTagsRequest.cc delete mode 100644 paifeaturestore/src/model/ListProjectFeatureViewTagsResult.cc delete mode 100644 paifeaturestore/src/model/UpdateModelFeatureFGInfoRequest.cc delete mode 100644 paifeaturestore/src/model/UpdateModelFeatureFGInfoResult.cc delete mode 100644 paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc delete mode 100644 paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsResult.cc diff --git a/VERSION b/VERSION index 6a6555e0e..d21ede0e9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.2023 \ No newline at end of file +1.36.2024 \ No newline at end of file diff --git a/paifeaturestore/CMakeLists.txt b/paifeaturestore/CMakeLists.txt index d5be82580..9ad12ef33 100644 --- a/paifeaturestore/CMakeLists.txt +++ b/paifeaturestore/CMakeLists.txt @@ -21,8 +21,6 @@ set(paifeaturestore_public_header 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 @@ -37,8 +35,6 @@ set(paifeaturestore_public_header_model include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.h include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.h include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.h - include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableRequest.h - include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h include/alibabacloud/paifeaturestore/model/CreateProjectRequest.h include/alibabacloud/paifeaturestore/model/CreateProjectResult.h include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.h @@ -55,8 +51,6 @@ set(paifeaturestore_public_header_model include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.h include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h - include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h - include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.h @@ -81,12 +75,6 @@ set(paifeaturestore_public_header_model 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 @@ -113,10 +101,6 @@ set(paifeaturestore_public_header_model include/alibabacloud/paifeaturestore/model/ListModelFeatureAvailableFeaturesResult.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 @@ -135,19 +119,13 @@ set(paifeaturestore_public_header_model include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGFeatureRequest.h include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGFeatureResult.h - include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoRequest.h - include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.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 ) + include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.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 @@ -162,8 +140,6 @@ set(paifeaturestore_src src/model/CreateLabelTableResult.cc src/model/CreateModelFeatureRequest.cc src/model/CreateModelFeatureResult.cc - src/model/CreateModelFeatureTrainingSetFGTableRequest.cc - src/model/CreateModelFeatureTrainingSetFGTableResult.cc src/model/CreateProjectRequest.cc src/model/CreateProjectResult.cc src/model/CreateServiceIdentityRoleRequest.cc @@ -180,8 +156,6 @@ set(paifeaturestore_src src/model/DeleteModelFeatureResult.cc src/model/DeleteProjectRequest.cc src/model/DeleteProjectResult.cc - src/model/ExportModelFeatureTrainingSetFGTableRequest.cc - src/model/ExportModelFeatureTrainingSetFGTableResult.cc src/model/ExportModelFeatureTrainingSetTableRequest.cc src/model/ExportModelFeatureTrainingSetTableResult.cc src/model/GetDatasourceRequest.cc @@ -206,12 +180,6 @@ set(paifeaturestore_src 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 @@ -238,10 +206,6 @@ set(paifeaturestore_src src/model/ListModelFeatureAvailableFeaturesResult.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 @@ -260,14 +224,10 @@ set(paifeaturestore_src src/model/UpdateModelFeatureResult.cc src/model/UpdateModelFeatureFGFeatureRequest.cc src/model/UpdateModelFeatureFGFeatureResult.cc - src/model/UpdateModelFeatureFGInfoRequest.cc - src/model/UpdateModelFeatureFGInfoResult.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 ) + src/model/WriteFeatureViewTableResult.cc ) add_library(paifeaturestore ${LIB_TYPE} ${paifeaturestore_public_header} diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h b/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h index 7751ff0e0..eff333721 100644 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/PaiFeatureStoreClient.h @@ -22,8 +22,6 @@ #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" @@ -38,8 +36,6 @@ #include "model/CreateLabelTableResult.h" #include "model/CreateModelFeatureRequest.h" #include "model/CreateModelFeatureResult.h" -#include "model/CreateModelFeatureTrainingSetFGTableRequest.h" -#include "model/CreateModelFeatureTrainingSetFGTableResult.h" #include "model/CreateProjectRequest.h" #include "model/CreateProjectResult.h" #include "model/CreateServiceIdentityRoleRequest.h" @@ -56,8 +52,6 @@ #include "model/DeleteModelFeatureResult.h" #include "model/DeleteProjectRequest.h" #include "model/DeleteProjectResult.h" -#include "model/ExportModelFeatureTrainingSetFGTableRequest.h" -#include "model/ExportModelFeatureTrainingSetFGTableResult.h" #include "model/ExportModelFeatureTrainingSetTableRequest.h" #include "model/ExportModelFeatureTrainingSetTableResult.h" #include "model/GetDatasourceRequest.h" @@ -82,12 +76,6 @@ #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" @@ -114,10 +102,6 @@ #include "model/ListModelFeatureAvailableFeaturesResult.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" @@ -136,14 +120,10 @@ #include "model/UpdateModelFeatureResult.h" #include "model/UpdateModelFeatureFGFeatureRequest.h" #include "model/UpdateModelFeatureFGFeatureResult.h" -#include "model/UpdateModelFeatureFGInfoRequest.h" -#include "model/UpdateModelFeatureFGInfoResult.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 @@ -153,9 +133,6 @@ namespace AlibabaCloud 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; @@ -177,9 +154,6 @@ namespace AlibabaCloud typedef Outcome CreateModelFeatureOutcome; typedef std::future CreateModelFeatureOutcomeCallable; typedef std::function&)> CreateModelFeatureAsyncHandler; - typedef Outcome CreateModelFeatureTrainingSetFGTableOutcome; - typedef std::future CreateModelFeatureTrainingSetFGTableOutcomeCallable; - typedef std::function&)> CreateModelFeatureTrainingSetFGTableAsyncHandler; typedef Outcome CreateProjectOutcome; typedef std::future CreateProjectOutcomeCallable; typedef std::function&)> CreateProjectAsyncHandler; @@ -204,9 +178,6 @@ namespace AlibabaCloud typedef Outcome DeleteProjectOutcome; typedef std::future DeleteProjectOutcomeCallable; typedef std::function&)> DeleteProjectAsyncHandler; - typedef Outcome ExportModelFeatureTrainingSetFGTableOutcome; - typedef std::future ExportModelFeatureTrainingSetFGTableOutcomeCallable; - typedef std::function&)> ExportModelFeatureTrainingSetFGTableAsyncHandler; typedef Outcome ExportModelFeatureTrainingSetTableOutcome; typedef std::future ExportModelFeatureTrainingSetTableOutcomeCallable; typedef std::function&)> ExportModelFeatureTrainingSetTableAsyncHandler; @@ -243,15 +214,6 @@ namespace AlibabaCloud 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; @@ -291,12 +253,6 @@ namespace AlibabaCloud 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; @@ -324,26 +280,17 @@ namespace AlibabaCloud typedef Outcome UpdateModelFeatureFGFeatureOutcome; typedef std::future UpdateModelFeatureFGFeatureOutcomeCallable; typedef std::function&)> UpdateModelFeatureFGFeatureAsyncHandler; - typedef Outcome UpdateModelFeatureFGInfoOutcome; - typedef std::future UpdateModelFeatureFGInfoOutcomeCallable; - typedef std::function&)> UpdateModelFeatureFGInfoAsyncHandler; 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; @@ -365,9 +312,6 @@ namespace AlibabaCloud 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; - CreateModelFeatureTrainingSetFGTableOutcome createModelFeatureTrainingSetFGTable(const Model::CreateModelFeatureTrainingSetFGTableRequest &request)const; - void createModelFeatureTrainingSetFGTableAsync(const Model::CreateModelFeatureTrainingSetFGTableRequest& request, const CreateModelFeatureTrainingSetFGTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateModelFeatureTrainingSetFGTableOutcomeCallable createModelFeatureTrainingSetFGTableCallable(const Model::CreateModelFeatureTrainingSetFGTableRequest& 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; @@ -392,9 +336,6 @@ namespace AlibabaCloud 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; - ExportModelFeatureTrainingSetFGTableOutcome exportModelFeatureTrainingSetFGTable(const Model::ExportModelFeatureTrainingSetFGTableRequest &request)const; - void exportModelFeatureTrainingSetFGTableAsync(const Model::ExportModelFeatureTrainingSetFGTableRequest& request, const ExportModelFeatureTrainingSetFGTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ExportModelFeatureTrainingSetFGTableOutcomeCallable exportModelFeatureTrainingSetFGTableCallable(const Model::ExportModelFeatureTrainingSetFGTableRequest& 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; @@ -431,15 +372,6 @@ namespace AlibabaCloud 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; @@ -479,12 +411,6 @@ namespace AlibabaCloud 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; @@ -512,18 +438,12 @@ namespace AlibabaCloud UpdateModelFeatureFGFeatureOutcome updateModelFeatureFGFeature(const Model::UpdateModelFeatureFGFeatureRequest &request)const; void updateModelFeatureFGFeatureAsync(const Model::UpdateModelFeatureFGFeatureRequest& request, const UpdateModelFeatureFGFeatureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateModelFeatureFGFeatureOutcomeCallable updateModelFeatureFGFeatureCallable(const Model::UpdateModelFeatureFGFeatureRequest& request) const; - UpdateModelFeatureFGInfoOutcome updateModelFeatureFGInfo(const Model::UpdateModelFeatureFGInfoRequest &request)const; - void updateModelFeatureFGInfoAsync(const Model::UpdateModelFeatureFGInfoRequest& request, const UpdateModelFeatureFGInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - UpdateModelFeatureFGInfoOutcomeCallable updateModelFeatureFGInfoCallable(const Model::UpdateModelFeatureFGInfoRequest& 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_; diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h deleted file mode 100644 index 3411eafdb..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 6417e4368..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/CreateModelFeatureTrainingSetFGTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableRequest.h deleted file mode 100644 index 352c63578..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_ -#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace PaiFeatureStore { -namespace Model { -class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateModelFeatureTrainingSetFGTableRequest : public RoaServiceRequest { -public: - CreateModelFeatureTrainingSetFGTableRequest(); - ~CreateModelFeatureTrainingSetFGTableRequest(); - 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_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h deleted file mode 100644 index 242a61fa3..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_ -#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace PaiFeatureStore - { - namespace Model - { - class ALIBABACLOUD_PAIFEATURESTORE_EXPORT CreateModelFeatureTrainingSetFGTableResult : public ServiceResult - { - public: - - - CreateModelFeatureTrainingSetFGTableResult(); - explicit CreateModelFeatureTrainingSetFGTableResult(const std::string &payload); - ~CreateModelFeatureTrainingSetFGTableResult(); - std::string getRequestId()const; - std::string getTrainingSetFGTableName()const; - - protected: - void parse(const std::string &payload); - private: - std::string requestId_; - std::string trainingSetFGTableName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h deleted file mode 100644 index a3dfc2730..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_ -#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace PaiFeatureStore { -namespace Model { -class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ExportModelFeatureTrainingSetFGTableRequest : public RoaServiceRequest { -public: - ExportModelFeatureTrainingSetFGTableRequest(); - ~ExportModelFeatureTrainingSetFGTableRequest(); - 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_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h deleted file mode 100644 index ffeb1b127..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_ -#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace PaiFeatureStore - { - namespace Model - { - class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ExportModelFeatureTrainingSetFGTableResult : public ServiceResult - { - public: - - - ExportModelFeatureTrainingSetFGTableResult(); - explicit ExportModelFeatureTrainingSetFGTableResult(const std::string &payload); - ~ExportModelFeatureTrainingSetFGTableResult(); - std::string getTaskId()const; - std::string getRequestId()const; - - protected: - void parse(const std::string &payload); - private: - std::string taskId_; - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_ \ No newline at end of file diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h index 801f22e22..6b24dc0d4 100644 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetInstanceResult.h @@ -32,6 +32,10 @@ namespace AlibabaCloud class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetInstanceResult : public ServiceResult { public: + struct FeatureDBInstanceInfo + { + std::string status; + }; GetInstanceResult(); @@ -41,6 +45,7 @@ namespace AlibabaCloud double getProgress()const; std::string getType()const; std::string getMessage()const; + FeatureDBInstanceInfo getFeatureDBInstanceInfo()const; std::string getRegionId()const; std::string getGmtCreateTime()const; std::string getGmtModifiedTime()const; @@ -52,6 +57,7 @@ namespace AlibabaCloud double progress_; std::string type_; std::string message_; + FeatureDBInstanceInfo featureDBInstanceInfo_; std::string regionId_; std::string gmtCreateTime_; std::string gmtModifiedTime_; diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h index 977ee8de9..3ac6a86b9 100644 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h @@ -70,6 +70,7 @@ namespace AlibabaCloud std::string getTrainingSetFGTable()const; std::string getName()const; std::string getTrainingSetTable()const; + long getLabelPriorityLevel()const; std::string getExportTrainingSetTableScript()const; std::string getLabelTableName()const; std::vector getFeatures()const; @@ -87,6 +88,7 @@ namespace AlibabaCloud std::string trainingSetFGTable_; std::string name_; std::string trainingSetTable_; + long labelPriorityLevel_; std::string exportTrainingSetTableScript_; std::string labelTableName_; std::vector features_; diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h deleted file mode 100644 index a1f34d623..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 3c04c268d..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/GetProjectFeatureViewRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h deleted file mode 100644 index e5ecaa45f..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index aaa23d00f..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 2e10bcffb..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 48d78b68d..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/ListInstancesResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.h index 78e674cae..8faf5a988 100644 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.h +++ b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListInstancesResult.h @@ -34,9 +34,14 @@ namespace AlibabaCloud public: struct InstancesItem { + struct FeatureDBInstanceInfo + { + std::string status; + }; std::string status; std::string type; std::string instanceId; + FeatureDBInstanceInfo featureDBInstanceInfo; std::string regionId; std::string gmtCreateTime; std::string gmtModifiedTime; diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h deleted file mode 100644 index 35bd49378..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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 deleted file mode 100644 index 2dd5cbd59..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 29a0c7b9f..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR 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 deleted file mode 100644 index d85194791..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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/UpdateModelFeatureFGInfoRequest.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoRequest.h deleted file mode 100644 index bb3346f39..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFOREQUEST_H_ -#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFOREQUEST_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud { -namespace PaiFeatureStore { -namespace Model { -class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateModelFeatureFGInfoRequest : public RoaServiceRequest { -public: - UpdateModelFeatureFGInfoRequest(); - ~UpdateModelFeatureFGInfoRequest(); - 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_UPDATEMODELFEATUREFGINFOREQUEST_H_ diff --git a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.h b/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.h deleted file mode 100644 index 796cf8b4f..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_H_ -#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace PaiFeatureStore - { - namespace Model - { - class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateModelFeatureFGInfoResult : public ServiceResult - { - public: - - - UpdateModelFeatureFGInfoResult(); - explicit UpdateModelFeatureFGInfoResult(const std::string &payload); - ~UpdateModelFeatureFGInfoResult(); - std::string getRequestId()const; - - protected: - void parse(const std::string &payload); - private: - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_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 deleted file mode 100644 index ae62d391c..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 deleted file mode 100644 index 2b3ed8233..000000000 --- a/paifeaturestore/include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_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 index 76d9c265f..304febc2c 100644 --- a/paifeaturestore/src/PaiFeatureStoreClient.cc +++ b/paifeaturestore/src/PaiFeatureStoreClient.cc @@ -51,42 +51,6 @@ PaiFeatureStoreClient::PaiFeatureStoreClient(const std::string & accessKeyId, co 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(); @@ -339,42 +303,6 @@ PaiFeatureStoreClient::CreateModelFeatureOutcomeCallable PaiFeatureStoreClient:: return task->get_future(); } -PaiFeatureStoreClient::CreateModelFeatureTrainingSetFGTableOutcome PaiFeatureStoreClient::createModelFeatureTrainingSetFGTable(const CreateModelFeatureTrainingSetFGTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateModelFeatureTrainingSetFGTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateModelFeatureTrainingSetFGTableOutcome(CreateModelFeatureTrainingSetFGTableResult(outcome.result())); - else - return CreateModelFeatureTrainingSetFGTableOutcome(outcome.error()); -} - -void PaiFeatureStoreClient::createModelFeatureTrainingSetFGTableAsync(const CreateModelFeatureTrainingSetFGTableRequest& request, const CreateModelFeatureTrainingSetFGTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createModelFeatureTrainingSetFGTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -PaiFeatureStoreClient::CreateModelFeatureTrainingSetFGTableOutcomeCallable PaiFeatureStoreClient::createModelFeatureTrainingSetFGTableCallable(const CreateModelFeatureTrainingSetFGTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createModelFeatureTrainingSetFGTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - PaiFeatureStoreClient::CreateProjectOutcome PaiFeatureStoreClient::createProject(const CreateProjectRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -663,42 +591,6 @@ PaiFeatureStoreClient::DeleteProjectOutcomeCallable PaiFeatureStoreClient::delet return task->get_future(); } -PaiFeatureStoreClient::ExportModelFeatureTrainingSetFGTableOutcome PaiFeatureStoreClient::exportModelFeatureTrainingSetFGTable(const ExportModelFeatureTrainingSetFGTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ExportModelFeatureTrainingSetFGTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ExportModelFeatureTrainingSetFGTableOutcome(ExportModelFeatureTrainingSetFGTableResult(outcome.result())); - else - return ExportModelFeatureTrainingSetFGTableOutcome(outcome.error()); -} - -void PaiFeatureStoreClient::exportModelFeatureTrainingSetFGTableAsync(const ExportModelFeatureTrainingSetFGTableRequest& request, const ExportModelFeatureTrainingSetFGTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, exportModelFeatureTrainingSetFGTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -PaiFeatureStoreClient::ExportModelFeatureTrainingSetFGTableOutcomeCallable PaiFeatureStoreClient::exportModelFeatureTrainingSetFGTableCallable(const ExportModelFeatureTrainingSetFGTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->exportModelFeatureTrainingSetFGTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - PaiFeatureStoreClient::ExportModelFeatureTrainingSetTableOutcome PaiFeatureStoreClient::exportModelFeatureTrainingSetTable(const ExportModelFeatureTrainingSetTableRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1131,114 +1023,6 @@ PaiFeatureStoreClient::GetProjectFeatureEntityOutcomeCallable PaiFeatureStoreCli 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(); @@ -1707,78 +1491,6 @@ PaiFeatureStoreClient::ListModelFeaturesOutcomeCallable PaiFeatureStoreClient::l 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(); @@ -2103,42 +1815,6 @@ PaiFeatureStoreClient::UpdateModelFeatureFGFeatureOutcomeCallable PaiFeatureStor return task->get_future(); } -PaiFeatureStoreClient::UpdateModelFeatureFGInfoOutcome PaiFeatureStoreClient::updateModelFeatureFGInfo(const UpdateModelFeatureFGInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateModelFeatureFGInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateModelFeatureFGInfoOutcome(UpdateModelFeatureFGInfoResult(outcome.result())); - else - return UpdateModelFeatureFGInfoOutcome(outcome.error()); -} - -void PaiFeatureStoreClient::updateModelFeatureFGInfoAsync(const UpdateModelFeatureFGInfoRequest& request, const UpdateModelFeatureFGInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateModelFeatureFGInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -PaiFeatureStoreClient::UpdateModelFeatureFGInfoOutcomeCallable PaiFeatureStoreClient::updateModelFeatureFGInfoCallable(const UpdateModelFeatureFGInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateModelFeatureFGInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - PaiFeatureStoreClient::UpdateProjectOutcome PaiFeatureStoreClient::updateProject(const UpdateProjectRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2211,39 +1887,3 @@ PaiFeatureStoreClient::WriteFeatureViewTableOutcomeCallable PaiFeatureStoreClien 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 deleted file mode 100644 index 83d019e34..000000000 --- a/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index c63998421..000000000 --- a/paifeaturestore/src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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/CreateModelFeatureTrainingSetFGTableRequest.cc b/paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableRequest.cc deleted file mode 100644 index 38ae7a006..000000000 --- a/paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS 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::CreateModelFeatureTrainingSetFGTableRequest; - -CreateModelFeatureTrainingSetFGTableRequest::CreateModelFeatureTrainingSetFGTableRequest() - : RoaServiceRequest("paifeaturestore", "2023-06-21") { - setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/trainingsetfgtable"}; - setMethod(HttpRequest::Method::Post); -} - -CreateModelFeatureTrainingSetFGTableRequest::~CreateModelFeatureTrainingSetFGTableRequest() {} - -std::string CreateModelFeatureTrainingSetFGTableRequest::getModelFeatureId() const { - return modelFeatureId_; -} - -void CreateModelFeatureTrainingSetFGTableRequest::setModelFeatureId(const std::string &modelFeatureId) { - modelFeatureId_ = modelFeatureId; - setParameter(std::string("ModelFeatureId"), modelFeatureId); -} - -std::string CreateModelFeatureTrainingSetFGTableRequest::getInstanceId() const { - return instanceId_; -} - -void CreateModelFeatureTrainingSetFGTableRequest::setInstanceId(const std::string &instanceId) { - instanceId_ = instanceId; - setParameter(std::string("InstanceId"), instanceId); -} - diff --git a/paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableResult.cc b/paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableResult.cc deleted file mode 100644 index 9f6243ac3..000000000 --- a/paifeaturestore/src/model/CreateModelFeatureTrainingSetFGTableResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::PaiFeatureStore; -using namespace AlibabaCloud::PaiFeatureStore::Model; - -CreateModelFeatureTrainingSetFGTableResult::CreateModelFeatureTrainingSetFGTableResult() : - ServiceResult() -{} - -CreateModelFeatureTrainingSetFGTableResult::CreateModelFeatureTrainingSetFGTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateModelFeatureTrainingSetFGTableResult::~CreateModelFeatureTrainingSetFGTableResult() -{} - -void CreateModelFeatureTrainingSetFGTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["TrainingSetFGTableName"].isNull()) - trainingSetFGTableName_ = value["TrainingSetFGTableName"].asString(); - -} - -std::string CreateModelFeatureTrainingSetFGTableResult::getRequestId()const -{ - return requestId_; -} - -std::string CreateModelFeatureTrainingSetFGTableResult::getTrainingSetFGTableName()const -{ - return trainingSetFGTableName_; -} - diff --git a/paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableRequest.cc b/paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableRequest.cc deleted file mode 100644 index 8e74f2f59..000000000 --- a/paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::PaiFeatureStore::Model::ExportModelFeatureTrainingSetFGTableRequest; - -ExportModelFeatureTrainingSetFGTableRequest::ExportModelFeatureTrainingSetFGTableRequest() - : RoaServiceRequest("paifeaturestore", "2023-06-21") { - setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/action/exporttrainingsetfgtable"}; - setMethod(HttpRequest::Method::Post); -} - -ExportModelFeatureTrainingSetFGTableRequest::~ExportModelFeatureTrainingSetFGTableRequest() {} - -std::string ExportModelFeatureTrainingSetFGTableRequest::getModelFeatureId() const { - return modelFeatureId_; -} - -void ExportModelFeatureTrainingSetFGTableRequest::setModelFeatureId(const std::string &modelFeatureId) { - modelFeatureId_ = modelFeatureId; - setParameter(std::string("ModelFeatureId"), modelFeatureId); -} - -std::string ExportModelFeatureTrainingSetFGTableRequest::getBody() const { - return body_; -} - -void ExportModelFeatureTrainingSetFGTableRequest::setBody(const std::string &body) { - body_ = body; - setBodyParameter(std::string("body"), body); -} - -std::string ExportModelFeatureTrainingSetFGTableRequest::getInstanceId() const { - return instanceId_; -} - -void ExportModelFeatureTrainingSetFGTableRequest::setInstanceId(const std::string &instanceId) { - instanceId_ = instanceId; - setParameter(std::string("InstanceId"), instanceId); -} - diff --git a/paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableResult.cc b/paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableResult.cc deleted file mode 100644 index 9122a0f39..000000000 --- a/paifeaturestore/src/model/ExportModelFeatureTrainingSetFGTableResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::PaiFeatureStore; -using namespace AlibabaCloud::PaiFeatureStore::Model; - -ExportModelFeatureTrainingSetFGTableResult::ExportModelFeatureTrainingSetFGTableResult() : - ServiceResult() -{} - -ExportModelFeatureTrainingSetFGTableResult::ExportModelFeatureTrainingSetFGTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ExportModelFeatureTrainingSetFGTableResult::~ExportModelFeatureTrainingSetFGTableResult() -{} - -void ExportModelFeatureTrainingSetFGTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - if(!value["TaskId"].isNull()) - taskId_ = value["TaskId"].asString(); - -} - -std::string ExportModelFeatureTrainingSetFGTableResult::getTaskId()const -{ - return taskId_; -} - -std::string ExportModelFeatureTrainingSetFGTableResult::getRequestId()const -{ - return requestId_; -} - diff --git a/paifeaturestore/src/model/GetInstanceResult.cc b/paifeaturestore/src/model/GetInstanceResult.cc index 129e34a29..6c05757e7 100644 --- a/paifeaturestore/src/model/GetInstanceResult.cc +++ b/paifeaturestore/src/model/GetInstanceResult.cc @@ -39,6 +39,9 @@ void GetInstanceResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + auto featureDBInstanceInfoNode = value["FeatureDBInstanceInfo"]; + if(!featureDBInstanceInfoNode["Status"].isNull()) + featureDBInstanceInfo_.status = featureDBInstanceInfoNode["Status"].asString(); if(!value["Status"].isNull()) status_ = value["Status"].asString(); if(!value["RegionId"].isNull()) @@ -76,6 +79,11 @@ std::string GetInstanceResult::getMessage()const return message_; } +GetInstanceResult::FeatureDBInstanceInfo GetInstanceResult::getFeatureDBInstanceInfo()const +{ + return featureDBInstanceInfo_; +} + std::string GetInstanceResult::getRegionId()const { return regionId_; diff --git a/paifeaturestore/src/model/GetModelFeatureResult.cc b/paifeaturestore/src/model/GetModelFeatureResult.cc index feedd5afb..62f6b4f41 100644 --- a/paifeaturestore/src/model/GetModelFeatureResult.cc +++ b/paifeaturestore/src/model/GetModelFeatureResult.cc @@ -102,6 +102,8 @@ void GetModelFeatureResult::parse(const std::string &payload) trainingSetFGTable_ = value["TrainingSetFGTable"].asString(); if(!value["ExportTrainingSetTableScript"].isNull()) exportTrainingSetTableScript_ = value["ExportTrainingSetTableScript"].asString(); + if(!value["LabelPriorityLevel"].isNull()) + labelPriorityLevel_ = std::stol(value["LabelPriorityLevel"].asString()); } @@ -145,6 +147,11 @@ std::string GetModelFeatureResult::getTrainingSetTable()const return trainingSetTable_; } +long GetModelFeatureResult::getLabelPriorityLevel()const +{ + return labelPriorityLevel_; +} + std::string GetModelFeatureResult::getExportTrainingSetTableScript()const { return exportTrainingSetTableScript_; diff --git a/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc b/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc deleted file mode 100644 index a841e4ce7..000000000 --- a/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsRequest.cc +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 608b70737..000000000 --- a/paifeaturestore/src/model/GetProjectFeatureEntityHotIdsResult.cc +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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/GetProjectFeatureViewRequest.cc b/paifeaturestore/src/model/GetProjectFeatureViewRequest.cc deleted file mode 100644 index 9cb03237e..000000000 --- a/paifeaturestore/src/model/GetProjectFeatureViewRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index 223c75cf6..000000000 --- a/paifeaturestore/src/model/GetProjectFeatureViewResult.cc +++ /dev/null @@ -1,189 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 deleted file mode 100644 index fc28bda70..000000000 --- a/paifeaturestore/src/model/GetProjectModelFeatureRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#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 deleted file mode 100644 index 70500cb87..000000000 --- a/paifeaturestore/src/model/GetProjectModelFeatureResult.cc +++ /dev/null @@ -1,156 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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/ListInstancesResult.cc b/paifeaturestore/src/model/ListInstancesResult.cc index 298ff1dbe..8644e58d3 100644 --- a/paifeaturestore/src/model/ListInstancesResult.cc +++ b/paifeaturestore/src/model/ListInstancesResult.cc @@ -55,6 +55,9 @@ void ListInstancesResult::parse(const std::string &payload) instancesObject.gmtCreateTime = valueInstancesInstancesItem["GmtCreateTime"].asString(); if(!valueInstancesInstancesItem["GmtModifiedTime"].isNull()) instancesObject.gmtModifiedTime = valueInstancesInstancesItem["GmtModifiedTime"].asString(); + auto featureDBInstanceInfoNode = value["FeatureDBInstanceInfo"]; + if(!featureDBInstanceInfoNode["Status"].isNull()) + instancesObject.featureDBInstanceInfo.status = featureDBInstanceInfoNode["Status"].asString(); instances_.push_back(instancesObject); } if(!value["TotalCount"].isNull()) diff --git a/paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc b/paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc deleted file mode 100644 index 74c473def..000000000 --- a/paifeaturestore/src/model/ListProjectFeatureViewOwnersRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS 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 deleted file mode 100644 index 4527a215c..000000000 --- a/paifeaturestore/src/model/ListProjectFeatureViewOwnersResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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 deleted file mode 100644 index 91a1e3396..000000000 --- a/paifeaturestore/src/model/ListProjectFeatureViewTagsRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS 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 deleted file mode 100644 index be485346f..000000000 --- a/paifeaturestore/src/model/ListProjectFeatureViewTagsResult.cc +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY 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/UpdateModelFeatureFGInfoRequest.cc b/paifeaturestore/src/model/UpdateModelFeatureFGInfoRequest.cc deleted file mode 100644 index 85fa557c8..000000000 --- a/paifeaturestore/src/model/UpdateModelFeatureFGInfoRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::PaiFeatureStore::Model::UpdateModelFeatureFGInfoRequest; - -UpdateModelFeatureFGInfoRequest::UpdateModelFeatureFGInfoRequest() - : RoaServiceRequest("paifeaturestore", "2023-06-21") { - setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/fginfo"}; - setMethod(HttpRequest::Method::Put); -} - -UpdateModelFeatureFGInfoRequest::~UpdateModelFeatureFGInfoRequest() {} - -std::string UpdateModelFeatureFGInfoRequest::getModelFeatureId() const { - return modelFeatureId_; -} - -void UpdateModelFeatureFGInfoRequest::setModelFeatureId(const std::string &modelFeatureId) { - modelFeatureId_ = modelFeatureId; - setParameter(std::string("ModelFeatureId"), modelFeatureId); -} - -std::string UpdateModelFeatureFGInfoRequest::getBody() const { - return body_; -} - -void UpdateModelFeatureFGInfoRequest::setBody(const std::string &body) { - body_ = body; - setBodyParameter(std::string("body"), body); -} - -std::string UpdateModelFeatureFGInfoRequest::getInstanceId() const { - return instanceId_; -} - -void UpdateModelFeatureFGInfoRequest::setInstanceId(const std::string &instanceId) { - instanceId_ = instanceId; - setParameter(std::string("InstanceId"), instanceId); -} - diff --git a/paifeaturestore/src/model/UpdateModelFeatureFGInfoResult.cc b/paifeaturestore/src/model/UpdateModelFeatureFGInfoResult.cc deleted file mode 100644 index a89a82b90..000000000 --- a/paifeaturestore/src/model/UpdateModelFeatureFGInfoResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::PaiFeatureStore; -using namespace AlibabaCloud::PaiFeatureStore::Model; - -UpdateModelFeatureFGInfoResult::UpdateModelFeatureFGInfoResult() : - ServiceResult() -{} - -UpdateModelFeatureFGInfoResult::UpdateModelFeatureFGInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateModelFeatureFGInfoResult::~UpdateModelFeatureFGInfoResult() -{} - -void UpdateModelFeatureFGInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["requestId"].isNull()) - requestId_ = value["requestId"].asString(); - -} - -std::string UpdateModelFeatureFGInfoResult::getRequestId()const -{ - return requestId_; -} - diff --git a/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc b/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc deleted file mode 100644 index faa2bb1b0..000000000 --- a/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsRequest.cc +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -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 deleted file mode 100644 index 7f230e61a..000000000 --- a/paifeaturestore/src/model/WriteProjectFeatureEntityHotIdsResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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()); - -} -