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