Add FG apis in ModelFeature.
This commit is contained in:
@@ -37,6 +37,8 @@ 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
|
||||
@@ -53,6 +55,8 @@ 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
|
||||
@@ -69,6 +73,10 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/GetLabelTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetModelFeatureRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetModelFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetModelFeatureFGFeatureRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetModelFeatureFGFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetModelFeatureFGInfoRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetModelFeatureFGInfoResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h
|
||||
@@ -99,6 +107,8 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/ListInstancesResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListLabelTablesRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListLabelTablesResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeatureAvailableFeaturesRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeatureAvailableFeaturesResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h
|
||||
@@ -121,6 +131,10 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/UpdateLabelTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateModelFeatureRequest.h
|
||||
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
|
||||
@@ -146,6 +160,8 @@ 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
|
||||
@@ -162,6 +178,8 @@ 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
|
||||
@@ -178,6 +196,10 @@ set(paifeaturestore_src
|
||||
src/model/GetLabelTableResult.cc
|
||||
src/model/GetModelFeatureRequest.cc
|
||||
src/model/GetModelFeatureResult.cc
|
||||
src/model/GetModelFeatureFGFeatureRequest.cc
|
||||
src/model/GetModelFeatureFGFeatureResult.cc
|
||||
src/model/GetModelFeatureFGInfoRequest.cc
|
||||
src/model/GetModelFeatureFGInfoResult.cc
|
||||
src/model/GetProjectRequest.cc
|
||||
src/model/GetProjectResult.cc
|
||||
src/model/GetProjectFeatureEntityRequest.cc
|
||||
@@ -208,6 +230,8 @@ set(paifeaturestore_src
|
||||
src/model/ListInstancesResult.cc
|
||||
src/model/ListLabelTablesRequest.cc
|
||||
src/model/ListLabelTablesResult.cc
|
||||
src/model/ListModelFeatureAvailableFeaturesRequest.cc
|
||||
src/model/ListModelFeatureAvailableFeaturesResult.cc
|
||||
src/model/ListModelFeaturesRequest.cc
|
||||
src/model/ListModelFeaturesResult.cc
|
||||
src/model/ListProjectFeatureViewOwnersRequest.cc
|
||||
@@ -230,6 +254,10 @@ set(paifeaturestore_src
|
||||
src/model/UpdateLabelTableResult.cc
|
||||
src/model/UpdateModelFeatureRequest.cc
|
||||
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
|
||||
|
||||
@@ -38,6 +38,8 @@
|
||||
#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"
|
||||
@@ -54,6 +56,8 @@
|
||||
#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"
|
||||
@@ -70,6 +74,10 @@
|
||||
#include "model/GetLabelTableResult.h"
|
||||
#include "model/GetModelFeatureRequest.h"
|
||||
#include "model/GetModelFeatureResult.h"
|
||||
#include "model/GetModelFeatureFGFeatureRequest.h"
|
||||
#include "model/GetModelFeatureFGFeatureResult.h"
|
||||
#include "model/GetModelFeatureFGInfoRequest.h"
|
||||
#include "model/GetModelFeatureFGInfoResult.h"
|
||||
#include "model/GetProjectRequest.h"
|
||||
#include "model/GetProjectResult.h"
|
||||
#include "model/GetProjectFeatureEntityRequest.h"
|
||||
@@ -100,6 +108,8 @@
|
||||
#include "model/ListInstancesResult.h"
|
||||
#include "model/ListLabelTablesRequest.h"
|
||||
#include "model/ListLabelTablesResult.h"
|
||||
#include "model/ListModelFeatureAvailableFeaturesRequest.h"
|
||||
#include "model/ListModelFeatureAvailableFeaturesResult.h"
|
||||
#include "model/ListModelFeaturesRequest.h"
|
||||
#include "model/ListModelFeaturesResult.h"
|
||||
#include "model/ListProjectFeatureViewOwnersRequest.h"
|
||||
@@ -122,6 +132,10 @@
|
||||
#include "model/UpdateLabelTableResult.h"
|
||||
#include "model/UpdateModelFeatureRequest.h"
|
||||
#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"
|
||||
@@ -161,6 +175,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateModelFeatureResult> CreateModelFeatureOutcome;
|
||||
typedef std::future<CreateModelFeatureOutcome> CreateModelFeatureOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::CreateModelFeatureRequest&, const CreateModelFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateModelFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateModelFeatureTrainingSetFGTableResult> CreateModelFeatureTrainingSetFGTableOutcome;
|
||||
typedef std::future<CreateModelFeatureTrainingSetFGTableOutcome> CreateModelFeatureTrainingSetFGTableOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::CreateModelFeatureTrainingSetFGTableRequest&, const CreateModelFeatureTrainingSetFGTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateModelFeatureTrainingSetFGTableAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateProjectResult> CreateProjectOutcome;
|
||||
typedef std::future<CreateProjectOutcome> CreateProjectOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::CreateProjectRequest&, const CreateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateProjectAsyncHandler;
|
||||
@@ -185,6 +202,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteProjectResult> DeleteProjectOutcome;
|
||||
typedef std::future<DeleteProjectOutcome> DeleteProjectOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::DeleteProjectRequest&, const DeleteProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteProjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExportModelFeatureTrainingSetFGTableResult> ExportModelFeatureTrainingSetFGTableOutcome;
|
||||
typedef std::future<ExportModelFeatureTrainingSetFGTableOutcome> ExportModelFeatureTrainingSetFGTableOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ExportModelFeatureTrainingSetFGTableRequest&, const ExportModelFeatureTrainingSetFGTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportModelFeatureTrainingSetFGTableAsyncHandler;
|
||||
typedef Outcome<Error, Model::ExportModelFeatureTrainingSetTableResult> ExportModelFeatureTrainingSetTableOutcome;
|
||||
typedef std::future<ExportModelFeatureTrainingSetTableOutcome> ExportModelFeatureTrainingSetTableOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ExportModelFeatureTrainingSetTableRequest&, const ExportModelFeatureTrainingSetTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ExportModelFeatureTrainingSetTableAsyncHandler;
|
||||
@@ -209,6 +229,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetModelFeatureResult> GetModelFeatureOutcome;
|
||||
typedef std::future<GetModelFeatureOutcome> GetModelFeatureOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetModelFeatureRequest&, const GetModelFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetModelFeatureFGFeatureResult> GetModelFeatureFGFeatureOutcome;
|
||||
typedef std::future<GetModelFeatureFGFeatureOutcome> GetModelFeatureFGFeatureOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetModelFeatureFGFeatureRequest&, const GetModelFeatureFGFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelFeatureFGFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetModelFeatureFGInfoResult> GetModelFeatureFGInfoOutcome;
|
||||
typedef std::future<GetModelFeatureFGInfoOutcome> GetModelFeatureFGInfoOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetModelFeatureFGInfoRequest&, const GetModelFeatureFGInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelFeatureFGInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectResult> GetProjectOutcome;
|
||||
typedef std::future<GetProjectOutcome> GetProjectOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetProjectRequest&, const GetProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectAsyncHandler;
|
||||
@@ -254,6 +280,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListLabelTablesResult> ListLabelTablesOutcome;
|
||||
typedef std::future<ListLabelTablesOutcome> ListLabelTablesOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ListLabelTablesRequest&, const ListLabelTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListLabelTablesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListModelFeatureAvailableFeaturesResult> ListModelFeatureAvailableFeaturesOutcome;
|
||||
typedef std::future<ListModelFeatureAvailableFeaturesOutcome> ListModelFeatureAvailableFeaturesOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ListModelFeatureAvailableFeaturesRequest&, const ListModelFeatureAvailableFeaturesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListModelFeatureAvailableFeaturesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListModelFeaturesResult> ListModelFeaturesOutcome;
|
||||
typedef std::future<ListModelFeaturesOutcome> ListModelFeaturesOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ListModelFeaturesRequest&, const ListModelFeaturesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListModelFeaturesAsyncHandler;
|
||||
@@ -287,6 +316,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateModelFeatureResult> UpdateModelFeatureOutcome;
|
||||
typedef std::future<UpdateModelFeatureOutcome> UpdateModelFeatureOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::UpdateModelFeatureRequest&, const UpdateModelFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateModelFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateModelFeatureFGFeatureResult> UpdateModelFeatureFGFeatureOutcome;
|
||||
typedef std::future<UpdateModelFeatureFGFeatureOutcome> UpdateModelFeatureFGFeatureOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::UpdateModelFeatureFGFeatureRequest&, const UpdateModelFeatureFGFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateModelFeatureFGFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateModelFeatureFGInfoResult> UpdateModelFeatureFGInfoOutcome;
|
||||
typedef std::future<UpdateModelFeatureFGInfoOutcome> UpdateModelFeatureFGInfoOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::UpdateModelFeatureFGInfoRequest&, const UpdateModelFeatureFGInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateModelFeatureFGInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateProjectResult> UpdateProjectOutcome;
|
||||
typedef std::future<UpdateProjectOutcome> UpdateProjectOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::UpdateProjectRequest&, const UpdateProjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateProjectAsyncHandler;
|
||||
@@ -325,6 +360,9 @@ namespace AlibabaCloud
|
||||
CreateModelFeatureOutcome createModelFeature(const Model::CreateModelFeatureRequest &request)const;
|
||||
void createModelFeatureAsync(const Model::CreateModelFeatureRequest& request, const CreateModelFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateProjectOutcomeCallable createProjectCallable(const Model::CreateProjectRequest& request) const;
|
||||
@@ -349,6 +387,9 @@ namespace AlibabaCloud
|
||||
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
|
||||
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
ExportModelFeatureTrainingSetTableOutcomeCallable exportModelFeatureTrainingSetTableCallable(const Model::ExportModelFeatureTrainingSetTableRequest& request) const;
|
||||
@@ -373,6 +414,12 @@ namespace AlibabaCloud
|
||||
GetModelFeatureOutcome getModelFeature(const Model::GetModelFeatureRequest &request)const;
|
||||
void getModelFeatureAsync(const Model::GetModelFeatureRequest& request, const GetModelFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetModelFeatureOutcomeCallable getModelFeatureCallable(const Model::GetModelFeatureRequest& request) const;
|
||||
GetModelFeatureFGFeatureOutcome getModelFeatureFGFeature(const Model::GetModelFeatureFGFeatureRequest &request)const;
|
||||
void getModelFeatureFGFeatureAsync(const Model::GetModelFeatureFGFeatureRequest& request, const GetModelFeatureFGFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetModelFeatureFGFeatureOutcomeCallable getModelFeatureFGFeatureCallable(const Model::GetModelFeatureFGFeatureRequest& request) const;
|
||||
GetModelFeatureFGInfoOutcome getModelFeatureFGInfo(const Model::GetModelFeatureFGInfoRequest &request)const;
|
||||
void getModelFeatureFGInfoAsync(const Model::GetModelFeatureFGInfoRequest& request, const GetModelFeatureFGInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetModelFeatureFGInfoOutcomeCallable getModelFeatureFGInfoCallable(const Model::GetModelFeatureFGInfoRequest& request) const;
|
||||
GetProjectOutcome getProject(const Model::GetProjectRequest &request)const;
|
||||
void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const;
|
||||
@@ -418,6 +465,9 @@ namespace AlibabaCloud
|
||||
ListLabelTablesOutcome listLabelTables(const Model::ListLabelTablesRequest &request)const;
|
||||
void listLabelTablesAsync(const Model::ListLabelTablesRequest& request, const ListLabelTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListLabelTablesOutcomeCallable listLabelTablesCallable(const Model::ListLabelTablesRequest& request) const;
|
||||
ListModelFeatureAvailableFeaturesOutcome listModelFeatureAvailableFeatures(const Model::ListModelFeatureAvailableFeaturesRequest &request)const;
|
||||
void listModelFeatureAvailableFeaturesAsync(const Model::ListModelFeatureAvailableFeaturesRequest& request, const ListModelFeatureAvailableFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListModelFeatureAvailableFeaturesOutcomeCallable listModelFeatureAvailableFeaturesCallable(const Model::ListModelFeatureAvailableFeaturesRequest& request) const;
|
||||
ListModelFeaturesOutcome listModelFeatures(const Model::ListModelFeaturesRequest &request)const;
|
||||
void listModelFeaturesAsync(const Model::ListModelFeaturesRequest& request, const ListModelFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListModelFeaturesOutcomeCallable listModelFeaturesCallable(const Model::ListModelFeaturesRequest& request) const;
|
||||
@@ -451,6 +501,12 @@ namespace AlibabaCloud
|
||||
UpdateModelFeatureOutcome updateModelFeature(const Model::UpdateModelFeatureRequest &request)const;
|
||||
void updateModelFeatureAsync(const Model::UpdateModelFeatureRequest& request, const UpdateModelFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateModelFeatureOutcomeCallable updateModelFeatureCallable(const Model::UpdateModelFeatureRequest& request) const;
|
||||
UpdateModelFeatureFGFeatureOutcome updateModelFeatureFGFeature(const Model::UpdateModelFeatureFGFeatureRequest &request)const;
|
||||
void updateModelFeatureFGFeatureAsync(const Model::UpdateModelFeatureFGFeatureRequest& request, const UpdateModelFeatureFGFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& 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<const AsyncCallerContext>& 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<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
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_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
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_
|
||||
@@ -42,6 +42,8 @@ namespace AlibabaCloud
|
||||
std::string getConfig()const;
|
||||
std::string getWorkspaceId()const;
|
||||
std::string getUri()const;
|
||||
std::string getGmtCreateTime()const;
|
||||
std::string getGmtModifiedTime()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
@@ -52,6 +54,8 @@ namespace AlibabaCloud
|
||||
std::string config_;
|
||||
std::string workspaceId_;
|
||||
std::string uri_;
|
||||
std::string gmtCreateTime_;
|
||||
std::string gmtModifiedTime_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
std::string getFeatureEntityName()const;
|
||||
std::string getOwner()const;
|
||||
std::string getProjectName()const;
|
||||
std::string getPublishTableScript()const;
|
||||
std::string getConfig()const;
|
||||
std::string getWriteMethod()const;
|
||||
bool getSyncOnlineTable()const;
|
||||
@@ -71,6 +72,7 @@ namespace AlibabaCloud
|
||||
std::string featureEntityName_;
|
||||
std::string owner_;
|
||||
std::string projectName_;
|
||||
std::string publishTableScript_;
|
||||
std::string config_;
|
||||
std::string writeMethod_;
|
||||
bool syncOnlineTable_;
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGFEATUREREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGFEATUREREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace PaiFeatureStore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetModelFeatureFGFeatureRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetModelFeatureFGFeatureRequest();
|
||||
~GetModelFeatureFGFeatureRequest();
|
||||
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_GETMODELFEATUREFGFEATUREREQUEST_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGFEATURERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGFEATURERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace PaiFeatureStore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetModelFeatureFGFeatureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RawFeaturesItem
|
||||
{
|
||||
std::string inputFeatureName;
|
||||
std::string featureType;
|
||||
std::string defaultValue;
|
||||
std::string valueType;
|
||||
std::string featureDomain;
|
||||
std::string featureName;
|
||||
};
|
||||
struct LookupFeaturesItem
|
||||
{
|
||||
std::string mapFeatureDomain;
|
||||
std::string defaultValue;
|
||||
std::string keyFeatureName;
|
||||
std::string valueType;
|
||||
std::string mapFeatureName;
|
||||
std::string keyFeatureDomain;
|
||||
std::string featureName;
|
||||
};
|
||||
struct SequenceFeaturesItem
|
||||
{
|
||||
struct SubFeaturesItem
|
||||
{
|
||||
std::string inputFeatureName;
|
||||
std::string featureType;
|
||||
std::string defaultValue;
|
||||
std::string valueType;
|
||||
std::string featureDomain;
|
||||
std::string featureName;
|
||||
};
|
||||
long sequenceLength;
|
||||
std::string sequenceDelim;
|
||||
std::string attributeDelim;
|
||||
std::vector<SequenceFeaturesItem::SubFeaturesItem> subFeatures;
|
||||
std::string featureName;
|
||||
};
|
||||
|
||||
|
||||
GetModelFeatureFGFeatureResult();
|
||||
explicit GetModelFeatureFGFeatureResult(const std::string &payload);
|
||||
~GetModelFeatureFGFeatureResult();
|
||||
std::vector<std::string> getReserves()const;
|
||||
std::vector<SequenceFeaturesItem> getSequenceFeatures()const;
|
||||
std::vector<RawFeaturesItem> getRawFeatures()const;
|
||||
std::vector<LookupFeaturesItem> getLookupFeatures()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> reserves_;
|
||||
std::vector<SequenceFeaturesItem> sequenceFeatures_;
|
||||
std::vector<RawFeaturesItem> rawFeatures_;
|
||||
std::vector<LookupFeaturesItem> lookupFeatures_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGFEATURERESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace PaiFeatureStore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetModelFeatureFGInfoRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetModelFeatureFGInfoRequest();
|
||||
~GetModelFeatureFGInfoRequest();
|
||||
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_GETMODELFEATUREFGINFOREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGINFORESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace PaiFeatureStore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetModelFeatureFGInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetModelFeatureFGInfoResult();
|
||||
explicit GetModelFeatureFGInfoResult(const std::string &payload);
|
||||
~GetModelFeatureFGInfoResult();
|
||||
std::string getContent()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string content_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETMODELFEATUREFGINFORESULT_H_
|
||||
@@ -65,15 +65,16 @@ namespace AlibabaCloud
|
||||
std::string getOwner()const;
|
||||
std::string getProjectName()const;
|
||||
std::string getProjectId()const;
|
||||
std::string getLabelTableName()const;
|
||||
Relations getRelations()const;
|
||||
std::vector<FeaturesItem> getFeatures()const;
|
||||
std::string getLabelTableId()const;
|
||||
std::string getGmtCreateTime()const;
|
||||
std::string getGmtModifiedTime()const;
|
||||
std::string getTrainingSetFGTable()const;
|
||||
std::string getName()const;
|
||||
std::string getTrainingSetTable()const;
|
||||
std::string getExportTrainingSetTableScript()const;
|
||||
std::string getLabelTableName()const;
|
||||
std::vector<FeaturesItem> getFeatures()const;
|
||||
std::string getLabelTableId()const;
|
||||
std::string getGmtCreateTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -81,15 +82,16 @@ namespace AlibabaCloud
|
||||
std::string owner_;
|
||||
std::string projectName_;
|
||||
std::string projectId_;
|
||||
std::string labelTableName_;
|
||||
Relations relations_;
|
||||
std::vector<FeaturesItem> features_;
|
||||
std::string labelTableId_;
|
||||
std::string gmtCreateTime_;
|
||||
std::string gmtModifiedTime_;
|
||||
std::string trainingSetFGTable_;
|
||||
std::string name_;
|
||||
std::string trainingSetTable_;
|
||||
std::string exportTrainingSetTableScript_;
|
||||
std::string labelTableName_;
|
||||
std::vector<FeaturesItem> features_;
|
||||
std::string labelTableId_;
|
||||
std::string gmtCreateTime_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATUREAVAILABLEFEATURESREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATUREAVAILABLEFEATURESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace PaiFeatureStore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListModelFeatureAvailableFeaturesRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListModelFeatureAvailableFeaturesRequest();
|
||||
~ListModelFeatureAvailableFeaturesRequest();
|
||||
std::string getModelFeatureId() const;
|
||||
void setModelFeatureId(const std::string &modelFeatureId);
|
||||
std::string getFeatureName() const;
|
||||
void setFeatureName(const std::string &featureName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string modelFeatureId_;
|
||||
std::string featureName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATUREAVAILABLEFEATURESREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATUREAVAILABLEFEATURESRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATUREAVAILABLEFEATURESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace PaiFeatureStore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT ListModelFeatureAvailableFeaturesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AvailableFeatures
|
||||
{
|
||||
std::string type;
|
||||
std::string sourceType;
|
||||
std::string sourceName;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListModelFeatureAvailableFeaturesResult();
|
||||
explicit ListModelFeatureAvailableFeaturesResult(const std::string &payload);
|
||||
~ListModelFeatureAvailableFeaturesResult();
|
||||
long getTotalCount()const;
|
||||
std::string getRequestId()const;
|
||||
std::vector<AvailableFeatures> getAvaliableFeatures()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string requestId_;
|
||||
std::vector<AvailableFeatures> avaliableFeatures_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTMODELFEATUREAVAILABLEFEATURESRESULT_H_
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::vector<std::string> attributes;
|
||||
std::string name;
|
||||
};
|
||||
std::string type;
|
||||
std::string featureViewId;
|
||||
std::vector<FeatureViewsItem::FeaturesItem> features;
|
||||
std::string name;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGFEATUREREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGFEATUREREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace PaiFeatureStore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateModelFeatureFGFeatureRequest : public RoaServiceRequest {
|
||||
public:
|
||||
UpdateModelFeatureFGFeatureRequest();
|
||||
~UpdateModelFeatureFGFeatureRequest();
|
||||
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_UPDATEMODELFEATUREFGFEATUREREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGFEATURERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGFEATURERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace PaiFeatureStore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT UpdateModelFeatureFGFeatureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateModelFeatureFGFeatureResult();
|
||||
explicit UpdateModelFeatureFGFeatureResult(const std::string &payload);
|
||||
~UpdateModelFeatureFGFeatureResult();
|
||||
std::string getRequestId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGFEATURERESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
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_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/paifeaturestore/PaiFeatureStoreExport.h>
|
||||
|
||||
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_
|
||||
@@ -339,6 +339,42 @@ 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<const AsyncCallerContext>& 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<std::packaged_task<CreateModelFeatureTrainingSetFGTableOutcome()>>(
|
||||
[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();
|
||||
@@ -627,6 +663,42 @@ 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<const AsyncCallerContext>& 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<std::packaged_task<ExportModelFeatureTrainingSetFGTableOutcome()>>(
|
||||
[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();
|
||||
@@ -915,6 +987,78 @@ PaiFeatureStoreClient::GetModelFeatureOutcomeCallable PaiFeatureStoreClient::get
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetModelFeatureFGFeatureOutcome PaiFeatureStoreClient::getModelFeatureFGFeature(const GetModelFeatureFGFeatureRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetModelFeatureFGFeatureOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetModelFeatureFGFeatureOutcome(GetModelFeatureFGFeatureResult(outcome.result()));
|
||||
else
|
||||
return GetModelFeatureFGFeatureOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::getModelFeatureFGFeatureAsync(const GetModelFeatureFGFeatureRequest& request, const GetModelFeatureFGFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getModelFeatureFGFeature(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetModelFeatureFGFeatureOutcomeCallable PaiFeatureStoreClient::getModelFeatureFGFeatureCallable(const GetModelFeatureFGFeatureRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetModelFeatureFGFeatureOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getModelFeatureFGFeature(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetModelFeatureFGInfoOutcome PaiFeatureStoreClient::getModelFeatureFGInfo(const GetModelFeatureFGInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetModelFeatureFGInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetModelFeatureFGInfoOutcome(GetModelFeatureFGInfoResult(outcome.result()));
|
||||
else
|
||||
return GetModelFeatureFGInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::getModelFeatureFGInfoAsync(const GetModelFeatureFGInfoRequest& request, const GetModelFeatureFGInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getModelFeatureFGInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetModelFeatureFGInfoOutcomeCallable PaiFeatureStoreClient::getModelFeatureFGInfoCallable(const GetModelFeatureFGInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetModelFeatureFGInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getModelFeatureFGInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectOutcome PaiFeatureStoreClient::getProject(const GetProjectRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1455,6 +1599,42 @@ PaiFeatureStoreClient::ListLabelTablesOutcomeCallable PaiFeatureStoreClient::lis
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListModelFeatureAvailableFeaturesOutcome PaiFeatureStoreClient::listModelFeatureAvailableFeatures(const ListModelFeatureAvailableFeaturesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListModelFeatureAvailableFeaturesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListModelFeatureAvailableFeaturesOutcome(ListModelFeatureAvailableFeaturesResult(outcome.result()));
|
||||
else
|
||||
return ListModelFeatureAvailableFeaturesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::listModelFeatureAvailableFeaturesAsync(const ListModelFeatureAvailableFeaturesRequest& request, const ListModelFeatureAvailableFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listModelFeatureAvailableFeatures(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListModelFeatureAvailableFeaturesOutcomeCallable PaiFeatureStoreClient::listModelFeatureAvailableFeaturesCallable(const ListModelFeatureAvailableFeaturesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListModelFeatureAvailableFeaturesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listModelFeatureAvailableFeatures(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListModelFeaturesOutcome PaiFeatureStoreClient::listModelFeatures(const ListModelFeaturesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1851,6 +2031,78 @@ PaiFeatureStoreClient::UpdateModelFeatureOutcomeCallable PaiFeatureStoreClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::UpdateModelFeatureFGFeatureOutcome PaiFeatureStoreClient::updateModelFeatureFGFeature(const UpdateModelFeatureFGFeatureRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateModelFeatureFGFeatureOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateModelFeatureFGFeatureOutcome(UpdateModelFeatureFGFeatureResult(outcome.result()));
|
||||
else
|
||||
return UpdateModelFeatureFGFeatureOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::updateModelFeatureFGFeatureAsync(const UpdateModelFeatureFGFeatureRequest& request, const UpdateModelFeatureFGFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateModelFeatureFGFeature(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::UpdateModelFeatureFGFeatureOutcomeCallable PaiFeatureStoreClient::updateModelFeatureFGFeatureCallable(const UpdateModelFeatureFGFeatureRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateModelFeatureFGFeatureOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateModelFeatureFGFeature(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
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<const AsyncCallerContext>& 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<std::packaged_task<UpdateModelFeatureFGInfoOutcome()>>(
|
||||
[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();
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -51,6 +51,10 @@ void GetDatasourceResult::parse(const std::string &payload)
|
||||
config_ = value["Config"].asString();
|
||||
if(!value["WorkspaceId"].isNull())
|
||||
workspaceId_ = value["WorkspaceId"].asString();
|
||||
if(!value["GmtCreateTime"].isNull())
|
||||
gmtCreateTime_ = value["GmtCreateTime"].asString();
|
||||
if(!value["GmtModifiedTime"].isNull())
|
||||
gmtModifiedTime_ = value["GmtModifiedTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -79,6 +83,16 @@ std::string GetDatasourceResult::getUri()const
|
||||
return uri_;
|
||||
}
|
||||
|
||||
std::string GetDatasourceResult::getGmtCreateTime()const
|
||||
{
|
||||
return gmtCreateTime_;
|
||||
}
|
||||
|
||||
std::string GetDatasourceResult::getGmtModifiedTime()const
|
||||
{
|
||||
return gmtModifiedTime_;
|
||||
}
|
||||
|
||||
std::string GetDatasourceResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
|
||||
@@ -93,6 +93,8 @@ void GetFeatureViewResult::parse(const std::string &payload)
|
||||
gmtSyncTime_ = value["GmtSyncTime"].asString();
|
||||
if(!value["LastSyncConfig"].isNull())
|
||||
lastSyncConfig_ = value["LastSyncConfig"].asString();
|
||||
if(!value["PublishTableScript"].isNull())
|
||||
publishTableScript_ = value["PublishTableScript"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -111,6 +113,11 @@ std::string GetFeatureViewResult::getProjectName()const
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
std::string GetFeatureViewResult::getPublishTableScript()const
|
||||
{
|
||||
return publishTableScript_;
|
||||
}
|
||||
|
||||
std::string GetFeatureViewResult::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
|
||||
46
paifeaturestore/src/model/GetModelFeatureFGFeatureRequest.cc
Normal file
46
paifeaturestore/src/model/GetModelFeatureFGFeatureRequest.cc
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetModelFeatureFGFeatureRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::GetModelFeatureFGFeatureRequest;
|
||||
|
||||
GetModelFeatureFGFeatureRequest::GetModelFeatureFGFeatureRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/fgfeature"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetModelFeatureFGFeatureRequest::~GetModelFeatureFGFeatureRequest() {}
|
||||
|
||||
std::string GetModelFeatureFGFeatureRequest::getModelFeatureId() const {
|
||||
return modelFeatureId_;
|
||||
}
|
||||
|
||||
void GetModelFeatureFGFeatureRequest::setModelFeatureId(const std::string &modelFeatureId) {
|
||||
modelFeatureId_ = modelFeatureId;
|
||||
setParameter(std::string("ModelFeatureId"), modelFeatureId);
|
||||
}
|
||||
|
||||
std::string GetModelFeatureFGFeatureRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetModelFeatureFGFeatureRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
137
paifeaturestore/src/model/GetModelFeatureFGFeatureResult.cc
Normal file
137
paifeaturestore/src/model/GetModelFeatureFGFeatureResult.cc
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetModelFeatureFGFeatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
GetModelFeatureFGFeatureResult::GetModelFeatureFGFeatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetModelFeatureFGFeatureResult::GetModelFeatureFGFeatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetModelFeatureFGFeatureResult::~GetModelFeatureFGFeatureResult()
|
||||
{}
|
||||
|
||||
void GetModelFeatureFGFeatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRawFeaturesNode = value["RawFeatures"]["RawFeaturesItem"];
|
||||
for (auto valueRawFeaturesRawFeaturesItem : allRawFeaturesNode)
|
||||
{
|
||||
RawFeaturesItem rawFeaturesObject;
|
||||
if(!valueRawFeaturesRawFeaturesItem["InputFeatureName"].isNull())
|
||||
rawFeaturesObject.inputFeatureName = valueRawFeaturesRawFeaturesItem["InputFeatureName"].asString();
|
||||
if(!valueRawFeaturesRawFeaturesItem["FeatureDomain"].isNull())
|
||||
rawFeaturesObject.featureDomain = valueRawFeaturesRawFeaturesItem["FeatureDomain"].asString();
|
||||
if(!valueRawFeaturesRawFeaturesItem["FeatureName"].isNull())
|
||||
rawFeaturesObject.featureName = valueRawFeaturesRawFeaturesItem["FeatureName"].asString();
|
||||
if(!valueRawFeaturesRawFeaturesItem["FeatureType"].isNull())
|
||||
rawFeaturesObject.featureType = valueRawFeaturesRawFeaturesItem["FeatureType"].asString();
|
||||
if(!valueRawFeaturesRawFeaturesItem["ValueType"].isNull())
|
||||
rawFeaturesObject.valueType = valueRawFeaturesRawFeaturesItem["ValueType"].asString();
|
||||
if(!valueRawFeaturesRawFeaturesItem["DefaultValue"].isNull())
|
||||
rawFeaturesObject.defaultValue = valueRawFeaturesRawFeaturesItem["DefaultValue"].asString();
|
||||
rawFeatures_.push_back(rawFeaturesObject);
|
||||
}
|
||||
auto allLookupFeaturesNode = value["LookupFeatures"]["LookupFeaturesItem"];
|
||||
for (auto valueLookupFeaturesLookupFeaturesItem : allLookupFeaturesNode)
|
||||
{
|
||||
LookupFeaturesItem lookupFeaturesObject;
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["MapFeatureName"].isNull())
|
||||
lookupFeaturesObject.mapFeatureName = valueLookupFeaturesLookupFeaturesItem["MapFeatureName"].asString();
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["MapFeatureDomain"].isNull())
|
||||
lookupFeaturesObject.mapFeatureDomain = valueLookupFeaturesLookupFeaturesItem["MapFeatureDomain"].asString();
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["FeatureName"].isNull())
|
||||
lookupFeaturesObject.featureName = valueLookupFeaturesLookupFeaturesItem["FeatureName"].asString();
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["ValueType"].isNull())
|
||||
lookupFeaturesObject.valueType = valueLookupFeaturesLookupFeaturesItem["ValueType"].asString();
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["DefaultValue"].isNull())
|
||||
lookupFeaturesObject.defaultValue = valueLookupFeaturesLookupFeaturesItem["DefaultValue"].asString();
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["KeyFeatureName"].isNull())
|
||||
lookupFeaturesObject.keyFeatureName = valueLookupFeaturesLookupFeaturesItem["KeyFeatureName"].asString();
|
||||
if(!valueLookupFeaturesLookupFeaturesItem["KeyFeatureDomain"].isNull())
|
||||
lookupFeaturesObject.keyFeatureDomain = valueLookupFeaturesLookupFeaturesItem["KeyFeatureDomain"].asString();
|
||||
lookupFeatures_.push_back(lookupFeaturesObject);
|
||||
}
|
||||
auto allSequenceFeaturesNode = value["SequenceFeatures"]["SequenceFeaturesItem"];
|
||||
for (auto valueSequenceFeaturesSequenceFeaturesItem : allSequenceFeaturesNode)
|
||||
{
|
||||
SequenceFeaturesItem sequenceFeaturesObject;
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItem["FeatureName"].isNull())
|
||||
sequenceFeaturesObject.featureName = valueSequenceFeaturesSequenceFeaturesItem["FeatureName"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItem["SequenceLength"].isNull())
|
||||
sequenceFeaturesObject.sequenceLength = std::stol(valueSequenceFeaturesSequenceFeaturesItem["SequenceLength"].asString());
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItem["SequenceDelim"].isNull())
|
||||
sequenceFeaturesObject.sequenceDelim = valueSequenceFeaturesSequenceFeaturesItem["SequenceDelim"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItem["AttributeDelim"].isNull())
|
||||
sequenceFeaturesObject.attributeDelim = valueSequenceFeaturesSequenceFeaturesItem["AttributeDelim"].asString();
|
||||
auto allSubFeaturesNode = valueSequenceFeaturesSequenceFeaturesItem["SubFeatures"]["SubFeaturesItem"];
|
||||
for (auto valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem : allSubFeaturesNode)
|
||||
{
|
||||
SequenceFeaturesItem::SubFeaturesItem subFeaturesObject;
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["InputFeatureName"].isNull())
|
||||
subFeaturesObject.inputFeatureName = valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["InputFeatureName"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["FeatureDomain"].isNull())
|
||||
subFeaturesObject.featureDomain = valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["FeatureDomain"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["FeatureName"].isNull())
|
||||
subFeaturesObject.featureName = valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["FeatureName"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["FeatureType"].isNull())
|
||||
subFeaturesObject.featureType = valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["FeatureType"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["ValueType"].isNull())
|
||||
subFeaturesObject.valueType = valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["ValueType"].asString();
|
||||
if(!valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["DefaultValue"].isNull())
|
||||
subFeaturesObject.defaultValue = valueSequenceFeaturesSequenceFeaturesItemSubFeaturesSubFeaturesItem["DefaultValue"].asString();
|
||||
sequenceFeaturesObject.subFeatures.push_back(subFeaturesObject);
|
||||
}
|
||||
sequenceFeatures_.push_back(sequenceFeaturesObject);
|
||||
}
|
||||
auto allReserves = value["Reserves"]["Reserves"];
|
||||
for (const auto &item : allReserves)
|
||||
reserves_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> GetModelFeatureFGFeatureResult::getReserves()const
|
||||
{
|
||||
return reserves_;
|
||||
}
|
||||
|
||||
std::vector<GetModelFeatureFGFeatureResult::SequenceFeaturesItem> GetModelFeatureFGFeatureResult::getSequenceFeatures()const
|
||||
{
|
||||
return sequenceFeatures_;
|
||||
}
|
||||
|
||||
std::vector<GetModelFeatureFGFeatureResult::RawFeaturesItem> GetModelFeatureFGFeatureResult::getRawFeatures()const
|
||||
{
|
||||
return rawFeatures_;
|
||||
}
|
||||
|
||||
std::vector<GetModelFeatureFGFeatureResult::LookupFeaturesItem> GetModelFeatureFGFeatureResult::getLookupFeatures()const
|
||||
{
|
||||
return lookupFeatures_;
|
||||
}
|
||||
|
||||
46
paifeaturestore/src/model/GetModelFeatureFGInfoRequest.cc
Normal file
46
paifeaturestore/src/model/GetModelFeatureFGInfoRequest.cc
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetModelFeatureFGInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::GetModelFeatureFGInfoRequest;
|
||||
|
||||
GetModelFeatureFGInfoRequest::GetModelFeatureFGInfoRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/fginfo"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetModelFeatureFGInfoRequest::~GetModelFeatureFGInfoRequest() {}
|
||||
|
||||
std::string GetModelFeatureFGInfoRequest::getModelFeatureId() const {
|
||||
return modelFeatureId_;
|
||||
}
|
||||
|
||||
void GetModelFeatureFGInfoRequest::setModelFeatureId(const std::string &modelFeatureId) {
|
||||
modelFeatureId_ = modelFeatureId;
|
||||
setParameter(std::string("ModelFeatureId"), modelFeatureId);
|
||||
}
|
||||
|
||||
std::string GetModelFeatureFGInfoRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetModelFeatureFGInfoRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
51
paifeaturestore/src/model/GetModelFeatureFGInfoResult.cc
Normal file
51
paifeaturestore/src/model/GetModelFeatureFGInfoResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetModelFeatureFGInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
GetModelFeatureFGInfoResult::GetModelFeatureFGInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetModelFeatureFGInfoResult::GetModelFeatureFGInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetModelFeatureFGInfoResult::~GetModelFeatureFGInfoResult()
|
||||
{}
|
||||
|
||||
void GetModelFeatureFGInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Content"].isNull())
|
||||
content_ = value["Content"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetModelFeatureFGInfoResult::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
@@ -100,6 +100,8 @@ void GetModelFeatureResult::parse(const std::string &payload)
|
||||
trainingSetTable_ = value["TrainingSetTable"].asString();
|
||||
if(!value["TrainingSetFGTable"].isNull())
|
||||
trainingSetFGTable_ = value["TrainingSetFGTable"].asString();
|
||||
if(!value["ExportTrainingSetTableScript"].isNull())
|
||||
exportTrainingSetTableScript_ = value["ExportTrainingSetTableScript"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -118,31 +120,11 @@ std::string GetModelFeatureResult::getProjectId()const
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getLabelTableName()const
|
||||
{
|
||||
return labelTableName_;
|
||||
}
|
||||
|
||||
std::vector<GetModelFeatureResult::FeaturesItem> GetModelFeatureResult::getFeatures()const
|
||||
{
|
||||
return features_;
|
||||
}
|
||||
|
||||
GetModelFeatureResult::Relations GetModelFeatureResult::getRelations()const
|
||||
{
|
||||
return relations_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getLabelTableId()const
|
||||
{
|
||||
return labelTableId_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getGmtCreateTime()const
|
||||
{
|
||||
return gmtCreateTime_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getGmtModifiedTime()const
|
||||
{
|
||||
return gmtModifiedTime_;
|
||||
@@ -163,3 +145,28 @@ std::string GetModelFeatureResult::getTrainingSetTable()const
|
||||
return trainingSetTable_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getExportTrainingSetTableScript()const
|
||||
{
|
||||
return exportTrainingSetTableScript_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getLabelTableName()const
|
||||
{
|
||||
return labelTableName_;
|
||||
}
|
||||
|
||||
std::vector<GetModelFeatureResult::FeaturesItem> GetModelFeatureResult::getFeatures()const
|
||||
{
|
||||
return features_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getLabelTableId()const
|
||||
{
|
||||
return labelTableId_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getGmtCreateTime()const
|
||||
{
|
||||
return gmtCreateTime_;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ListModelFeatureAvailableFeaturesRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::ListModelFeatureAvailableFeaturesRequest;
|
||||
|
||||
ListModelFeatureAvailableFeaturesRequest::ListModelFeatureAvailableFeaturesRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/availablefeatures"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListModelFeatureAvailableFeaturesRequest::~ListModelFeatureAvailableFeaturesRequest() {}
|
||||
|
||||
std::string ListModelFeatureAvailableFeaturesRequest::getModelFeatureId() const {
|
||||
return modelFeatureId_;
|
||||
}
|
||||
|
||||
void ListModelFeatureAvailableFeaturesRequest::setModelFeatureId(const std::string &modelFeatureId) {
|
||||
modelFeatureId_ = modelFeatureId;
|
||||
setParameter(std::string("ModelFeatureId"), modelFeatureId);
|
||||
}
|
||||
|
||||
std::string ListModelFeatureAvailableFeaturesRequest::getFeatureName() const {
|
||||
return featureName_;
|
||||
}
|
||||
|
||||
void ListModelFeatureAvailableFeaturesRequest::setFeatureName(const std::string &featureName) {
|
||||
featureName_ = featureName;
|
||||
setParameter(std::string("FeatureName"), featureName);
|
||||
}
|
||||
|
||||
std::string ListModelFeatureAvailableFeaturesRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListModelFeatureAvailableFeaturesRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ListModelFeatureAvailableFeaturesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
ListModelFeatureAvailableFeaturesResult::ListModelFeatureAvailableFeaturesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListModelFeatureAvailableFeaturesResult::ListModelFeatureAvailableFeaturesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListModelFeatureAvailableFeaturesResult::~ListModelFeatureAvailableFeaturesResult()
|
||||
{}
|
||||
|
||||
void ListModelFeatureAvailableFeaturesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAvaliableFeaturesNode = value["AvaliableFeatures"]["AvailableFeatures"];
|
||||
for (auto valueAvaliableFeaturesAvailableFeatures : allAvaliableFeaturesNode)
|
||||
{
|
||||
AvailableFeatures avaliableFeaturesObject;
|
||||
if(!valueAvaliableFeaturesAvailableFeatures["Name"].isNull())
|
||||
avaliableFeaturesObject.name = valueAvaliableFeaturesAvailableFeatures["Name"].asString();
|
||||
if(!valueAvaliableFeaturesAvailableFeatures["Type"].isNull())
|
||||
avaliableFeaturesObject.type = valueAvaliableFeaturesAvailableFeatures["Type"].asString();
|
||||
if(!valueAvaliableFeaturesAvailableFeatures["SourceType"].isNull())
|
||||
avaliableFeaturesObject.sourceType = valueAvaliableFeaturesAvailableFeatures["SourceType"].asString();
|
||||
if(!valueAvaliableFeaturesAvailableFeatures["SourceName"].isNull())
|
||||
avaliableFeaturesObject.sourceName = valueAvaliableFeaturesAvailableFeatures["SourceName"].asString();
|
||||
avaliableFeatures_.push_back(avaliableFeaturesObject);
|
||||
}
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
long ListModelFeatureAvailableFeaturesResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string ListModelFeatureAvailableFeaturesResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
std::vector<ListModelFeatureAvailableFeaturesResult::AvailableFeatures> ListModelFeatureAvailableFeaturesResult::getAvaliableFeatures()const
|
||||
{
|
||||
return avaliableFeatures_;
|
||||
}
|
||||
|
||||
@@ -47,6 +47,8 @@ void ListProjectFeatureViewsResult::parse(const std::string &payload)
|
||||
featureViewsObject.name = valueFeatureViewsFeatureViewsItem["Name"].asString();
|
||||
if(!valueFeatureViewsFeatureViewsItem["FeatureViewId"].isNull())
|
||||
featureViewsObject.featureViewId = valueFeatureViewsFeatureViewsItem["FeatureViewId"].asString();
|
||||
if(!valueFeatureViewsFeatureViewsItem["Type"].isNull())
|
||||
featureViewsObject.type = valueFeatureViewsFeatureViewsItem["Type"].asString();
|
||||
auto allFeaturesNode = valueFeatureViewsFeatureViewsItem["Features"]["FeaturesItem"];
|
||||
for (auto valueFeatureViewsFeatureViewsItemFeaturesFeaturesItem : allFeaturesNode)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/UpdateModelFeatureFGFeatureRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::UpdateModelFeatureFGFeatureRequest;
|
||||
|
||||
UpdateModelFeatureFGFeatureRequest::UpdateModelFeatureFGFeatureRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/modelfeatures/[ModelFeatureId]/fgfeature"};
|
||||
setMethod(HttpRequest::Method::Put);
|
||||
}
|
||||
|
||||
UpdateModelFeatureFGFeatureRequest::~UpdateModelFeatureFGFeatureRequest() {}
|
||||
|
||||
std::string UpdateModelFeatureFGFeatureRequest::getModelFeatureId() const {
|
||||
return modelFeatureId_;
|
||||
}
|
||||
|
||||
void UpdateModelFeatureFGFeatureRequest::setModelFeatureId(const std::string &modelFeatureId) {
|
||||
modelFeatureId_ = modelFeatureId;
|
||||
setParameter(std::string("ModelFeatureId"), modelFeatureId);
|
||||
}
|
||||
|
||||
std::string UpdateModelFeatureFGFeatureRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
void UpdateModelFeatureFGFeatureRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setBodyParameter(std::string("body"), body);
|
||||
}
|
||||
|
||||
std::string UpdateModelFeatureFGFeatureRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void UpdateModelFeatureFGFeatureRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/UpdateModelFeatureFGFeatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
UpdateModelFeatureFGFeatureResult::UpdateModelFeatureFGFeatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpdateModelFeatureFGFeatureResult::UpdateModelFeatureFGFeatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpdateModelFeatureFGFeatureResult::~UpdateModelFeatureFGFeatureResult()
|
||||
{}
|
||||
|
||||
void UpdateModelFeatureFGFeatureResult::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 UpdateModelFeatureFGFeatureResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
55
paifeaturestore/src/model/UpdateModelFeatureFGInfoRequest.cc
Normal file
55
paifeaturestore/src/model/UpdateModelFeatureFGInfoRequest.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoRequest.h>
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
51
paifeaturestore/src/model/UpdateModelFeatureFGInfoResult.cc
Normal file
51
paifeaturestore/src/model/UpdateModelFeatureFGInfoResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user