This commit is contained in:
sdk-team
2022-12-21 07:07:30 +00:00
parent e089d8a671
commit 623a29292c
68 changed files with 1 additions and 4274 deletions

View File

@@ -1 +1 @@
1.36.1395
1.36.1396

View File

@@ -37,8 +37,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/CreateAppResult.h
include/alibabacloud/opensearch/model/CreateAppGroupRequest.h
include/alibabacloud/opensearch/model/CreateAppGroupResult.h
include/alibabacloud/opensearch/model/CreateDataCollectionRequest.h
include/alibabacloud/opensearch/model/CreateDataCollectionResult.h
include/alibabacloud/opensearch/model/CreateFirstRankRequest.h
include/alibabacloud/opensearch/model/CreateFirstRankResult.h
include/alibabacloud/opensearch/model/CreateFunctionInstanceRequest.h
@@ -47,8 +45,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/CreateFunctionTaskResult.h
include/alibabacloud/opensearch/model/CreateInterventionDictionaryRequest.h
include/alibabacloud/opensearch/model/CreateInterventionDictionaryResult.h
include/alibabacloud/opensearch/model/CreateModelRequest.h
include/alibabacloud/opensearch/model/CreateModelResult.h
include/alibabacloud/opensearch/model/CreateQueryProcessorRequest.h
include/alibabacloud/opensearch/model/CreateQueryProcessorResult.h
include/alibabacloud/opensearch/model/CreateScheduledTaskRequest.h
@@ -71,8 +67,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/DeleteFunctionInstanceResult.h
include/alibabacloud/opensearch/model/DeleteFunctionTaskRequest.h
include/alibabacloud/opensearch/model/DeleteFunctionTaskResult.h
include/alibabacloud/opensearch/model/DeleteModelRequest.h
include/alibabacloud/opensearch/model/DeleteModelResult.h
include/alibabacloud/opensearch/model/DeleteSortScriptRequest.h
include/alibabacloud/opensearch/model/DeleteSortScriptResult.h
include/alibabacloud/opensearch/model/DeleteSortScriptFileRequest.h
@@ -87,10 +81,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/DescribeAppResult.h
include/alibabacloud/opensearch/model/DescribeAppGroupRequest.h
include/alibabacloud/opensearch/model/DescribeAppGroupResult.h
include/alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h
include/alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h
include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsRequest.h
include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsResult.h
include/alibabacloud/opensearch/model/DescribeAppStatisticsRequest.h
include/alibabacloud/opensearch/model/DescribeAppStatisticsResult.h
include/alibabacloud/opensearch/model/DescribeAppsRequest.h
@@ -101,8 +91,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/DescribeFirstRankResult.h
include/alibabacloud/opensearch/model/DescribeInterventionDictionaryRequest.h
include/alibabacloud/opensearch/model/DescribeInterventionDictionaryResult.h
include/alibabacloud/opensearch/model/DescribeModelRequest.h
include/alibabacloud/opensearch/model/DescribeModelResult.h
include/alibabacloud/opensearch/model/DescribeQueryProcessorRequest.h
include/alibabacloud/opensearch/model/DescribeQueryProcessorResult.h
include/alibabacloud/opensearch/model/DescribeRegionRequest.h
@@ -135,8 +123,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/GetFunctionTaskResult.h
include/alibabacloud/opensearch/model/GetFunctionVersionRequest.h
include/alibabacloud/opensearch/model/GetFunctionVersionResult.h
include/alibabacloud/opensearch/model/GetModelProgressRequest.h
include/alibabacloud/opensearch/model/GetModelProgressResult.h
include/alibabacloud/opensearch/model/GetModelReportRequest.h
include/alibabacloud/opensearch/model/GetModelReportResult.h
include/alibabacloud/opensearch/model/GetScriptFileNamesRequest.h
@@ -147,24 +133,14 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/GetSortScriptResult.h
include/alibabacloud/opensearch/model/GetSortScriptFileRequest.h
include/alibabacloud/opensearch/model/GetSortScriptFileResult.h
include/alibabacloud/opensearch/model/GetValidationErrorRequest.h
include/alibabacloud/opensearch/model/GetValidationErrorResult.h
include/alibabacloud/opensearch/model/GetValidationReportRequest.h
include/alibabacloud/opensearch/model/GetValidationReportResult.h
include/alibabacloud/opensearch/model/ListABTestExperimentsRequest.h
include/alibabacloud/opensearch/model/ListABTestExperimentsResult.h
include/alibabacloud/opensearch/model/ListABTestFixedFlowDividersRequest.h
include/alibabacloud/opensearch/model/ListABTestFixedFlowDividersResult.h
include/alibabacloud/opensearch/model/ListABTestGroupsRequest.h
include/alibabacloud/opensearch/model/ListABTestGroupsResult.h
include/alibabacloud/opensearch/model/ListABTestMetricsRequest.h
include/alibabacloud/opensearch/model/ListABTestMetricsResult.h
include/alibabacloud/opensearch/model/ListABTestScenesRequest.h
include/alibabacloud/opensearch/model/ListABTestScenesResult.h
include/alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h
include/alibabacloud/opensearch/model/ListAppGroupErrorsResult.h
include/alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h
include/alibabacloud/opensearch/model/ListAppGroupMetricsResult.h
include/alibabacloud/opensearch/model/ListAppGroupsRequest.h
include/alibabacloud/opensearch/model/ListAppGroupsResult.h
include/alibabacloud/opensearch/model/ListAppsRequest.h
@@ -175,8 +151,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/ListDataSourceTableFieldsResult.h
include/alibabacloud/opensearch/model/ListDataSourceTablesRequest.h
include/alibabacloud/opensearch/model/ListDataSourceTablesResult.h
include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h
include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h
include/alibabacloud/opensearch/model/ListFirstRanksRequest.h
include/alibabacloud/opensearch/model/ListFirstRanksResult.h
include/alibabacloud/opensearch/model/ListFunctionInstancesRequest.h
@@ -203,8 +177,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/ListQueryProcessorsResult.h
include/alibabacloud/opensearch/model/ListQuotaReviewTasksRequest.h
include/alibabacloud/opensearch/model/ListQuotaReviewTasksResult.h
include/alibabacloud/opensearch/model/ListRamRolesRequest.h
include/alibabacloud/opensearch/model/ListRamRolesResult.h
include/alibabacloud/opensearch/model/ListScheduledTasksRequest.h
include/alibabacloud/opensearch/model/ListScheduledTasksResult.h
include/alibabacloud/opensearch/model/ListSearchStrategiesRequest.h
@@ -235,8 +207,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/ModifyAppGroupQuotaResult.h
include/alibabacloud/opensearch/model/ModifyFirstRankRequest.h
include/alibabacloud/opensearch/model/ModifyFirstRankResult.h
include/alibabacloud/opensearch/model/ModifyModelRequest.h
include/alibabacloud/opensearch/model/ModifyModelResult.h
include/alibabacloud/opensearch/model/ModifyQueryProcessorRequest.h
include/alibabacloud/opensearch/model/ModifyQueryProcessorResult.h
include/alibabacloud/opensearch/model/ModifyScheduledTaskRequest.h
@@ -283,8 +253,6 @@ set(opensearch_public_header_model
include/alibabacloud/opensearch/model/StartSlowQueryAnalyzerResult.h
include/alibabacloud/opensearch/model/TagResourcesRequest.h
include/alibabacloud/opensearch/model/TagResourcesResult.h
include/alibabacloud/opensearch/model/TrainModelRequest.h
include/alibabacloud/opensearch/model/TrainModelResult.h
include/alibabacloud/opensearch/model/UnbindESUserAnalyzerRequest.h
include/alibabacloud/opensearch/model/UnbindESUserAnalyzerResult.h
include/alibabacloud/opensearch/model/UnbindEsInstanceRequest.h
@@ -332,8 +300,6 @@ set(opensearch_src
src/model/CreateAppResult.cc
src/model/CreateAppGroupRequest.cc
src/model/CreateAppGroupResult.cc
src/model/CreateDataCollectionRequest.cc
src/model/CreateDataCollectionResult.cc
src/model/CreateFirstRankRequest.cc
src/model/CreateFirstRankResult.cc
src/model/CreateFunctionInstanceRequest.cc
@@ -342,8 +308,6 @@ set(opensearch_src
src/model/CreateFunctionTaskResult.cc
src/model/CreateInterventionDictionaryRequest.cc
src/model/CreateInterventionDictionaryResult.cc
src/model/CreateModelRequest.cc
src/model/CreateModelResult.cc
src/model/CreateQueryProcessorRequest.cc
src/model/CreateQueryProcessorResult.cc
src/model/CreateScheduledTaskRequest.cc
@@ -366,8 +330,6 @@ set(opensearch_src
src/model/DeleteFunctionInstanceResult.cc
src/model/DeleteFunctionTaskRequest.cc
src/model/DeleteFunctionTaskResult.cc
src/model/DeleteModelRequest.cc
src/model/DeleteModelResult.cc
src/model/DeleteSortScriptRequest.cc
src/model/DeleteSortScriptResult.cc
src/model/DeleteSortScriptFileRequest.cc
@@ -382,10 +344,6 @@ set(opensearch_src
src/model/DescribeAppResult.cc
src/model/DescribeAppGroupRequest.cc
src/model/DescribeAppGroupResult.cc
src/model/DescribeAppGroupDataReportRequest.cc
src/model/DescribeAppGroupDataReportResult.cc
src/model/DescribeAppGroupStatisticsRequest.cc
src/model/DescribeAppGroupStatisticsResult.cc
src/model/DescribeAppStatisticsRequest.cc
src/model/DescribeAppStatisticsResult.cc
src/model/DescribeAppsRequest.cc
@@ -396,8 +354,6 @@ set(opensearch_src
src/model/DescribeFirstRankResult.cc
src/model/DescribeInterventionDictionaryRequest.cc
src/model/DescribeInterventionDictionaryResult.cc
src/model/DescribeModelRequest.cc
src/model/DescribeModelResult.cc
src/model/DescribeQueryProcessorRequest.cc
src/model/DescribeQueryProcessorResult.cc
src/model/DescribeRegionRequest.cc
@@ -430,8 +386,6 @@ set(opensearch_src
src/model/GetFunctionTaskResult.cc
src/model/GetFunctionVersionRequest.cc
src/model/GetFunctionVersionResult.cc
src/model/GetModelProgressRequest.cc
src/model/GetModelProgressResult.cc
src/model/GetModelReportRequest.cc
src/model/GetModelReportResult.cc
src/model/GetScriptFileNamesRequest.cc
@@ -442,24 +396,14 @@ set(opensearch_src
src/model/GetSortScriptResult.cc
src/model/GetSortScriptFileRequest.cc
src/model/GetSortScriptFileResult.cc
src/model/GetValidationErrorRequest.cc
src/model/GetValidationErrorResult.cc
src/model/GetValidationReportRequest.cc
src/model/GetValidationReportResult.cc
src/model/ListABTestExperimentsRequest.cc
src/model/ListABTestExperimentsResult.cc
src/model/ListABTestFixedFlowDividersRequest.cc
src/model/ListABTestFixedFlowDividersResult.cc
src/model/ListABTestGroupsRequest.cc
src/model/ListABTestGroupsResult.cc
src/model/ListABTestMetricsRequest.cc
src/model/ListABTestMetricsResult.cc
src/model/ListABTestScenesRequest.cc
src/model/ListABTestScenesResult.cc
src/model/ListAppGroupErrorsRequest.cc
src/model/ListAppGroupErrorsResult.cc
src/model/ListAppGroupMetricsRequest.cc
src/model/ListAppGroupMetricsResult.cc
src/model/ListAppGroupsRequest.cc
src/model/ListAppGroupsResult.cc
src/model/ListAppsRequest.cc
@@ -470,8 +414,6 @@ set(opensearch_src
src/model/ListDataSourceTableFieldsResult.cc
src/model/ListDataSourceTablesRequest.cc
src/model/ListDataSourceTablesResult.cc
src/model/ListDeployedAlgorithmModelsRequest.cc
src/model/ListDeployedAlgorithmModelsResult.cc
src/model/ListFirstRanksRequest.cc
src/model/ListFirstRanksResult.cc
src/model/ListFunctionInstancesRequest.cc
@@ -498,8 +440,6 @@ set(opensearch_src
src/model/ListQueryProcessorsResult.cc
src/model/ListQuotaReviewTasksRequest.cc
src/model/ListQuotaReviewTasksResult.cc
src/model/ListRamRolesRequest.cc
src/model/ListRamRolesResult.cc
src/model/ListScheduledTasksRequest.cc
src/model/ListScheduledTasksResult.cc
src/model/ListSearchStrategiesRequest.cc
@@ -530,8 +470,6 @@ set(opensearch_src
src/model/ModifyAppGroupQuotaResult.cc
src/model/ModifyFirstRankRequest.cc
src/model/ModifyFirstRankResult.cc
src/model/ModifyModelRequest.cc
src/model/ModifyModelResult.cc
src/model/ModifyQueryProcessorRequest.cc
src/model/ModifyQueryProcessorResult.cc
src/model/ModifyScheduledTaskRequest.cc
@@ -578,8 +516,6 @@ set(opensearch_src
src/model/StartSlowQueryAnalyzerResult.cc
src/model/TagResourcesRequest.cc
src/model/TagResourcesResult.cc
src/model/TrainModelRequest.cc
src/model/TrainModelResult.cc
src/model/UnbindESUserAnalyzerRequest.cc
src/model/UnbindESUserAnalyzerResult.cc
src/model/UnbindEsInstanceRequest.cc

View File

@@ -38,8 +38,6 @@
#include "model/CreateAppResult.h"
#include "model/CreateAppGroupRequest.h"
#include "model/CreateAppGroupResult.h"
#include "model/CreateDataCollectionRequest.h"
#include "model/CreateDataCollectionResult.h"
#include "model/CreateFirstRankRequest.h"
#include "model/CreateFirstRankResult.h"
#include "model/CreateFunctionInstanceRequest.h"
@@ -48,8 +46,6 @@
#include "model/CreateFunctionTaskResult.h"
#include "model/CreateInterventionDictionaryRequest.h"
#include "model/CreateInterventionDictionaryResult.h"
#include "model/CreateModelRequest.h"
#include "model/CreateModelResult.h"
#include "model/CreateQueryProcessorRequest.h"
#include "model/CreateQueryProcessorResult.h"
#include "model/CreateScheduledTaskRequest.h"
@@ -72,8 +68,6 @@
#include "model/DeleteFunctionInstanceResult.h"
#include "model/DeleteFunctionTaskRequest.h"
#include "model/DeleteFunctionTaskResult.h"
#include "model/DeleteModelRequest.h"
#include "model/DeleteModelResult.h"
#include "model/DeleteSortScriptRequest.h"
#include "model/DeleteSortScriptResult.h"
#include "model/DeleteSortScriptFileRequest.h"
@@ -88,10 +82,6 @@
#include "model/DescribeAppResult.h"
#include "model/DescribeAppGroupRequest.h"
#include "model/DescribeAppGroupResult.h"
#include "model/DescribeAppGroupDataReportRequest.h"
#include "model/DescribeAppGroupDataReportResult.h"
#include "model/DescribeAppGroupStatisticsRequest.h"
#include "model/DescribeAppGroupStatisticsResult.h"
#include "model/DescribeAppStatisticsRequest.h"
#include "model/DescribeAppStatisticsResult.h"
#include "model/DescribeAppsRequest.h"
@@ -102,8 +92,6 @@
#include "model/DescribeFirstRankResult.h"
#include "model/DescribeInterventionDictionaryRequest.h"
#include "model/DescribeInterventionDictionaryResult.h"
#include "model/DescribeModelRequest.h"
#include "model/DescribeModelResult.h"
#include "model/DescribeQueryProcessorRequest.h"
#include "model/DescribeQueryProcessorResult.h"
#include "model/DescribeRegionRequest.h"
@@ -136,8 +124,6 @@
#include "model/GetFunctionTaskResult.h"
#include "model/GetFunctionVersionRequest.h"
#include "model/GetFunctionVersionResult.h"
#include "model/GetModelProgressRequest.h"
#include "model/GetModelProgressResult.h"
#include "model/GetModelReportRequest.h"
#include "model/GetModelReportResult.h"
#include "model/GetScriptFileNamesRequest.h"
@@ -148,24 +134,14 @@
#include "model/GetSortScriptResult.h"
#include "model/GetSortScriptFileRequest.h"
#include "model/GetSortScriptFileResult.h"
#include "model/GetValidationErrorRequest.h"
#include "model/GetValidationErrorResult.h"
#include "model/GetValidationReportRequest.h"
#include "model/GetValidationReportResult.h"
#include "model/ListABTestExperimentsRequest.h"
#include "model/ListABTestExperimentsResult.h"
#include "model/ListABTestFixedFlowDividersRequest.h"
#include "model/ListABTestFixedFlowDividersResult.h"
#include "model/ListABTestGroupsRequest.h"
#include "model/ListABTestGroupsResult.h"
#include "model/ListABTestMetricsRequest.h"
#include "model/ListABTestMetricsResult.h"
#include "model/ListABTestScenesRequest.h"
#include "model/ListABTestScenesResult.h"
#include "model/ListAppGroupErrorsRequest.h"
#include "model/ListAppGroupErrorsResult.h"
#include "model/ListAppGroupMetricsRequest.h"
#include "model/ListAppGroupMetricsResult.h"
#include "model/ListAppGroupsRequest.h"
#include "model/ListAppGroupsResult.h"
#include "model/ListAppsRequest.h"
@@ -176,8 +152,6 @@
#include "model/ListDataSourceTableFieldsResult.h"
#include "model/ListDataSourceTablesRequest.h"
#include "model/ListDataSourceTablesResult.h"
#include "model/ListDeployedAlgorithmModelsRequest.h"
#include "model/ListDeployedAlgorithmModelsResult.h"
#include "model/ListFirstRanksRequest.h"
#include "model/ListFirstRanksResult.h"
#include "model/ListFunctionInstancesRequest.h"
@@ -204,8 +178,6 @@
#include "model/ListQueryProcessorsResult.h"
#include "model/ListQuotaReviewTasksRequest.h"
#include "model/ListQuotaReviewTasksResult.h"
#include "model/ListRamRolesRequest.h"
#include "model/ListRamRolesResult.h"
#include "model/ListScheduledTasksRequest.h"
#include "model/ListScheduledTasksResult.h"
#include "model/ListSearchStrategiesRequest.h"
@@ -236,8 +208,6 @@
#include "model/ModifyAppGroupQuotaResult.h"
#include "model/ModifyFirstRankRequest.h"
#include "model/ModifyFirstRankResult.h"
#include "model/ModifyModelRequest.h"
#include "model/ModifyModelResult.h"
#include "model/ModifyQueryProcessorRequest.h"
#include "model/ModifyQueryProcessorResult.h"
#include "model/ModifyScheduledTaskRequest.h"
@@ -284,8 +254,6 @@
#include "model/StartSlowQueryAnalyzerResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/TrainModelRequest.h"
#include "model/TrainModelResult.h"
#include "model/UnbindESUserAnalyzerRequest.h"
#include "model/UnbindESUserAnalyzerResult.h"
#include "model/UnbindEsInstanceRequest.h"
@@ -347,9 +315,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateAppGroupResult> CreateAppGroupOutcome;
typedef std::future<CreateAppGroupOutcome> CreateAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateAppGroupRequest&, const CreateAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAppGroupAsyncHandler;
typedef Outcome<Error, Model::CreateDataCollectionResult> CreateDataCollectionOutcome;
typedef std::future<CreateDataCollectionOutcome> CreateDataCollectionOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateDataCollectionRequest&, const CreateDataCollectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDataCollectionAsyncHandler;
typedef Outcome<Error, Model::CreateFirstRankResult> CreateFirstRankOutcome;
typedef std::future<CreateFirstRankOutcome> CreateFirstRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateFirstRankRequest&, const CreateFirstRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFirstRankAsyncHandler;
@@ -362,9 +327,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateInterventionDictionaryResult> CreateInterventionDictionaryOutcome;
typedef std::future<CreateInterventionDictionaryOutcome> CreateInterventionDictionaryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateInterventionDictionaryRequest&, const CreateInterventionDictionaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInterventionDictionaryAsyncHandler;
typedef Outcome<Error, Model::CreateModelResult> CreateModelOutcome;
typedef std::future<CreateModelOutcome> CreateModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateModelRequest&, const CreateModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateModelAsyncHandler;
typedef Outcome<Error, Model::CreateQueryProcessorResult> CreateQueryProcessorOutcome;
typedef std::future<CreateQueryProcessorOutcome> CreateQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::CreateQueryProcessorRequest&, const CreateQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateQueryProcessorAsyncHandler;
@@ -398,9 +360,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteFunctionTaskResult> DeleteFunctionTaskOutcome;
typedef std::future<DeleteFunctionTaskOutcome> DeleteFunctionTaskOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteFunctionTaskRequest&, const DeleteFunctionTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFunctionTaskAsyncHandler;
typedef Outcome<Error, Model::DeleteModelResult> DeleteModelOutcome;
typedef std::future<DeleteModelOutcome> DeleteModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteModelRequest&, const DeleteModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteModelAsyncHandler;
typedef Outcome<Error, Model::DeleteSortScriptResult> DeleteSortScriptOutcome;
typedef std::future<DeleteSortScriptOutcome> DeleteSortScriptOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DeleteSortScriptRequest&, const DeleteSortScriptOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSortScriptAsyncHandler;
@@ -422,12 +381,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeAppGroupResult> DescribeAppGroupOutcome;
typedef std::future<DescribeAppGroupOutcome> DescribeAppGroupOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppGroupRequest&, const DescribeAppGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppGroupAsyncHandler;
typedef Outcome<Error, Model::DescribeAppGroupDataReportResult> DescribeAppGroupDataReportOutcome;
typedef std::future<DescribeAppGroupDataReportOutcome> DescribeAppGroupDataReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppGroupDataReportRequest&, const DescribeAppGroupDataReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppGroupDataReportAsyncHandler;
typedef Outcome<Error, Model::DescribeAppGroupStatisticsResult> DescribeAppGroupStatisticsOutcome;
typedef std::future<DescribeAppGroupStatisticsOutcome> DescribeAppGroupStatisticsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppGroupStatisticsRequest&, const DescribeAppGroupStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppGroupStatisticsAsyncHandler;
typedef Outcome<Error, Model::DescribeAppStatisticsResult> DescribeAppStatisticsOutcome;
typedef std::future<DescribeAppStatisticsOutcome> DescribeAppStatisticsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeAppStatisticsRequest&, const DescribeAppStatisticsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppStatisticsAsyncHandler;
@@ -443,9 +396,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeInterventionDictionaryResult> DescribeInterventionDictionaryOutcome;
typedef std::future<DescribeInterventionDictionaryOutcome> DescribeInterventionDictionaryOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeInterventionDictionaryRequest&, const DescribeInterventionDictionaryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInterventionDictionaryAsyncHandler;
typedef Outcome<Error, Model::DescribeModelResult> DescribeModelOutcome;
typedef std::future<DescribeModelOutcome> DescribeModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeModelRequest&, const DescribeModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModelAsyncHandler;
typedef Outcome<Error, Model::DescribeQueryProcessorResult> DescribeQueryProcessorOutcome;
typedef std::future<DescribeQueryProcessorOutcome> DescribeQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::DescribeQueryProcessorRequest&, const DescribeQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeQueryProcessorAsyncHandler;
@@ -494,9 +444,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetFunctionVersionResult> GetFunctionVersionOutcome;
typedef std::future<GetFunctionVersionOutcome> GetFunctionVersionOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetFunctionVersionRequest&, const GetFunctionVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFunctionVersionAsyncHandler;
typedef Outcome<Error, Model::GetModelProgressResult> GetModelProgressOutcome;
typedef std::future<GetModelProgressOutcome> GetModelProgressOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetModelProgressRequest&, const GetModelProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelProgressAsyncHandler;
typedef Outcome<Error, Model::GetModelReportResult> GetModelReportOutcome;
typedef std::future<GetModelReportOutcome> GetModelReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetModelReportRequest&, const GetModelReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetModelReportAsyncHandler;
@@ -512,12 +459,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetSortScriptFileResult> GetSortScriptFileOutcome;
typedef std::future<GetSortScriptFileOutcome> GetSortScriptFileOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetSortScriptFileRequest&, const GetSortScriptFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSortScriptFileAsyncHandler;
typedef Outcome<Error, Model::GetValidationErrorResult> GetValidationErrorOutcome;
typedef std::future<GetValidationErrorOutcome> GetValidationErrorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetValidationErrorRequest&, const GetValidationErrorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetValidationErrorAsyncHandler;
typedef Outcome<Error, Model::GetValidationReportResult> GetValidationReportOutcome;
typedef std::future<GetValidationReportOutcome> GetValidationReportOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::GetValidationReportRequest&, const GetValidationReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetValidationReportAsyncHandler;
typedef Outcome<Error, Model::ListABTestExperimentsResult> ListABTestExperimentsOutcome;
typedef std::future<ListABTestExperimentsOutcome> ListABTestExperimentsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestExperimentsRequest&, const ListABTestExperimentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestExperimentsAsyncHandler;
@@ -527,18 +468,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListABTestGroupsResult> ListABTestGroupsOutcome;
typedef std::future<ListABTestGroupsOutcome> ListABTestGroupsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestGroupsRequest&, const ListABTestGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestGroupsAsyncHandler;
typedef Outcome<Error, Model::ListABTestMetricsResult> ListABTestMetricsOutcome;
typedef std::future<ListABTestMetricsOutcome> ListABTestMetricsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestMetricsRequest&, const ListABTestMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestMetricsAsyncHandler;
typedef Outcome<Error, Model::ListABTestScenesResult> ListABTestScenesOutcome;
typedef std::future<ListABTestScenesOutcome> ListABTestScenesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListABTestScenesRequest&, const ListABTestScenesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListABTestScenesAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupErrorsResult> ListAppGroupErrorsOutcome;
typedef std::future<ListAppGroupErrorsOutcome> ListAppGroupErrorsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppGroupErrorsRequest&, const ListAppGroupErrorsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupErrorsAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupMetricsResult> ListAppGroupMetricsOutcome;
typedef std::future<ListAppGroupMetricsOutcome> ListAppGroupMetricsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppGroupMetricsRequest&, const ListAppGroupMetricsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupMetricsAsyncHandler;
typedef Outcome<Error, Model::ListAppGroupsResult> ListAppGroupsOutcome;
typedef std::future<ListAppGroupsOutcome> ListAppGroupsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListAppGroupsRequest&, const ListAppGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAppGroupsAsyncHandler;
@@ -554,9 +486,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListDataSourceTablesResult> ListDataSourceTablesOutcome;
typedef std::future<ListDataSourceTablesOutcome> ListDataSourceTablesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListDataSourceTablesRequest&, const ListDataSourceTablesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDataSourceTablesAsyncHandler;
typedef Outcome<Error, Model::ListDeployedAlgorithmModelsResult> ListDeployedAlgorithmModelsOutcome;
typedef std::future<ListDeployedAlgorithmModelsOutcome> ListDeployedAlgorithmModelsOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListDeployedAlgorithmModelsRequest&, const ListDeployedAlgorithmModelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeployedAlgorithmModelsAsyncHandler;
typedef Outcome<Error, Model::ListFirstRanksResult> ListFirstRanksOutcome;
typedef std::future<ListFirstRanksOutcome> ListFirstRanksOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListFirstRanksRequest&, const ListFirstRanksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFirstRanksAsyncHandler;
@@ -596,9 +525,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListQuotaReviewTasksResult> ListQuotaReviewTasksOutcome;
typedef std::future<ListQuotaReviewTasksOutcome> ListQuotaReviewTasksOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListQuotaReviewTasksRequest&, const ListQuotaReviewTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListQuotaReviewTasksAsyncHandler;
typedef Outcome<Error, Model::ListRamRolesResult> ListRamRolesOutcome;
typedef std::future<ListRamRolesOutcome> ListRamRolesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListRamRolesRequest&, const ListRamRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRamRolesAsyncHandler;
typedef Outcome<Error, Model::ListScheduledTasksResult> ListScheduledTasksOutcome;
typedef std::future<ListScheduledTasksOutcome> ListScheduledTasksOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ListScheduledTasksRequest&, const ListScheduledTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListScheduledTasksAsyncHandler;
@@ -644,9 +570,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyFirstRankResult> ModifyFirstRankOutcome;
typedef std::future<ModifyFirstRankOutcome> ModifyFirstRankOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyFirstRankRequest&, const ModifyFirstRankOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyFirstRankAsyncHandler;
typedef Outcome<Error, Model::ModifyModelResult> ModifyModelOutcome;
typedef std::future<ModifyModelOutcome> ModifyModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyModelRequest&, const ModifyModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyModelAsyncHandler;
typedef Outcome<Error, Model::ModifyQueryProcessorResult> ModifyQueryProcessorOutcome;
typedef std::future<ModifyQueryProcessorOutcome> ModifyQueryProcessorOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::ModifyQueryProcessorRequest&, const ModifyQueryProcessorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyQueryProcessorAsyncHandler;
@@ -716,9 +639,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::TrainModelResult> TrainModelOutcome;
typedef std::future<TrainModelOutcome> TrainModelOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::TrainModelRequest&, const TrainModelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TrainModelAsyncHandler;
typedef Outcome<Error, Model::UnbindESUserAnalyzerResult> UnbindESUserAnalyzerOutcome;
typedef std::future<UnbindESUserAnalyzerOutcome> UnbindESUserAnalyzerOutcomeCallable;
typedef std::function<void(const OpenSearchClient*, const Model::UnbindESUserAnalyzerRequest&, const UnbindESUserAnalyzerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindESUserAnalyzerAsyncHandler;
@@ -790,9 +710,6 @@ namespace AlibabaCloud
CreateAppGroupOutcome createAppGroup(const Model::CreateAppGroupRequest &request)const;
void createAppGroupAsync(const Model::CreateAppGroupRequest& request, const CreateAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAppGroupOutcomeCallable createAppGroupCallable(const Model::CreateAppGroupRequest& request) const;
CreateDataCollectionOutcome createDataCollection(const Model::CreateDataCollectionRequest &request)const;
void createDataCollectionAsync(const Model::CreateDataCollectionRequest& request, const CreateDataCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateDataCollectionOutcomeCallable createDataCollectionCallable(const Model::CreateDataCollectionRequest& request) const;
CreateFirstRankOutcome createFirstRank(const Model::CreateFirstRankRequest &request)const;
void createFirstRankAsync(const Model::CreateFirstRankRequest& request, const CreateFirstRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFirstRankOutcomeCallable createFirstRankCallable(const Model::CreateFirstRankRequest& request) const;
@@ -805,9 +722,6 @@ namespace AlibabaCloud
CreateInterventionDictionaryOutcome createInterventionDictionary(const Model::CreateInterventionDictionaryRequest &request)const;
void createInterventionDictionaryAsync(const Model::CreateInterventionDictionaryRequest& request, const CreateInterventionDictionaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateInterventionDictionaryOutcomeCallable createInterventionDictionaryCallable(const Model::CreateInterventionDictionaryRequest& request) const;
CreateModelOutcome createModel(const Model::CreateModelRequest &request)const;
void createModelAsync(const Model::CreateModelRequest& request, const CreateModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateModelOutcomeCallable createModelCallable(const Model::CreateModelRequest& request) const;
CreateQueryProcessorOutcome createQueryProcessor(const Model::CreateQueryProcessorRequest &request)const;
void createQueryProcessorAsync(const Model::CreateQueryProcessorRequest& request, const CreateQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateQueryProcessorOutcomeCallable createQueryProcessorCallable(const Model::CreateQueryProcessorRequest& request) const;
@@ -841,9 +755,6 @@ namespace AlibabaCloud
DeleteFunctionTaskOutcome deleteFunctionTask(const Model::DeleteFunctionTaskRequest &request)const;
void deleteFunctionTaskAsync(const Model::DeleteFunctionTaskRequest& request, const DeleteFunctionTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteFunctionTaskOutcomeCallable deleteFunctionTaskCallable(const Model::DeleteFunctionTaskRequest& request) const;
DeleteModelOutcome deleteModel(const Model::DeleteModelRequest &request)const;
void deleteModelAsync(const Model::DeleteModelRequest& request, const DeleteModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteModelOutcomeCallable deleteModelCallable(const Model::DeleteModelRequest& request) const;
DeleteSortScriptOutcome deleteSortScript(const Model::DeleteSortScriptRequest &request)const;
void deleteSortScriptAsync(const Model::DeleteSortScriptRequest& request, const DeleteSortScriptAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSortScriptOutcomeCallable deleteSortScriptCallable(const Model::DeleteSortScriptRequest& request) const;
@@ -865,12 +776,6 @@ namespace AlibabaCloud
DescribeAppGroupOutcome describeAppGroup(const Model::DescribeAppGroupRequest &request)const;
void describeAppGroupAsync(const Model::DescribeAppGroupRequest& request, const DescribeAppGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppGroupOutcomeCallable describeAppGroupCallable(const Model::DescribeAppGroupRequest& request) const;
DescribeAppGroupDataReportOutcome describeAppGroupDataReport(const Model::DescribeAppGroupDataReportRequest &request)const;
void describeAppGroupDataReportAsync(const Model::DescribeAppGroupDataReportRequest& request, const DescribeAppGroupDataReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppGroupDataReportOutcomeCallable describeAppGroupDataReportCallable(const Model::DescribeAppGroupDataReportRequest& request) const;
DescribeAppGroupStatisticsOutcome describeAppGroupStatistics(const Model::DescribeAppGroupStatisticsRequest &request)const;
void describeAppGroupStatisticsAsync(const Model::DescribeAppGroupStatisticsRequest& request, const DescribeAppGroupStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppGroupStatisticsOutcomeCallable describeAppGroupStatisticsCallable(const Model::DescribeAppGroupStatisticsRequest& request) const;
DescribeAppStatisticsOutcome describeAppStatistics(const Model::DescribeAppStatisticsRequest &request)const;
void describeAppStatisticsAsync(const Model::DescribeAppStatisticsRequest& request, const DescribeAppStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppStatisticsOutcomeCallable describeAppStatisticsCallable(const Model::DescribeAppStatisticsRequest& request) const;
@@ -886,9 +791,6 @@ namespace AlibabaCloud
DescribeInterventionDictionaryOutcome describeInterventionDictionary(const Model::DescribeInterventionDictionaryRequest &request)const;
void describeInterventionDictionaryAsync(const Model::DescribeInterventionDictionaryRequest& request, const DescribeInterventionDictionaryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInterventionDictionaryOutcomeCallable describeInterventionDictionaryCallable(const Model::DescribeInterventionDictionaryRequest& request) const;
DescribeModelOutcome describeModel(const Model::DescribeModelRequest &request)const;
void describeModelAsync(const Model::DescribeModelRequest& request, const DescribeModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeModelOutcomeCallable describeModelCallable(const Model::DescribeModelRequest& request) const;
DescribeQueryProcessorOutcome describeQueryProcessor(const Model::DescribeQueryProcessorRequest &request)const;
void describeQueryProcessorAsync(const Model::DescribeQueryProcessorRequest& request, const DescribeQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeQueryProcessorOutcomeCallable describeQueryProcessorCallable(const Model::DescribeQueryProcessorRequest& request) const;
@@ -937,9 +839,6 @@ namespace AlibabaCloud
GetFunctionVersionOutcome getFunctionVersion(const Model::GetFunctionVersionRequest &request)const;
void getFunctionVersionAsync(const Model::GetFunctionVersionRequest& request, const GetFunctionVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetFunctionVersionOutcomeCallable getFunctionVersionCallable(const Model::GetFunctionVersionRequest& request) const;
GetModelProgressOutcome getModelProgress(const Model::GetModelProgressRequest &request)const;
void getModelProgressAsync(const Model::GetModelProgressRequest& request, const GetModelProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetModelProgressOutcomeCallable getModelProgressCallable(const Model::GetModelProgressRequest& request) const;
GetModelReportOutcome getModelReport(const Model::GetModelReportRequest &request)const;
void getModelReportAsync(const Model::GetModelReportRequest& request, const GetModelReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetModelReportOutcomeCallable getModelReportCallable(const Model::GetModelReportRequest& request) const;
@@ -955,12 +854,6 @@ namespace AlibabaCloud
GetSortScriptFileOutcome getSortScriptFile(const Model::GetSortScriptFileRequest &request)const;
void getSortScriptFileAsync(const Model::GetSortScriptFileRequest& request, const GetSortScriptFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSortScriptFileOutcomeCallable getSortScriptFileCallable(const Model::GetSortScriptFileRequest& request) const;
GetValidationErrorOutcome getValidationError(const Model::GetValidationErrorRequest &request)const;
void getValidationErrorAsync(const Model::GetValidationErrorRequest& request, const GetValidationErrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetValidationErrorOutcomeCallable getValidationErrorCallable(const Model::GetValidationErrorRequest& request) const;
GetValidationReportOutcome getValidationReport(const Model::GetValidationReportRequest &request)const;
void getValidationReportAsync(const Model::GetValidationReportRequest& request, const GetValidationReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetValidationReportOutcomeCallable getValidationReportCallable(const Model::GetValidationReportRequest& request) const;
ListABTestExperimentsOutcome listABTestExperiments(const Model::ListABTestExperimentsRequest &request)const;
void listABTestExperimentsAsync(const Model::ListABTestExperimentsRequest& request, const ListABTestExperimentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestExperimentsOutcomeCallable listABTestExperimentsCallable(const Model::ListABTestExperimentsRequest& request) const;
@@ -970,18 +863,9 @@ namespace AlibabaCloud
ListABTestGroupsOutcome listABTestGroups(const Model::ListABTestGroupsRequest &request)const;
void listABTestGroupsAsync(const Model::ListABTestGroupsRequest& request, const ListABTestGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestGroupsOutcomeCallable listABTestGroupsCallable(const Model::ListABTestGroupsRequest& request) const;
ListABTestMetricsOutcome listABTestMetrics(const Model::ListABTestMetricsRequest &request)const;
void listABTestMetricsAsync(const Model::ListABTestMetricsRequest& request, const ListABTestMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestMetricsOutcomeCallable listABTestMetricsCallable(const Model::ListABTestMetricsRequest& request) const;
ListABTestScenesOutcome listABTestScenes(const Model::ListABTestScenesRequest &request)const;
void listABTestScenesAsync(const Model::ListABTestScenesRequest& request, const ListABTestScenesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListABTestScenesOutcomeCallable listABTestScenesCallable(const Model::ListABTestScenesRequest& request) const;
ListAppGroupErrorsOutcome listAppGroupErrors(const Model::ListAppGroupErrorsRequest &request)const;
void listAppGroupErrorsAsync(const Model::ListAppGroupErrorsRequest& request, const ListAppGroupErrorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupErrorsOutcomeCallable listAppGroupErrorsCallable(const Model::ListAppGroupErrorsRequest& request) const;
ListAppGroupMetricsOutcome listAppGroupMetrics(const Model::ListAppGroupMetricsRequest &request)const;
void listAppGroupMetricsAsync(const Model::ListAppGroupMetricsRequest& request, const ListAppGroupMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupMetricsOutcomeCallable listAppGroupMetricsCallable(const Model::ListAppGroupMetricsRequest& request) const;
ListAppGroupsOutcome listAppGroups(const Model::ListAppGroupsRequest &request)const;
void listAppGroupsAsync(const Model::ListAppGroupsRequest& request, const ListAppGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListAppGroupsOutcomeCallable listAppGroupsCallable(const Model::ListAppGroupsRequest& request) const;
@@ -997,9 +881,6 @@ namespace AlibabaCloud
ListDataSourceTablesOutcome listDataSourceTables(const Model::ListDataSourceTablesRequest &request)const;
void listDataSourceTablesAsync(const Model::ListDataSourceTablesRequest& request, const ListDataSourceTablesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDataSourceTablesOutcomeCallable listDataSourceTablesCallable(const Model::ListDataSourceTablesRequest& request) const;
ListDeployedAlgorithmModelsOutcome listDeployedAlgorithmModels(const Model::ListDeployedAlgorithmModelsRequest &request)const;
void listDeployedAlgorithmModelsAsync(const Model::ListDeployedAlgorithmModelsRequest& request, const ListDeployedAlgorithmModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDeployedAlgorithmModelsOutcomeCallable listDeployedAlgorithmModelsCallable(const Model::ListDeployedAlgorithmModelsRequest& request) const;
ListFirstRanksOutcome listFirstRanks(const Model::ListFirstRanksRequest &request)const;
void listFirstRanksAsync(const Model::ListFirstRanksRequest& request, const ListFirstRanksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListFirstRanksOutcomeCallable listFirstRanksCallable(const Model::ListFirstRanksRequest& request) const;
@@ -1039,9 +920,6 @@ namespace AlibabaCloud
ListQuotaReviewTasksOutcome listQuotaReviewTasks(const Model::ListQuotaReviewTasksRequest &request)const;
void listQuotaReviewTasksAsync(const Model::ListQuotaReviewTasksRequest& request, const ListQuotaReviewTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListQuotaReviewTasksOutcomeCallable listQuotaReviewTasksCallable(const Model::ListQuotaReviewTasksRequest& request) const;
ListRamRolesOutcome listRamRoles(const Model::ListRamRolesRequest &request)const;
void listRamRolesAsync(const Model::ListRamRolesRequest& request, const ListRamRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRamRolesOutcomeCallable listRamRolesCallable(const Model::ListRamRolesRequest& request) const;
ListScheduledTasksOutcome listScheduledTasks(const Model::ListScheduledTasksRequest &request)const;
void listScheduledTasksAsync(const Model::ListScheduledTasksRequest& request, const ListScheduledTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListScheduledTasksOutcomeCallable listScheduledTasksCallable(const Model::ListScheduledTasksRequest& request) const;
@@ -1087,9 +965,6 @@ namespace AlibabaCloud
ModifyFirstRankOutcome modifyFirstRank(const Model::ModifyFirstRankRequest &request)const;
void modifyFirstRankAsync(const Model::ModifyFirstRankRequest& request, const ModifyFirstRankAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyFirstRankOutcomeCallable modifyFirstRankCallable(const Model::ModifyFirstRankRequest& request) const;
ModifyModelOutcome modifyModel(const Model::ModifyModelRequest &request)const;
void modifyModelAsync(const Model::ModifyModelRequest& request, const ModifyModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyModelOutcomeCallable modifyModelCallable(const Model::ModifyModelRequest& request) const;
ModifyQueryProcessorOutcome modifyQueryProcessor(const Model::ModifyQueryProcessorRequest &request)const;
void modifyQueryProcessorAsync(const Model::ModifyQueryProcessorRequest& request, const ModifyQueryProcessorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyQueryProcessorOutcomeCallable modifyQueryProcessorCallable(const Model::ModifyQueryProcessorRequest& request) const;
@@ -1159,9 +1034,6 @@ namespace AlibabaCloud
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
TrainModelOutcome trainModel(const Model::TrainModelRequest &request)const;
void trainModelAsync(const Model::TrainModelRequest& request, const TrainModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TrainModelOutcomeCallable trainModelCallable(const Model::TrainModelRequest& request) const;
UnbindESUserAnalyzerOutcome unbindESUserAnalyzer(const Model::UnbindESUserAnalyzerRequest &request)const;
void unbindESUserAnalyzerAsync(const Model::UnbindESUserAnalyzerRequest& request, const UnbindESUserAnalyzerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindESUserAnalyzerOutcomeCallable unbindESUserAnalyzerCallable(const Model::UnbindESUserAnalyzerRequest& request) const;

View File

@@ -1,42 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateDataCollectionRequest : public RoaServiceRequest {
public:
CreateDataCollectionRequest();
~CreateDataCollectionRequest();
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONREQUEST_H_

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateDataCollectionResult : public ServiceResult
{
public:
struct Result
{
int status;
std::string type;
int updated;
std::string sundialId;
std::string dataCollectionType;
std::string id;
std::string industryName;
int created;
std::string name;
};
CreateDataCollectionResult();
explicit CreateDataCollectionResult(const std::string &payload);
~CreateDataCollectionResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_

View File

@@ -1,42 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateModelRequest : public RoaServiceRequest {
public:
CreateModelRequest();
~CreateModelRequest();
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT CreateModelResult : public ServiceResult
{
public:
CreateModelResult();
explicit CreateModelResult(const std::string &payload);
~CreateModelResult();
std::string getRequestId()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT DeleteModelRequest : public RoaServiceRequest {
public:
DeleteModelRequest();
~DeleteModelRequest();
std::string getModelName() const;
void setModelName(const std::string &modelName);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string modelName_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT DeleteModelResult : public ServiceResult
{
public:
DeleteModelResult();
explicit DeleteModelResult(const std::string &payload);
~DeleteModelResult();
std::string getRequestId()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT DescribeAppGroupDataReportRequest : public RoaServiceRequest {
public:
DescribeAppGroupDataReportRequest();
~DescribeAppGroupDataReportRequest();
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string endTime_;
std::string startTime_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTREQUEST_H_

View File

@@ -1,76 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT DescribeAppGroupDataReportResult : public ServiceResult
{
public:
struct Result
{
struct ReceivedSampleItem
{
struct Message
{
std::string sdkType;
std::string arg3;
std::string args;
std::string arg1;
std::string userId;
std::string sdkVersion;
int eventId;
std::string page;
std::string sessionId;
std::string clientIp;
};
Message message;
long receivedTimeMs;
};
std::vector<ReceivedSampleItem> receivedSample;
int receivedCount;
};
DescribeAppGroupDataReportResult();
explicit DescribeAppGroupDataReportResult(const std::string &payload);
~DescribeAppGroupDataReportResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTRESULT_H_

View File

@@ -1,42 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT DescribeAppGroupStatisticsRequest : public RoaServiceRequest {
public:
DescribeAppGroupStatisticsRequest();
~DescribeAppGroupStatisticsRequest();
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT DescribeAppGroupStatisticsResult : public ServiceResult
{
public:
DescribeAppGroupStatisticsResult();
explicit DescribeAppGroupStatisticsResult(const std::string &payload);
~DescribeAppGroupStatisticsResult();
std::string getRequestId()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT DescribeModelRequest : public RoaServiceRequest {
public:
DescribeModelRequest();
~DescribeModelRequest();
std::string getModelName() const;
void setModelName(const std::string &modelName);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string modelName_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT DescribeModelResult : public ServiceResult
{
public:
DescribeModelResult();
explicit DescribeModelResult(const std::string &payload);
~DescribeModelResult();
std::string getRequestId()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT GetModelProgressRequest : public RoaServiceRequest {
public:
GetModelProgressRequest();
~GetModelProgressRequest();
std::string getModelName() const;
void setModelName(const std::string &modelName);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string modelName_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSREQUEST_H_

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT GetModelProgressResult : public ServiceResult
{
public:
struct Result
{
std::string status;
int progress;
};
GetModelProgressResult();
explicit GetModelProgressResult(const std::string &payload);
~GetModelProgressResult();
std::string getRequestId()const;
Result getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
Result result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT GetValidationErrorRequest : public RoaServiceRequest {
public:
GetValidationErrorRequest();
~GetValidationErrorRequest();
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
std::string getErrorCode() const;
void setErrorCode(const std::string &errorCode);
private:
std::string appGroupIdentity_;
std::string errorCode_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT GetValidationErrorResult : public ServiceResult
{
public:
GetValidationErrorResult();
explicit GetValidationErrorResult(const std::string &payload);
~GetValidationErrorResult();
std::string getRequestId()const;
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT GetValidationReportRequest : public RoaServiceRequest {
public:
GetValidationReportRequest();
~GetValidationReportRequest();
std::string getType() const;
void setType(const std::string &type);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string type_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT GetValidationReportResult : public ServiceResult
{
public:
GetValidationReportResult();
explicit GetValidationReportResult(const std::string &payload);
~GetValidationReportResult();
std::string getRequestId()const;
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT ListABTestMetricsRequest : public RoaServiceRequest {
public:
ListABTestMetricsRequest();
~ListABTestMetricsRequest();
int getGroupId() const;
void setGroupId(int groupId);
int getSceneId() const;
void setSceneId(int sceneId);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
int groupId_;
int sceneId_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSREQUEST_H_

View File

@@ -1,64 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT ListABTestMetricsResult : public ServiceResult
{
public:
struct ResultItem
{
float ctr;
int uv;
std::string experimentName;
int pv;
float zeroHitRate;
int ipvUv;
std::string date;
int ipv;
};
ListABTestMetricsResult();
explicit ListABTestMetricsResult(const std::string &payload);
~ListABTestMetricsResult();
std::vector<ResultItem> getresult()const;
std::string getRequestId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSRESULT_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT ListAppGroupErrorsRequest : public RoaServiceRequest {
public:
ListAppGroupErrorsRequest();
~ListAppGroupErrorsRequest();
std::string getAppId() const;
void setAppId(const std::string &appId);
int getPageSize() const;
void setPageSize(int pageSize);
int getStartTime() const;
void setStartTime(int startTime);
int getStopTime() const;
void setStopTime(int stopTime);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
int getPageNumber() const;
void setPageNumber(int pageNumber);
private:
std::string appId_;
int pageSize_;
int startTime_;
int stopTime_;
std::string appGroupIdentity_;
int pageNumber_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT ListAppGroupErrorsResult : public ServiceResult
{
public:
ListAppGroupErrorsResult();
explicit ListAppGroupErrorsResult(const std::string &payload);
~ListAppGroupErrorsResult();
long getTotalCount()const;
std::string getRequestId()const;
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string requestId_;
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT ListAppGroupMetricsRequest : public RoaServiceRequest {
public:
ListAppGroupMetricsRequest();
~ListAppGroupMetricsRequest();
std::string getMetricType() const;
void setMetricType(const std::string &metricType);
std::string getIndexes() const;
void setIndexes(const std::string &indexes);
int getEndTime() const;
void setEndTime(int endTime);
int getStartTime() const;
void setStartTime(int startTime);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string metricType_;
std::string indexes_;
int endTime_;
int startTime_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT ListAppGroupMetricsResult : public ServiceResult
{
public:
ListAppGroupMetricsResult();
explicit ListAppGroupMetricsResult(const std::string &payload);
~ListAppGroupMetricsResult();
std::string getRequestId()const;
std::vector<std::string> getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::vector<std::string> result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT ListDeployedAlgorithmModelsRequest : public RoaServiceRequest {
public:
ListDeployedAlgorithmModelsRequest();
~ListDeployedAlgorithmModelsRequest();
std::string getAlgorithmType() const;
void setAlgorithmType(const std::string &algorithmType);
bool getInServiceOnly() const;
void setInServiceOnly(bool inServiceOnly);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string algorithmType_;
bool inServiceOnly_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSREQUEST_H_

View File

@@ -1,74 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT ListDeployedAlgorithmModelsResult : public ServiceResult
{
public:
struct ResultItem
{
struct ModelsItem
{
std::string status;
int progress;
std::string modelName;
std::string algorithmType;
int projectId;
int modelId;
};
std::string status;
std::vector<ResultItem::ModelsItem> models;
std::string desc;
std::string gmtCreate;
std::string gmtModified;
std::string id;
std::string appGroupName;
std::string scene;
std::vector<std::string> apps;
};
ListDeployedAlgorithmModelsResult();
explicit ListDeployedAlgorithmModelsResult(const std::string &payload);
~ListDeployedAlgorithmModelsResult();
std::vector<ResultItem> getresult()const;
std::string getRequestId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSRESULT_H_

View File

@@ -1,39 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT ListRamRolesRequest : public RoaServiceRequest {
public:
ListRamRolesRequest();
~ListRamRolesRequest();
private:
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT ListRamRolesResult : public ServiceResult
{
public:
struct ResultItem
{
std::string template_id;
bool assumed;
std::string service;
std::string name;
};
ListRamRolesResult();
explicit ListRamRolesResult(const std::string &payload);
~ListRamRolesResult();
std::vector<ResultItem> getresult()const;
std::string getRequestId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ResultItem> result_;
std::string requestId_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT ModifyModelRequest : public RoaServiceRequest {
public:
ModifyModelRequest();
~ModifyModelRequest();
std::string getModelName() const;
void setModelName(const std::string &modelName);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string modelName_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT ModifyModelResult : public ServiceResult
{
public:
ModifyModelResult();
explicit ModifyModelResult(const std::string &payload);
~ModifyModelResult();
std::string getRequestId()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELRESULT_H_

View File

@@ -1,45 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELREQUEST_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELREQUEST_H_
#include <alibabacloud/opensearch/OpenSearchExport.h>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace OpenSearch {
namespace Model {
class ALIBABACLOUD_OPENSEARCH_EXPORT TrainModelRequest : public RoaServiceRequest {
public:
TrainModelRequest();
~TrainModelRequest();
std::string getModelName() const;
void setModelName(const std::string &modelName);
std::string getAppGroupIdentity() const;
void setAppGroupIdentity(const std::string &appGroupIdentity);
private:
std::string modelName_;
std::string appGroupIdentity_;
};
} // namespace Model
} // namespace OpenSearch
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELRESULT_H_
#define ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/opensearch/OpenSearchExport.h>
namespace AlibabaCloud
{
namespace OpenSearch
{
namespace Model
{
class ALIBABACLOUD_OPENSEARCH_EXPORT TrainModelResult : public ServiceResult
{
public:
TrainModelResult();
explicit TrainModelResult(const std::string &payload);
~TrainModelResult();
std::string getRequestId()const;
std::string getResult()const;
protected:
void parse(const std::string &payload);
private:
std::string requestId_;
std::string result_;
};
}
}
}
#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELRESULT_H_

View File

@@ -339,42 +339,6 @@ OpenSearchClient::CreateAppGroupOutcomeCallable OpenSearchClient::createAppGroup
return task->get_future();
}
OpenSearchClient::CreateDataCollectionOutcome OpenSearchClient::createDataCollection(const CreateDataCollectionRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateDataCollectionOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateDataCollectionOutcome(CreateDataCollectionResult(outcome.result()));
else
return CreateDataCollectionOutcome(outcome.error());
}
void OpenSearchClient::createDataCollectionAsync(const CreateDataCollectionRequest& request, const CreateDataCollectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createDataCollection(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::CreateDataCollectionOutcomeCallable OpenSearchClient::createDataCollectionCallable(const CreateDataCollectionRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateDataCollectionOutcome()>>(
[this, request]()
{
return this->createDataCollection(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::CreateFirstRankOutcome OpenSearchClient::createFirstRank(const CreateFirstRankRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -519,42 +483,6 @@ OpenSearchClient::CreateInterventionDictionaryOutcomeCallable OpenSearchClient::
return task->get_future();
}
OpenSearchClient::CreateModelOutcome OpenSearchClient::createModel(const CreateModelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateModelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateModelOutcome(CreateModelResult(outcome.result()));
else
return CreateModelOutcome(outcome.error());
}
void OpenSearchClient::createModelAsync(const CreateModelRequest& request, const CreateModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createModel(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::CreateModelOutcomeCallable OpenSearchClient::createModelCallable(const CreateModelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateModelOutcome()>>(
[this, request]()
{
return this->createModel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::CreateQueryProcessorOutcome OpenSearchClient::createQueryProcessor(const CreateQueryProcessorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -951,42 +879,6 @@ OpenSearchClient::DeleteFunctionTaskOutcomeCallable OpenSearchClient::deleteFunc
return task->get_future();
}
OpenSearchClient::DeleteModelOutcome OpenSearchClient::deleteModel(const DeleteModelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DeleteModelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DeleteModelOutcome(DeleteModelResult(outcome.result()));
else
return DeleteModelOutcome(outcome.error());
}
void OpenSearchClient::deleteModelAsync(const DeleteModelRequest& request, const DeleteModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, deleteModel(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::DeleteModelOutcomeCallable OpenSearchClient::deleteModelCallable(const DeleteModelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DeleteModelOutcome()>>(
[this, request]()
{
return this->deleteModel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::DeleteSortScriptOutcome OpenSearchClient::deleteSortScript(const DeleteSortScriptRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1239,78 +1131,6 @@ OpenSearchClient::DescribeAppGroupOutcomeCallable OpenSearchClient::describeAppG
return task->get_future();
}
OpenSearchClient::DescribeAppGroupDataReportOutcome OpenSearchClient::describeAppGroupDataReport(const DescribeAppGroupDataReportRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAppGroupDataReportOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAppGroupDataReportOutcome(DescribeAppGroupDataReportResult(outcome.result()));
else
return DescribeAppGroupDataReportOutcome(outcome.error());
}
void OpenSearchClient::describeAppGroupDataReportAsync(const DescribeAppGroupDataReportRequest& request, const DescribeAppGroupDataReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAppGroupDataReport(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::DescribeAppGroupDataReportOutcomeCallable OpenSearchClient::describeAppGroupDataReportCallable(const DescribeAppGroupDataReportRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAppGroupDataReportOutcome()>>(
[this, request]()
{
return this->describeAppGroupDataReport(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::DescribeAppGroupStatisticsOutcome OpenSearchClient::describeAppGroupStatistics(const DescribeAppGroupStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeAppGroupStatisticsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeAppGroupStatisticsOutcome(DescribeAppGroupStatisticsResult(outcome.result()));
else
return DescribeAppGroupStatisticsOutcome(outcome.error());
}
void OpenSearchClient::describeAppGroupStatisticsAsync(const DescribeAppGroupStatisticsRequest& request, const DescribeAppGroupStatisticsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeAppGroupStatistics(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::DescribeAppGroupStatisticsOutcomeCallable OpenSearchClient::describeAppGroupStatisticsCallable(const DescribeAppGroupStatisticsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeAppGroupStatisticsOutcome()>>(
[this, request]()
{
return this->describeAppGroupStatistics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::DescribeAppStatisticsOutcome OpenSearchClient::describeAppStatistics(const DescribeAppStatisticsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -1491,42 +1311,6 @@ OpenSearchClient::DescribeInterventionDictionaryOutcomeCallable OpenSearchClient
return task->get_future();
}
OpenSearchClient::DescribeModelOutcome OpenSearchClient::describeModel(const DescribeModelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return DescribeModelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return DescribeModelOutcome(DescribeModelResult(outcome.result()));
else
return DescribeModelOutcome(outcome.error());
}
void OpenSearchClient::describeModelAsync(const DescribeModelRequest& request, const DescribeModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, describeModel(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::DescribeModelOutcomeCallable OpenSearchClient::describeModelCallable(const DescribeModelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<DescribeModelOutcome()>>(
[this, request]()
{
return this->describeModel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::DescribeQueryProcessorOutcome OpenSearchClient::describeQueryProcessor(const DescribeQueryProcessorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2103,42 +1887,6 @@ OpenSearchClient::GetFunctionVersionOutcomeCallable OpenSearchClient::getFunctio
return task->get_future();
}
OpenSearchClient::GetModelProgressOutcome OpenSearchClient::getModelProgress(const GetModelProgressRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetModelProgressOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetModelProgressOutcome(GetModelProgressResult(outcome.result()));
else
return GetModelProgressOutcome(outcome.error());
}
void OpenSearchClient::getModelProgressAsync(const GetModelProgressRequest& request, const GetModelProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getModelProgress(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::GetModelProgressOutcomeCallable OpenSearchClient::getModelProgressCallable(const GetModelProgressRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetModelProgressOutcome()>>(
[this, request]()
{
return this->getModelProgress(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::GetModelReportOutcome OpenSearchClient::getModelReport(const GetModelReportRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2319,78 +2067,6 @@ OpenSearchClient::GetSortScriptFileOutcomeCallable OpenSearchClient::getSortScri
return task->get_future();
}
OpenSearchClient::GetValidationErrorOutcome OpenSearchClient::getValidationError(const GetValidationErrorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetValidationErrorOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetValidationErrorOutcome(GetValidationErrorResult(outcome.result()));
else
return GetValidationErrorOutcome(outcome.error());
}
void OpenSearchClient::getValidationErrorAsync(const GetValidationErrorRequest& request, const GetValidationErrorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getValidationError(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::GetValidationErrorOutcomeCallable OpenSearchClient::getValidationErrorCallable(const GetValidationErrorRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetValidationErrorOutcome()>>(
[this, request]()
{
return this->getValidationError(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::GetValidationReportOutcome OpenSearchClient::getValidationReport(const GetValidationReportRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetValidationReportOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetValidationReportOutcome(GetValidationReportResult(outcome.result()));
else
return GetValidationReportOutcome(outcome.error());
}
void OpenSearchClient::getValidationReportAsync(const GetValidationReportRequest& request, const GetValidationReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getValidationReport(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::GetValidationReportOutcomeCallable OpenSearchClient::getValidationReportCallable(const GetValidationReportRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetValidationReportOutcome()>>(
[this, request]()
{
return this->getValidationReport(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ListABTestExperimentsOutcome OpenSearchClient::listABTestExperiments(const ListABTestExperimentsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2499,42 +2175,6 @@ OpenSearchClient::ListABTestGroupsOutcomeCallable OpenSearchClient::listABTestGr
return task->get_future();
}
OpenSearchClient::ListABTestMetricsOutcome OpenSearchClient::listABTestMetrics(const ListABTestMetricsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListABTestMetricsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListABTestMetricsOutcome(ListABTestMetricsResult(outcome.result()));
else
return ListABTestMetricsOutcome(outcome.error());
}
void OpenSearchClient::listABTestMetricsAsync(const ListABTestMetricsRequest& request, const ListABTestMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listABTestMetrics(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::ListABTestMetricsOutcomeCallable OpenSearchClient::listABTestMetricsCallable(const ListABTestMetricsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListABTestMetricsOutcome()>>(
[this, request]()
{
return this->listABTestMetrics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ListABTestScenesOutcome OpenSearchClient::listABTestScenes(const ListABTestScenesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2571,78 +2211,6 @@ OpenSearchClient::ListABTestScenesOutcomeCallable OpenSearchClient::listABTestSc
return task->get_future();
}
OpenSearchClient::ListAppGroupErrorsOutcome OpenSearchClient::listAppGroupErrors(const ListAppGroupErrorsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAppGroupErrorsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAppGroupErrorsOutcome(ListAppGroupErrorsResult(outcome.result()));
else
return ListAppGroupErrorsOutcome(outcome.error());
}
void OpenSearchClient::listAppGroupErrorsAsync(const ListAppGroupErrorsRequest& request, const ListAppGroupErrorsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAppGroupErrors(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::ListAppGroupErrorsOutcomeCallable OpenSearchClient::listAppGroupErrorsCallable(const ListAppGroupErrorsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAppGroupErrorsOutcome()>>(
[this, request]()
{
return this->listAppGroupErrors(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ListAppGroupMetricsOutcome OpenSearchClient::listAppGroupMetrics(const ListAppGroupMetricsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListAppGroupMetricsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListAppGroupMetricsOutcome(ListAppGroupMetricsResult(outcome.result()));
else
return ListAppGroupMetricsOutcome(outcome.error());
}
void OpenSearchClient::listAppGroupMetricsAsync(const ListAppGroupMetricsRequest& request, const ListAppGroupMetricsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listAppGroupMetrics(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::ListAppGroupMetricsOutcomeCallable OpenSearchClient::listAppGroupMetricsCallable(const ListAppGroupMetricsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListAppGroupMetricsOutcome()>>(
[this, request]()
{
return this->listAppGroupMetrics(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ListAppGroupsOutcome OpenSearchClient::listAppGroups(const ListAppGroupsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2823,42 +2391,6 @@ OpenSearchClient::ListDataSourceTablesOutcomeCallable OpenSearchClient::listData
return task->get_future();
}
OpenSearchClient::ListDeployedAlgorithmModelsOutcome OpenSearchClient::listDeployedAlgorithmModels(const ListDeployedAlgorithmModelsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListDeployedAlgorithmModelsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListDeployedAlgorithmModelsOutcome(ListDeployedAlgorithmModelsResult(outcome.result()));
else
return ListDeployedAlgorithmModelsOutcome(outcome.error());
}
void OpenSearchClient::listDeployedAlgorithmModelsAsync(const ListDeployedAlgorithmModelsRequest& request, const ListDeployedAlgorithmModelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listDeployedAlgorithmModels(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::ListDeployedAlgorithmModelsOutcomeCallable OpenSearchClient::listDeployedAlgorithmModelsCallable(const ListDeployedAlgorithmModelsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListDeployedAlgorithmModelsOutcome()>>(
[this, request]()
{
return this->listDeployedAlgorithmModels(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ListFirstRanksOutcome OpenSearchClient::listFirstRanks(const ListFirstRanksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3327,42 +2859,6 @@ OpenSearchClient::ListQuotaReviewTasksOutcomeCallable OpenSearchClient::listQuot
return task->get_future();
}
OpenSearchClient::ListRamRolesOutcome OpenSearchClient::listRamRoles(const ListRamRolesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ListRamRolesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ListRamRolesOutcome(ListRamRolesResult(outcome.result()));
else
return ListRamRolesOutcome(outcome.error());
}
void OpenSearchClient::listRamRolesAsync(const ListRamRolesRequest& request, const ListRamRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, listRamRoles(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::ListRamRolesOutcomeCallable OpenSearchClient::listRamRolesCallable(const ListRamRolesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ListRamRolesOutcome()>>(
[this, request]()
{
return this->listRamRoles(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ListScheduledTasksOutcome OpenSearchClient::listScheduledTasks(const ListScheduledTasksRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3903,42 +3399,6 @@ OpenSearchClient::ModifyFirstRankOutcomeCallable OpenSearchClient::modifyFirstRa
return task->get_future();
}
OpenSearchClient::ModifyModelOutcome OpenSearchClient::modifyModel(const ModifyModelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ModifyModelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ModifyModelOutcome(ModifyModelResult(outcome.result()));
else
return ModifyModelOutcome(outcome.error());
}
void OpenSearchClient::modifyModelAsync(const ModifyModelRequest& request, const ModifyModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, modifyModel(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::ModifyModelOutcomeCallable OpenSearchClient::modifyModelCallable(const ModifyModelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ModifyModelOutcome()>>(
[this, request]()
{
return this->modifyModel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::ModifyQueryProcessorOutcome OpenSearchClient::modifyQueryProcessor(const ModifyQueryProcessorRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -4767,42 +4227,6 @@ OpenSearchClient::TagResourcesOutcomeCallable OpenSearchClient::tagResourcesCall
return task->get_future();
}
OpenSearchClient::TrainModelOutcome OpenSearchClient::trainModel(const TrainModelRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TrainModelOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TrainModelOutcome(TrainModelResult(outcome.result()));
else
return TrainModelOutcome(outcome.error());
}
void OpenSearchClient::trainModelAsync(const TrainModelRequest& request, const TrainModelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, trainModel(request), context);
};
asyncExecute(new Runnable(fn));
}
OpenSearchClient::TrainModelOutcomeCallable OpenSearchClient::trainModelCallable(const TrainModelRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TrainModelOutcome()>>(
[this, request]()
{
return this->trainModel(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
OpenSearchClient::UnbindESUserAnalyzerOutcome OpenSearchClient::unbindESUserAnalyzer(const UnbindESUserAnalyzerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -1,37 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/CreateDataCollectionRequest.h>
using AlibabaCloud::OpenSearch::Model::CreateDataCollectionRequest;
CreateDataCollectionRequest::CreateDataCollectionRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/data-collections"};
setMethod(HttpRequest::Method::Post);
}
CreateDataCollectionRequest::~CreateDataCollectionRequest() {}
std::string CreateDataCollectionRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void CreateDataCollectionRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,75 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/CreateDataCollectionResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
CreateDataCollectionResult::CreateDataCollectionResult() :
ServiceResult()
{}
CreateDataCollectionResult::CreateDataCollectionResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateDataCollectionResult::~CreateDataCollectionResult()
{}
void CreateDataCollectionResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["result"];
if(!resultNode["created"].isNull())
result_.created = std::stoi(resultNode["created"].asString());
if(!resultNode["dataCollectionType"].isNull())
result_.dataCollectionType = resultNode["dataCollectionType"].asString();
if(!resultNode["type"].isNull())
result_.type = resultNode["type"].asString();
if(!resultNode["industryName"].isNull())
result_.industryName = resultNode["industryName"].asString();
if(!resultNode["status"].isNull())
result_.status = std::stoi(resultNode["status"].asString());
if(!resultNode["updated"].isNull())
result_.updated = std::stoi(resultNode["updated"].asString());
if(!resultNode["name"].isNull())
result_.name = resultNode["name"].asString();
if(!resultNode["sundialId"].isNull())
result_.sundialId = resultNode["sundialId"].asString();
if(!resultNode["id"].isNull())
result_.id = resultNode["id"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string CreateDataCollectionResult::getRequestId()const
{
return requestId_;
}
CreateDataCollectionResult::Result CreateDataCollectionResult::getResult()const
{
return result_;
}

View File

@@ -1,37 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/CreateModelRequest.h>
using AlibabaCloud::OpenSearch::Model::CreateModelRequest;
CreateModelRequest::CreateModelRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/models"};
setMethod(HttpRequest::Method::Post);
}
CreateModelRequest::~CreateModelRequest() {}
std::string CreateModelRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void CreateModelRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/CreateModelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
CreateModelResult::CreateModelResult() :
ServiceResult()
{}
CreateModelResult::CreateModelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateModelResult::~CreateModelResult()
{}
void CreateModelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["result"].isNull())
result_ = value["result"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string CreateModelResult::getRequestId()const
{
return requestId_;
}
std::string CreateModelResult::getResult()const
{
return result_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DeleteModelRequest.h>
using AlibabaCloud::OpenSearch::Model::DeleteModelRequest;
DeleteModelRequest::DeleteModelRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName]"};
setMethod(HttpRequest::Method::Delete);
}
DeleteModelRequest::~DeleteModelRequest() {}
std::string DeleteModelRequest::getModelName() const {
return modelName_;
}
void DeleteModelRequest::setModelName(const std::string &modelName) {
modelName_ = modelName;
setParameter(std::string("modelName"), modelName);
}
std::string DeleteModelRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void DeleteModelRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DeleteModelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
DeleteModelResult::DeleteModelResult() :
ServiceResult()
{}
DeleteModelResult::DeleteModelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DeleteModelResult::~DeleteModelResult()
{}
void DeleteModelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["result"].isNull())
result_ = value["result"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string DeleteModelResult::getRequestId()const
{
return requestId_;
}
std::string DeleteModelResult::getResult()const
{
return result_;
}

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h>
using AlibabaCloud::OpenSearch::Model::DescribeAppGroupDataReportRequest;
DescribeAppGroupDataReportRequest::DescribeAppGroupDataReportRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/data-report"};
setMethod(HttpRequest::Method::Get);
}
DescribeAppGroupDataReportRequest::~DescribeAppGroupDataReportRequest() {}
std::string DescribeAppGroupDataReportRequest::getEndTime() const {
return endTime_;
}
void DescribeAppGroupDataReportRequest::setEndTime(const std::string &endTime) {
endTime_ = endTime;
setParameter(std::string("endTime"), endTime);
}
std::string DescribeAppGroupDataReportRequest::getStartTime() const {
return startTime_;
}
void DescribeAppGroupDataReportRequest::setStartTime(const std::string &startTime) {
startTime_ = startTime;
setParameter(std::string("startTime"), startTime);
}
std::string DescribeAppGroupDataReportRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void DescribeAppGroupDataReportRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,88 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
DescribeAppGroupDataReportResult::DescribeAppGroupDataReportResult() :
ServiceResult()
{}
DescribeAppGroupDataReportResult::DescribeAppGroupDataReportResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAppGroupDataReportResult::~DescribeAppGroupDataReportResult()
{}
void DescribeAppGroupDataReportResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["result"];
if(!resultNode["receivedCount"].isNull())
result_.receivedCount = std::stoi(resultNode["receivedCount"].asString());
auto allreceivedSampleNode = resultNode["receivedSample"]["receivedSampleItem"];
for (auto resultNodereceivedSamplereceivedSampleItem : allreceivedSampleNode)
{
Result::ReceivedSampleItem receivedSampleItemObject;
if(!resultNodereceivedSamplereceivedSampleItem["receivedTimeMs"].isNull())
receivedSampleItemObject.receivedTimeMs = std::stol(resultNodereceivedSamplereceivedSampleItem["receivedTimeMs"].asString());
auto messageNode = value["message"];
if(!messageNode["eventId"].isNull())
receivedSampleItemObject.message.eventId = std::stoi(messageNode["eventId"].asString());
if(!messageNode["arg3"].isNull())
receivedSampleItemObject.message.arg3 = messageNode["arg3"].asString();
if(!messageNode["arg1"].isNull())
receivedSampleItemObject.message.arg1 = messageNode["arg1"].asString();
if(!messageNode["sdkVersion"].isNull())
receivedSampleItemObject.message.sdkVersion = messageNode["sdkVersion"].asString();
if(!messageNode["userId"].isNull())
receivedSampleItemObject.message.userId = messageNode["userId"].asString();
if(!messageNode["page"].isNull())
receivedSampleItemObject.message.page = messageNode["page"].asString();
if(!messageNode["args"].isNull())
receivedSampleItemObject.message.args = messageNode["args"].asString();
if(!messageNode["sessionId"].isNull())
receivedSampleItemObject.message.sessionId = messageNode["sessionId"].asString();
if(!messageNode["sdkType"].isNull())
receivedSampleItemObject.message.sdkType = messageNode["sdkType"].asString();
if(!messageNode["clientIp"].isNull())
receivedSampleItemObject.message.clientIp = messageNode["clientIp"].asString();
result_.receivedSample.push_back(receivedSampleItemObject);
}
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string DescribeAppGroupDataReportResult::getRequestId()const
{
return requestId_;
}
DescribeAppGroupDataReportResult::Result DescribeAppGroupDataReportResult::getResult()const
{
return result_;
}

View File

@@ -1,37 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DescribeAppGroupStatisticsRequest.h>
using AlibabaCloud::OpenSearch::Model::DescribeAppGroupStatisticsRequest;
DescribeAppGroupStatisticsRequest::DescribeAppGroupStatisticsRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/statistics"};
setMethod(HttpRequest::Method::Get);
}
DescribeAppGroupStatisticsRequest::~DescribeAppGroupStatisticsRequest() {}
std::string DescribeAppGroupStatisticsRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void DescribeAppGroupStatisticsRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DescribeAppGroupStatisticsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
DescribeAppGroupStatisticsResult::DescribeAppGroupStatisticsResult() :
ServiceResult()
{}
DescribeAppGroupStatisticsResult::DescribeAppGroupStatisticsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeAppGroupStatisticsResult::~DescribeAppGroupStatisticsResult()
{}
void DescribeAppGroupStatisticsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["result"].isNull())
result_ = value["result"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string DescribeAppGroupStatisticsResult::getRequestId()const
{
return requestId_;
}
std::string DescribeAppGroupStatisticsResult::getResult()const
{
return result_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DescribeModelRequest.h>
using AlibabaCloud::OpenSearch::Model::DescribeModelRequest;
DescribeModelRequest::DescribeModelRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName]"};
setMethod(HttpRequest::Method::Get);
}
DescribeModelRequest::~DescribeModelRequest() {}
std::string DescribeModelRequest::getModelName() const {
return modelName_;
}
void DescribeModelRequest::setModelName(const std::string &modelName) {
modelName_ = modelName;
setParameter(std::string("modelName"), modelName);
}
std::string DescribeModelRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void DescribeModelRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/DescribeModelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
DescribeModelResult::DescribeModelResult() :
ServiceResult()
{}
DescribeModelResult::DescribeModelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
DescribeModelResult::~DescribeModelResult()
{}
void DescribeModelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["result"].isNull())
result_ = value["result"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string DescribeModelResult::getRequestId()const
{
return requestId_;
}
std::string DescribeModelResult::getResult()const
{
return result_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/GetModelProgressRequest.h>
using AlibabaCloud::OpenSearch::Model::GetModelProgressRequest;
GetModelProgressRequest::GetModelProgressRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName]/progress"};
setMethod(HttpRequest::Method::Get);
}
GetModelProgressRequest::~GetModelProgressRequest() {}
std::string GetModelProgressRequest::getModelName() const {
return modelName_;
}
void GetModelProgressRequest::setModelName(const std::string &modelName) {
modelName_ = modelName;
setParameter(std::string("modelName"), modelName);
}
std::string GetModelProgressRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void GetModelProgressRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,61 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/GetModelProgressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
GetModelProgressResult::GetModelProgressResult() :
ServiceResult()
{}
GetModelProgressResult::GetModelProgressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetModelProgressResult::~GetModelProgressResult()
{}
void GetModelProgressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto resultNode = value["result"];
if(!resultNode["progress"].isNull())
result_.progress = std::stoi(resultNode["progress"].asString());
if(!resultNode["status"].isNull())
result_.status = resultNode["status"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string GetModelProgressResult::getRequestId()const
{
return requestId_;
}
GetModelProgressResult::Result GetModelProgressResult::getResult()const
{
return result_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/GetValidationErrorRequest.h>
using AlibabaCloud::OpenSearch::Model::GetValidationErrorRequest;
GetValidationErrorRequest::GetValidationErrorRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/data/validation-error"};
setMethod(HttpRequest::Method::Get);
}
GetValidationErrorRequest::~GetValidationErrorRequest() {}
std::string GetValidationErrorRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void GetValidationErrorRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}
std::string GetValidationErrorRequest::getErrorCode() const {
return errorCode_;
}
void GetValidationErrorRequest::setErrorCode(const std::string &errorCode) {
errorCode_ = errorCode;
setParameter(std::string("errorCode"), errorCode);
}

View File

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/GetValidationErrorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
GetValidationErrorResult::GetValidationErrorResult() :
ServiceResult()
{}
GetValidationErrorResult::GetValidationErrorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetValidationErrorResult::~GetValidationErrorResult()
{}
void GetValidationErrorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresult = value["result"]["result"];
for (const auto &item : allresult)
result_.push_back(item.asString());
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string GetValidationErrorResult::getRequestId()const
{
return requestId_;
}
std::vector<std::string> GetValidationErrorResult::getResult()const
{
return result_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/GetValidationReportRequest.h>
using AlibabaCloud::OpenSearch::Model::GetValidationReportRequest;
GetValidationReportRequest::GetValidationReportRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/data/validation-report"};
setMethod(HttpRequest::Method::Get);
}
GetValidationReportRequest::~GetValidationReportRequest() {}
std::string GetValidationReportRequest::getType() const {
return type_;
}
void GetValidationReportRequest::setType(const std::string &type) {
type_ = type;
setParameter(std::string("type"), type);
}
std::string GetValidationReportRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void GetValidationReportRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/GetValidationReportResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
GetValidationReportResult::GetValidationReportResult() :
ServiceResult()
{}
GetValidationReportResult::GetValidationReportResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetValidationReportResult::~GetValidationReportResult()
{}
void GetValidationReportResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresult = value["result"]["result"];
for (const auto &item : allresult)
result_.push_back(item.asString());
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string GetValidationReportResult::getRequestId()const
{
return requestId_;
}
std::vector<std::string> GetValidationReportResult::getResult()const
{
return result_;
}

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListABTestMetricsRequest.h>
using AlibabaCloud::OpenSearch::Model::ListABTestMetricsRequest;
ListABTestMetricsRequest::ListABTestMetricsRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/scenes/[sceneId]/groups/[groupId]/metrics"};
setMethod(HttpRequest::Method::Get);
}
ListABTestMetricsRequest::~ListABTestMetricsRequest() {}
int ListABTestMetricsRequest::getGroupId() const {
return groupId_;
}
void ListABTestMetricsRequest::setGroupId(int groupId) {
groupId_ = groupId;
setParameter(std::string("groupId"), std::to_string(groupId));
}
int ListABTestMetricsRequest::getSceneId() const {
return sceneId_;
}
void ListABTestMetricsRequest::setSceneId(int sceneId) {
sceneId_ = sceneId;
setParameter(std::string("sceneId"), std::to_string(sceneId));
}
std::string ListABTestMetricsRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void ListABTestMetricsRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,78 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListABTestMetricsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
ListABTestMetricsResult::ListABTestMetricsResult() :
ServiceResult()
{}
ListABTestMetricsResult::ListABTestMetricsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListABTestMetricsResult::~ListABTestMetricsResult()
{}
void ListABTestMetricsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresultNode = value["result"]["resultItem"];
for (auto valueresultresultItem : allresultNode)
{
ResultItem resultObject;
if(!valueresultresultItem["zeroHitRate"].isNull())
resultObject.zeroHitRate = std::stof(valueresultresultItem["zeroHitRate"].asString());
if(!valueresultresultItem["ctr"].isNull())
resultObject.ctr = std::stof(valueresultresultItem["ctr"].asString());
if(!valueresultresultItem["experimentName"].isNull())
resultObject.experimentName = valueresultresultItem["experimentName"].asString();
if(!valueresultresultItem["date"].isNull())
resultObject.date = valueresultresultItem["date"].asString();
if(!valueresultresultItem["ipvUv"].isNull())
resultObject.ipvUv = std::stoi(valueresultresultItem["ipvUv"].asString());
if(!valueresultresultItem["ipv"].isNull())
resultObject.ipv = std::stoi(valueresultresultItem["ipv"].asString());
if(!valueresultresultItem["uv"].isNull())
resultObject.uv = std::stoi(valueresultresultItem["uv"].asString());
if(!valueresultresultItem["pv"].isNull())
resultObject.pv = std::stoi(valueresultresultItem["pv"].asString());
result_.push_back(resultObject);
}
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::vector<ListABTestMetricsResult::ResultItem> ListABTestMetricsResult::getresult()const
{
return result_;
}
std::string ListABTestMetricsResult::getRequestId()const
{
return requestId_;
}

View File

@@ -1,82 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h>
using AlibabaCloud::OpenSearch::Model::ListAppGroupErrorsRequest;
ListAppGroupErrorsRequest::ListAppGroupErrorsRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/errors"};
setMethod(HttpRequest::Method::Get);
}
ListAppGroupErrorsRequest::~ListAppGroupErrorsRequest() {}
std::string ListAppGroupErrorsRequest::getAppId() const {
return appId_;
}
void ListAppGroupErrorsRequest::setAppId(const std::string &appId) {
appId_ = appId;
setParameter(std::string("appId"), appId);
}
int ListAppGroupErrorsRequest::getPageSize() const {
return pageSize_;
}
void ListAppGroupErrorsRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("pageSize"), std::to_string(pageSize));
}
int ListAppGroupErrorsRequest::getStartTime() const {
return startTime_;
}
void ListAppGroupErrorsRequest::setStartTime(int startTime) {
startTime_ = startTime;
setParameter(std::string("startTime"), std::to_string(startTime));
}
int ListAppGroupErrorsRequest::getStopTime() const {
return stopTime_;
}
void ListAppGroupErrorsRequest::setStopTime(int stopTime) {
stopTime_ = stopTime;
setParameter(std::string("stopTime"), std::to_string(stopTime));
}
std::string ListAppGroupErrorsRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void ListAppGroupErrorsRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}
int ListAppGroupErrorsRequest::getPageNumber() const {
return pageNumber_;
}
void ListAppGroupErrorsRequest::setPageNumber(int pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("pageNumber"), std::to_string(pageNumber));
}

View File

@@ -1,66 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListAppGroupErrorsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
ListAppGroupErrorsResult::ListAppGroupErrorsResult() :
ServiceResult()
{}
ListAppGroupErrorsResult::ListAppGroupErrorsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListAppGroupErrorsResult::~ListAppGroupErrorsResult()
{}
void ListAppGroupErrorsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresult = value["result"]["result"];
for (const auto &item : allresult)
result_.push_back(item.asString());
if(!value["totalCount"].isNull())
totalCount_ = std::stol(value["totalCount"].asString());
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
long ListAppGroupErrorsResult::getTotalCount()const
{
return totalCount_;
}
std::string ListAppGroupErrorsResult::getRequestId()const
{
return requestId_;
}
std::vector<std::string> ListAppGroupErrorsResult::getResult()const
{
return result_;
}

View File

@@ -1,73 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h>
using AlibabaCloud::OpenSearch::Model::ListAppGroupMetricsRequest;
ListAppGroupMetricsRequest::ListAppGroupMetricsRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/metrics"};
setMethod(HttpRequest::Method::Get);
}
ListAppGroupMetricsRequest::~ListAppGroupMetricsRequest() {}
std::string ListAppGroupMetricsRequest::getMetricType() const {
return metricType_;
}
void ListAppGroupMetricsRequest::setMetricType(const std::string &metricType) {
metricType_ = metricType;
setParameter(std::string("metricType"), metricType);
}
std::string ListAppGroupMetricsRequest::getIndexes() const {
return indexes_;
}
void ListAppGroupMetricsRequest::setIndexes(const std::string &indexes) {
indexes_ = indexes;
setParameter(std::string("indexes"), indexes);
}
int ListAppGroupMetricsRequest::getEndTime() const {
return endTime_;
}
void ListAppGroupMetricsRequest::setEndTime(int endTime) {
endTime_ = endTime;
setParameter(std::string("endTime"), std::to_string(endTime));
}
int ListAppGroupMetricsRequest::getStartTime() const {
return startTime_;
}
void ListAppGroupMetricsRequest::setStartTime(int startTime) {
startTime_ = startTime;
setParameter(std::string("startTime"), std::to_string(startTime));
}
std::string ListAppGroupMetricsRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void ListAppGroupMetricsRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,59 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListAppGroupMetricsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
ListAppGroupMetricsResult::ListAppGroupMetricsResult() :
ServiceResult()
{}
ListAppGroupMetricsResult::ListAppGroupMetricsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListAppGroupMetricsResult::~ListAppGroupMetricsResult()
{}
void ListAppGroupMetricsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresult = value["result"]["result"];
for (const auto &item : allresult)
result_.push_back(item.asString());
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string ListAppGroupMetricsResult::getRequestId()const
{
return requestId_;
}
std::vector<std::string> ListAppGroupMetricsResult::getResult()const
{
return result_;
}

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h>
using AlibabaCloud::OpenSearch::Model::ListDeployedAlgorithmModelsRequest;
ListDeployedAlgorithmModelsRequest::ListDeployedAlgorithmModelsRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/deployed-algorithm-models"};
setMethod(HttpRequest::Method::Get);
}
ListDeployedAlgorithmModelsRequest::~ListDeployedAlgorithmModelsRequest() {}
std::string ListDeployedAlgorithmModelsRequest::getAlgorithmType() const {
return algorithmType_;
}
void ListDeployedAlgorithmModelsRequest::setAlgorithmType(const std::string &algorithmType) {
algorithmType_ = algorithmType;
setParameter(std::string("algorithmType"), algorithmType);
}
bool ListDeployedAlgorithmModelsRequest::getInServiceOnly() const {
return inServiceOnly_;
}
void ListDeployedAlgorithmModelsRequest::setInServiceOnly(bool inServiceOnly) {
inServiceOnly_ = inServiceOnly;
setParameter(std::string("inServiceOnly"), inServiceOnly ? "true" : "false");
}
std::string ListDeployedAlgorithmModelsRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void ListDeployedAlgorithmModelsRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,97 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
ListDeployedAlgorithmModelsResult::ListDeployedAlgorithmModelsResult() :
ServiceResult()
{}
ListDeployedAlgorithmModelsResult::ListDeployedAlgorithmModelsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListDeployedAlgorithmModelsResult::~ListDeployedAlgorithmModelsResult()
{}
void ListDeployedAlgorithmModelsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresultNode = value["result"]["resultItem"];
for (auto valueresultresultItem : allresultNode)
{
ResultItem resultObject;
if(!valueresultresultItem["appGroupName"].isNull())
resultObject.appGroupName = valueresultresultItem["appGroupName"].asString();
if(!valueresultresultItem["gmtModified"].isNull())
resultObject.gmtModified = valueresultresultItem["gmtModified"].asString();
if(!valueresultresultItem["status"].isNull())
resultObject.status = valueresultresultItem["status"].asString();
if(!valueresultresultItem["scene"].isNull())
resultObject.scene = valueresultresultItem["scene"].asString();
if(!valueresultresultItem["gmtCreate"].isNull())
resultObject.gmtCreate = valueresultresultItem["gmtCreate"].asString();
if(!valueresultresultItem["id"].isNull())
resultObject.id = valueresultresultItem["id"].asString();
if(!valueresultresultItem["desc"].isNull())
resultObject.desc = valueresultresultItem["desc"].asString();
auto allmodelsNode = valueresultresultItem["models"]["modelsItem"];
for (auto valueresultresultItemmodelsmodelsItem : allmodelsNode)
{
ResultItem::ModelsItem modelsObject;
if(!valueresultresultItemmodelsmodelsItem["modelName"].isNull())
modelsObject.modelName = valueresultresultItemmodelsmodelsItem["modelName"].asString();
if(!valueresultresultItemmodelsmodelsItem["projectId"].isNull())
modelsObject.projectId = std::stoi(valueresultresultItemmodelsmodelsItem["projectId"].asString());
if(!valueresultresultItemmodelsmodelsItem["modelId"].isNull())
modelsObject.modelId = std::stoi(valueresultresultItemmodelsmodelsItem["modelId"].asString());
if(!valueresultresultItemmodelsmodelsItem["algorithmType"].isNull())
modelsObject.algorithmType = valueresultresultItemmodelsmodelsItem["algorithmType"].asString();
if(!valueresultresultItemmodelsmodelsItem["status"].isNull())
modelsObject.status = valueresultresultItemmodelsmodelsItem["status"].asString();
if(!valueresultresultItemmodelsmodelsItem["progress"].isNull())
modelsObject.progress = std::stoi(valueresultresultItemmodelsmodelsItem["progress"].asString());
resultObject.models.push_back(modelsObject);
}
auto allApps = value["apps"]["apps"];
for (auto value : allApps)
resultObject.apps.push_back(value.asString());
result_.push_back(resultObject);
}
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::vector<ListDeployedAlgorithmModelsResult::ResultItem> ListDeployedAlgorithmModelsResult::getresult()const
{
return result_;
}
std::string ListDeployedAlgorithmModelsResult::getRequestId()const
{
return requestId_;
}

View File

@@ -1,28 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListRamRolesRequest.h>
using AlibabaCloud::OpenSearch::Model::ListRamRolesRequest;
ListRamRolesRequest::ListRamRolesRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/assist/ram/roles"};
setMethod(HttpRequest::Method::Get);
}
ListRamRolesRequest::~ListRamRolesRequest() {}

View File

@@ -1,70 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ListRamRolesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
ListRamRolesResult::ListRamRolesResult() :
ServiceResult()
{}
ListRamRolesResult::ListRamRolesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListRamRolesResult::~ListRamRolesResult()
{}
void ListRamRolesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allresultNode = value["result"]["resultItem"];
for (auto valueresultresultItem : allresultNode)
{
ResultItem resultObject;
if(!valueresultresultItem["template_id"].isNull())
resultObject.template_id = valueresultresultItem["template_id"].asString();
if(!valueresultresultItem["service"].isNull())
resultObject.service = valueresultresultItem["service"].asString();
if(!valueresultresultItem["assumed"].isNull())
resultObject.assumed = valueresultresultItem["assumed"].asString() == "true";
if(!valueresultresultItem["name"].isNull())
resultObject.name = valueresultresultItem["name"].asString();
result_.push_back(resultObject);
}
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::vector<ListRamRolesResult::ResultItem> ListRamRolesResult::getresult()const
{
return result_;
}
std::string ListRamRolesResult::getRequestId()const
{
return requestId_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ModifyModelRequest.h>
using AlibabaCloud::OpenSearch::Model::ModifyModelRequest;
ModifyModelRequest::ModifyModelRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName]"};
setMethod(HttpRequest::Method::Put);
}
ModifyModelRequest::~ModifyModelRequest() {}
std::string ModifyModelRequest::getModelName() const {
return modelName_;
}
void ModifyModelRequest::setModelName(const std::string &modelName) {
modelName_ = modelName;
setParameter(std::string("modelName"), modelName);
}
std::string ModifyModelRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void ModifyModelRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/ModifyModelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
ModifyModelResult::ModifyModelResult() :
ServiceResult()
{}
ModifyModelResult::ModifyModelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyModelResult::~ModifyModelResult()
{}
void ModifyModelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["result"].isNull())
result_ = value["result"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string ModifyModelResult::getRequestId()const
{
return requestId_;
}
std::string ModifyModelResult::getResult()const
{
return result_;
}

View File

@@ -1,46 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/TrainModelRequest.h>
using AlibabaCloud::OpenSearch::Model::TrainModelRequest;
TrainModelRequest::TrainModelRequest()
: RoaServiceRequest("opensearch", "2017-12-25") {
setResourcePath("/v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName]/actions/train"};
setMethod(HttpRequest::Method::Post);
}
TrainModelRequest::~TrainModelRequest() {}
std::string TrainModelRequest::getModelName() const {
return modelName_;
}
void TrainModelRequest::setModelName(const std::string &modelName) {
modelName_ = modelName;
setParameter(std::string("modelName"), modelName);
}
std::string TrainModelRequest::getAppGroupIdentity() const {
return appGroupIdentity_;
}
void TrainModelRequest::setAppGroupIdentity(const std::string &appGroupIdentity) {
appGroupIdentity_ = appGroupIdentity;
setParameter(std::string("appGroupIdentity"), appGroupIdentity);
}

View File

@@ -1,58 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/opensearch/model/TrainModelResult.h>
#include <json/json.h>
using namespace AlibabaCloud::OpenSearch;
using namespace AlibabaCloud::OpenSearch::Model;
TrainModelResult::TrainModelResult() :
ServiceResult()
{}
TrainModelResult::TrainModelResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TrainModelResult::~TrainModelResult()
{}
void TrainModelResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["result"].isNull())
result_ = value["result"].asString();
if(!value["requestId"].isNull())
requestId_ = value["requestId"].asString();
}
std::string TrainModelResult::getRequestId()const
{
return requestId_;
}
std::string TrainModelResult::getResult()const
{
return result_;
}