Add LabelPriorityLevel in UpdateModelFeature API.
This commit is contained in:
@@ -21,8 +21,6 @@ set(paifeaturestore_public_header
|
||||
include/alibabacloud/paifeaturestore/PaiFeatureStoreExport.h )
|
||||
|
||||
set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h
|
||||
include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/CheckInstanceDatasourceResult.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateDatasourceRequest.h
|
||||
@@ -37,8 +35,6 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/CreateLabelTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateModelFeatureRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateModelFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateModelFeatureTrainingSetFGTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateProjectRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateProjectResult.h
|
||||
include/alibabacloud/paifeaturestore/model/CreateServiceIdentityRoleRequest.h
|
||||
@@ -55,8 +51,6 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/DeleteModelFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/DeleteProjectRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/DeleteProjectResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetFGTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ExportModelFeatureTrainingSetTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetDatasourceRequest.h
|
||||
@@ -81,12 +75,6 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/GetServiceIdentityRoleResult.h
|
||||
include/alibabacloud/paifeaturestore/model/GetTaskRequest.h
|
||||
@@ -113,10 +101,6 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeatureAvailableFeaturesResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeaturesRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListModelFeaturesResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectFeatureViewsResult.h
|
||||
include/alibabacloud/paifeaturestore/model/ListProjectsRequest.h
|
||||
@@ -135,19 +119,13 @@ set(paifeaturestore_public_header_model
|
||||
include/alibabacloud/paifeaturestore/model/UpdateModelFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGFeatureRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGFeatureResult.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateModelFeatureFGInfoResult.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateProjectRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/UpdateProjectResult.h
|
||||
include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h
|
||||
include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h
|
||||
include/alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h )
|
||||
include/alibabacloud/paifeaturestore/model/WriteFeatureViewTableResult.h )
|
||||
|
||||
set(paifeaturestore_src
|
||||
src/PaiFeatureStoreClient.cc
|
||||
src/model/ChangeProjectFeatureEntityHotIdVersionRequest.cc
|
||||
src/model/ChangeProjectFeatureEntityHotIdVersionResult.cc
|
||||
src/model/CheckInstanceDatasourceRequest.cc
|
||||
src/model/CheckInstanceDatasourceResult.cc
|
||||
src/model/CreateDatasourceRequest.cc
|
||||
@@ -162,8 +140,6 @@ set(paifeaturestore_src
|
||||
src/model/CreateLabelTableResult.cc
|
||||
src/model/CreateModelFeatureRequest.cc
|
||||
src/model/CreateModelFeatureResult.cc
|
||||
src/model/CreateModelFeatureTrainingSetFGTableRequest.cc
|
||||
src/model/CreateModelFeatureTrainingSetFGTableResult.cc
|
||||
src/model/CreateProjectRequest.cc
|
||||
src/model/CreateProjectResult.cc
|
||||
src/model/CreateServiceIdentityRoleRequest.cc
|
||||
@@ -180,8 +156,6 @@ set(paifeaturestore_src
|
||||
src/model/DeleteModelFeatureResult.cc
|
||||
src/model/DeleteProjectRequest.cc
|
||||
src/model/DeleteProjectResult.cc
|
||||
src/model/ExportModelFeatureTrainingSetFGTableRequest.cc
|
||||
src/model/ExportModelFeatureTrainingSetFGTableResult.cc
|
||||
src/model/ExportModelFeatureTrainingSetTableRequest.cc
|
||||
src/model/ExportModelFeatureTrainingSetTableResult.cc
|
||||
src/model/GetDatasourceRequest.cc
|
||||
@@ -206,12 +180,6 @@ set(paifeaturestore_src
|
||||
src/model/GetProjectResult.cc
|
||||
src/model/GetProjectFeatureEntityRequest.cc
|
||||
src/model/GetProjectFeatureEntityResult.cc
|
||||
src/model/GetProjectFeatureEntityHotIdsRequest.cc
|
||||
src/model/GetProjectFeatureEntityHotIdsResult.cc
|
||||
src/model/GetProjectFeatureViewRequest.cc
|
||||
src/model/GetProjectFeatureViewResult.cc
|
||||
src/model/GetProjectModelFeatureRequest.cc
|
||||
src/model/GetProjectModelFeatureResult.cc
|
||||
src/model/GetServiceIdentityRoleRequest.cc
|
||||
src/model/GetServiceIdentityRoleResult.cc
|
||||
src/model/GetTaskRequest.cc
|
||||
@@ -238,10 +206,6 @@ set(paifeaturestore_src
|
||||
src/model/ListModelFeatureAvailableFeaturesResult.cc
|
||||
src/model/ListModelFeaturesRequest.cc
|
||||
src/model/ListModelFeaturesResult.cc
|
||||
src/model/ListProjectFeatureViewOwnersRequest.cc
|
||||
src/model/ListProjectFeatureViewOwnersResult.cc
|
||||
src/model/ListProjectFeatureViewTagsRequest.cc
|
||||
src/model/ListProjectFeatureViewTagsResult.cc
|
||||
src/model/ListProjectFeatureViewsRequest.cc
|
||||
src/model/ListProjectFeatureViewsResult.cc
|
||||
src/model/ListProjectsRequest.cc
|
||||
@@ -260,14 +224,10 @@ set(paifeaturestore_src
|
||||
src/model/UpdateModelFeatureResult.cc
|
||||
src/model/UpdateModelFeatureFGFeatureRequest.cc
|
||||
src/model/UpdateModelFeatureFGFeatureResult.cc
|
||||
src/model/UpdateModelFeatureFGInfoRequest.cc
|
||||
src/model/UpdateModelFeatureFGInfoResult.cc
|
||||
src/model/UpdateProjectRequest.cc
|
||||
src/model/UpdateProjectResult.cc
|
||||
src/model/WriteFeatureViewTableRequest.cc
|
||||
src/model/WriteFeatureViewTableResult.cc
|
||||
src/model/WriteProjectFeatureEntityHotIdsRequest.cc
|
||||
src/model/WriteProjectFeatureEntityHotIdsResult.cc )
|
||||
src/model/WriteFeatureViewTableResult.cc )
|
||||
|
||||
add_library(paifeaturestore ${LIB_TYPE}
|
||||
${paifeaturestore_public_header}
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "PaiFeatureStoreExport.h"
|
||||
#include "model/ChangeProjectFeatureEntityHotIdVersionRequest.h"
|
||||
#include "model/ChangeProjectFeatureEntityHotIdVersionResult.h"
|
||||
#include "model/CheckInstanceDatasourceRequest.h"
|
||||
#include "model/CheckInstanceDatasourceResult.h"
|
||||
#include "model/CreateDatasourceRequest.h"
|
||||
@@ -38,8 +36,6 @@
|
||||
#include "model/CreateLabelTableResult.h"
|
||||
#include "model/CreateModelFeatureRequest.h"
|
||||
#include "model/CreateModelFeatureResult.h"
|
||||
#include "model/CreateModelFeatureTrainingSetFGTableRequest.h"
|
||||
#include "model/CreateModelFeatureTrainingSetFGTableResult.h"
|
||||
#include "model/CreateProjectRequest.h"
|
||||
#include "model/CreateProjectResult.h"
|
||||
#include "model/CreateServiceIdentityRoleRequest.h"
|
||||
@@ -56,8 +52,6 @@
|
||||
#include "model/DeleteModelFeatureResult.h"
|
||||
#include "model/DeleteProjectRequest.h"
|
||||
#include "model/DeleteProjectResult.h"
|
||||
#include "model/ExportModelFeatureTrainingSetFGTableRequest.h"
|
||||
#include "model/ExportModelFeatureTrainingSetFGTableResult.h"
|
||||
#include "model/ExportModelFeatureTrainingSetTableRequest.h"
|
||||
#include "model/ExportModelFeatureTrainingSetTableResult.h"
|
||||
#include "model/GetDatasourceRequest.h"
|
||||
@@ -82,12 +76,6 @@
|
||||
#include "model/GetProjectResult.h"
|
||||
#include "model/GetProjectFeatureEntityRequest.h"
|
||||
#include "model/GetProjectFeatureEntityResult.h"
|
||||
#include "model/GetProjectFeatureEntityHotIdsRequest.h"
|
||||
#include "model/GetProjectFeatureEntityHotIdsResult.h"
|
||||
#include "model/GetProjectFeatureViewRequest.h"
|
||||
#include "model/GetProjectFeatureViewResult.h"
|
||||
#include "model/GetProjectModelFeatureRequest.h"
|
||||
#include "model/GetProjectModelFeatureResult.h"
|
||||
#include "model/GetServiceIdentityRoleRequest.h"
|
||||
#include "model/GetServiceIdentityRoleResult.h"
|
||||
#include "model/GetTaskRequest.h"
|
||||
@@ -114,10 +102,6 @@
|
||||
#include "model/ListModelFeatureAvailableFeaturesResult.h"
|
||||
#include "model/ListModelFeaturesRequest.h"
|
||||
#include "model/ListModelFeaturesResult.h"
|
||||
#include "model/ListProjectFeatureViewOwnersRequest.h"
|
||||
#include "model/ListProjectFeatureViewOwnersResult.h"
|
||||
#include "model/ListProjectFeatureViewTagsRequest.h"
|
||||
#include "model/ListProjectFeatureViewTagsResult.h"
|
||||
#include "model/ListProjectFeatureViewsRequest.h"
|
||||
#include "model/ListProjectFeatureViewsResult.h"
|
||||
#include "model/ListProjectsRequest.h"
|
||||
@@ -136,14 +120,10 @@
|
||||
#include "model/UpdateModelFeatureResult.h"
|
||||
#include "model/UpdateModelFeatureFGFeatureRequest.h"
|
||||
#include "model/UpdateModelFeatureFGFeatureResult.h"
|
||||
#include "model/UpdateModelFeatureFGInfoRequest.h"
|
||||
#include "model/UpdateModelFeatureFGInfoResult.h"
|
||||
#include "model/UpdateProjectRequest.h"
|
||||
#include "model/UpdateProjectResult.h"
|
||||
#include "model/WriteFeatureViewTableRequest.h"
|
||||
#include "model/WriteFeatureViewTableResult.h"
|
||||
#include "model/WriteProjectFeatureEntityHotIdsRequest.h"
|
||||
#include "model/WriteProjectFeatureEntityHotIdsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -153,9 +133,6 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT PaiFeatureStoreClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ChangeProjectFeatureEntityHotIdVersionResult> ChangeProjectFeatureEntityHotIdVersionOutcome;
|
||||
typedef std::future<ChangeProjectFeatureEntityHotIdVersionOutcome> ChangeProjectFeatureEntityHotIdVersionOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ChangeProjectFeatureEntityHotIdVersionRequest&, const ChangeProjectFeatureEntityHotIdVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeProjectFeatureEntityHotIdVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckInstanceDatasourceResult> CheckInstanceDatasourceOutcome;
|
||||
typedef std::future<CheckInstanceDatasourceOutcome> CheckInstanceDatasourceOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::CheckInstanceDatasourceRequest&, const CheckInstanceDatasourceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckInstanceDatasourceAsyncHandler;
|
||||
@@ -177,9 +154,6 @@ 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;
|
||||
@@ -204,9 +178,6 @@ 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;
|
||||
@@ -243,15 +214,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetProjectFeatureEntityResult> GetProjectFeatureEntityOutcome;
|
||||
typedef std::future<GetProjectFeatureEntityOutcome> GetProjectFeatureEntityOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetProjectFeatureEntityRequest&, const GetProjectFeatureEntityOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectFeatureEntityAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectFeatureEntityHotIdsResult> GetProjectFeatureEntityHotIdsOutcome;
|
||||
typedef std::future<GetProjectFeatureEntityHotIdsOutcome> GetProjectFeatureEntityHotIdsOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetProjectFeatureEntityHotIdsRequest&, const GetProjectFeatureEntityHotIdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectFeatureEntityHotIdsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectFeatureViewResult> GetProjectFeatureViewOutcome;
|
||||
typedef std::future<GetProjectFeatureViewOutcome> GetProjectFeatureViewOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetProjectFeatureViewRequest&, const GetProjectFeatureViewOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectFeatureViewAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetProjectModelFeatureResult> GetProjectModelFeatureOutcome;
|
||||
typedef std::future<GetProjectModelFeatureOutcome> GetProjectModelFeatureOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetProjectModelFeatureRequest&, const GetProjectModelFeatureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetProjectModelFeatureAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceIdentityRoleResult> GetServiceIdentityRoleOutcome;
|
||||
typedef std::future<GetServiceIdentityRoleOutcome> GetServiceIdentityRoleOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::GetServiceIdentityRoleRequest&, const GetServiceIdentityRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceIdentityRoleAsyncHandler;
|
||||
@@ -291,12 +253,6 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListProjectFeatureViewOwnersResult> ListProjectFeatureViewOwnersOutcome;
|
||||
typedef std::future<ListProjectFeatureViewOwnersOutcome> ListProjectFeatureViewOwnersOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ListProjectFeatureViewOwnersRequest&, const ListProjectFeatureViewOwnersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectFeatureViewOwnersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectFeatureViewTagsResult> ListProjectFeatureViewTagsOutcome;
|
||||
typedef std::future<ListProjectFeatureViewTagsOutcome> ListProjectFeatureViewTagsOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ListProjectFeatureViewTagsRequest&, const ListProjectFeatureViewTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectFeatureViewTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListProjectFeatureViewsResult> ListProjectFeatureViewsOutcome;
|
||||
typedef std::future<ListProjectFeatureViewsOutcome> ListProjectFeatureViewsOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::ListProjectFeatureViewsRequest&, const ListProjectFeatureViewsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListProjectFeatureViewsAsyncHandler;
|
||||
@@ -324,26 +280,17 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::WriteFeatureViewTableResult> WriteFeatureViewTableOutcome;
|
||||
typedef std::future<WriteFeatureViewTableOutcome> WriteFeatureViewTableOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::WriteFeatureViewTableRequest&, const WriteFeatureViewTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WriteFeatureViewTableAsyncHandler;
|
||||
typedef Outcome<Error, Model::WriteProjectFeatureEntityHotIdsResult> WriteProjectFeatureEntityHotIdsOutcome;
|
||||
typedef std::future<WriteProjectFeatureEntityHotIdsOutcome> WriteProjectFeatureEntityHotIdsOutcomeCallable;
|
||||
typedef std::function<void(const PaiFeatureStoreClient*, const Model::WriteProjectFeatureEntityHotIdsRequest&, const WriteProjectFeatureEntityHotIdsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> WriteProjectFeatureEntityHotIdsAsyncHandler;
|
||||
|
||||
PaiFeatureStoreClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
PaiFeatureStoreClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
PaiFeatureStoreClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~PaiFeatureStoreClient();
|
||||
ChangeProjectFeatureEntityHotIdVersionOutcome changeProjectFeatureEntityHotIdVersion(const Model::ChangeProjectFeatureEntityHotIdVersionRequest &request)const;
|
||||
void changeProjectFeatureEntityHotIdVersionAsync(const Model::ChangeProjectFeatureEntityHotIdVersionRequest& request, const ChangeProjectFeatureEntityHotIdVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeProjectFeatureEntityHotIdVersionOutcomeCallable changeProjectFeatureEntityHotIdVersionCallable(const Model::ChangeProjectFeatureEntityHotIdVersionRequest& request) const;
|
||||
CheckInstanceDatasourceOutcome checkInstanceDatasource(const Model::CheckInstanceDatasourceRequest &request)const;
|
||||
void checkInstanceDatasourceAsync(const Model::CheckInstanceDatasourceRequest& request, const CheckInstanceDatasourceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckInstanceDatasourceOutcomeCallable checkInstanceDatasourceCallable(const Model::CheckInstanceDatasourceRequest& request) const;
|
||||
@@ -365,9 +312,6 @@ namespace AlibabaCloud
|
||||
CreateModelFeatureOutcome createModelFeature(const Model::CreateModelFeatureRequest &request)const;
|
||||
void createModelFeatureAsync(const Model::CreateModelFeatureRequest& request, const CreateModelFeatureAsyncHandler& handler, const std::shared_ptr<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;
|
||||
@@ -392,9 +336,6 @@ namespace AlibabaCloud
|
||||
DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const;
|
||||
void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr<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;
|
||||
@@ -431,15 +372,6 @@ namespace AlibabaCloud
|
||||
GetProjectFeatureEntityOutcome getProjectFeatureEntity(const Model::GetProjectFeatureEntityRequest &request)const;
|
||||
void getProjectFeatureEntityAsync(const Model::GetProjectFeatureEntityRequest& request, const GetProjectFeatureEntityAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectFeatureEntityOutcomeCallable getProjectFeatureEntityCallable(const Model::GetProjectFeatureEntityRequest& request) const;
|
||||
GetProjectFeatureEntityHotIdsOutcome getProjectFeatureEntityHotIds(const Model::GetProjectFeatureEntityHotIdsRequest &request)const;
|
||||
void getProjectFeatureEntityHotIdsAsync(const Model::GetProjectFeatureEntityHotIdsRequest& request, const GetProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectFeatureEntityHotIdsOutcomeCallable getProjectFeatureEntityHotIdsCallable(const Model::GetProjectFeatureEntityHotIdsRequest& request) const;
|
||||
GetProjectFeatureViewOutcome getProjectFeatureView(const Model::GetProjectFeatureViewRequest &request)const;
|
||||
void getProjectFeatureViewAsync(const Model::GetProjectFeatureViewRequest& request, const GetProjectFeatureViewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectFeatureViewOutcomeCallable getProjectFeatureViewCallable(const Model::GetProjectFeatureViewRequest& request) const;
|
||||
GetProjectModelFeatureOutcome getProjectModelFeature(const Model::GetProjectModelFeatureRequest &request)const;
|
||||
void getProjectModelFeatureAsync(const Model::GetProjectModelFeatureRequest& request, const GetProjectModelFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetProjectModelFeatureOutcomeCallable getProjectModelFeatureCallable(const Model::GetProjectModelFeatureRequest& request) const;
|
||||
GetServiceIdentityRoleOutcome getServiceIdentityRole(const Model::GetServiceIdentityRoleRequest &request)const;
|
||||
void getServiceIdentityRoleAsync(const Model::GetServiceIdentityRoleRequest& request, const GetServiceIdentityRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceIdentityRoleOutcomeCallable getServiceIdentityRoleCallable(const Model::GetServiceIdentityRoleRequest& request) const;
|
||||
@@ -479,12 +411,6 @@ namespace AlibabaCloud
|
||||
ListModelFeaturesOutcome listModelFeatures(const Model::ListModelFeaturesRequest &request)const;
|
||||
void listModelFeaturesAsync(const Model::ListModelFeaturesRequest& request, const ListModelFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListModelFeaturesOutcomeCallable listModelFeaturesCallable(const Model::ListModelFeaturesRequest& request) const;
|
||||
ListProjectFeatureViewOwnersOutcome listProjectFeatureViewOwners(const Model::ListProjectFeatureViewOwnersRequest &request)const;
|
||||
void listProjectFeatureViewOwnersAsync(const Model::ListProjectFeatureViewOwnersRequest& request, const ListProjectFeatureViewOwnersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectFeatureViewOwnersOutcomeCallable listProjectFeatureViewOwnersCallable(const Model::ListProjectFeatureViewOwnersRequest& request) const;
|
||||
ListProjectFeatureViewTagsOutcome listProjectFeatureViewTags(const Model::ListProjectFeatureViewTagsRequest &request)const;
|
||||
void listProjectFeatureViewTagsAsync(const Model::ListProjectFeatureViewTagsRequest& request, const ListProjectFeatureViewTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectFeatureViewTagsOutcomeCallable listProjectFeatureViewTagsCallable(const Model::ListProjectFeatureViewTagsRequest& request) const;
|
||||
ListProjectFeatureViewsOutcome listProjectFeatureViews(const Model::ListProjectFeatureViewsRequest &request)const;
|
||||
void listProjectFeatureViewsAsync(const Model::ListProjectFeatureViewsRequest& request, const ListProjectFeatureViewsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListProjectFeatureViewsOutcomeCallable listProjectFeatureViewsCallable(const Model::ListProjectFeatureViewsRequest& request) const;
|
||||
@@ -512,18 +438,12 @@ namespace AlibabaCloud
|
||||
UpdateModelFeatureFGFeatureOutcome updateModelFeatureFGFeature(const Model::UpdateModelFeatureFGFeatureRequest &request)const;
|
||||
void updateModelFeatureFGFeatureAsync(const Model::UpdateModelFeatureFGFeatureRequest& request, const UpdateModelFeatureFGFeatureAsyncHandler& handler, const std::shared_ptr<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;
|
||||
WriteFeatureViewTableOutcome writeFeatureViewTable(const Model::WriteFeatureViewTableRequest &request)const;
|
||||
void writeFeatureViewTableAsync(const Model::WriteFeatureViewTableRequest& request, const WriteFeatureViewTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WriteFeatureViewTableOutcomeCallable writeFeatureViewTableCallable(const Model::WriteFeatureViewTableRequest& request) const;
|
||||
WriteProjectFeatureEntityHotIdsOutcome writeProjectFeatureEntityHotIds(const Model::WriteProjectFeatureEntityHotIdsRequest &request)const;
|
||||
void writeProjectFeatureEntityHotIdsAsync(const Model::WriteProjectFeatureEntityHotIdsRequest& request, const WriteProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
WriteProjectFeatureEntityHotIdsOutcomeCallable writeProjectFeatureEntityHotIdsCallable(const Model::WriteProjectFeatureEntityHotIdsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONREQUEST_H_
|
||||
|
||||
#include <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 ChangeProjectFeatureEntityHotIdVersionRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ChangeProjectFeatureEntityHotIdVersionRequest();
|
||||
~ChangeProjectFeatureEntityHotIdVersionRequest();
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getFeatureEntityName() const;
|
||||
void setFeatureEntityName(const std::string &featureEntityName);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
|
||||
private:
|
||||
std::string body_;
|
||||
std::string instanceId_;
|
||||
std::string featureEntityName_;
|
||||
std::string projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONRESULT_H_
|
||||
|
||||
#include <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 ChangeProjectFeatureEntityHotIdVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ChangeProjectFeatureEntityHotIdVersionResult();
|
||||
explicit ChangeProjectFeatureEntityHotIdVersionResult(const std::string &payload);
|
||||
~ChangeProjectFeatureEntityHotIdVersionResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_CHANGEPROJECTFEATUREENTITYHOTIDVERSIONRESULT_H_
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
|
||||
#include <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_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_CREATEMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
|
||||
#include <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_
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLEREQUEST_H_
|
||||
|
||||
#include <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_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_EXPORTMODELFEATURETRAININGSETFGTABLERESULT_H_
|
||||
|
||||
#include <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_
|
||||
@@ -32,6 +32,10 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_PAIFEATURESTORE_EXPORT GetInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FeatureDBInstanceInfo
|
||||
{
|
||||
std::string status;
|
||||
};
|
||||
|
||||
|
||||
GetInstanceResult();
|
||||
@@ -41,6 +45,7 @@ namespace AlibabaCloud
|
||||
double getProgress()const;
|
||||
std::string getType()const;
|
||||
std::string getMessage()const;
|
||||
FeatureDBInstanceInfo getFeatureDBInstanceInfo()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getGmtCreateTime()const;
|
||||
std::string getGmtModifiedTime()const;
|
||||
@@ -52,6 +57,7 @@ namespace AlibabaCloud
|
||||
double progress_;
|
||||
std::string type_;
|
||||
std::string message_;
|
||||
FeatureDBInstanceInfo featureDBInstanceInfo_;
|
||||
std::string regionId_;
|
||||
std::string gmtCreateTime_;
|
||||
std::string gmtModifiedTime_;
|
||||
|
||||
@@ -70,6 +70,7 @@ namespace AlibabaCloud
|
||||
std::string getTrainingSetFGTable()const;
|
||||
std::string getName()const;
|
||||
std::string getTrainingSetTable()const;
|
||||
long getLabelPriorityLevel()const;
|
||||
std::string getExportTrainingSetTableScript()const;
|
||||
std::string getLabelTableName()const;
|
||||
std::vector<FeaturesItem> getFeatures()const;
|
||||
@@ -87,6 +88,7 @@ namespace AlibabaCloud
|
||||
std::string trainingSetFGTable_;
|
||||
std::string name_;
|
||||
std::string trainingSetTable_;
|
||||
long labelPriorityLevel_;
|
||||
std::string exportTrainingSetTableScript_;
|
||||
std::string labelTableName_;
|
||||
std::vector<FeaturesItem> features_;
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSREQUEST_H_
|
||||
|
||||
#include <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 GetProjectFeatureEntityHotIdsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetProjectFeatureEntityHotIdsRequest();
|
||||
~GetProjectFeatureEntityHotIdsRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getFeatureEntityName() const;
|
||||
void setFeatureEntityName(const std::string &featureEntityName);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
std::string getNextSeqNumber() const;
|
||||
void setNextSeqNumber(const std::string &nextSeqNumber);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string featureEntityName_;
|
||||
std::string projectId_;
|
||||
std::string nextSeqNumber_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSREQUEST_H_
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSRESULT_H_
|
||||
|
||||
#include <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 GetProjectFeatureEntityHotIdsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetProjectFeatureEntityHotIdsResult();
|
||||
explicit GetProjectFeatureEntityHotIdsResult(const std::string &payload);
|
||||
~GetProjectFeatureEntityHotIdsResult();
|
||||
std::string getNextSeqNumber()const;
|
||||
std::string getHotIds()const;
|
||||
int getCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextSeqNumber_;
|
||||
std::string hotIds_;
|
||||
int count_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREENTITYHOTIDSRESULT_H_
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWREQUEST_H_
|
||||
|
||||
#include <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 GetProjectFeatureViewRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetProjectFeatureViewRequest();
|
||||
~GetProjectFeatureViewRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getFeatureViewName() const;
|
||||
void setFeatureViewName(const std::string &featureViewName);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string featureViewName_;
|
||||
std::string projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWREQUEST_H_
|
||||
@@ -1,93 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWRESULT_H_
|
||||
|
||||
#include <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 GetProjectFeatureViewResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FieldsItem
|
||||
{
|
||||
std::string type;
|
||||
std::vector<std::string> attributes;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetProjectFeatureViewResult();
|
||||
explicit GetProjectFeatureViewResult(const std::string &payload);
|
||||
~GetProjectFeatureViewResult();
|
||||
std::string getFeatureEntityName()const;
|
||||
std::string getOwner()const;
|
||||
std::string getFeatureViewId()const;
|
||||
std::string getProjectName()const;
|
||||
std::string getConfig()const;
|
||||
std::string getWriteMethod()const;
|
||||
bool getSyncOnlineTable()const;
|
||||
std::string getProjectId()const;
|
||||
std::string getRegisterTable()const;
|
||||
int getTTL()const;
|
||||
std::string getGmtSyncTime()const;
|
||||
std::string getName()const;
|
||||
std::string getJoinId()const;
|
||||
std::string getLastSyncConfig()const;
|
||||
std::string getType()const;
|
||||
std::vector<FieldsItem> getFields()const;
|
||||
std::string getFeatureEntityId()const;
|
||||
std::vector<std::string> getTags()const;
|
||||
std::string getRegisterDatasourceId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string featureEntityName_;
|
||||
std::string owner_;
|
||||
std::string featureViewId_;
|
||||
std::string projectName_;
|
||||
std::string config_;
|
||||
std::string writeMethod_;
|
||||
bool syncOnlineTable_;
|
||||
std::string projectId_;
|
||||
std::string registerTable_;
|
||||
int tTL_;
|
||||
std::string gmtSyncTime_;
|
||||
std::string name_;
|
||||
std::string joinId_;
|
||||
std::string lastSyncConfig_;
|
||||
std::string type_;
|
||||
std::vector<FieldsItem> fields_;
|
||||
std::string featureEntityId_;
|
||||
std::vector<std::string> tags_;
|
||||
std::string registerDatasourceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTFEATUREVIEWRESULT_H_
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATUREREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATUREREQUEST_H_
|
||||
|
||||
#include <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 GetProjectModelFeatureRequest : public RoaServiceRequest {
|
||||
public:
|
||||
GetProjectModelFeatureRequest();
|
||||
~GetProjectModelFeatureRequest();
|
||||
std::string getModelFeatureName() const;
|
||||
void setModelFeatureName(const std::string &modelFeatureName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
|
||||
private:
|
||||
std::string modelFeatureName_;
|
||||
std::string instanceId_;
|
||||
std::string projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATUREREQUEST_H_
|
||||
@@ -1,85 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATURERESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATURERESULT_H_
|
||||
|
||||
#include <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 GetProjectModelFeatureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct FeaturesItem
|
||||
{
|
||||
std::string type;
|
||||
std::string featureViewId;
|
||||
std::string aliasName;
|
||||
std::string featureViewName;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetProjectModelFeatureResult();
|
||||
explicit GetProjectModelFeatureResult(const std::string &payload);
|
||||
~GetProjectModelFeatureResult();
|
||||
std::string getOwner()const;
|
||||
std::string getProjectName()const;
|
||||
std::string getLabelDatasourceTable()const;
|
||||
std::string getProjectId()const;
|
||||
std::string getLabelDatasourceId()const;
|
||||
std::string getModelFeatureId()const;
|
||||
std::string getTrainingSetFGTable()const;
|
||||
std::string getGmtModifiedTime()const;
|
||||
std::string getName()const;
|
||||
std::string getTrainingSetTable()const;
|
||||
std::string getLabelEventTime()const;
|
||||
std::vector<FeaturesItem> getFeatures()const;
|
||||
std::string getLabelTableId()const;
|
||||
std::string getGmtCreateTime()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string owner_;
|
||||
std::string projectName_;
|
||||
std::string labelDatasourceTable_;
|
||||
std::string projectId_;
|
||||
std::string labelDatasourceId_;
|
||||
std::string modelFeatureId_;
|
||||
std::string trainingSetFGTable_;
|
||||
std::string gmtModifiedTime_;
|
||||
std::string name_;
|
||||
std::string trainingSetTable_;
|
||||
std::string labelEventTime_;
|
||||
std::vector<FeaturesItem> features_;
|
||||
std::string labelTableId_;
|
||||
std::string gmtCreateTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_GETPROJECTMODELFEATURERESULT_H_
|
||||
@@ -34,9 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct InstancesItem
|
||||
{
|
||||
struct FeatureDBInstanceInfo
|
||||
{
|
||||
std::string status;
|
||||
};
|
||||
std::string status;
|
||||
std::string type;
|
||||
std::string instanceId;
|
||||
FeatureDBInstanceInfo featureDBInstanceInfo;
|
||||
std::string regionId;
|
||||
std::string gmtCreateTime;
|
||||
std::string gmtModifiedTime;
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSREQUEST_H_
|
||||
|
||||
#include <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 ListProjectFeatureViewOwnersRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListProjectFeatureViewOwnersRequest();
|
||||
~ListProjectFeatureViewOwnersRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSREQUEST_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSRESULT_H_
|
||||
|
||||
#include <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 ListProjectFeatureViewOwnersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListProjectFeatureViewOwnersResult();
|
||||
explicit ListProjectFeatureViewOwnersResult(const std::string &payload);
|
||||
~ListProjectFeatureViewOwnersResult();
|
||||
std::vector<std::string> getOwners()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> owners_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWOWNERSRESULT_H_
|
||||
@@ -1,45 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSREQUEST_H_
|
||||
|
||||
#include <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 ListProjectFeatureViewTagsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
ListProjectFeatureViewTagsRequest();
|
||||
~ListProjectFeatureViewTagsRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSREQUEST_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSRESULT_H_
|
||||
|
||||
#include <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 ListProjectFeatureViewTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ListProjectFeatureViewTagsResult();
|
||||
explicit ListProjectFeatureViewTagsResult(const std::string &payload);
|
||||
~ListProjectFeatureViewTagsResult();
|
||||
std::vector<std::string> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_LISTPROJECTFEATUREVIEWTAGSRESULT_H_
|
||||
@@ -1,48 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFOREQUEST_H_
|
||||
|
||||
#include <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_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_UPDATEMODELFEATUREFGINFORESULT_H_
|
||||
|
||||
#include <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_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSREQUEST_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSREQUEST_H_
|
||||
|
||||
#include <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 WriteProjectFeatureEntityHotIdsRequest : public RoaServiceRequest {
|
||||
public:
|
||||
WriteProjectFeatureEntityHotIdsRequest();
|
||||
~WriteProjectFeatureEntityHotIdsRequest();
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getFeatureEntityName() const;
|
||||
void setFeatureEntityName(const std::string &featureEntityName);
|
||||
std::string getProjectId() const;
|
||||
void setProjectId(const std::string &projectId);
|
||||
|
||||
private:
|
||||
std::string body_;
|
||||
std::string instanceId_;
|
||||
std::string featureEntityName_;
|
||||
std::string projectId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace PaiFeatureStore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSRESULT_H_
|
||||
#define ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSRESULT_H_
|
||||
|
||||
#include <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 WriteProjectFeatureEntityHotIdsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
WriteProjectFeatureEntityHotIdsResult();
|
||||
explicit WriteProjectFeatureEntityHotIdsResult(const std::string &payload);
|
||||
~WriteProjectFeatureEntityHotIdsResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PAIFEATURESTORE_MODEL_WRITEPROJECTFEATUREENTITYHOTIDSRESULT_H_
|
||||
@@ -51,42 +51,6 @@ PaiFeatureStoreClient::PaiFeatureStoreClient(const std::string & accessKeyId, co
|
||||
PaiFeatureStoreClient::~PaiFeatureStoreClient()
|
||||
{}
|
||||
|
||||
PaiFeatureStoreClient::ChangeProjectFeatureEntityHotIdVersionOutcome PaiFeatureStoreClient::changeProjectFeatureEntityHotIdVersion(const ChangeProjectFeatureEntityHotIdVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ChangeProjectFeatureEntityHotIdVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ChangeProjectFeatureEntityHotIdVersionOutcome(ChangeProjectFeatureEntityHotIdVersionResult(outcome.result()));
|
||||
else
|
||||
return ChangeProjectFeatureEntityHotIdVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::changeProjectFeatureEntityHotIdVersionAsync(const ChangeProjectFeatureEntityHotIdVersionRequest& request, const ChangeProjectFeatureEntityHotIdVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, changeProjectFeatureEntityHotIdVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ChangeProjectFeatureEntityHotIdVersionOutcomeCallable PaiFeatureStoreClient::changeProjectFeatureEntityHotIdVersionCallable(const ChangeProjectFeatureEntityHotIdVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ChangeProjectFeatureEntityHotIdVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->changeProjectFeatureEntityHotIdVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::CheckInstanceDatasourceOutcome PaiFeatureStoreClient::checkInstanceDatasource(const CheckInstanceDatasourceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,42 +303,6 @@ PaiFeatureStoreClient::CreateModelFeatureOutcomeCallable PaiFeatureStoreClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::CreateModelFeatureTrainingSetFGTableOutcome PaiFeatureStoreClient::createModelFeatureTrainingSetFGTable(const CreateModelFeatureTrainingSetFGTableRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateModelFeatureTrainingSetFGTableOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateModelFeatureTrainingSetFGTableOutcome(CreateModelFeatureTrainingSetFGTableResult(outcome.result()));
|
||||
else
|
||||
return CreateModelFeatureTrainingSetFGTableOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::createModelFeatureTrainingSetFGTableAsync(const CreateModelFeatureTrainingSetFGTableRequest& request, const CreateModelFeatureTrainingSetFGTableAsyncHandler& handler, const std::shared_ptr<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();
|
||||
@@ -663,42 +591,6 @@ PaiFeatureStoreClient::DeleteProjectOutcomeCallable PaiFeatureStoreClient::delet
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ExportModelFeatureTrainingSetFGTableOutcome PaiFeatureStoreClient::exportModelFeatureTrainingSetFGTable(const ExportModelFeatureTrainingSetFGTableRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ExportModelFeatureTrainingSetFGTableOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ExportModelFeatureTrainingSetFGTableOutcome(ExportModelFeatureTrainingSetFGTableResult(outcome.result()));
|
||||
else
|
||||
return ExportModelFeatureTrainingSetFGTableOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::exportModelFeatureTrainingSetFGTableAsync(const ExportModelFeatureTrainingSetFGTableRequest& request, const ExportModelFeatureTrainingSetFGTableAsyncHandler& handler, const std::shared_ptr<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();
|
||||
@@ -1131,114 +1023,6 @@ PaiFeatureStoreClient::GetProjectFeatureEntityOutcomeCallable PaiFeatureStoreCli
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectFeatureEntityHotIdsOutcome PaiFeatureStoreClient::getProjectFeatureEntityHotIds(const GetProjectFeatureEntityHotIdsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetProjectFeatureEntityHotIdsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetProjectFeatureEntityHotIdsOutcome(GetProjectFeatureEntityHotIdsResult(outcome.result()));
|
||||
else
|
||||
return GetProjectFeatureEntityHotIdsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::getProjectFeatureEntityHotIdsAsync(const GetProjectFeatureEntityHotIdsRequest& request, const GetProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getProjectFeatureEntityHotIds(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectFeatureEntityHotIdsOutcomeCallable PaiFeatureStoreClient::getProjectFeatureEntityHotIdsCallable(const GetProjectFeatureEntityHotIdsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetProjectFeatureEntityHotIdsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getProjectFeatureEntityHotIds(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectFeatureViewOutcome PaiFeatureStoreClient::getProjectFeatureView(const GetProjectFeatureViewRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetProjectFeatureViewOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetProjectFeatureViewOutcome(GetProjectFeatureViewResult(outcome.result()));
|
||||
else
|
||||
return GetProjectFeatureViewOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::getProjectFeatureViewAsync(const GetProjectFeatureViewRequest& request, const GetProjectFeatureViewAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getProjectFeatureView(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectFeatureViewOutcomeCallable PaiFeatureStoreClient::getProjectFeatureViewCallable(const GetProjectFeatureViewRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetProjectFeatureViewOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getProjectFeatureView(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectModelFeatureOutcome PaiFeatureStoreClient::getProjectModelFeature(const GetProjectModelFeatureRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetProjectModelFeatureOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetProjectModelFeatureOutcome(GetProjectModelFeatureResult(outcome.result()));
|
||||
else
|
||||
return GetProjectModelFeatureOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::getProjectModelFeatureAsync(const GetProjectModelFeatureRequest& request, const GetProjectModelFeatureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getProjectModelFeature(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetProjectModelFeatureOutcomeCallable PaiFeatureStoreClient::getProjectModelFeatureCallable(const GetProjectModelFeatureRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetProjectModelFeatureOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getProjectModelFeature(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::GetServiceIdentityRoleOutcome PaiFeatureStoreClient::getServiceIdentityRole(const GetServiceIdentityRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1707,78 +1491,6 @@ PaiFeatureStoreClient::ListModelFeaturesOutcomeCallable PaiFeatureStoreClient::l
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListProjectFeatureViewOwnersOutcome PaiFeatureStoreClient::listProjectFeatureViewOwners(const ListProjectFeatureViewOwnersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListProjectFeatureViewOwnersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListProjectFeatureViewOwnersOutcome(ListProjectFeatureViewOwnersResult(outcome.result()));
|
||||
else
|
||||
return ListProjectFeatureViewOwnersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::listProjectFeatureViewOwnersAsync(const ListProjectFeatureViewOwnersRequest& request, const ListProjectFeatureViewOwnersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listProjectFeatureViewOwners(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListProjectFeatureViewOwnersOutcomeCallable PaiFeatureStoreClient::listProjectFeatureViewOwnersCallable(const ListProjectFeatureViewOwnersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListProjectFeatureViewOwnersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listProjectFeatureViewOwners(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListProjectFeatureViewTagsOutcome PaiFeatureStoreClient::listProjectFeatureViewTags(const ListProjectFeatureViewTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListProjectFeatureViewTagsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListProjectFeatureViewTagsOutcome(ListProjectFeatureViewTagsResult(outcome.result()));
|
||||
else
|
||||
return ListProjectFeatureViewTagsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::listProjectFeatureViewTagsAsync(const ListProjectFeatureViewTagsRequest& request, const ListProjectFeatureViewTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listProjectFeatureViewTags(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListProjectFeatureViewTagsOutcomeCallable PaiFeatureStoreClient::listProjectFeatureViewTagsCallable(const ListProjectFeatureViewTagsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListProjectFeatureViewTagsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listProjectFeatureViewTags(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::ListProjectFeatureViewsOutcome PaiFeatureStoreClient::listProjectFeatureViews(const ListProjectFeatureViewsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2103,42 +1815,6 @@ PaiFeatureStoreClient::UpdateModelFeatureFGFeatureOutcomeCallable PaiFeatureStor
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::UpdateModelFeatureFGInfoOutcome PaiFeatureStoreClient::updateModelFeatureFGInfo(const UpdateModelFeatureFGInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateModelFeatureFGInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateModelFeatureFGInfoOutcome(UpdateModelFeatureFGInfoResult(outcome.result()));
|
||||
else
|
||||
return UpdateModelFeatureFGInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::updateModelFeatureFGInfoAsync(const UpdateModelFeatureFGInfoRequest& request, const UpdateModelFeatureFGInfoAsyncHandler& handler, const std::shared_ptr<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();
|
||||
@@ -2211,39 +1887,3 @@ PaiFeatureStoreClient::WriteFeatureViewTableOutcomeCallable PaiFeatureStoreClien
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::WriteProjectFeatureEntityHotIdsOutcome PaiFeatureStoreClient::writeProjectFeatureEntityHotIds(const WriteProjectFeatureEntityHotIdsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return WriteProjectFeatureEntityHotIdsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return WriteProjectFeatureEntityHotIdsOutcome(WriteProjectFeatureEntityHotIdsResult(outcome.result()));
|
||||
else
|
||||
return WriteProjectFeatureEntityHotIdsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PaiFeatureStoreClient::writeProjectFeatureEntityHotIdsAsync(const WriteProjectFeatureEntityHotIdsRequest& request, const WriteProjectFeatureEntityHotIdsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, writeProjectFeatureEntityHotIds(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PaiFeatureStoreClient::WriteProjectFeatureEntityHotIdsOutcomeCallable PaiFeatureStoreClient::writeProjectFeatureEntityHotIdsCallable(const WriteProjectFeatureEntityHotIdsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<WriteProjectFeatureEntityHotIdsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->writeProjectFeatureEntityHotIds(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::ChangeProjectFeatureEntityHotIdVersionRequest;
|
||||
|
||||
ChangeProjectFeatureEntityHotIdVersionRequest::ChangeProjectFeatureEntityHotIdVersionRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/action/changehotidversion"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeProjectFeatureEntityHotIdVersionRequest::~ChangeProjectFeatureEntityHotIdVersionRequest() {}
|
||||
|
||||
std::string ChangeProjectFeatureEntityHotIdVersionRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
void ChangeProjectFeatureEntityHotIdVersionRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setBodyParameter(std::string("body"), body);
|
||||
}
|
||||
|
||||
std::string ChangeProjectFeatureEntityHotIdVersionRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ChangeProjectFeatureEntityHotIdVersionRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string ChangeProjectFeatureEntityHotIdVersionRequest::getFeatureEntityName() const {
|
||||
return featureEntityName_;
|
||||
}
|
||||
|
||||
void ChangeProjectFeatureEntityHotIdVersionRequest::setFeatureEntityName(const std::string &featureEntityName) {
|
||||
featureEntityName_ = featureEntityName;
|
||||
setParameter(std::string("FeatureEntityName"), featureEntityName);
|
||||
}
|
||||
|
||||
std::string ChangeProjectFeatureEntityHotIdVersionRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ChangeProjectFeatureEntityHotIdVersionRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ChangeProjectFeatureEntityHotIdVersionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
ChangeProjectFeatureEntityHotIdVersionResult::ChangeProjectFeatureEntityHotIdVersionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ChangeProjectFeatureEntityHotIdVersionResult::ChangeProjectFeatureEntityHotIdVersionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ChangeProjectFeatureEntityHotIdVersionResult::~ChangeProjectFeatureEntityHotIdVersionResult()
|
||||
{}
|
||||
|
||||
void ChangeProjectFeatureEntityHotIdVersionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <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);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <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_;
|
||||
}
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <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);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <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_;
|
||||
}
|
||||
|
||||
@@ -39,6 +39,9 @@ void GetInstanceResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto featureDBInstanceInfoNode = value["FeatureDBInstanceInfo"];
|
||||
if(!featureDBInstanceInfoNode["Status"].isNull())
|
||||
featureDBInstanceInfo_.status = featureDBInstanceInfoNode["Status"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
@@ -76,6 +79,11 @@ std::string GetInstanceResult::getMessage()const
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetInstanceResult::FeatureDBInstanceInfo GetInstanceResult::getFeatureDBInstanceInfo()const
|
||||
{
|
||||
return featureDBInstanceInfo_;
|
||||
}
|
||||
|
||||
std::string GetInstanceResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
@@ -102,6 +102,8 @@ void GetModelFeatureResult::parse(const std::string &payload)
|
||||
trainingSetFGTable_ = value["TrainingSetFGTable"].asString();
|
||||
if(!value["ExportTrainingSetTableScript"].isNull())
|
||||
exportTrainingSetTableScript_ = value["ExportTrainingSetTableScript"].asString();
|
||||
if(!value["LabelPriorityLevel"].isNull())
|
||||
labelPriorityLevel_ = std::stol(value["LabelPriorityLevel"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -145,6 +147,11 @@ std::string GetModelFeatureResult::getTrainingSetTable()const
|
||||
return trainingSetTable_;
|
||||
}
|
||||
|
||||
long GetModelFeatureResult::getLabelPriorityLevel()const
|
||||
{
|
||||
return labelPriorityLevel_;
|
||||
}
|
||||
|
||||
std::string GetModelFeatureResult::getExportTrainingSetTableScript()const
|
||||
{
|
||||
return exportTrainingSetTableScript_;
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::GetProjectFeatureEntityHotIdsRequest;
|
||||
|
||||
GetProjectFeatureEntityHotIdsRequest::GetProjectFeatureEntityHotIdsRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/hotids/[NextSeqNumber]"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetProjectFeatureEntityHotIdsRequest::~GetProjectFeatureEntityHotIdsRequest() {}
|
||||
|
||||
std::string GetProjectFeatureEntityHotIdsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureEntityHotIdsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureEntityHotIdsRequest::getFeatureEntityName() const {
|
||||
return featureEntityName_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureEntityHotIdsRequest::setFeatureEntityName(const std::string &featureEntityName) {
|
||||
featureEntityName_ = featureEntityName;
|
||||
setParameter(std::string("FeatureEntityName"), featureEntityName);
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureEntityHotIdsRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureEntityHotIdsRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureEntityHotIdsRequest::getNextSeqNumber() const {
|
||||
return nextSeqNumber_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureEntityHotIdsRequest::setNextSeqNumber(const std::string &nextSeqNumber) {
|
||||
nextSeqNumber_ = nextSeqNumber;
|
||||
setParameter(std::string("NextSeqNumber"), nextSeqNumber);
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetProjectFeatureEntityHotIdsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
GetProjectFeatureEntityHotIdsResult::GetProjectFeatureEntityHotIdsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectFeatureEntityHotIdsResult::GetProjectFeatureEntityHotIdsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectFeatureEntityHotIdsResult::~GetProjectFeatureEntityHotIdsResult()
|
||||
{}
|
||||
|
||||
void GetProjectFeatureEntityHotIdsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HotIds"].isNull())
|
||||
hotIds_ = value["HotIds"].asString();
|
||||
if(!value["Count"].isNull())
|
||||
count_ = std::stoi(value["Count"].asString());
|
||||
if(!value["NextSeqNumber"].isNull())
|
||||
nextSeqNumber_ = value["NextSeqNumber"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureEntityHotIdsResult::getNextSeqNumber()const
|
||||
{
|
||||
return nextSeqNumber_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureEntityHotIdsResult::getHotIds()const
|
||||
{
|
||||
return hotIds_;
|
||||
}
|
||||
|
||||
int GetProjectFeatureEntityHotIdsResult::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetProjectFeatureViewRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::GetProjectFeatureViewRequest;
|
||||
|
||||
GetProjectFeatureViewRequest::GetProjectFeatureViewRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviews/[FeatureViewName]"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetProjectFeatureViewRequest::~GetProjectFeatureViewRequest() {}
|
||||
|
||||
std::string GetProjectFeatureViewRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureViewRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewRequest::getFeatureViewName() const {
|
||||
return featureViewName_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureViewRequest::setFeatureViewName(const std::string &featureViewName) {
|
||||
featureViewName_ = featureViewName;
|
||||
setParameter(std::string("FeatureViewName"), featureViewName);
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetProjectFeatureViewRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
@@ -1,189 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetProjectFeatureViewResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
GetProjectFeatureViewResult::GetProjectFeatureViewResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectFeatureViewResult::GetProjectFeatureViewResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectFeatureViewResult::~GetProjectFeatureViewResult()
|
||||
{}
|
||||
|
||||
void GetProjectFeatureViewResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFieldsNode = value["Fields"]["FieldsItem"];
|
||||
for (auto valueFieldsFieldsItem : allFieldsNode)
|
||||
{
|
||||
FieldsItem fieldsObject;
|
||||
if(!valueFieldsFieldsItem["Name"].isNull())
|
||||
fieldsObject.name = valueFieldsFieldsItem["Name"].asString();
|
||||
if(!valueFieldsFieldsItem["Type"].isNull())
|
||||
fieldsObject.type = valueFieldsFieldsItem["Type"].asString();
|
||||
auto allAttributes = value["Attributes"]["Attributes"];
|
||||
for (auto value : allAttributes)
|
||||
fieldsObject.attributes.push_back(value.asString());
|
||||
fields_.push_back(fieldsObject);
|
||||
}
|
||||
auto allTags = value["Tags"]["Tags"];
|
||||
for (const auto &item : allTags)
|
||||
tags_.push_back(item.asString());
|
||||
if(!value["FeatureViewId"].isNull())
|
||||
featureViewId_ = value["FeatureViewId"].asString();
|
||||
if(!value["ProjectId"].isNull())
|
||||
projectId_ = value["ProjectId"].asString();
|
||||
if(!value["ProjectName"].isNull())
|
||||
projectName_ = value["ProjectName"].asString();
|
||||
if(!value["FeatureEntityId"].isNull())
|
||||
featureEntityId_ = value["FeatureEntityId"].asString();
|
||||
if(!value["FeatureEntityName"].isNull())
|
||||
featureEntityName_ = value["FeatureEntityName"].asString();
|
||||
if(!value["JoinId"].isNull())
|
||||
joinId_ = value["JoinId"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["Owner"].isNull())
|
||||
owner_ = value["Owner"].asString();
|
||||
if(!value["Type"].isNull())
|
||||
type_ = value["Type"].asString();
|
||||
if(!value["WriteMethod"].isNull())
|
||||
writeMethod_ = value["WriteMethod"].asString();
|
||||
if(!value["RegisterTable"].isNull())
|
||||
registerTable_ = value["RegisterTable"].asString();
|
||||
if(!value["RegisterDatasourceId"].isNull())
|
||||
registerDatasourceId_ = value["RegisterDatasourceId"].asString();
|
||||
if(!value["SyncOnlineTable"].isNull())
|
||||
syncOnlineTable_ = value["SyncOnlineTable"].asString() == "true";
|
||||
if(!value["TTL"].isNull())
|
||||
tTL_ = std::stoi(value["TTL"].asString());
|
||||
if(!value["Config"].isNull())
|
||||
config_ = value["Config"].asString();
|
||||
if(!value["GmtSyncTime"].isNull())
|
||||
gmtSyncTime_ = value["GmtSyncTime"].asString();
|
||||
if(!value["LastSyncConfig"].isNull())
|
||||
lastSyncConfig_ = value["LastSyncConfig"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getFeatureEntityName()const
|
||||
{
|
||||
return featureEntityName_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getOwner()const
|
||||
{
|
||||
return owner_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getFeatureViewId()const
|
||||
{
|
||||
return featureViewId_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getConfig()const
|
||||
{
|
||||
return config_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getWriteMethod()const
|
||||
{
|
||||
return writeMethod_;
|
||||
}
|
||||
|
||||
bool GetProjectFeatureViewResult::getSyncOnlineTable()const
|
||||
{
|
||||
return syncOnlineTable_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getRegisterTable()const
|
||||
{
|
||||
return registerTable_;
|
||||
}
|
||||
|
||||
int GetProjectFeatureViewResult::getTTL()const
|
||||
{
|
||||
return tTL_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getGmtSyncTime()const
|
||||
{
|
||||
return gmtSyncTime_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getJoinId()const
|
||||
{
|
||||
return joinId_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getLastSyncConfig()const
|
||||
{
|
||||
return lastSyncConfig_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::vector<GetProjectFeatureViewResult::FieldsItem> GetProjectFeatureViewResult::getFields()const
|
||||
{
|
||||
return fields_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getFeatureEntityId()const
|
||||
{
|
||||
return featureEntityId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetProjectFeatureViewResult::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string GetProjectFeatureViewResult::getRegisterDatasourceId()const
|
||||
{
|
||||
return registerDatasourceId_;
|
||||
}
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetProjectModelFeatureRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::GetProjectModelFeatureRequest;
|
||||
|
||||
GetProjectModelFeatureRequest::GetProjectModelFeatureRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/modelfeatures/[ModelFeatureName]"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
GetProjectModelFeatureRequest::~GetProjectModelFeatureRequest() {}
|
||||
|
||||
std::string GetProjectModelFeatureRequest::getModelFeatureName() const {
|
||||
return modelFeatureName_;
|
||||
}
|
||||
|
||||
void GetProjectModelFeatureRequest::setModelFeatureName(const std::string &modelFeatureName) {
|
||||
modelFeatureName_ = modelFeatureName;
|
||||
setParameter(std::string("ModelFeatureName"), modelFeatureName);
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetProjectModelFeatureRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void GetProjectModelFeatureRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
@@ -1,156 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/GetProjectModelFeatureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
GetProjectModelFeatureResult::GetProjectModelFeatureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetProjectModelFeatureResult::GetProjectModelFeatureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetProjectModelFeatureResult::~GetProjectModelFeatureResult()
|
||||
{}
|
||||
|
||||
void GetProjectModelFeatureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allFeaturesNode = value["Features"]["FeaturesItem"];
|
||||
for (auto valueFeaturesFeaturesItem : allFeaturesNode)
|
||||
{
|
||||
FeaturesItem featuresObject;
|
||||
if(!valueFeaturesFeaturesItem["FeatureViewId"].isNull())
|
||||
featuresObject.featureViewId = valueFeaturesFeaturesItem["FeatureViewId"].asString();
|
||||
if(!valueFeaturesFeaturesItem["FeatureViewName"].isNull())
|
||||
featuresObject.featureViewName = valueFeaturesFeaturesItem["FeatureViewName"].asString();
|
||||
if(!valueFeaturesFeaturesItem["Name"].isNull())
|
||||
featuresObject.name = valueFeaturesFeaturesItem["Name"].asString();
|
||||
if(!valueFeaturesFeaturesItem["Type"].isNull())
|
||||
featuresObject.type = valueFeaturesFeaturesItem["Type"].asString();
|
||||
if(!valueFeaturesFeaturesItem["AliasName"].isNull())
|
||||
featuresObject.aliasName = valueFeaturesFeaturesItem["AliasName"].asString();
|
||||
features_.push_back(featuresObject);
|
||||
}
|
||||
if(!value["ModelFeatureId"].isNull())
|
||||
modelFeatureId_ = value["ModelFeatureId"].asString();
|
||||
if(!value["ProjectId"].isNull())
|
||||
projectId_ = value["ProjectId"].asString();
|
||||
if(!value["ProjectName"].isNull())
|
||||
projectName_ = value["ProjectName"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["Owner"].isNull())
|
||||
owner_ = value["Owner"].asString();
|
||||
if(!value["LabelTableId"].isNull())
|
||||
labelTableId_ = value["LabelTableId"].asString();
|
||||
if(!value["LabelDatasourceId"].isNull())
|
||||
labelDatasourceId_ = value["LabelDatasourceId"].asString();
|
||||
if(!value["LabelDatasourceTable"].isNull())
|
||||
labelDatasourceTable_ = value["LabelDatasourceTable"].asString();
|
||||
if(!value["LabelEventTime"].isNull())
|
||||
labelEventTime_ = value["LabelEventTime"].asString();
|
||||
if(!value["TrainingSetTable"].isNull())
|
||||
trainingSetTable_ = value["TrainingSetTable"].asString();
|
||||
if(!value["TrainingSetFGTable"].isNull())
|
||||
trainingSetFGTable_ = value["TrainingSetFGTable"].asString();
|
||||
if(!value["GmtCreateTime"].isNull())
|
||||
gmtCreateTime_ = value["GmtCreateTime"].asString();
|
||||
if(!value["GmtModifiedTime"].isNull())
|
||||
gmtModifiedTime_ = value["GmtModifiedTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getOwner()const
|
||||
{
|
||||
return owner_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getProjectName()const
|
||||
{
|
||||
return projectName_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getLabelDatasourceTable()const
|
||||
{
|
||||
return labelDatasourceTable_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getLabelDatasourceId()const
|
||||
{
|
||||
return labelDatasourceId_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getModelFeatureId()const
|
||||
{
|
||||
return modelFeatureId_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getTrainingSetFGTable()const
|
||||
{
|
||||
return trainingSetFGTable_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getGmtModifiedTime()const
|
||||
{
|
||||
return gmtModifiedTime_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getTrainingSetTable()const
|
||||
{
|
||||
return trainingSetTable_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getLabelEventTime()const
|
||||
{
|
||||
return labelEventTime_;
|
||||
}
|
||||
|
||||
std::vector<GetProjectModelFeatureResult::FeaturesItem> GetProjectModelFeatureResult::getFeatures()const
|
||||
{
|
||||
return features_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getLabelTableId()const
|
||||
{
|
||||
return labelTableId_;
|
||||
}
|
||||
|
||||
std::string GetProjectModelFeatureResult::getGmtCreateTime()const
|
||||
{
|
||||
return gmtCreateTime_;
|
||||
}
|
||||
|
||||
@@ -55,6 +55,9 @@ void ListInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.gmtCreateTime = valueInstancesInstancesItem["GmtCreateTime"].asString();
|
||||
if(!valueInstancesInstancesItem["GmtModifiedTime"].isNull())
|
||||
instancesObject.gmtModifiedTime = valueInstancesInstancesItem["GmtModifiedTime"].asString();
|
||||
auto featureDBInstanceInfoNode = value["FeatureDBInstanceInfo"];
|
||||
if(!featureDBInstanceInfoNode["Status"].isNull())
|
||||
instancesObject.featureDBInstanceInfo.status = featureDBInstanceInfoNode["Status"].asString();
|
||||
instances_.push_back(instancesObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::ListProjectFeatureViewOwnersRequest;
|
||||
|
||||
ListProjectFeatureViewOwnersRequest::ListProjectFeatureViewOwnersRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviewowners"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListProjectFeatureViewOwnersRequest::~ListProjectFeatureViewOwnersRequest() {}
|
||||
|
||||
std::string ListProjectFeatureViewOwnersRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListProjectFeatureViewOwnersRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string ListProjectFeatureViewOwnersRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListProjectFeatureViewOwnersRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ListProjectFeatureViewOwnersResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
ListProjectFeatureViewOwnersResult::ListProjectFeatureViewOwnersResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListProjectFeatureViewOwnersResult::ListProjectFeatureViewOwnersResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListProjectFeatureViewOwnersResult::~ListProjectFeatureViewOwnersResult()
|
||||
{}
|
||||
|
||||
void ListProjectFeatureViewOwnersResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOwners = value["Owners"]["Owners"];
|
||||
for (const auto &item : allOwners)
|
||||
owners_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> ListProjectFeatureViewOwnersResult::getOwners()const
|
||||
{
|
||||
return owners_;
|
||||
}
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::ListProjectFeatureViewTagsRequest;
|
||||
|
||||
ListProjectFeatureViewTagsRequest::ListProjectFeatureViewTagsRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureviewtags"};
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListProjectFeatureViewTagsRequest::~ListProjectFeatureViewTagsRequest() {}
|
||||
|
||||
std::string ListProjectFeatureViewTagsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListProjectFeatureViewTagsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string ListProjectFeatureViewTagsRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListProjectFeatureViewTagsRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/ListProjectFeatureViewTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
ListProjectFeatureViewTagsResult::ListProjectFeatureViewTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListProjectFeatureViewTagsResult::ListProjectFeatureViewTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListProjectFeatureViewTagsResult::~ListProjectFeatureViewTagsResult()
|
||||
{}
|
||||
|
||||
void ListProjectFeatureViewTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTags = value["Tags"]["Tags"];
|
||||
for (const auto &item : allTags)
|
||||
tags_.push_back(item.asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> ListProjectFeatureViewTagsResult::getTags()const
|
||||
{
|
||||
return tags_;
|
||||
}
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <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);
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <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_;
|
||||
}
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsRequest.h>
|
||||
|
||||
using AlibabaCloud::PaiFeatureStore::Model::WriteProjectFeatureEntityHotIdsRequest;
|
||||
|
||||
WriteProjectFeatureEntityHotIdsRequest::WriteProjectFeatureEntityHotIdsRequest()
|
||||
: RoaServiceRequest("paifeaturestore", "2023-06-21") {
|
||||
setResourcePath("/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/action/writehotids"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
WriteProjectFeatureEntityHotIdsRequest::~WriteProjectFeatureEntityHotIdsRequest() {}
|
||||
|
||||
std::string WriteProjectFeatureEntityHotIdsRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
void WriteProjectFeatureEntityHotIdsRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setBodyParameter(std::string("body"), body);
|
||||
}
|
||||
|
||||
std::string WriteProjectFeatureEntityHotIdsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void WriteProjectFeatureEntityHotIdsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string WriteProjectFeatureEntityHotIdsRequest::getFeatureEntityName() const {
|
||||
return featureEntityName_;
|
||||
}
|
||||
|
||||
void WriteProjectFeatureEntityHotIdsRequest::setFeatureEntityName(const std::string &featureEntityName) {
|
||||
featureEntityName_ = featureEntityName;
|
||||
setParameter(std::string("FeatureEntityName"), featureEntityName);
|
||||
}
|
||||
|
||||
std::string WriteProjectFeatureEntityHotIdsRequest::getProjectId() const {
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void WriteProjectFeatureEntityHotIdsRequest::setProjectId(const std::string &projectId) {
|
||||
projectId_ = projectId;
|
||||
setParameter(std::string("ProjectId"), projectId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/paifeaturestore/model/WriteProjectFeatureEntityHotIdsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::PaiFeatureStore;
|
||||
using namespace AlibabaCloud::PaiFeatureStore::Model;
|
||||
|
||||
WriteProjectFeatureEntityHotIdsResult::WriteProjectFeatureEntityHotIdsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
WriteProjectFeatureEntityHotIdsResult::WriteProjectFeatureEntityHotIdsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
WriteProjectFeatureEntityHotIdsResult::~WriteProjectFeatureEntityHotIdsResult()
|
||||
{}
|
||||
|
||||
void WriteProjectFeatureEntityHotIdsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user