From 623a29292cc80edb606c19de0fefaa19f9bff7fd Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 21 Dec 2022 07:07:30 +0000 Subject: [PATCH] update. --- VERSION | 2 +- opensearch/CMakeLists.txt | 64 -- .../opensearch/OpenSearchClient.h | 128 ---- .../model/CreateDataCollectionRequest.h | 42 -- .../model/CreateDataCollectionResult.h | 65 -- .../opensearch/model/CreateModelRequest.h | 42 -- .../opensearch/model/CreateModelResult.h | 53 -- .../opensearch/model/DeleteModelRequest.h | 45 -- .../opensearch/model/DeleteModelResult.h | 53 -- .../model/DescribeAppGroupDataReportRequest.h | 48 -- .../model/DescribeAppGroupDataReportResult.h | 76 --- .../model/DescribeAppGroupStatisticsRequest.h | 42 -- .../model/DescribeAppGroupStatisticsResult.h | 53 -- .../opensearch/model/DescribeModelRequest.h | 45 -- .../opensearch/model/DescribeModelResult.h | 53 -- .../model/GetModelProgressRequest.h | 45 -- .../opensearch/model/GetModelProgressResult.h | 58 -- .../model/GetValidationErrorRequest.h | 45 -- .../model/GetValidationErrorResult.h | 53 -- .../model/GetValidationReportRequest.h | 45 -- .../model/GetValidationReportResult.h | 53 -- .../model/ListABTestMetricsRequest.h | 48 -- .../model/ListABTestMetricsResult.h | 64 -- .../model/ListAppGroupErrorsRequest.h | 57 -- .../model/ListAppGroupErrorsResult.h | 55 -- .../model/ListAppGroupMetricsRequest.h | 54 -- .../model/ListAppGroupMetricsResult.h | 53 -- .../ListDeployedAlgorithmModelsRequest.h | 48 -- .../model/ListDeployedAlgorithmModelsResult.h | 74 --- .../opensearch/model/ListRamRolesRequest.h | 39 -- .../opensearch/model/ListRamRolesResult.h | 60 -- .../opensearch/model/ModifyModelRequest.h | 45 -- .../opensearch/model/ModifyModelResult.h | 53 -- .../opensearch/model/TrainModelRequest.h | 45 -- .../opensearch/model/TrainModelResult.h | 53 -- opensearch/src/OpenSearchClient.cc | 576 ------------------ .../src/model/CreateDataCollectionRequest.cc | 37 -- .../src/model/CreateDataCollectionResult.cc | 75 --- opensearch/src/model/CreateModelRequest.cc | 37 -- opensearch/src/model/CreateModelResult.cc | 58 -- opensearch/src/model/DeleteModelRequest.cc | 46 -- opensearch/src/model/DeleteModelResult.cc | 58 -- .../DescribeAppGroupDataReportRequest.cc | 55 -- .../model/DescribeAppGroupDataReportResult.cc | 88 --- .../DescribeAppGroupStatisticsRequest.cc | 37 -- .../model/DescribeAppGroupStatisticsResult.cc | 58 -- opensearch/src/model/DescribeModelRequest.cc | 46 -- opensearch/src/model/DescribeModelResult.cc | 58 -- .../src/model/GetModelProgressRequest.cc | 46 -- .../src/model/GetModelProgressResult.cc | 61 -- .../src/model/GetValidationErrorRequest.cc | 46 -- .../src/model/GetValidationErrorResult.cc | 59 -- .../src/model/GetValidationReportRequest.cc | 46 -- .../src/model/GetValidationReportResult.cc | 59 -- .../src/model/ListABTestMetricsRequest.cc | 55 -- .../src/model/ListABTestMetricsResult.cc | 78 --- .../src/model/ListAppGroupErrorsRequest.cc | 82 --- .../src/model/ListAppGroupErrorsResult.cc | 66 -- .../src/model/ListAppGroupMetricsRequest.cc | 73 --- .../src/model/ListAppGroupMetricsResult.cc | 59 -- .../ListDeployedAlgorithmModelsRequest.cc | 55 -- .../ListDeployedAlgorithmModelsResult.cc | 97 --- opensearch/src/model/ListRamRolesRequest.cc | 28 - opensearch/src/model/ListRamRolesResult.cc | 70 --- opensearch/src/model/ModifyModelRequest.cc | 46 -- opensearch/src/model/ModifyModelResult.cc | 58 -- opensearch/src/model/TrainModelRequest.cc | 46 -- opensearch/src/model/TrainModelResult.cc | 58 -- 68 files changed, 1 insertion(+), 4274 deletions(-) delete mode 100644 opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/CreateModelRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/CreateModelResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DeleteModelRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DeleteModelResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DescribeModelRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/DescribeModelResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/GetModelProgressRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/GetModelProgressResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/GetValidationErrorRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/GetValidationErrorResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/GetValidationReportRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/GetValidationReportResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListRamRolesRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ListRamRolesResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ModifyModelRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/ModifyModelResult.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/TrainModelRequest.h delete mode 100644 opensearch/include/alibabacloud/opensearch/model/TrainModelResult.h delete mode 100644 opensearch/src/model/CreateDataCollectionRequest.cc delete mode 100644 opensearch/src/model/CreateDataCollectionResult.cc delete mode 100644 opensearch/src/model/CreateModelRequest.cc delete mode 100644 opensearch/src/model/CreateModelResult.cc delete mode 100644 opensearch/src/model/DeleteModelRequest.cc delete mode 100644 opensearch/src/model/DeleteModelResult.cc delete mode 100644 opensearch/src/model/DescribeAppGroupDataReportRequest.cc delete mode 100644 opensearch/src/model/DescribeAppGroupDataReportResult.cc delete mode 100644 opensearch/src/model/DescribeAppGroupStatisticsRequest.cc delete mode 100644 opensearch/src/model/DescribeAppGroupStatisticsResult.cc delete mode 100644 opensearch/src/model/DescribeModelRequest.cc delete mode 100644 opensearch/src/model/DescribeModelResult.cc delete mode 100644 opensearch/src/model/GetModelProgressRequest.cc delete mode 100644 opensearch/src/model/GetModelProgressResult.cc delete mode 100644 opensearch/src/model/GetValidationErrorRequest.cc delete mode 100644 opensearch/src/model/GetValidationErrorResult.cc delete mode 100644 opensearch/src/model/GetValidationReportRequest.cc delete mode 100644 opensearch/src/model/GetValidationReportResult.cc delete mode 100644 opensearch/src/model/ListABTestMetricsRequest.cc delete mode 100644 opensearch/src/model/ListABTestMetricsResult.cc delete mode 100644 opensearch/src/model/ListAppGroupErrorsRequest.cc delete mode 100644 opensearch/src/model/ListAppGroupErrorsResult.cc delete mode 100644 opensearch/src/model/ListAppGroupMetricsRequest.cc delete mode 100644 opensearch/src/model/ListAppGroupMetricsResult.cc delete mode 100644 opensearch/src/model/ListDeployedAlgorithmModelsRequest.cc delete mode 100644 opensearch/src/model/ListDeployedAlgorithmModelsResult.cc delete mode 100644 opensearch/src/model/ListRamRolesRequest.cc delete mode 100644 opensearch/src/model/ListRamRolesResult.cc delete mode 100644 opensearch/src/model/ModifyModelRequest.cc delete mode 100644 opensearch/src/model/ModifyModelResult.cc delete mode 100644 opensearch/src/model/TrainModelRequest.cc delete mode 100644 opensearch/src/model/TrainModelResult.cc diff --git a/VERSION b/VERSION index 47a07ed89..b7e5fcf13 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1395 \ No newline at end of file +1.36.1396 \ No newline at end of file diff --git a/opensearch/CMakeLists.txt b/opensearch/CMakeLists.txt index f809b720e..df4fdc3fa 100644 --- a/opensearch/CMakeLists.txt +++ b/opensearch/CMakeLists.txt @@ -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 diff --git a/opensearch/include/alibabacloud/opensearch/OpenSearchClient.h b/opensearch/include/alibabacloud/opensearch/OpenSearchClient.h index eac290619..14c350905 100644 --- a/opensearch/include/alibabacloud/opensearch/OpenSearchClient.h +++ b/opensearch/include/alibabacloud/opensearch/OpenSearchClient.h @@ -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 CreateAppGroupOutcome; typedef std::future CreateAppGroupOutcomeCallable; typedef std::function&)> CreateAppGroupAsyncHandler; - typedef Outcome CreateDataCollectionOutcome; - typedef std::future CreateDataCollectionOutcomeCallable; - typedef std::function&)> CreateDataCollectionAsyncHandler; typedef Outcome CreateFirstRankOutcome; typedef std::future CreateFirstRankOutcomeCallable; typedef std::function&)> CreateFirstRankAsyncHandler; @@ -362,9 +327,6 @@ namespace AlibabaCloud typedef Outcome CreateInterventionDictionaryOutcome; typedef std::future CreateInterventionDictionaryOutcomeCallable; typedef std::function&)> CreateInterventionDictionaryAsyncHandler; - typedef Outcome CreateModelOutcome; - typedef std::future CreateModelOutcomeCallable; - typedef std::function&)> CreateModelAsyncHandler; typedef Outcome CreateQueryProcessorOutcome; typedef std::future CreateQueryProcessorOutcomeCallable; typedef std::function&)> CreateQueryProcessorAsyncHandler; @@ -398,9 +360,6 @@ namespace AlibabaCloud typedef Outcome DeleteFunctionTaskOutcome; typedef std::future DeleteFunctionTaskOutcomeCallable; typedef std::function&)> DeleteFunctionTaskAsyncHandler; - typedef Outcome DeleteModelOutcome; - typedef std::future DeleteModelOutcomeCallable; - typedef std::function&)> DeleteModelAsyncHandler; typedef Outcome DeleteSortScriptOutcome; typedef std::future DeleteSortScriptOutcomeCallable; typedef std::function&)> DeleteSortScriptAsyncHandler; @@ -422,12 +381,6 @@ namespace AlibabaCloud typedef Outcome DescribeAppGroupOutcome; typedef std::future DescribeAppGroupOutcomeCallable; typedef std::function&)> DescribeAppGroupAsyncHandler; - typedef Outcome DescribeAppGroupDataReportOutcome; - typedef std::future DescribeAppGroupDataReportOutcomeCallable; - typedef std::function&)> DescribeAppGroupDataReportAsyncHandler; - typedef Outcome DescribeAppGroupStatisticsOutcome; - typedef std::future DescribeAppGroupStatisticsOutcomeCallable; - typedef std::function&)> DescribeAppGroupStatisticsAsyncHandler; typedef Outcome DescribeAppStatisticsOutcome; typedef std::future DescribeAppStatisticsOutcomeCallable; typedef std::function&)> DescribeAppStatisticsAsyncHandler; @@ -443,9 +396,6 @@ namespace AlibabaCloud typedef Outcome DescribeInterventionDictionaryOutcome; typedef std::future DescribeInterventionDictionaryOutcomeCallable; typedef std::function&)> DescribeInterventionDictionaryAsyncHandler; - typedef Outcome DescribeModelOutcome; - typedef std::future DescribeModelOutcomeCallable; - typedef std::function&)> DescribeModelAsyncHandler; typedef Outcome DescribeQueryProcessorOutcome; typedef std::future DescribeQueryProcessorOutcomeCallable; typedef std::function&)> DescribeQueryProcessorAsyncHandler; @@ -494,9 +444,6 @@ namespace AlibabaCloud typedef Outcome GetFunctionVersionOutcome; typedef std::future GetFunctionVersionOutcomeCallable; typedef std::function&)> GetFunctionVersionAsyncHandler; - typedef Outcome GetModelProgressOutcome; - typedef std::future GetModelProgressOutcomeCallable; - typedef std::function&)> GetModelProgressAsyncHandler; typedef Outcome GetModelReportOutcome; typedef std::future GetModelReportOutcomeCallable; typedef std::function&)> GetModelReportAsyncHandler; @@ -512,12 +459,6 @@ namespace AlibabaCloud typedef Outcome GetSortScriptFileOutcome; typedef std::future GetSortScriptFileOutcomeCallable; typedef std::function&)> GetSortScriptFileAsyncHandler; - typedef Outcome GetValidationErrorOutcome; - typedef std::future GetValidationErrorOutcomeCallable; - typedef std::function&)> GetValidationErrorAsyncHandler; - typedef Outcome GetValidationReportOutcome; - typedef std::future GetValidationReportOutcomeCallable; - typedef std::function&)> GetValidationReportAsyncHandler; typedef Outcome ListABTestExperimentsOutcome; typedef std::future ListABTestExperimentsOutcomeCallable; typedef std::function&)> ListABTestExperimentsAsyncHandler; @@ -527,18 +468,9 @@ namespace AlibabaCloud typedef Outcome ListABTestGroupsOutcome; typedef std::future ListABTestGroupsOutcomeCallable; typedef std::function&)> ListABTestGroupsAsyncHandler; - typedef Outcome ListABTestMetricsOutcome; - typedef std::future ListABTestMetricsOutcomeCallable; - typedef std::function&)> ListABTestMetricsAsyncHandler; typedef Outcome ListABTestScenesOutcome; typedef std::future ListABTestScenesOutcomeCallable; typedef std::function&)> ListABTestScenesAsyncHandler; - typedef Outcome ListAppGroupErrorsOutcome; - typedef std::future ListAppGroupErrorsOutcomeCallable; - typedef std::function&)> ListAppGroupErrorsAsyncHandler; - typedef Outcome ListAppGroupMetricsOutcome; - typedef std::future ListAppGroupMetricsOutcomeCallable; - typedef std::function&)> ListAppGroupMetricsAsyncHandler; typedef Outcome ListAppGroupsOutcome; typedef std::future ListAppGroupsOutcomeCallable; typedef std::function&)> ListAppGroupsAsyncHandler; @@ -554,9 +486,6 @@ namespace AlibabaCloud typedef Outcome ListDataSourceTablesOutcome; typedef std::future ListDataSourceTablesOutcomeCallable; typedef std::function&)> ListDataSourceTablesAsyncHandler; - typedef Outcome ListDeployedAlgorithmModelsOutcome; - typedef std::future ListDeployedAlgorithmModelsOutcomeCallable; - typedef std::function&)> ListDeployedAlgorithmModelsAsyncHandler; typedef Outcome ListFirstRanksOutcome; typedef std::future ListFirstRanksOutcomeCallable; typedef std::function&)> ListFirstRanksAsyncHandler; @@ -596,9 +525,6 @@ namespace AlibabaCloud typedef Outcome ListQuotaReviewTasksOutcome; typedef std::future ListQuotaReviewTasksOutcomeCallable; typedef std::function&)> ListQuotaReviewTasksAsyncHandler; - typedef Outcome ListRamRolesOutcome; - typedef std::future ListRamRolesOutcomeCallable; - typedef std::function&)> ListRamRolesAsyncHandler; typedef Outcome ListScheduledTasksOutcome; typedef std::future ListScheduledTasksOutcomeCallable; typedef std::function&)> ListScheduledTasksAsyncHandler; @@ -644,9 +570,6 @@ namespace AlibabaCloud typedef Outcome ModifyFirstRankOutcome; typedef std::future ModifyFirstRankOutcomeCallable; typedef std::function&)> ModifyFirstRankAsyncHandler; - typedef Outcome ModifyModelOutcome; - typedef std::future ModifyModelOutcomeCallable; - typedef std::function&)> ModifyModelAsyncHandler; typedef Outcome ModifyQueryProcessorOutcome; typedef std::future ModifyQueryProcessorOutcomeCallable; typedef std::function&)> ModifyQueryProcessorAsyncHandler; @@ -716,9 +639,6 @@ namespace AlibabaCloud typedef Outcome TagResourcesOutcome; typedef std::future TagResourcesOutcomeCallable; typedef std::function&)> TagResourcesAsyncHandler; - typedef Outcome TrainModelOutcome; - typedef std::future TrainModelOutcomeCallable; - typedef std::function&)> TrainModelAsyncHandler; typedef Outcome UnbindESUserAnalyzerOutcome; typedef std::future UnbindESUserAnalyzerOutcomeCallable; typedef std::function&)> 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& 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& context = nullptr) const; UnbindESUserAnalyzerOutcomeCallable unbindESUserAnalyzerCallable(const Model::UnbindESUserAnalyzerRequest& request) const; diff --git a/opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionRequest.h b/opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionRequest.h deleted file mode 100644 index 0ef42e0e1..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionRequest.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionResult.h b/opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionResult.h deleted file mode 100644 index fda0aa8a2..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/CreateDataCollectionResult.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEDATACOLLECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/CreateModelRequest.h b/opensearch/include/alibabacloud/opensearch/model/CreateModelRequest.h deleted file mode 100644 index bd6d53f30..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/CreateModelRequest.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/CreateModelResult.h b/opensearch/include/alibabacloud/opensearch/model/CreateModelResult.h deleted file mode 100644 index 29aad4699..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/CreateModelResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_CREATEMODELRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/DeleteModelRequest.h b/opensearch/include/alibabacloud/opensearch/model/DeleteModelRequest.h deleted file mode 100644 index d8c519b5c..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DeleteModelRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/DeleteModelResult.h b/opensearch/include/alibabacloud/opensearch/model/DeleteModelResult.h deleted file mode 100644 index ef5894f6d..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DeleteModelResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_DELETEMODELRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h b/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h deleted file mode 100644 index 178cb36f4..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPDATAREPORTREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h b/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h deleted file mode 100644 index 667482718..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupDataReportResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsRequest.h b/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsRequest.h deleted file mode 100644 index 4daa4043d..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsRequest.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsResult.h b/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsResult.h deleted file mode 100644 index 232adcd28..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DescribeAppGroupStatisticsResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEAPPGROUPSTATISTICSRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/DescribeModelRequest.h b/opensearch/include/alibabacloud/opensearch/model/DescribeModelRequest.h deleted file mode 100644 index 236423651..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DescribeModelRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/DescribeModelResult.h b/opensearch/include/alibabacloud/opensearch/model/DescribeModelResult.h deleted file mode 100644 index a7b59f21e..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/DescribeModelResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_DESCRIBEMODELRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/GetModelProgressRequest.h b/opensearch/include/alibabacloud/opensearch/model/GetModelProgressRequest.h deleted file mode 100644 index 6cc310a75..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/GetModelProgressRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/GetModelProgressResult.h b/opensearch/include/alibabacloud/opensearch/model/GetModelProgressResult.h deleted file mode 100644 index a6a7867fa..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/GetModelProgressResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_GETMODELPROGRESSRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/GetValidationErrorRequest.h b/opensearch/include/alibabacloud/opensearch/model/GetValidationErrorRequest.h deleted file mode 100644 index 485999545..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/GetValidationErrorRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/GetValidationErrorResult.h b/opensearch/include/alibabacloud/opensearch/model/GetValidationErrorResult.h deleted file mode 100644 index 7918e6f6f..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/GetValidationErrorResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORRESULT_H_ - -#include -#include -#include -#include -#include - -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 getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string requestId_; - std::vector result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONERRORRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/GetValidationReportRequest.h b/opensearch/include/alibabacloud/opensearch/model/GetValidationReportRequest.h deleted file mode 100644 index d8dc1c453..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/GetValidationReportRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/GetValidationReportResult.h b/opensearch/include/alibabacloud/opensearch/model/GetValidationReportResult.h deleted file mode 100644 index ff4e5c311..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/GetValidationReportResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTRESULT_H_ - -#include -#include -#include -#include -#include - -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 getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string requestId_; - std::vector result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_GETVALIDATIONREPORTRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsRequest.h b/opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsRequest.h deleted file mode 100644 index 7356aab7b..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsResult.h b/opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsResult.h deleted file mode 100644 index 69690a80f..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListABTestMetricsResult.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSRESULT_H_ - -#include -#include -#include -#include -#include - -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 getresult()const; - std::string getRequestId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector result_; - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTABTESTMETRICSRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h b/opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h deleted file mode 100644 index 6d4e77b1d..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsRequest.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsResult.h b/opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsResult.h deleted file mode 100644 index aed12271f..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupErrorsResult.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSRESULT_H_ - -#include -#include -#include -#include -#include - -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 getResult()const; - - protected: - void parse(const std::string &payload); - private: - long totalCount_; - std::string requestId_; - std::vector result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPERRORSRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h b/opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h deleted file mode 100644 index c3360fd67..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsRequest.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsResult.h b/opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsResult.h deleted file mode 100644 index 4f8d9cda3..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListAppGroupMetricsResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSRESULT_H_ - -#include -#include -#include -#include -#include - -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 getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string requestId_; - std::vector result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTAPPGROUPMETRICSRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h b/opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h deleted file mode 100644 index 9b5aaebdb..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsRequest.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h b/opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h deleted file mode 100644 index a622eae63..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListDeployedAlgorithmModelsResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 models; - std::string desc; - std::string gmtCreate; - std::string gmtModified; - std::string id; - std::string appGroupName; - std::string scene; - std::vector apps; - }; - - - ListDeployedAlgorithmModelsResult(); - explicit ListDeployedAlgorithmModelsResult(const std::string &payload); - ~ListDeployedAlgorithmModelsResult(); - std::vector getresult()const; - std::string getRequestId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector result_; - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTDEPLOYEDALGORITHMMODELSRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/ListRamRolesRequest.h b/opensearch/include/alibabacloud/opensearch/model/ListRamRolesRequest.h deleted file mode 100644 index 6b7feed01..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListRamRolesRequest.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/ListRamRolesResult.h b/opensearch/include/alibabacloud/opensearch/model/ListRamRolesResult.h deleted file mode 100644 index 6d123ccc6..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ListRamRolesResult.h +++ /dev/null @@ -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 -#include -#include -#include -#include - -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 getresult()const; - std::string getRequestId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector result_; - std::string requestId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENSEARCH_MODEL_LISTRAMROLESRESULT_H_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/ModifyModelRequest.h b/opensearch/include/alibabacloud/opensearch/model/ModifyModelRequest.h deleted file mode 100644 index 72519d31a..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ModifyModelRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/ModifyModelResult.h b/opensearch/include/alibabacloud/opensearch/model/ModifyModelResult.h deleted file mode 100644 index 4fd78a45e..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/ModifyModelResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_MODIFYMODELRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/include/alibabacloud/opensearch/model/TrainModelRequest.h b/opensearch/include/alibabacloud/opensearch/model/TrainModelRequest.h deleted file mode 100644 index 45c271c9b..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/TrainModelRequest.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELREQUEST_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELREQUEST_H_ - -#include -#include -#include -#include -#include - -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_ diff --git a/opensearch/include/alibabacloud/opensearch/model/TrainModelResult.h b/opensearch/include/alibabacloud/opensearch/model/TrainModelResult.h deleted file mode 100644 index e8f1d6d53..000000000 --- a/opensearch/include/alibabacloud/opensearch/model/TrainModelResult.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELRESULT_H_ -#define ALIBABACLOUD_OPENSEARCH_MODEL_TRAINMODELRESULT_H_ - -#include -#include -#include -#include -#include - -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_ \ No newline at end of file diff --git a/opensearch/src/OpenSearchClient.cc b/opensearch/src/OpenSearchClient.cc index 19d3d5a86..de589e2da 100644 --- a/opensearch/src/OpenSearchClient.cc +++ b/opensearch/src/OpenSearchClient.cc @@ -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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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& 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>( - [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(); diff --git a/opensearch/src/model/CreateDataCollectionRequest.cc b/opensearch/src/model/CreateDataCollectionRequest.cc deleted file mode 100644 index cfa4e1889..000000000 --- a/opensearch/src/model/CreateDataCollectionRequest.cc +++ /dev/null @@ -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 - -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); -} - diff --git a/opensearch/src/model/CreateDataCollectionResult.cc b/opensearch/src/model/CreateDataCollectionResult.cc deleted file mode 100644 index 77a0b04c3..000000000 --- a/opensearch/src/model/CreateDataCollectionResult.cc +++ /dev/null @@ -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 -#include - -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_; -} - diff --git a/opensearch/src/model/CreateModelRequest.cc b/opensearch/src/model/CreateModelRequest.cc deleted file mode 100644 index 3270dee2a..000000000 --- a/opensearch/src/model/CreateModelRequest.cc +++ /dev/null @@ -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 - -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); -} - diff --git a/opensearch/src/model/CreateModelResult.cc b/opensearch/src/model/CreateModelResult.cc deleted file mode 100644 index 1550f3d09..000000000 --- a/opensearch/src/model/CreateModelResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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_; -} - diff --git a/opensearch/src/model/DeleteModelRequest.cc b/opensearch/src/model/DeleteModelRequest.cc deleted file mode 100644 index ed8be7808..000000000 --- a/opensearch/src/model/DeleteModelRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/DeleteModelResult.cc b/opensearch/src/model/DeleteModelResult.cc deleted file mode 100644 index 06740d96a..000000000 --- a/opensearch/src/model/DeleteModelResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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_; -} - diff --git a/opensearch/src/model/DescribeAppGroupDataReportRequest.cc b/opensearch/src/model/DescribeAppGroupDataReportRequest.cc deleted file mode 100644 index 5dd22e830..000000000 --- a/opensearch/src/model/DescribeAppGroupDataReportRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/DescribeAppGroupDataReportResult.cc b/opensearch/src/model/DescribeAppGroupDataReportResult.cc deleted file mode 100644 index 5edd6822e..000000000 --- a/opensearch/src/model/DescribeAppGroupDataReportResult.cc +++ /dev/null @@ -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 -#include - -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_; -} - diff --git a/opensearch/src/model/DescribeAppGroupStatisticsRequest.cc b/opensearch/src/model/DescribeAppGroupStatisticsRequest.cc deleted file mode 100644 index 1a6d8a369..000000000 --- a/opensearch/src/model/DescribeAppGroupStatisticsRequest.cc +++ /dev/null @@ -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 - -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); -} - diff --git a/opensearch/src/model/DescribeAppGroupStatisticsResult.cc b/opensearch/src/model/DescribeAppGroupStatisticsResult.cc deleted file mode 100644 index 576749a32..000000000 --- a/opensearch/src/model/DescribeAppGroupStatisticsResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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_; -} - diff --git a/opensearch/src/model/DescribeModelRequest.cc b/opensearch/src/model/DescribeModelRequest.cc deleted file mode 100644 index 9c6585ff3..000000000 --- a/opensearch/src/model/DescribeModelRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/DescribeModelResult.cc b/opensearch/src/model/DescribeModelResult.cc deleted file mode 100644 index 03ea33691..000000000 --- a/opensearch/src/model/DescribeModelResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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_; -} - diff --git a/opensearch/src/model/GetModelProgressRequest.cc b/opensearch/src/model/GetModelProgressRequest.cc deleted file mode 100644 index 3207db5d7..000000000 --- a/opensearch/src/model/GetModelProgressRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/GetModelProgressResult.cc b/opensearch/src/model/GetModelProgressResult.cc deleted file mode 100644 index 5bb712f1b..000000000 --- a/opensearch/src/model/GetModelProgressResult.cc +++ /dev/null @@ -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 -#include - -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_; -} - diff --git a/opensearch/src/model/GetValidationErrorRequest.cc b/opensearch/src/model/GetValidationErrorRequest.cc deleted file mode 100644 index 347443aba..000000000 --- a/opensearch/src/model/GetValidationErrorRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/GetValidationErrorResult.cc b/opensearch/src/model/GetValidationErrorResult.cc deleted file mode 100644 index f87678d42..000000000 --- a/opensearch/src/model/GetValidationErrorResult.cc +++ /dev/null @@ -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 -#include - -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 GetValidationErrorResult::getResult()const -{ - return result_; -} - diff --git a/opensearch/src/model/GetValidationReportRequest.cc b/opensearch/src/model/GetValidationReportRequest.cc deleted file mode 100644 index c746c7fcc..000000000 --- a/opensearch/src/model/GetValidationReportRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/GetValidationReportResult.cc b/opensearch/src/model/GetValidationReportResult.cc deleted file mode 100644 index 53c0e2b93..000000000 --- a/opensearch/src/model/GetValidationReportResult.cc +++ /dev/null @@ -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 -#include - -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 GetValidationReportResult::getResult()const -{ - return result_; -} - diff --git a/opensearch/src/model/ListABTestMetricsRequest.cc b/opensearch/src/model/ListABTestMetricsRequest.cc deleted file mode 100644 index a0bafc439..000000000 --- a/opensearch/src/model/ListABTestMetricsRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/ListABTestMetricsResult.cc b/opensearch/src/model/ListABTestMetricsResult.cc deleted file mode 100644 index 07c514a7d..000000000 --- a/opensearch/src/model/ListABTestMetricsResult.cc +++ /dev/null @@ -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 -#include - -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::getresult()const -{ - return result_; -} - -std::string ListABTestMetricsResult::getRequestId()const -{ - return requestId_; -} - diff --git a/opensearch/src/model/ListAppGroupErrorsRequest.cc b/opensearch/src/model/ListAppGroupErrorsRequest.cc deleted file mode 100644 index 970ab7b98..000000000 --- a/opensearch/src/model/ListAppGroupErrorsRequest.cc +++ /dev/null @@ -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 - -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)); -} - diff --git a/opensearch/src/model/ListAppGroupErrorsResult.cc b/opensearch/src/model/ListAppGroupErrorsResult.cc deleted file mode 100644 index ff2ed44ae..000000000 --- a/opensearch/src/model/ListAppGroupErrorsResult.cc +++ /dev/null @@ -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 -#include - -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 ListAppGroupErrorsResult::getResult()const -{ - return result_; -} - diff --git a/opensearch/src/model/ListAppGroupMetricsRequest.cc b/opensearch/src/model/ListAppGroupMetricsRequest.cc deleted file mode 100644 index aa01583fe..000000000 --- a/opensearch/src/model/ListAppGroupMetricsRequest.cc +++ /dev/null @@ -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 - -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); -} - diff --git a/opensearch/src/model/ListAppGroupMetricsResult.cc b/opensearch/src/model/ListAppGroupMetricsResult.cc deleted file mode 100644 index 3de9256eb..000000000 --- a/opensearch/src/model/ListAppGroupMetricsResult.cc +++ /dev/null @@ -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 -#include - -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 ListAppGroupMetricsResult::getResult()const -{ - return result_; -} - diff --git a/opensearch/src/model/ListDeployedAlgorithmModelsRequest.cc b/opensearch/src/model/ListDeployedAlgorithmModelsRequest.cc deleted file mode 100644 index 5316c66ec..000000000 --- a/opensearch/src/model/ListDeployedAlgorithmModelsRequest.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/ListDeployedAlgorithmModelsResult.cc b/opensearch/src/model/ListDeployedAlgorithmModelsResult.cc deleted file mode 100644 index 51cdd54b0..000000000 --- a/opensearch/src/model/ListDeployedAlgorithmModelsResult.cc +++ /dev/null @@ -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 -#include - -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::getresult()const -{ - return result_; -} - -std::string ListDeployedAlgorithmModelsResult::getRequestId()const -{ - return requestId_; -} - diff --git a/opensearch/src/model/ListRamRolesRequest.cc b/opensearch/src/model/ListRamRolesRequest.cc deleted file mode 100644 index bcf8a5259..000000000 --- a/opensearch/src/model/ListRamRolesRequest.cc +++ /dev/null @@ -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 - -using AlibabaCloud::OpenSearch::Model::ListRamRolesRequest; - -ListRamRolesRequest::ListRamRolesRequest() - : RoaServiceRequest("opensearch", "2017-12-25") { - setResourcePath("/v4/openapi/assist/ram/roles"}; - setMethod(HttpRequest::Method::Get); -} - -ListRamRolesRequest::~ListRamRolesRequest() {} - diff --git a/opensearch/src/model/ListRamRolesResult.cc b/opensearch/src/model/ListRamRolesResult.cc deleted file mode 100644 index 9f5a9802b..000000000 --- a/opensearch/src/model/ListRamRolesResult.cc +++ /dev/null @@ -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 -#include - -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::getresult()const -{ - return result_; -} - -std::string ListRamRolesResult::getRequestId()const -{ - return requestId_; -} - diff --git a/opensearch/src/model/ModifyModelRequest.cc b/opensearch/src/model/ModifyModelRequest.cc deleted file mode 100644 index bda581b80..000000000 --- a/opensearch/src/model/ModifyModelRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/ModifyModelResult.cc b/opensearch/src/model/ModifyModelResult.cc deleted file mode 100644 index 9c4d05995..000000000 --- a/opensearch/src/model/ModifyModelResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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_; -} - diff --git a/opensearch/src/model/TrainModelRequest.cc b/opensearch/src/model/TrainModelRequest.cc deleted file mode 100644 index 650a48dba..000000000 --- a/opensearch/src/model/TrainModelRequest.cc +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::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); -} - diff --git a/opensearch/src/model/TrainModelResult.cc b/opensearch/src/model/TrainModelResult.cc deleted file mode 100644 index 539740996..000000000 --- a/opensearch/src/model/TrainModelResult.cc +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::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_; -} -