From 423fdd2fe5f2572b6e505db14401e9f71a675c17 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 1 Dec 2020 03:46:47 +0000 Subject: [PATCH] Supported Open Api. --- CHANGELOG | 3 + openanalytics-open/CMakeLists.txt | 148 +- .../Openanalytics_openClient.h | 288 +--- .../model/BindingRamUidToDlaAccountRequest.h | 60 - .../model/BindingRamUidToDlaAccountResult.h | 51 - .../model/CreateServiceLinkedRoleRequest.h | 48 - .../model/CreateServiceLinkedRoleResult.h | 64 - .../model/CreateUserNetConfigRequest.h | 54 - .../model/CreateUserNetConfigResult.h | 49 - .../CreateVirtualClusterForSparkRequest.h | 69 - .../CreateVirtualClusterForSparkResult.h | 49 - .../model/DecodeStsTokenRequest.h | 54 - .../model/DecodeStsTokenResult.h | 70 - .../model/DeleteUserNetConfigRequest.h | 48 - .../model/DeleteUserNetConfigResult.h | 49 - .../model/DescribeCapacityRequest.h | 51 - .../model/DescribeCapacityResult.h | 53 - .../DescribeDataLakeAnalyticsServiceRequest.h | 51 - .../DescribeDataLakeAnalyticsServiceResult.h | 57 - .../model/DescribeRegionListRequest.h | 45 - .../model/DescribeRegionListResult.h | 57 - .../model/DescribeVirtualClusterRequest.h | 48 - .../model/DescribeVirtualClusterResult.h | 68 - .../model/DescribeVirtualClusterV2Request.h | 48 - .../model/DescribeVirtualClusterV2Result.h | 78 - .../model/DestroyVirtualClusterRequest.h | 48 - .../model/DestroyVirtualClusterResult.h | 49 - ...maticMetaSyncAsIntegrationAccountRequest.h | 48 - ...omaticMetaSyncAsIntegrationAccountResult.h | 51 - .../model/GetConsolePermissionRequest.h | 48 - .../model/GetConsolePermissionResult.h | 53 - .../model/GetDLAServiceStatusRequest.h | 57 - .../model/GetDLAServiceStatusResult.h | 59 - .../model/GetRegionStatusResult.h | 53 - .../model/GetServiceLinkedRoleStatusRequest.h | 48 - .../model/GetServiceLinkedRoleStatusResult.h | 53 - .../model/InitializeDLAServiceRequest.h | 66 - .../model/InitializeDLAServiceResult.h | 58 - .../model/InitializeRegionRequest.h | 66 - .../model/InitializeRegionResult.h | 58 - .../model/ListAlreadyBingingRamUidRequest.h | 48 - .../model/ListAlreadyBingingRamUidResult.h | 53 - .../model/ListModulesReleaseRequest.h | 45 - .../model/ListModulesReleaseResult.h | 58 - .../model/ListResourcesSpecRequest.h | 48 - .../model/ListResourcesSpecResult.h | 56 - .../model/ListVirtualClustersRequest.h | 48 - .../model/ListVirtualClustersResult.h | 63 - .../ModifyVirtualClusterForSparkRequest.h | 69 - .../ModifyVirtualClusterForSparkResult.h | 49 - .../model/ModifyVirtualClusterRequest.h | 63 - .../model/ModifyVirtualClusterResult.h | 49 - .../OpenDataLakeAnalyticsServiceRequest.h | 51 - .../model/QueryDataSourceDefRequest.h | 48 - .../model/QueryDataSourceDefResult.h | 59 - .../model/QueryDiscountListRequest.h | 54 - .../model/QueryDiscountListResult.h | 77 - .../model/QueryServiceAccountListRequest.h | 48 - .../model/QueryServiceAccountListResult.h | 59 - .../model/QueryTaskSumRequest.h | 57 - .../model/QueryTaskSumResult.h | 69 - .../model/SetCapacityLimitPolicyRequest.h | 54 - .../model/SetCapacityLimitPolicyResult.h | 51 - .../model/SetRelationWithBizRequest.h | 57 - .../model/SetRelationWithBizResult.h | 51 - .../model/SetTrafficLimitPolicyRequest.h | 54 - .../model/SetTrafficLimitPolicyResult.h | 51 - .../model/StartVirtualClusterRequest.h | 48 - .../model/StartVirtualClusterResult.h | 49 - .../model/StopVirtualClusterRequest.h | 48 - .../model/StopVirtualClusterResult.h | 49 - ...atusRequest.h => UpgradeInstanceRequest.h} | 33 +- ...erviceResult.h => UpgradeInstanceResult.h} | 14 +- .../src/Openanalytics-openClient.cc | 1296 +---------------- .../model/BindingRamUidToDlaAccountRequest.cc | 84 -- .../model/BindingRamUidToDlaAccountResult.cc | 51 - .../model/CreateServiceLinkedRoleRequest.cc | 40 - .../model/CreateServiceLinkedRoleResult.cc | 78 - .../src/model/CreateUserNetConfigRequest.cc | 62 - .../src/model/CreateUserNetConfigResult.cc | 44 - .../CreateVirtualClusterForSparkRequest.cc | 117 -- .../CreateVirtualClusterForSparkResult.cc | 44 - .../src/model/DecodeStsTokenRequest.cc | 62 - .../src/model/DecodeStsTokenResult.cc | 85 -- .../src/model/DeleteUserNetConfigRequest.cc | 40 - .../src/model/DeleteUserNetConfigResult.cc | 44 - .../src/model/DescribeCapacityRequest.cc | 51 - .../src/model/DescribeCapacityResult.cc | 58 - ...DescribeDataLakeAnalyticsServiceRequest.cc | 51 - .../DescribeDataLakeAnalyticsServiceResult.cc | 72 - .../src/model/DescribeRegionListRequest.cc | 29 - .../src/model/DescribeRegionListResult.cc | 64 - .../model/DescribeVirtualClusterRequest.cc | 40 - .../src/model/DescribeVirtualClusterResult.cc | 83 -- .../model/DescribeVirtualClusterV2Request.cc | 40 - .../model/DescribeVirtualClusterV2Result.cc | 94 -- .../src/model/DestroyVirtualClusterRequest.cc | 40 - .../src/model/DestroyVirtualClusterResult.cc | 44 - ...aticMetaSyncAsIntegrationAccountRequest.cc | 40 - ...maticMetaSyncAsIntegrationAccountResult.cc | 51 - .../src/model/GetConsolePermissionRequest.cc | 40 - .../src/model/GetConsolePermissionResult.cc | 58 - .../src/model/GetDLAServiceStatusRequest.cc | 73 - .../src/model/GetDLAServiceStatusResult.cc | 63 - .../src/model/GetRegionStatusRequest.cc | 73 - .../src/model/GetRegionStatusResult.cc | 58 - .../GetServiceLinkedRoleStatusRequest.cc | 40 - .../model/GetServiceLinkedRoleStatusResult.cc | 58 - .../src/model/InitializeDLAServiceRequest.cc | 106 -- .../src/model/InitializeDLAServiceResult.cc | 61 - .../src/model/InitializeRegionRequest.cc | 106 -- .../src/model/InitializeRegionResult.cc | 61 - .../model/ListAlreadyBingingRamUidRequest.cc | 40 - .../model/ListAlreadyBingingRamUidResult.cc | 59 - .../src/model/ListModulesReleaseRequest.cc | 29 - .../src/model/ListModulesReleaseResult.cc | 63 - .../src/model/ListResourcesSpecRequest.cc | 40 - .../src/model/ListResourcesSpecResult.cc | 59 - .../src/model/ListVirtualClustersRequest.cc | 40 - .../src/model/ListVirtualClustersResult.cc | 73 - .../ModifyVirtualClusterForSparkRequest.cc | 117 -- .../ModifyVirtualClusterForSparkResult.cc | 44 - .../src/model/ModifyVirtualClusterRequest.cc | 95 -- .../src/model/ModifyVirtualClusterResult.cc | 44 - .../OpenDataLakeAnalyticsServiceRequest.cc | 51 - .../src/model/QueryDataSourceDefRequest.cc | 40 - .../src/model/QueryDataSourceDefResult.cc | 68 - .../src/model/QueryDiscountListRequest.cc | 62 - .../src/model/QueryDiscountListResult.cc | 113 -- .../model/QueryServiceAccountListRequest.cc | 40 - .../model/QueryServiceAccountListResult.cc | 68 - .../src/model/QueryTaskSumRequest.cc | 73 - .../src/model/QueryTaskSumResult.cc | 83 -- .../model/SetCapacityLimitPolicyRequest.cc | 62 - .../src/model/SetCapacityLimitPolicyResult.cc | 51 - .../src/model/SetRelationWithBizRequest.cc | 73 - .../src/model/SetRelationWithBizResult.cc | 51 - .../src/model/SetTrafficLimitPolicyRequest.cc | 62 - .../src/model/SetTrafficLimitPolicyResult.cc | 51 - .../src/model/StartVirtualClusterRequest.cc | 40 - .../src/model/StartVirtualClusterResult.cc | 44 - .../src/model/StopVirtualClusterRequest.cc | 40 - .../src/model/StopVirtualClusterResult.cc | 44 - .../src/model/UpgradeInstanceRequest.cc | 84 ++ ...viceResult.cc => UpgradeInstanceResult.cc} | 18 +- 145 files changed, 171 insertions(+), 9556 deletions(-) delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Request.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Result.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterResult.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterRequest.h delete mode 100644 openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterResult.h rename openanalytics-open/include/alibabacloud/openanalytics-open/model/{GetRegionStatusRequest.h => UpgradeInstanceRequest.h} (57%) rename openanalytics-open/include/alibabacloud/openanalytics-open/model/{OpenDataLakeAnalyticsServiceResult.h => UpgradeInstanceResult.h} (70%) delete mode 100644 openanalytics-open/src/model/BindingRamUidToDlaAccountRequest.cc delete mode 100644 openanalytics-open/src/model/BindingRamUidToDlaAccountResult.cc delete mode 100644 openanalytics-open/src/model/CreateServiceLinkedRoleRequest.cc delete mode 100644 openanalytics-open/src/model/CreateServiceLinkedRoleResult.cc delete mode 100644 openanalytics-open/src/model/CreateUserNetConfigRequest.cc delete mode 100644 openanalytics-open/src/model/CreateUserNetConfigResult.cc delete mode 100644 openanalytics-open/src/model/CreateVirtualClusterForSparkRequest.cc delete mode 100644 openanalytics-open/src/model/CreateVirtualClusterForSparkResult.cc delete mode 100644 openanalytics-open/src/model/DecodeStsTokenRequest.cc delete mode 100644 openanalytics-open/src/model/DecodeStsTokenResult.cc delete mode 100644 openanalytics-open/src/model/DeleteUserNetConfigRequest.cc delete mode 100644 openanalytics-open/src/model/DeleteUserNetConfigResult.cc delete mode 100644 openanalytics-open/src/model/DescribeCapacityRequest.cc delete mode 100644 openanalytics-open/src/model/DescribeCapacityResult.cc delete mode 100644 openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceRequest.cc delete mode 100644 openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceResult.cc delete mode 100644 openanalytics-open/src/model/DescribeRegionListRequest.cc delete mode 100644 openanalytics-open/src/model/DescribeRegionListResult.cc delete mode 100644 openanalytics-open/src/model/DescribeVirtualClusterRequest.cc delete mode 100644 openanalytics-open/src/model/DescribeVirtualClusterResult.cc delete mode 100644 openanalytics-open/src/model/DescribeVirtualClusterV2Request.cc delete mode 100644 openanalytics-open/src/model/DescribeVirtualClusterV2Result.cc delete mode 100644 openanalytics-open/src/model/DestroyVirtualClusterRequest.cc delete mode 100644 openanalytics-open/src/model/DestroyVirtualClusterResult.cc delete mode 100644 openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.cc delete mode 100644 openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.cc delete mode 100644 openanalytics-open/src/model/GetConsolePermissionRequest.cc delete mode 100644 openanalytics-open/src/model/GetConsolePermissionResult.cc delete mode 100644 openanalytics-open/src/model/GetDLAServiceStatusRequest.cc delete mode 100644 openanalytics-open/src/model/GetDLAServiceStatusResult.cc delete mode 100644 openanalytics-open/src/model/GetRegionStatusRequest.cc delete mode 100644 openanalytics-open/src/model/GetRegionStatusResult.cc delete mode 100644 openanalytics-open/src/model/GetServiceLinkedRoleStatusRequest.cc delete mode 100644 openanalytics-open/src/model/GetServiceLinkedRoleStatusResult.cc delete mode 100644 openanalytics-open/src/model/InitializeDLAServiceRequest.cc delete mode 100644 openanalytics-open/src/model/InitializeDLAServiceResult.cc delete mode 100644 openanalytics-open/src/model/InitializeRegionRequest.cc delete mode 100644 openanalytics-open/src/model/InitializeRegionResult.cc delete mode 100644 openanalytics-open/src/model/ListAlreadyBingingRamUidRequest.cc delete mode 100644 openanalytics-open/src/model/ListAlreadyBingingRamUidResult.cc delete mode 100644 openanalytics-open/src/model/ListModulesReleaseRequest.cc delete mode 100644 openanalytics-open/src/model/ListModulesReleaseResult.cc delete mode 100644 openanalytics-open/src/model/ListResourcesSpecRequest.cc delete mode 100644 openanalytics-open/src/model/ListResourcesSpecResult.cc delete mode 100644 openanalytics-open/src/model/ListVirtualClustersRequest.cc delete mode 100644 openanalytics-open/src/model/ListVirtualClustersResult.cc delete mode 100644 openanalytics-open/src/model/ModifyVirtualClusterForSparkRequest.cc delete mode 100644 openanalytics-open/src/model/ModifyVirtualClusterForSparkResult.cc delete mode 100644 openanalytics-open/src/model/ModifyVirtualClusterRequest.cc delete mode 100644 openanalytics-open/src/model/ModifyVirtualClusterResult.cc delete mode 100644 openanalytics-open/src/model/OpenDataLakeAnalyticsServiceRequest.cc delete mode 100644 openanalytics-open/src/model/QueryDataSourceDefRequest.cc delete mode 100644 openanalytics-open/src/model/QueryDataSourceDefResult.cc delete mode 100644 openanalytics-open/src/model/QueryDiscountListRequest.cc delete mode 100644 openanalytics-open/src/model/QueryDiscountListResult.cc delete mode 100644 openanalytics-open/src/model/QueryServiceAccountListRequest.cc delete mode 100644 openanalytics-open/src/model/QueryServiceAccountListResult.cc delete mode 100644 openanalytics-open/src/model/QueryTaskSumRequest.cc delete mode 100644 openanalytics-open/src/model/QueryTaskSumResult.cc delete mode 100644 openanalytics-open/src/model/SetCapacityLimitPolicyRequest.cc delete mode 100644 openanalytics-open/src/model/SetCapacityLimitPolicyResult.cc delete mode 100644 openanalytics-open/src/model/SetRelationWithBizRequest.cc delete mode 100644 openanalytics-open/src/model/SetRelationWithBizResult.cc delete mode 100644 openanalytics-open/src/model/SetTrafficLimitPolicyRequest.cc delete mode 100644 openanalytics-open/src/model/SetTrafficLimitPolicyResult.cc delete mode 100644 openanalytics-open/src/model/StartVirtualClusterRequest.cc delete mode 100644 openanalytics-open/src/model/StartVirtualClusterResult.cc delete mode 100644 openanalytics-open/src/model/StopVirtualClusterRequest.cc delete mode 100644 openanalytics-open/src/model/StopVirtualClusterResult.cc create mode 100644 openanalytics-open/src/model/UpgradeInstanceRequest.cc rename openanalytics-open/src/model/{OpenDataLakeAnalyticsServiceResult.cc => UpgradeInstanceResult.cc} (66%) diff --git a/CHANGELOG b/CHANGELOG index 45a85213a..53b5ec35a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-12-01 Version: patch +- Supported Open Api. + 2020-11-30 Version: patch - Update SetVideoSeekConfig. diff --git a/openanalytics-open/CMakeLists.txt b/openanalytics-open/CMakeLists.txt index a67dc954f..aaced9728 100644 --- a/openanalytics-open/CMakeLists.txt +++ b/openanalytics-open/CMakeLists.txt @@ -31,56 +31,26 @@ set(openanalytics-open_public_header_model include/alibabacloud/openanalytics-open/model/AlterDatabaseResult.h include/alibabacloud/openanalytics-open/model/AlterTableRequest.h include/alibabacloud/openanalytics-open/model/AlterTableResult.h - include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountRequest.h - include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountResult.h include/alibabacloud/openanalytics-open/model/CreateDatabaseRequest.h include/alibabacloud/openanalytics-open/model/CreateDatabaseResult.h include/alibabacloud/openanalytics-open/model/CreateInstanceRequest.h include/alibabacloud/openanalytics-open/model/CreateInstanceResult.h - include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleRequest.h - include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleResult.h include/alibabacloud/openanalytics-open/model/CreateTableRequest.h include/alibabacloud/openanalytics-open/model/CreateTableResult.h - include/alibabacloud/openanalytics-open/model/CreateUserNetConfigRequest.h - include/alibabacloud/openanalytics-open/model/CreateUserNetConfigResult.h - include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkRequest.h - include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkResult.h - include/alibabacloud/openanalytics-open/model/DecodeStsTokenRequest.h - include/alibabacloud/openanalytics-open/model/DecodeStsTokenResult.h include/alibabacloud/openanalytics-open/model/DeleteAccountRequest.h include/alibabacloud/openanalytics-open/model/DeleteAccountResult.h - include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigRequest.h - include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigResult.h - include/alibabacloud/openanalytics-open/model/DescribeCapacityRequest.h - include/alibabacloud/openanalytics-open/model/DescribeCapacityResult.h - include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceRequest.h - include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceResult.h - include/alibabacloud/openanalytics-open/model/DescribeRegionListRequest.h - include/alibabacloud/openanalytics-open/model/DescribeRegionListResult.h - include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterRequest.h - include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterResult.h - include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Request.h - include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Result.h - include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterRequest.h - include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterResult.h include/alibabacloud/openanalytics-open/model/DropDatabaseRequest.h include/alibabacloud/openanalytics-open/model/DropDatabaseResult.h include/alibabacloud/openanalytics-open/model/DropPartitionRequest.h include/alibabacloud/openanalytics-open/model/DropPartitionResult.h include/alibabacloud/openanalytics-open/model/DropTableRequest.h include/alibabacloud/openanalytics-open/model/DropTableResult.h - include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.h - include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.h include/alibabacloud/openanalytics-open/model/GetAllDatabasesRequest.h include/alibabacloud/openanalytics-open/model/GetAllDatabasesResult.h include/alibabacloud/openanalytics-open/model/GetAllTablesRequest.h include/alibabacloud/openanalytics-open/model/GetAllTablesResult.h include/alibabacloud/openanalytics-open/model/GetAllowIPRequest.h include/alibabacloud/openanalytics-open/model/GetAllowIPResult.h - include/alibabacloud/openanalytics-open/model/GetConsolePermissionRequest.h - include/alibabacloud/openanalytics-open/model/GetConsolePermissionResult.h - include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusRequest.h - include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusResult.h include/alibabacloud/openanalytics-open/model/GetDatabaseRequest.h include/alibabacloud/openanalytics-open/model/GetDatabaseResult.h include/alibabacloud/openanalytics-open/model/GetEndPointRequest.h @@ -97,48 +67,18 @@ set(openanalytics-open_public_header_model include/alibabacloud/openanalytics-open/model/GetPartitionResult.h include/alibabacloud/openanalytics-open/model/GetPartitionsRequest.h include/alibabacloud/openanalytics-open/model/GetPartitionsResult.h - include/alibabacloud/openanalytics-open/model/GetRegionStatusRequest.h - include/alibabacloud/openanalytics-open/model/GetRegionStatusResult.h - include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusRequest.h - include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusResult.h include/alibabacloud/openanalytics-open/model/GetTableRequest.h include/alibabacloud/openanalytics-open/model/GetTableResult.h include/alibabacloud/openanalytics-open/model/GrantPrivilegesRequest.h include/alibabacloud/openanalytics-open/model/GrantPrivilegesResult.h - include/alibabacloud/openanalytics-open/model/InitializeDLAServiceRequest.h - include/alibabacloud/openanalytics-open/model/InitializeDLAServiceResult.h - include/alibabacloud/openanalytics-open/model/InitializeRegionRequest.h - include/alibabacloud/openanalytics-open/model/InitializeRegionResult.h include/alibabacloud/openanalytics-open/model/KillSparkJobRequest.h include/alibabacloud/openanalytics-open/model/KillSparkJobResult.h - include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidRequest.h - include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidResult.h - include/alibabacloud/openanalytics-open/model/ListModulesReleaseRequest.h - include/alibabacloud/openanalytics-open/model/ListModulesReleaseResult.h - include/alibabacloud/openanalytics-open/model/ListResourcesSpecRequest.h - include/alibabacloud/openanalytics-open/model/ListResourcesSpecResult.h include/alibabacloud/openanalytics-open/model/ListSparkJobRequest.h include/alibabacloud/openanalytics-open/model/ListSparkJobResult.h - include/alibabacloud/openanalytics-open/model/ListVirtualClustersRequest.h - include/alibabacloud/openanalytics-open/model/ListVirtualClustersResult.h - include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterRequest.h - include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterResult.h - include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkRequest.h - include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkResult.h - include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceRequest.h - include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceResult.h include/alibabacloud/openanalytics-open/model/QueryAccountListRequest.h include/alibabacloud/openanalytics-open/model/QueryAccountListResult.h - include/alibabacloud/openanalytics-open/model/QueryDataSourceDefRequest.h - include/alibabacloud/openanalytics-open/model/QueryDataSourceDefResult.h - include/alibabacloud/openanalytics-open/model/QueryDiscountListRequest.h - include/alibabacloud/openanalytics-open/model/QueryDiscountListResult.h include/alibabacloud/openanalytics-open/model/QueryEndPointListRequest.h include/alibabacloud/openanalytics-open/model/QueryEndPointListResult.h - include/alibabacloud/openanalytics-open/model/QueryServiceAccountListRequest.h - include/alibabacloud/openanalytics-open/model/QueryServiceAccountListResult.h - include/alibabacloud/openanalytics-open/model/QueryTaskSumRequest.h - include/alibabacloud/openanalytics-open/model/QueryTaskSumResult.h include/alibabacloud/openanalytics-open/model/ReleaseInstanceRequest.h include/alibabacloud/openanalytics-open/model/ReleaseInstanceResult.h include/alibabacloud/openanalytics-open/model/RemoveEndPointRequest.h @@ -149,22 +89,14 @@ set(openanalytics-open_public_header_model include/alibabacloud/openanalytics-open/model/RevokePrivilegesResult.h include/alibabacloud/openanalytics-open/model/SetAllowIPRequest.h include/alibabacloud/openanalytics-open/model/SetAllowIPResult.h - include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyRequest.h - include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyResult.h - include/alibabacloud/openanalytics-open/model/SetRelationWithBizRequest.h - include/alibabacloud/openanalytics-open/model/SetRelationWithBizResult.h - include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyRequest.h - include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyResult.h - include/alibabacloud/openanalytics-open/model/StartVirtualClusterRequest.h - include/alibabacloud/openanalytics-open/model/StartVirtualClusterResult.h - include/alibabacloud/openanalytics-open/model/StopVirtualClusterRequest.h - include/alibabacloud/openanalytics-open/model/StopVirtualClusterResult.h include/alibabacloud/openanalytics-open/model/SubmitSparkJobRequest.h include/alibabacloud/openanalytics-open/model/SubmitSparkJobResult.h include/alibabacloud/openanalytics-open/model/UnSubscribeRegionRequest.h include/alibabacloud/openanalytics-open/model/UnSubscribeRegionResult.h include/alibabacloud/openanalytics-open/model/UpdateAccountPasswordRequest.h - include/alibabacloud/openanalytics-open/model/UpdateAccountPasswordResult.h ) + include/alibabacloud/openanalytics-open/model/UpdateAccountPasswordResult.h + include/alibabacloud/openanalytics-open/model/UpgradeInstanceRequest.h + include/alibabacloud/openanalytics-open/model/UpgradeInstanceResult.h ) set(openanalytics-open_src src/Openanalytics-openClient.cc @@ -178,56 +110,26 @@ set(openanalytics-open_src src/model/AlterDatabaseResult.cc src/model/AlterTableRequest.cc src/model/AlterTableResult.cc - src/model/BindingRamUidToDlaAccountRequest.cc - src/model/BindingRamUidToDlaAccountResult.cc src/model/CreateDatabaseRequest.cc src/model/CreateDatabaseResult.cc src/model/CreateInstanceRequest.cc src/model/CreateInstanceResult.cc - src/model/CreateServiceLinkedRoleRequest.cc - src/model/CreateServiceLinkedRoleResult.cc src/model/CreateTableRequest.cc src/model/CreateTableResult.cc - src/model/CreateUserNetConfigRequest.cc - src/model/CreateUserNetConfigResult.cc - src/model/CreateVirtualClusterForSparkRequest.cc - src/model/CreateVirtualClusterForSparkResult.cc - src/model/DecodeStsTokenRequest.cc - src/model/DecodeStsTokenResult.cc src/model/DeleteAccountRequest.cc src/model/DeleteAccountResult.cc - src/model/DeleteUserNetConfigRequest.cc - src/model/DeleteUserNetConfigResult.cc - src/model/DescribeCapacityRequest.cc - src/model/DescribeCapacityResult.cc - src/model/DescribeDataLakeAnalyticsServiceRequest.cc - src/model/DescribeDataLakeAnalyticsServiceResult.cc - src/model/DescribeRegionListRequest.cc - src/model/DescribeRegionListResult.cc - src/model/DescribeVirtualClusterRequest.cc - src/model/DescribeVirtualClusterResult.cc - src/model/DescribeVirtualClusterV2Request.cc - src/model/DescribeVirtualClusterV2Result.cc - src/model/DestroyVirtualClusterRequest.cc - src/model/DestroyVirtualClusterResult.cc src/model/DropDatabaseRequest.cc src/model/DropDatabaseResult.cc src/model/DropPartitionRequest.cc src/model/DropPartitionResult.cc src/model/DropTableRequest.cc src/model/DropTableResult.cc - src/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.cc - src/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.cc src/model/GetAllDatabasesRequest.cc src/model/GetAllDatabasesResult.cc src/model/GetAllTablesRequest.cc src/model/GetAllTablesResult.cc src/model/GetAllowIPRequest.cc src/model/GetAllowIPResult.cc - src/model/GetConsolePermissionRequest.cc - src/model/GetConsolePermissionResult.cc - src/model/GetDLAServiceStatusRequest.cc - src/model/GetDLAServiceStatusResult.cc src/model/GetDatabaseRequest.cc src/model/GetDatabaseResult.cc src/model/GetEndPointRequest.cc @@ -244,48 +146,18 @@ set(openanalytics-open_src src/model/GetPartitionResult.cc src/model/GetPartitionsRequest.cc src/model/GetPartitionsResult.cc - src/model/GetRegionStatusRequest.cc - src/model/GetRegionStatusResult.cc - src/model/GetServiceLinkedRoleStatusRequest.cc - src/model/GetServiceLinkedRoleStatusResult.cc src/model/GetTableRequest.cc src/model/GetTableResult.cc src/model/GrantPrivilegesRequest.cc src/model/GrantPrivilegesResult.cc - src/model/InitializeDLAServiceRequest.cc - src/model/InitializeDLAServiceResult.cc - src/model/InitializeRegionRequest.cc - src/model/InitializeRegionResult.cc src/model/KillSparkJobRequest.cc src/model/KillSparkJobResult.cc - src/model/ListAlreadyBingingRamUidRequest.cc - src/model/ListAlreadyBingingRamUidResult.cc - src/model/ListModulesReleaseRequest.cc - src/model/ListModulesReleaseResult.cc - src/model/ListResourcesSpecRequest.cc - src/model/ListResourcesSpecResult.cc src/model/ListSparkJobRequest.cc src/model/ListSparkJobResult.cc - src/model/ListVirtualClustersRequest.cc - src/model/ListVirtualClustersResult.cc - src/model/ModifyVirtualClusterRequest.cc - src/model/ModifyVirtualClusterResult.cc - src/model/ModifyVirtualClusterForSparkRequest.cc - src/model/ModifyVirtualClusterForSparkResult.cc - src/model/OpenDataLakeAnalyticsServiceRequest.cc - src/model/OpenDataLakeAnalyticsServiceResult.cc src/model/QueryAccountListRequest.cc src/model/QueryAccountListResult.cc - src/model/QueryDataSourceDefRequest.cc - src/model/QueryDataSourceDefResult.cc - src/model/QueryDiscountListRequest.cc - src/model/QueryDiscountListResult.cc src/model/QueryEndPointListRequest.cc src/model/QueryEndPointListResult.cc - src/model/QueryServiceAccountListRequest.cc - src/model/QueryServiceAccountListResult.cc - src/model/QueryTaskSumRequest.cc - src/model/QueryTaskSumResult.cc src/model/ReleaseInstanceRequest.cc src/model/ReleaseInstanceResult.cc src/model/RemoveEndPointRequest.cc @@ -296,22 +168,14 @@ set(openanalytics-open_src src/model/RevokePrivilegesResult.cc src/model/SetAllowIPRequest.cc src/model/SetAllowIPResult.cc - src/model/SetCapacityLimitPolicyRequest.cc - src/model/SetCapacityLimitPolicyResult.cc - src/model/SetRelationWithBizRequest.cc - src/model/SetRelationWithBizResult.cc - src/model/SetTrafficLimitPolicyRequest.cc - src/model/SetTrafficLimitPolicyResult.cc - src/model/StartVirtualClusterRequest.cc - src/model/StartVirtualClusterResult.cc - src/model/StopVirtualClusterRequest.cc - src/model/StopVirtualClusterResult.cc src/model/SubmitSparkJobRequest.cc src/model/SubmitSparkJobResult.cc src/model/UnSubscribeRegionRequest.cc src/model/UnSubscribeRegionResult.cc src/model/UpdateAccountPasswordRequest.cc - src/model/UpdateAccountPasswordResult.cc ) + src/model/UpdateAccountPasswordResult.cc + src/model/UpgradeInstanceRequest.cc + src/model/UpgradeInstanceResult.cc ) add_library(openanalytics-open ${LIB_TYPE} ${openanalytics-open_public_header} diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/Openanalytics_openClient.h b/openanalytics-open/include/alibabacloud/openanalytics-open/Openanalytics_openClient.h index 2bb796603..4c4a038f8 100644 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/Openanalytics_openClient.h +++ b/openanalytics-open/include/alibabacloud/openanalytics-open/Openanalytics_openClient.h @@ -32,56 +32,26 @@ #include "model/AlterDatabaseResult.h" #include "model/AlterTableRequest.h" #include "model/AlterTableResult.h" -#include "model/BindingRamUidToDlaAccountRequest.h" -#include "model/BindingRamUidToDlaAccountResult.h" #include "model/CreateDatabaseRequest.h" #include "model/CreateDatabaseResult.h" #include "model/CreateInstanceRequest.h" #include "model/CreateInstanceResult.h" -#include "model/CreateServiceLinkedRoleRequest.h" -#include "model/CreateServiceLinkedRoleResult.h" #include "model/CreateTableRequest.h" #include "model/CreateTableResult.h" -#include "model/CreateUserNetConfigRequest.h" -#include "model/CreateUserNetConfigResult.h" -#include "model/CreateVirtualClusterForSparkRequest.h" -#include "model/CreateVirtualClusterForSparkResult.h" -#include "model/DecodeStsTokenRequest.h" -#include "model/DecodeStsTokenResult.h" #include "model/DeleteAccountRequest.h" #include "model/DeleteAccountResult.h" -#include "model/DeleteUserNetConfigRequest.h" -#include "model/DeleteUserNetConfigResult.h" -#include "model/DescribeCapacityRequest.h" -#include "model/DescribeCapacityResult.h" -#include "model/DescribeDataLakeAnalyticsServiceRequest.h" -#include "model/DescribeDataLakeAnalyticsServiceResult.h" -#include "model/DescribeRegionListRequest.h" -#include "model/DescribeRegionListResult.h" -#include "model/DescribeVirtualClusterRequest.h" -#include "model/DescribeVirtualClusterResult.h" -#include "model/DescribeVirtualClusterV2Request.h" -#include "model/DescribeVirtualClusterV2Result.h" -#include "model/DestroyVirtualClusterRequest.h" -#include "model/DestroyVirtualClusterResult.h" #include "model/DropDatabaseRequest.h" #include "model/DropDatabaseResult.h" #include "model/DropPartitionRequest.h" #include "model/DropPartitionResult.h" #include "model/DropTableRequest.h" #include "model/DropTableResult.h" -#include "model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.h" -#include "model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.h" #include "model/GetAllDatabasesRequest.h" #include "model/GetAllDatabasesResult.h" #include "model/GetAllTablesRequest.h" #include "model/GetAllTablesResult.h" #include "model/GetAllowIPRequest.h" #include "model/GetAllowIPResult.h" -#include "model/GetConsolePermissionRequest.h" -#include "model/GetConsolePermissionResult.h" -#include "model/GetDLAServiceStatusRequest.h" -#include "model/GetDLAServiceStatusResult.h" #include "model/GetDatabaseRequest.h" #include "model/GetDatabaseResult.h" #include "model/GetEndPointRequest.h" @@ -98,48 +68,18 @@ #include "model/GetPartitionResult.h" #include "model/GetPartitionsRequest.h" #include "model/GetPartitionsResult.h" -#include "model/GetRegionStatusRequest.h" -#include "model/GetRegionStatusResult.h" -#include "model/GetServiceLinkedRoleStatusRequest.h" -#include "model/GetServiceLinkedRoleStatusResult.h" #include "model/GetTableRequest.h" #include "model/GetTableResult.h" #include "model/GrantPrivilegesRequest.h" #include "model/GrantPrivilegesResult.h" -#include "model/InitializeDLAServiceRequest.h" -#include "model/InitializeDLAServiceResult.h" -#include "model/InitializeRegionRequest.h" -#include "model/InitializeRegionResult.h" #include "model/KillSparkJobRequest.h" #include "model/KillSparkJobResult.h" -#include "model/ListAlreadyBingingRamUidRequest.h" -#include "model/ListAlreadyBingingRamUidResult.h" -#include "model/ListModulesReleaseRequest.h" -#include "model/ListModulesReleaseResult.h" -#include "model/ListResourcesSpecRequest.h" -#include "model/ListResourcesSpecResult.h" #include "model/ListSparkJobRequest.h" #include "model/ListSparkJobResult.h" -#include "model/ListVirtualClustersRequest.h" -#include "model/ListVirtualClustersResult.h" -#include "model/ModifyVirtualClusterRequest.h" -#include "model/ModifyVirtualClusterResult.h" -#include "model/ModifyVirtualClusterForSparkRequest.h" -#include "model/ModifyVirtualClusterForSparkResult.h" -#include "model/OpenDataLakeAnalyticsServiceRequest.h" -#include "model/OpenDataLakeAnalyticsServiceResult.h" #include "model/QueryAccountListRequest.h" #include "model/QueryAccountListResult.h" -#include "model/QueryDataSourceDefRequest.h" -#include "model/QueryDataSourceDefResult.h" -#include "model/QueryDiscountListRequest.h" -#include "model/QueryDiscountListResult.h" #include "model/QueryEndPointListRequest.h" #include "model/QueryEndPointListResult.h" -#include "model/QueryServiceAccountListRequest.h" -#include "model/QueryServiceAccountListResult.h" -#include "model/QueryTaskSumRequest.h" -#include "model/QueryTaskSumResult.h" #include "model/ReleaseInstanceRequest.h" #include "model/ReleaseInstanceResult.h" #include "model/RemoveEndPointRequest.h" @@ -150,22 +90,14 @@ #include "model/RevokePrivilegesResult.h" #include "model/SetAllowIPRequest.h" #include "model/SetAllowIPResult.h" -#include "model/SetCapacityLimitPolicyRequest.h" -#include "model/SetCapacityLimitPolicyResult.h" -#include "model/SetRelationWithBizRequest.h" -#include "model/SetRelationWithBizResult.h" -#include "model/SetTrafficLimitPolicyRequest.h" -#include "model/SetTrafficLimitPolicyResult.h" -#include "model/StartVirtualClusterRequest.h" -#include "model/StartVirtualClusterResult.h" -#include "model/StopVirtualClusterRequest.h" -#include "model/StopVirtualClusterResult.h" #include "model/SubmitSparkJobRequest.h" #include "model/SubmitSparkJobResult.h" #include "model/UnSubscribeRegionRequest.h" #include "model/UnSubscribeRegionResult.h" #include "model/UpdateAccountPasswordRequest.h" #include "model/UpdateAccountPasswordResult.h" +#include "model/UpgradeInstanceRequest.h" +#include "model/UpgradeInstanceResult.h" namespace AlibabaCloud @@ -190,54 +122,18 @@ namespace AlibabaCloud typedef Outcome AlterTableOutcome; typedef std::future AlterTableOutcomeCallable; typedef std::function&)> AlterTableAsyncHandler; - typedef Outcome BindingRamUidToDlaAccountOutcome; - typedef std::future BindingRamUidToDlaAccountOutcomeCallable; - typedef std::function&)> BindingRamUidToDlaAccountAsyncHandler; typedef Outcome CreateDatabaseOutcome; typedef std::future CreateDatabaseOutcomeCallable; typedef std::function&)> CreateDatabaseAsyncHandler; typedef Outcome CreateInstanceOutcome; typedef std::future CreateInstanceOutcomeCallable; typedef std::function&)> CreateInstanceAsyncHandler; - typedef Outcome CreateServiceLinkedRoleOutcome; - typedef std::future CreateServiceLinkedRoleOutcomeCallable; - typedef std::function&)> CreateServiceLinkedRoleAsyncHandler; typedef Outcome CreateTableOutcome; typedef std::future CreateTableOutcomeCallable; typedef std::function&)> CreateTableAsyncHandler; - typedef Outcome CreateUserNetConfigOutcome; - typedef std::future CreateUserNetConfigOutcomeCallable; - typedef std::function&)> CreateUserNetConfigAsyncHandler; - typedef Outcome CreateVirtualClusterForSparkOutcome; - typedef std::future CreateVirtualClusterForSparkOutcomeCallable; - typedef std::function&)> CreateVirtualClusterForSparkAsyncHandler; - typedef Outcome DecodeStsTokenOutcome; - typedef std::future DecodeStsTokenOutcomeCallable; - typedef std::function&)> DecodeStsTokenAsyncHandler; typedef Outcome DeleteAccountOutcome; typedef std::future DeleteAccountOutcomeCallable; typedef std::function&)> DeleteAccountAsyncHandler; - typedef Outcome DeleteUserNetConfigOutcome; - typedef std::future DeleteUserNetConfigOutcomeCallable; - typedef std::function&)> DeleteUserNetConfigAsyncHandler; - typedef Outcome DescribeCapacityOutcome; - typedef std::future DescribeCapacityOutcomeCallable; - typedef std::function&)> DescribeCapacityAsyncHandler; - typedef Outcome DescribeDataLakeAnalyticsServiceOutcome; - typedef std::future DescribeDataLakeAnalyticsServiceOutcomeCallable; - typedef std::function&)> DescribeDataLakeAnalyticsServiceAsyncHandler; - typedef Outcome DescribeRegionListOutcome; - typedef std::future DescribeRegionListOutcomeCallable; - typedef std::function&)> DescribeRegionListAsyncHandler; - typedef Outcome DescribeVirtualClusterOutcome; - typedef std::future DescribeVirtualClusterOutcomeCallable; - typedef std::function&)> DescribeVirtualClusterAsyncHandler; - typedef Outcome DescribeVirtualClusterV2Outcome; - typedef std::future DescribeVirtualClusterV2OutcomeCallable; - typedef std::function&)> DescribeVirtualClusterV2AsyncHandler; - typedef Outcome DestroyVirtualClusterOutcome; - typedef std::future DestroyVirtualClusterOutcomeCallable; - typedef std::function&)> DestroyVirtualClusterAsyncHandler; typedef Outcome DropDatabaseOutcome; typedef std::future DropDatabaseOutcomeCallable; typedef std::function&)> DropDatabaseAsyncHandler; @@ -247,9 +143,6 @@ namespace AlibabaCloud typedef Outcome DropTableOutcome; typedef std::future DropTableOutcomeCallable; typedef std::function&)> DropTableAsyncHandler; - typedef Outcome ForbidAutomaticMetaSyncAsIntegrationAccountOutcome; - typedef std::future ForbidAutomaticMetaSyncAsIntegrationAccountOutcomeCallable; - typedef std::function&)> ForbidAutomaticMetaSyncAsIntegrationAccountAsyncHandler; typedef Outcome GetAllDatabasesOutcome; typedef std::future GetAllDatabasesOutcomeCallable; typedef std::function&)> GetAllDatabasesAsyncHandler; @@ -259,12 +152,6 @@ namespace AlibabaCloud typedef Outcome GetAllowIPOutcome; typedef std::future GetAllowIPOutcomeCallable; typedef std::function&)> GetAllowIPAsyncHandler; - typedef Outcome GetConsolePermissionOutcome; - typedef std::future GetConsolePermissionOutcomeCallable; - typedef std::function&)> GetConsolePermissionAsyncHandler; - typedef Outcome GetDLAServiceStatusOutcome; - typedef std::future GetDLAServiceStatusOutcomeCallable; - typedef std::function&)> GetDLAServiceStatusAsyncHandler; typedef Outcome GetDatabaseOutcome; typedef std::future GetDatabaseOutcomeCallable; typedef std::function&)> GetDatabaseAsyncHandler; @@ -289,69 +176,24 @@ namespace AlibabaCloud typedef Outcome GetPartitionsOutcome; typedef std::future GetPartitionsOutcomeCallable; typedef std::function&)> GetPartitionsAsyncHandler; - typedef Outcome GetRegionStatusOutcome; - typedef std::future GetRegionStatusOutcomeCallable; - typedef std::function&)> GetRegionStatusAsyncHandler; - typedef Outcome GetServiceLinkedRoleStatusOutcome; - typedef std::future GetServiceLinkedRoleStatusOutcomeCallable; - typedef std::function&)> GetServiceLinkedRoleStatusAsyncHandler; typedef Outcome GetTableOutcome; typedef std::future GetTableOutcomeCallable; typedef std::function&)> GetTableAsyncHandler; typedef Outcome GrantPrivilegesOutcome; typedef std::future GrantPrivilegesOutcomeCallable; typedef std::function&)> GrantPrivilegesAsyncHandler; - typedef Outcome InitializeDLAServiceOutcome; - typedef std::future InitializeDLAServiceOutcomeCallable; - typedef std::function&)> InitializeDLAServiceAsyncHandler; - typedef Outcome InitializeRegionOutcome; - typedef std::future InitializeRegionOutcomeCallable; - typedef std::function&)> InitializeRegionAsyncHandler; typedef Outcome KillSparkJobOutcome; typedef std::future KillSparkJobOutcomeCallable; typedef std::function&)> KillSparkJobAsyncHandler; - typedef Outcome ListAlreadyBingingRamUidOutcome; - typedef std::future ListAlreadyBingingRamUidOutcomeCallable; - typedef std::function&)> ListAlreadyBingingRamUidAsyncHandler; - typedef Outcome ListModulesReleaseOutcome; - typedef std::future ListModulesReleaseOutcomeCallable; - typedef std::function&)> ListModulesReleaseAsyncHandler; - typedef Outcome ListResourcesSpecOutcome; - typedef std::future ListResourcesSpecOutcomeCallable; - typedef std::function&)> ListResourcesSpecAsyncHandler; typedef Outcome ListSparkJobOutcome; typedef std::future ListSparkJobOutcomeCallable; typedef std::function&)> ListSparkJobAsyncHandler; - typedef Outcome ListVirtualClustersOutcome; - typedef std::future ListVirtualClustersOutcomeCallable; - typedef std::function&)> ListVirtualClustersAsyncHandler; - typedef Outcome ModifyVirtualClusterOutcome; - typedef std::future ModifyVirtualClusterOutcomeCallable; - typedef std::function&)> ModifyVirtualClusterAsyncHandler; - typedef Outcome ModifyVirtualClusterForSparkOutcome; - typedef std::future ModifyVirtualClusterForSparkOutcomeCallable; - typedef std::function&)> ModifyVirtualClusterForSparkAsyncHandler; - typedef Outcome OpenDataLakeAnalyticsServiceOutcome; - typedef std::future OpenDataLakeAnalyticsServiceOutcomeCallable; - typedef std::function&)> OpenDataLakeAnalyticsServiceAsyncHandler; typedef Outcome QueryAccountListOutcome; typedef std::future QueryAccountListOutcomeCallable; typedef std::function&)> QueryAccountListAsyncHandler; - typedef Outcome QueryDataSourceDefOutcome; - typedef std::future QueryDataSourceDefOutcomeCallable; - typedef std::function&)> QueryDataSourceDefAsyncHandler; - typedef Outcome QueryDiscountListOutcome; - typedef std::future QueryDiscountListOutcomeCallable; - typedef std::function&)> QueryDiscountListAsyncHandler; typedef Outcome QueryEndPointListOutcome; typedef std::future QueryEndPointListOutcomeCallable; typedef std::function&)> QueryEndPointListAsyncHandler; - typedef Outcome QueryServiceAccountListOutcome; - typedef std::future QueryServiceAccountListOutcomeCallable; - typedef std::function&)> QueryServiceAccountListAsyncHandler; - typedef Outcome QueryTaskSumOutcome; - typedef std::future QueryTaskSumOutcomeCallable; - typedef std::function&)> QueryTaskSumAsyncHandler; typedef Outcome ReleaseInstanceOutcome; typedef std::future ReleaseInstanceOutcomeCallable; typedef std::function&)> ReleaseInstanceAsyncHandler; @@ -367,21 +209,6 @@ namespace AlibabaCloud typedef Outcome SetAllowIPOutcome; typedef std::future SetAllowIPOutcomeCallable; typedef std::function&)> SetAllowIPAsyncHandler; - typedef Outcome SetCapacityLimitPolicyOutcome; - typedef std::future SetCapacityLimitPolicyOutcomeCallable; - typedef std::function&)> SetCapacityLimitPolicyAsyncHandler; - typedef Outcome SetRelationWithBizOutcome; - typedef std::future SetRelationWithBizOutcomeCallable; - typedef std::function&)> SetRelationWithBizAsyncHandler; - typedef Outcome SetTrafficLimitPolicyOutcome; - typedef std::future SetTrafficLimitPolicyOutcomeCallable; - typedef std::function&)> SetTrafficLimitPolicyAsyncHandler; - typedef Outcome StartVirtualClusterOutcome; - typedef std::future StartVirtualClusterOutcomeCallable; - typedef std::function&)> StartVirtualClusterAsyncHandler; - typedef Outcome StopVirtualClusterOutcome; - typedef std::future StopVirtualClusterOutcomeCallable; - typedef std::function&)> StopVirtualClusterAsyncHandler; typedef Outcome SubmitSparkJobOutcome; typedef std::future SubmitSparkJobOutcomeCallable; typedef std::function&)> SubmitSparkJobAsyncHandler; @@ -391,6 +218,9 @@ namespace AlibabaCloud typedef Outcome UpdateAccountPasswordOutcome; typedef std::future UpdateAccountPasswordOutcomeCallable; typedef std::function&)> UpdateAccountPasswordAsyncHandler; + typedef Outcome UpgradeInstanceOutcome; + typedef std::future UpgradeInstanceOutcomeCallable; + typedef std::function&)> UpgradeInstanceAsyncHandler; Openanalytics_openClient(const Credentials &credentials, const ClientConfiguration &configuration); Openanalytics_openClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); @@ -411,54 +241,18 @@ namespace AlibabaCloud AlterTableOutcome alterTable(const Model::AlterTableRequest &request)const; void alterTableAsync(const Model::AlterTableRequest& request, const AlterTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AlterTableOutcomeCallable alterTableCallable(const Model::AlterTableRequest& request) const; - BindingRamUidToDlaAccountOutcome bindingRamUidToDlaAccount(const Model::BindingRamUidToDlaAccountRequest &request)const; - void bindingRamUidToDlaAccountAsync(const Model::BindingRamUidToDlaAccountRequest& request, const BindingRamUidToDlaAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - BindingRamUidToDlaAccountOutcomeCallable bindingRamUidToDlaAccountCallable(const Model::BindingRamUidToDlaAccountRequest& request) const; CreateDatabaseOutcome createDatabase(const Model::CreateDatabaseRequest &request)const; void createDatabaseAsync(const Model::CreateDatabaseRequest& request, const CreateDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDatabaseOutcomeCallable createDatabaseCallable(const Model::CreateDatabaseRequest& request) const; CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; - CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const; - void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const; CreateTableOutcome createTable(const Model::CreateTableRequest &request)const; void createTableAsync(const Model::CreateTableRequest& request, const CreateTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateTableOutcomeCallable createTableCallable(const Model::CreateTableRequest& request) const; - CreateUserNetConfigOutcome createUserNetConfig(const Model::CreateUserNetConfigRequest &request)const; - void createUserNetConfigAsync(const Model::CreateUserNetConfigRequest& request, const CreateUserNetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateUserNetConfigOutcomeCallable createUserNetConfigCallable(const Model::CreateUserNetConfigRequest& request) const; - CreateVirtualClusterForSparkOutcome createVirtualClusterForSpark(const Model::CreateVirtualClusterForSparkRequest &request)const; - void createVirtualClusterForSparkAsync(const Model::CreateVirtualClusterForSparkRequest& request, const CreateVirtualClusterForSparkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - CreateVirtualClusterForSparkOutcomeCallable createVirtualClusterForSparkCallable(const Model::CreateVirtualClusterForSparkRequest& request) const; - DecodeStsTokenOutcome decodeStsToken(const Model::DecodeStsTokenRequest &request)const; - void decodeStsTokenAsync(const Model::DecodeStsTokenRequest& request, const DecodeStsTokenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DecodeStsTokenOutcomeCallable decodeStsTokenCallable(const Model::DecodeStsTokenRequest& request) const; DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const; void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const; - DeleteUserNetConfigOutcome deleteUserNetConfig(const Model::DeleteUserNetConfigRequest &request)const; - void deleteUserNetConfigAsync(const Model::DeleteUserNetConfigRequest& request, const DeleteUserNetConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DeleteUserNetConfigOutcomeCallable deleteUserNetConfigCallable(const Model::DeleteUserNetConfigRequest& request) const; - DescribeCapacityOutcome describeCapacity(const Model::DescribeCapacityRequest &request)const; - void describeCapacityAsync(const Model::DescribeCapacityRequest& request, const DescribeCapacityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeCapacityOutcomeCallable describeCapacityCallable(const Model::DescribeCapacityRequest& request) const; - DescribeDataLakeAnalyticsServiceOutcome describeDataLakeAnalyticsService(const Model::DescribeDataLakeAnalyticsServiceRequest &request)const; - void describeDataLakeAnalyticsServiceAsync(const Model::DescribeDataLakeAnalyticsServiceRequest& request, const DescribeDataLakeAnalyticsServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeDataLakeAnalyticsServiceOutcomeCallable describeDataLakeAnalyticsServiceCallable(const Model::DescribeDataLakeAnalyticsServiceRequest& request) const; - DescribeRegionListOutcome describeRegionList(const Model::DescribeRegionListRequest &request)const; - void describeRegionListAsync(const Model::DescribeRegionListRequest& request, const DescribeRegionListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeRegionListOutcomeCallable describeRegionListCallable(const Model::DescribeRegionListRequest& request) const; - DescribeVirtualClusterOutcome describeVirtualCluster(const Model::DescribeVirtualClusterRequest &request)const; - void describeVirtualClusterAsync(const Model::DescribeVirtualClusterRequest& request, const DescribeVirtualClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeVirtualClusterOutcomeCallable describeVirtualClusterCallable(const Model::DescribeVirtualClusterRequest& request) const; - DescribeVirtualClusterV2Outcome describeVirtualClusterV2(const Model::DescribeVirtualClusterV2Request &request)const; - void describeVirtualClusterV2Async(const Model::DescribeVirtualClusterV2Request& request, const DescribeVirtualClusterV2AsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DescribeVirtualClusterV2OutcomeCallable describeVirtualClusterV2Callable(const Model::DescribeVirtualClusterV2Request& request) const; - DestroyVirtualClusterOutcome destroyVirtualCluster(const Model::DestroyVirtualClusterRequest &request)const; - void destroyVirtualClusterAsync(const Model::DestroyVirtualClusterRequest& request, const DestroyVirtualClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - DestroyVirtualClusterOutcomeCallable destroyVirtualClusterCallable(const Model::DestroyVirtualClusterRequest& request) const; DropDatabaseOutcome dropDatabase(const Model::DropDatabaseRequest &request)const; void dropDatabaseAsync(const Model::DropDatabaseRequest& request, const DropDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DropDatabaseOutcomeCallable dropDatabaseCallable(const Model::DropDatabaseRequest& request) const; @@ -468,9 +262,6 @@ namespace AlibabaCloud DropTableOutcome dropTable(const Model::DropTableRequest &request)const; void dropTableAsync(const Model::DropTableRequest& request, const DropTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DropTableOutcomeCallable dropTableCallable(const Model::DropTableRequest& request) const; - ForbidAutomaticMetaSyncAsIntegrationAccountOutcome forbidAutomaticMetaSyncAsIntegrationAccount(const Model::ForbidAutomaticMetaSyncAsIntegrationAccountRequest &request)const; - void forbidAutomaticMetaSyncAsIntegrationAccountAsync(const Model::ForbidAutomaticMetaSyncAsIntegrationAccountRequest& request, const ForbidAutomaticMetaSyncAsIntegrationAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ForbidAutomaticMetaSyncAsIntegrationAccountOutcomeCallable forbidAutomaticMetaSyncAsIntegrationAccountCallable(const Model::ForbidAutomaticMetaSyncAsIntegrationAccountRequest& request) const; GetAllDatabasesOutcome getAllDatabases(const Model::GetAllDatabasesRequest &request)const; void getAllDatabasesAsync(const Model::GetAllDatabasesRequest& request, const GetAllDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetAllDatabasesOutcomeCallable getAllDatabasesCallable(const Model::GetAllDatabasesRequest& request) const; @@ -480,12 +271,6 @@ namespace AlibabaCloud GetAllowIPOutcome getAllowIP(const Model::GetAllowIPRequest &request)const; void getAllowIPAsync(const Model::GetAllowIPRequest& request, const GetAllowIPAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetAllowIPOutcomeCallable getAllowIPCallable(const Model::GetAllowIPRequest& request) const; - GetConsolePermissionOutcome getConsolePermission(const Model::GetConsolePermissionRequest &request)const; - void getConsolePermissionAsync(const Model::GetConsolePermissionRequest& request, const GetConsolePermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetConsolePermissionOutcomeCallable getConsolePermissionCallable(const Model::GetConsolePermissionRequest& request) const; - GetDLAServiceStatusOutcome getDLAServiceStatus(const Model::GetDLAServiceStatusRequest &request)const; - void getDLAServiceStatusAsync(const Model::GetDLAServiceStatusRequest& request, const GetDLAServiceStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetDLAServiceStatusOutcomeCallable getDLAServiceStatusCallable(const Model::GetDLAServiceStatusRequest& request) const; GetDatabaseOutcome getDatabase(const Model::GetDatabaseRequest &request)const; void getDatabaseAsync(const Model::GetDatabaseRequest& request, const GetDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetDatabaseOutcomeCallable getDatabaseCallable(const Model::GetDatabaseRequest& request) const; @@ -510,69 +295,24 @@ namespace AlibabaCloud GetPartitionsOutcome getPartitions(const Model::GetPartitionsRequest &request)const; void getPartitionsAsync(const Model::GetPartitionsRequest& request, const GetPartitionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetPartitionsOutcomeCallable getPartitionsCallable(const Model::GetPartitionsRequest& request) const; - GetRegionStatusOutcome getRegionStatus(const Model::GetRegionStatusRequest &request)const; - void getRegionStatusAsync(const Model::GetRegionStatusRequest& request, const GetRegionStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetRegionStatusOutcomeCallable getRegionStatusCallable(const Model::GetRegionStatusRequest& request) const; - GetServiceLinkedRoleStatusOutcome getServiceLinkedRoleStatus(const Model::GetServiceLinkedRoleStatusRequest &request)const; - void getServiceLinkedRoleStatusAsync(const Model::GetServiceLinkedRoleStatusRequest& request, const GetServiceLinkedRoleStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - GetServiceLinkedRoleStatusOutcomeCallable getServiceLinkedRoleStatusCallable(const Model::GetServiceLinkedRoleStatusRequest& request) const; GetTableOutcome getTable(const Model::GetTableRequest &request)const; void getTableAsync(const Model::GetTableRequest& request, const GetTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTableOutcomeCallable getTableCallable(const Model::GetTableRequest& request) const; GrantPrivilegesOutcome grantPrivileges(const Model::GrantPrivilegesRequest &request)const; void grantPrivilegesAsync(const Model::GrantPrivilegesRequest& request, const GrantPrivilegesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GrantPrivilegesOutcomeCallable grantPrivilegesCallable(const Model::GrantPrivilegesRequest& request) const; - InitializeDLAServiceOutcome initializeDLAService(const Model::InitializeDLAServiceRequest &request)const; - void initializeDLAServiceAsync(const Model::InitializeDLAServiceRequest& request, const InitializeDLAServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - InitializeDLAServiceOutcomeCallable initializeDLAServiceCallable(const Model::InitializeDLAServiceRequest& request) const; - InitializeRegionOutcome initializeRegion(const Model::InitializeRegionRequest &request)const; - void initializeRegionAsync(const Model::InitializeRegionRequest& request, const InitializeRegionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - InitializeRegionOutcomeCallable initializeRegionCallable(const Model::InitializeRegionRequest& request) const; KillSparkJobOutcome killSparkJob(const Model::KillSparkJobRequest &request)const; void killSparkJobAsync(const Model::KillSparkJobRequest& request, const KillSparkJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; KillSparkJobOutcomeCallable killSparkJobCallable(const Model::KillSparkJobRequest& request) const; - ListAlreadyBingingRamUidOutcome listAlreadyBingingRamUid(const Model::ListAlreadyBingingRamUidRequest &request)const; - void listAlreadyBingingRamUidAsync(const Model::ListAlreadyBingingRamUidRequest& request, const ListAlreadyBingingRamUidAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListAlreadyBingingRamUidOutcomeCallable listAlreadyBingingRamUidCallable(const Model::ListAlreadyBingingRamUidRequest& request) const; - ListModulesReleaseOutcome listModulesRelease(const Model::ListModulesReleaseRequest &request)const; - void listModulesReleaseAsync(const Model::ListModulesReleaseRequest& request, const ListModulesReleaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListModulesReleaseOutcomeCallable listModulesReleaseCallable(const Model::ListModulesReleaseRequest& request) const; - ListResourcesSpecOutcome listResourcesSpec(const Model::ListResourcesSpecRequest &request)const; - void listResourcesSpecAsync(const Model::ListResourcesSpecRequest& request, const ListResourcesSpecAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListResourcesSpecOutcomeCallable listResourcesSpecCallable(const Model::ListResourcesSpecRequest& request) const; ListSparkJobOutcome listSparkJob(const Model::ListSparkJobRequest &request)const; void listSparkJobAsync(const Model::ListSparkJobRequest& request, const ListSparkJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSparkJobOutcomeCallable listSparkJobCallable(const Model::ListSparkJobRequest& request) const; - ListVirtualClustersOutcome listVirtualClusters(const Model::ListVirtualClustersRequest &request)const; - void listVirtualClustersAsync(const Model::ListVirtualClustersRequest& request, const ListVirtualClustersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ListVirtualClustersOutcomeCallable listVirtualClustersCallable(const Model::ListVirtualClustersRequest& request) const; - ModifyVirtualClusterOutcome modifyVirtualCluster(const Model::ModifyVirtualClusterRequest &request)const; - void modifyVirtualClusterAsync(const Model::ModifyVirtualClusterRequest& request, const ModifyVirtualClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyVirtualClusterOutcomeCallable modifyVirtualClusterCallable(const Model::ModifyVirtualClusterRequest& request) const; - ModifyVirtualClusterForSparkOutcome modifyVirtualClusterForSpark(const Model::ModifyVirtualClusterForSparkRequest &request)const; - void modifyVirtualClusterForSparkAsync(const Model::ModifyVirtualClusterForSparkRequest& request, const ModifyVirtualClusterForSparkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - ModifyVirtualClusterForSparkOutcomeCallable modifyVirtualClusterForSparkCallable(const Model::ModifyVirtualClusterForSparkRequest& request) const; - OpenDataLakeAnalyticsServiceOutcome openDataLakeAnalyticsService(const Model::OpenDataLakeAnalyticsServiceRequest &request)const; - void openDataLakeAnalyticsServiceAsync(const Model::OpenDataLakeAnalyticsServiceRequest& request, const OpenDataLakeAnalyticsServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - OpenDataLakeAnalyticsServiceOutcomeCallable openDataLakeAnalyticsServiceCallable(const Model::OpenDataLakeAnalyticsServiceRequest& request) const; QueryAccountListOutcome queryAccountList(const Model::QueryAccountListRequest &request)const; void queryAccountListAsync(const Model::QueryAccountListRequest& request, const QueryAccountListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryAccountListOutcomeCallable queryAccountListCallable(const Model::QueryAccountListRequest& request) const; - QueryDataSourceDefOutcome queryDataSourceDef(const Model::QueryDataSourceDefRequest &request)const; - void queryDataSourceDefAsync(const Model::QueryDataSourceDefRequest& request, const QueryDataSourceDefAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryDataSourceDefOutcomeCallable queryDataSourceDefCallable(const Model::QueryDataSourceDefRequest& request) const; - QueryDiscountListOutcome queryDiscountList(const Model::QueryDiscountListRequest &request)const; - void queryDiscountListAsync(const Model::QueryDiscountListRequest& request, const QueryDiscountListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryDiscountListOutcomeCallable queryDiscountListCallable(const Model::QueryDiscountListRequest& request) const; QueryEndPointListOutcome queryEndPointList(const Model::QueryEndPointListRequest &request)const; void queryEndPointListAsync(const Model::QueryEndPointListRequest& request, const QueryEndPointListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryEndPointListOutcomeCallable queryEndPointListCallable(const Model::QueryEndPointListRequest& request) const; - QueryServiceAccountListOutcome queryServiceAccountList(const Model::QueryServiceAccountListRequest &request)const; - void queryServiceAccountListAsync(const Model::QueryServiceAccountListRequest& request, const QueryServiceAccountListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryServiceAccountListOutcomeCallable queryServiceAccountListCallable(const Model::QueryServiceAccountListRequest& request) const; - QueryTaskSumOutcome queryTaskSum(const Model::QueryTaskSumRequest &request)const; - void queryTaskSumAsync(const Model::QueryTaskSumRequest& request, const QueryTaskSumAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - QueryTaskSumOutcomeCallable queryTaskSumCallable(const Model::QueryTaskSumRequest& request) const; ReleaseInstanceOutcome releaseInstance(const Model::ReleaseInstanceRequest &request)const; void releaseInstanceAsync(const Model::ReleaseInstanceRequest& request, const ReleaseInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReleaseInstanceOutcomeCallable releaseInstanceCallable(const Model::ReleaseInstanceRequest& request) const; @@ -588,21 +328,6 @@ namespace AlibabaCloud SetAllowIPOutcome setAllowIP(const Model::SetAllowIPRequest &request)const; void setAllowIPAsync(const Model::SetAllowIPRequest& request, const SetAllowIPAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SetAllowIPOutcomeCallable setAllowIPCallable(const Model::SetAllowIPRequest& request) const; - SetCapacityLimitPolicyOutcome setCapacityLimitPolicy(const Model::SetCapacityLimitPolicyRequest &request)const; - void setCapacityLimitPolicyAsync(const Model::SetCapacityLimitPolicyRequest& request, const SetCapacityLimitPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetCapacityLimitPolicyOutcomeCallable setCapacityLimitPolicyCallable(const Model::SetCapacityLimitPolicyRequest& request) const; - SetRelationWithBizOutcome setRelationWithBiz(const Model::SetRelationWithBizRequest &request)const; - void setRelationWithBizAsync(const Model::SetRelationWithBizRequest& request, const SetRelationWithBizAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetRelationWithBizOutcomeCallable setRelationWithBizCallable(const Model::SetRelationWithBizRequest& request) const; - SetTrafficLimitPolicyOutcome setTrafficLimitPolicy(const Model::SetTrafficLimitPolicyRequest &request)const; - void setTrafficLimitPolicyAsync(const Model::SetTrafficLimitPolicyRequest& request, const SetTrafficLimitPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - SetTrafficLimitPolicyOutcomeCallable setTrafficLimitPolicyCallable(const Model::SetTrafficLimitPolicyRequest& request) const; - StartVirtualClusterOutcome startVirtualCluster(const Model::StartVirtualClusterRequest &request)const; - void startVirtualClusterAsync(const Model::StartVirtualClusterRequest& request, const StartVirtualClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StartVirtualClusterOutcomeCallable startVirtualClusterCallable(const Model::StartVirtualClusterRequest& request) const; - StopVirtualClusterOutcome stopVirtualCluster(const Model::StopVirtualClusterRequest &request)const; - void stopVirtualClusterAsync(const Model::StopVirtualClusterRequest& request, const StopVirtualClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; - StopVirtualClusterOutcomeCallable stopVirtualClusterCallable(const Model::StopVirtualClusterRequest& request) const; SubmitSparkJobOutcome submitSparkJob(const Model::SubmitSparkJobRequest &request)const; void submitSparkJobAsync(const Model::SubmitSparkJobRequest& request, const SubmitSparkJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SubmitSparkJobOutcomeCallable submitSparkJobCallable(const Model::SubmitSparkJobRequest& request) const; @@ -612,6 +337,9 @@ namespace AlibabaCloud UpdateAccountPasswordOutcome updateAccountPassword(const Model::UpdateAccountPasswordRequest &request)const; void updateAccountPasswordAsync(const Model::UpdateAccountPasswordRequest& request, const UpdateAccountPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateAccountPasswordOutcomeCallable updateAccountPasswordCallable(const Model::UpdateAccountPasswordRequest& request) const; + UpgradeInstanceOutcome upgradeInstance(const Model::UpgradeInstanceRequest &request)const; + void upgradeInstanceAsync(const Model::UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpgradeInstanceOutcomeCallable upgradeInstanceCallable(const Model::UpgradeInstanceRequest& request) const; private: std::shared_ptr endpointProvider_; diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountRequest.h deleted file mode 100644 index 911835fff..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountRequest.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_OPENANALYTICS_OPEN_MODEL_BINDINGRAMUIDTODLAACCOUNTREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_BINDINGRAMUIDTODLAACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT BindingRamUidToDlaAccountRequest : public RpcServiceRequest - { - - public: - BindingRamUidToDlaAccountRequest(); - ~BindingRamUidToDlaAccountRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccountName()const; - void setAccountName(const std::string& accountName); - std::string getRamUid()const; - void setRamUid(const std::string& ramUid); - bool getIsShort()const; - void setIsShort(bool isShort); - bool getIsServiceUser()const; - void setIsServiceUser(bool isServiceUser); - - private: - std::string regionId_; - std::string accountName_; - std::string ramUid_; - bool isShort_; - bool isServiceUser_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_BINDINGRAMUIDTODLAACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountResult.h deleted file mode 100644 index e8850d094..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/BindingRamUidToDlaAccountResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_BINDINGRAMUIDTODLAACCOUNTRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_BINDINGRAMUIDTODLAACCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT BindingRamUidToDlaAccountResult : public ServiceResult - { - public: - - - BindingRamUidToDlaAccountResult(); - explicit BindingRamUidToDlaAccountResult(const std::string &payload); - ~BindingRamUidToDlaAccountResult(); - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_BINDINGRAMUIDTODLAACCOUNTRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleRequest.h deleted file mode 100644 index 16fcaee5c..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleRequest.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_OPENANALYTICS_OPEN_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT CreateServiceLinkedRoleRequest : public RpcServiceRequest - { - - public: - CreateServiceLinkedRoleRequest(); - ~CreateServiceLinkedRoleRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATESERVICELINKEDROLEREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleResult.h deleted file mode 100644 index c62d2bdf7..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateServiceLinkedRoleResult.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_OPENANALYTICS_OPEN_MODEL_CREATESERVICELINKEDROLERESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATESERVICELINKEDROLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT CreateServiceLinkedRoleResult : public ServiceResult - { - public: - struct DataItem - { - std::string roleName; - std::string description; - std::string assumeRolePolicyDocument; - bool isServiceLinkRole; - std::string arn; - std::string createDate; - std::string roleId; - std::string rolePrincipalName; - }; - - - CreateServiceLinkedRoleResult(); - explicit CreateServiceLinkedRoleResult(const std::string &payload); - ~CreateServiceLinkedRoleResult(); - std::vector getData()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATESERVICELINKEDROLERESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigRequest.h deleted file mode 100644 index cab790b6c..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigRequest.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_OPENANALYTICS_OPEN_MODEL_CREATEUSERNETCONFIGREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEUSERNETCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT CreateUserNetConfigRequest : public RpcServiceRequest - { - - public: - CreateUserNetConfigRequest(); - ~CreateUserNetConfigRequest(); - - std::string getSwitchId()const; - void setSwitchId(const std::string& switchId); - std::string getSecurityGroupId()const; - void setSecurityGroupId(const std::string& securityGroupId); - std::string getVcName()const; - void setVcName(const std::string& vcName); - - private: - std::string switchId_; - std::string securityGroupId_; - std::string vcName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEUSERNETCONFIGREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigResult.h deleted file mode 100644 index 39d0c82b6..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateUserNetConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEUSERNETCONFIGRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEUSERNETCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT CreateUserNetConfigResult : public ServiceResult - { - public: - - - CreateUserNetConfigResult(); - explicit CreateUserNetConfigResult(const std::string &payload); - ~CreateUserNetConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEUSERNETCONFIGRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkRequest.h deleted file mode 100644 index 07397e225..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkRequest.h +++ /dev/null @@ -1,69 +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_OPENANALYTICS_OPEN_MODEL_CREATEVIRTUALCLUSTERFORSPARKREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEVIRTUALCLUSTERFORSPARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT CreateVirtualClusterForSparkRequest : public RpcServiceRequest - { - - public: - CreateVirtualClusterForSparkRequest(); - ~CreateVirtualClusterForSparkRequest(); - - std::string getDefaultExecutorSpecName()const; - void setDefaultExecutorSpecName(const std::string& defaultExecutorSpecName); - float getMaxMemory()const; - void setMaxMemory(float maxMemory); - std::string getSparkModuleReleaseName()const; - void setSparkModuleReleaseName(const std::string& sparkModuleReleaseName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getDefaultExecutorNumbers()const; - void setDefaultExecutorNumbers(long defaultExecutorNumbers); - float getMaxCpu()const; - void setMaxCpu(float maxCpu); - std::string getName()const; - void setName(const std::string& name); - std::string getDefaultDriverSpecName()const; - void setDefaultDriverSpecName(const std::string& defaultDriverSpecName); - - private: - std::string defaultExecutorSpecName_; - float maxMemory_; - std::string sparkModuleReleaseName_; - std::string description_; - long defaultExecutorNumbers_; - float maxCpu_; - std::string name_; - std::string defaultDriverSpecName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEVIRTUALCLUSTERFORSPARKREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkResult.h deleted file mode 100644 index 97c48c76d..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/CreateVirtualClusterForSparkResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEVIRTUALCLUSTERFORSPARKRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEVIRTUALCLUSTERFORSPARKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT CreateVirtualClusterForSparkResult : public ServiceResult - { - public: - - - CreateVirtualClusterForSparkResult(); - explicit CreateVirtualClusterForSparkResult(const std::string &payload); - ~CreateVirtualClusterForSparkResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_CREATEVIRTUALCLUSTERFORSPARKRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenRequest.h deleted file mode 100644 index 4181bb3a9..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenRequest.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_OPENANALYTICS_OPEN_MODEL_DECODESTSTOKENREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DECODESTSTOKENREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DecodeStsTokenRequest : public RpcServiceRequest - { - - public: - DecodeStsTokenRequest(); - ~DecodeStsTokenRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getAccessKey()const; - void setAccessKey(const std::string& accessKey); - std::string getToken()const; - void setToken(const std::string& token); - - private: - std::string regionId_; - std::string accessKey_; - std::string token_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DECODESTSTOKENREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenResult.h deleted file mode 100644 index 00e3ad549..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DecodeStsTokenResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DECODESTSTOKENRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DECODESTSTOKENRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DecodeStsTokenResult : public ServiceResult - { - public: - struct Data - { - std::string policy; - bool mfaAuthenticated; - long expireDate; - long accountUid; - std::string akProxy; - std::string tokenPrincipalName; - long roleId; - std::string roleName; - std::string tokenType; - long grantorId; - std::string playerUid; - std::string tokenPrincipalId; - bool proxyTrustTransportInfo; - long accountBid; - }; - - - DecodeStsTokenResult(); - explicit DecodeStsTokenResult(const std::string &payload); - ~DecodeStsTokenResult(); - Data getData()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - Data data_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DECODESTSTOKENRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigRequest.h deleted file mode 100644 index 81ee06015..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigRequest.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_OPENANALYTICS_OPEN_MODEL_DELETEUSERNETCONFIGREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DELETEUSERNETCONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DeleteUserNetConfigRequest : public RpcServiceRequest - { - - public: - DeleteUserNetConfigRequest(); - ~DeleteUserNetConfigRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DELETEUSERNETCONFIGREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigResult.h deleted file mode 100644 index 5a453ae3c..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DeleteUserNetConfigResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DELETEUSERNETCONFIGRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DELETEUSERNETCONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DeleteUserNetConfigResult : public ServiceResult - { - public: - - - DeleteUserNetConfigResult(); - explicit DeleteUserNetConfigResult(const std::string &payload); - ~DeleteUserNetConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DELETEUSERNETCONFIGRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityRequest.h deleted file mode 100644 index 27a4deae3..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBECAPACITYREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBECAPACITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeCapacityRequest : public RpcServiceRequest - { - - public: - DescribeCapacityRequest(); - ~DescribeCapacityRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getExternalBizAliyunId()const; - void setExternalBizAliyunId(const std::string& externalBizAliyunId); - - private: - std::string regionId_; - std::string externalBizAliyunId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBECAPACITYREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityResult.h deleted file mode 100644 index c99727294..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeCapacityResult.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_OPENANALYTICS_OPEN_MODEL_DESCRIBECAPACITYRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBECAPACITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeCapacityResult : public ServiceResult - { - public: - - - DescribeCapacityResult(); - explicit DescribeCapacityResult(const std::string &payload); - ~DescribeCapacityResult(); - int getStorage()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - int storage_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBECAPACITYRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceRequest.h deleted file mode 100644 index 2edbf8641..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEDATALAKEANALYTICSSERVICEREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEDATALAKEANALYTICSSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeDataLakeAnalyticsServiceRequest : public RpcServiceRequest - { - - public: - DescribeDataLakeAnalyticsServiceRequest(); - ~DescribeDataLakeAnalyticsServiceRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getInternetChargeType()const; - void setInternetChargeType(const std::string& internetChargeType); - - private: - std::string regionId_; - std::string internetChargeType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEDATALAKEANALYTICSSERVICEREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceResult.h deleted file mode 100644 index 81a920fb1..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeDataLakeAnalyticsServiceResult.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_OPENANALYTICS_OPEN_MODEL_DESCRIBEDATALAKEANALYTICSSERVICERESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEDATALAKEANALYTICSSERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeDataLakeAnalyticsServiceResult : public ServiceResult - { - public: - - - DescribeDataLakeAnalyticsServiceResult(); - explicit DescribeDataLakeAnalyticsServiceResult(const std::string &payload); - ~DescribeDataLakeAnalyticsServiceResult(); - std::string getErrorInfo()const; - std::string getErrorCode()const; - bool getSuccess()const; - std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string errorInfo_; - std::string errorCode_; - bool success_; - std::string result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEDATALAKEANALYTICSSERVICERESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListRequest.h deleted file mode 100644 index 3bd8461bc..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListRequest.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_OPENANALYTICS_OPEN_MODEL_DESCRIBEREGIONLISTREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEREGIONLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeRegionListRequest : public RpcServiceRequest - { - - public: - DescribeRegionListRequest(); - ~DescribeRegionListRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEREGIONLISTREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListResult.h deleted file mode 100644 index f31706bea..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeRegionListResult.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_OPENANALYTICS_OPEN_MODEL_DESCRIBEREGIONLISTRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEREGIONLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeRegionListResult : public ServiceResult - { - public: - struct RegionListItem - { - std::string regionID; - }; - - - DescribeRegionListResult(); - explicit DescribeRegionListResult(const std::string &payload); - ~DescribeRegionListResult(); - std::vector getRegionList()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector regionList_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEREGIONLISTRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterRequest.h deleted file mode 100644 index f2f87896f..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterRequest.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_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeVirtualClusterRequest : public RpcServiceRequest - { - - public: - DescribeVirtualClusterRequest(); - ~DescribeVirtualClusterRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterResult.h deleted file mode 100644 index 5055a5391..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterResult.h +++ /dev/null @@ -1,68 +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_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeVirtualClusterResult : public ServiceResult - { - public: - struct DataItem - { - std::string status; - std::string creatorId; - std::string defaultExecutorSpecName; - long defaultExecutorNumbers; - std::string createTime; - std::string sparkEngineModuleName; - std::string defaultDriverSpecName; - std::string name; - std::string type; - float maxCpuLimit; - float maxCpu; - std::string sparkVersionDescription; - float maxMemoryLimit; - float maxMemory; - }; - - - DescribeVirtualClusterResult(); - explicit DescribeVirtualClusterResult(const std::string &payload); - ~DescribeVirtualClusterResult(); - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Request.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Request.h deleted file mode 100644 index 6d10bc3f8..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Request.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_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERV2REQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERV2REQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeVirtualClusterV2Request : public RpcServiceRequest - { - - public: - DescribeVirtualClusterV2Request(); - ~DescribeVirtualClusterV2Request(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERV2REQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Result.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Result.h deleted file mode 100644 index 225f66da1..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DescribeVirtualClusterV2Result.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERV2RESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERV2RESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DescribeVirtualClusterV2Result : public ServiceResult - { - public: - struct DataItem - { - struct SparkEngineConfig - { - std::string defaultExecutorSpecName; - long defaultExecutorNumbers; - std::string defaultDriverSpecName; - std::string sparkVersionDescription; - std::string sparkModuleReleaseName; - }; - struct UserNetWorkConfigListItem - { - std::string securityGroupId; - std::string switchId; - long id; - }; - std::string status; - std::string type; - std::vector userNetWorkConfigList; - std::string creatorId; - std::string chargeType; - std::string createTime; - float maxCpu; - std::string minCpu; - SparkEngineConfig sparkEngineConfig; - std::string name; - }; - - - DescribeVirtualClusterV2Result(); - explicit DescribeVirtualClusterV2Result(const std::string &payload); - ~DescribeVirtualClusterV2Result(); - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESCRIBEVIRTUALCLUSTERV2RESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterRequest.h deleted file mode 100644 index e07edcb5d..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterRequest.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_OPENANALYTICS_OPEN_MODEL_DESTROYVIRTUALCLUSTERREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESTROYVIRTUALCLUSTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DestroyVirtualClusterRequest : public RpcServiceRequest - { - - public: - DestroyVirtualClusterRequest(); - ~DestroyVirtualClusterRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESTROYVIRTUALCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterResult.h deleted file mode 100644 index 0c0a0d136..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/DestroyVirtualClusterResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESTROYVIRTUALCLUSTERRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESTROYVIRTUALCLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT DestroyVirtualClusterResult : public ServiceResult - { - public: - - - DestroyVirtualClusterResult(); - explicit DestroyVirtualClusterResult(const std::string &payload); - ~DestroyVirtualClusterResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_DESTROYVIRTUALCLUSTERRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.h deleted file mode 100644 index a09394900..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.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_OPENANALYTICS_OPEN_MODEL_FORBIDAUTOMATICMETASYNCASINTEGRATIONACCOUNTREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_FORBIDAUTOMATICMETASYNCASINTEGRATIONACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ForbidAutomaticMetaSyncAsIntegrationAccountRequest : public RpcServiceRequest - { - - public: - ForbidAutomaticMetaSyncAsIntegrationAccountRequest(); - ~ForbidAutomaticMetaSyncAsIntegrationAccountRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_FORBIDAUTOMATICMETASYNCASINTEGRATIONACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.h deleted file mode 100644 index 143f60865..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_FORBIDAUTOMATICMETASYNCASINTEGRATIONACCOUNTRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_FORBIDAUTOMATICMETASYNCASINTEGRATIONACCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ForbidAutomaticMetaSyncAsIntegrationAccountResult : public ServiceResult - { - public: - - - ForbidAutomaticMetaSyncAsIntegrationAccountResult(); - explicit ForbidAutomaticMetaSyncAsIntegrationAccountResult(const std::string &payload); - ~ForbidAutomaticMetaSyncAsIntegrationAccountResult(); - bool getHasUpdated()const; - - protected: - void parse(const std::string &payload); - private: - bool hasUpdated_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_FORBIDAUTOMATICMETASYNCASINTEGRATIONACCOUNTRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionRequest.h deleted file mode 100644 index 8e372c5af..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionRequest.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_OPENANALYTICS_OPEN_MODEL_GETCONSOLEPERMISSIONREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETCONSOLEPERMISSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetConsolePermissionRequest : public RpcServiceRequest - { - - public: - GetConsolePermissionRequest(); - ~GetConsolePermissionRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETCONSOLEPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionResult.h deleted file mode 100644 index b25cb8959..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetConsolePermissionResult.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_OPENANALYTICS_OPEN_MODEL_GETCONSOLEPERMISSIONRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETCONSOLEPERMISSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetConsolePermissionResult : public ServiceResult - { - public: - - - GetConsolePermissionResult(); - explicit GetConsolePermissionResult(const std::string &payload); - ~GetConsolePermissionResult(); - std::string getRegionId()const; - std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: - std::string regionId_; - std::string result_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETCONSOLEPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusRequest.h deleted file mode 100644 index df049afbd..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusRequest.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_OPENANALYTICS_OPEN_MODEL_GETDLASERVICESTATUSREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETDLASERVICESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetDLAServiceStatusRequest : public RpcServiceRequest - { - - public: - GetDLAServiceStatusRequest(); - ~GetDLAServiceStatusRequest(); - - std::string getExternalUid()const; - void setExternalUid(const std::string& externalUid); - std::string getExternalAliyunUid()const; - void setExternalAliyunUid(const std::string& externalAliyunUid); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); - - private: - std::string externalUid_; - std::string externalAliyunUid_; - std::string regionId_; - std::string externalBizAliyunUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETDLASERVICESTATUSREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusResult.h deleted file mode 100644 index ee21d2732..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetDLAServiceStatusResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETDLASERVICESTATUSRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETDLASERVICESTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetDLAServiceStatusResult : public ServiceResult - { - public: - struct UserDLAServiceStatus - { - bool isDLAAccountReady; - bool isServiceReady; - bool isOSSOpen; - }; - - - GetDLAServiceStatusResult(); - explicit GetDLAServiceStatusResult(const std::string &payload); - ~GetDLAServiceStatusResult(); - UserDLAServiceStatus getUserDLAServiceStatus()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - UserDLAServiceStatus userDLAServiceStatus_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETDLASERVICESTATUSRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusResult.h deleted file mode 100644 index ac70e54d0..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusResult.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_OPENANALYTICS_OPEN_MODEL_GETREGIONSTATUSRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETREGIONSTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetRegionStatusResult : public ServiceResult - { - public: - - - GetRegionStatusResult(); - explicit GetRegionStatusResult(const std::string &payload); - ~GetRegionStatusResult(); - std::string getStatus()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string status_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETREGIONSTATUSRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusRequest.h deleted file mode 100644 index fb71a3eea..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusRequest.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_OPENANALYTICS_OPEN_MODEL_GETSERVICELINKEDROLESTATUSREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETSERVICELINKEDROLESTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetServiceLinkedRoleStatusRequest : public RpcServiceRequest - { - - public: - GetServiceLinkedRoleStatusRequest(); - ~GetServiceLinkedRoleStatusRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETSERVICELINKEDROLESTATUSREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusResult.h deleted file mode 100644 index ccf15ef65..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetServiceLinkedRoleStatusResult.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_OPENANALYTICS_OPEN_MODEL_GETSERVICELINKEDROLESTATUSRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETSERVICELINKEDROLESTATUSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetServiceLinkedRoleStatusResult : public ServiceResult - { - public: - - - GetServiceLinkedRoleStatusResult(); - explicit GetServiceLinkedRoleStatusResult(const std::string &payload); - ~GetServiceLinkedRoleStatusResult(); - bool getHasCreated()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - bool hasCreated_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETSERVICELINKEDROLESTATUSRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceRequest.h deleted file mode 100644 index e74794852..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEDLASERVICEREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEDLASERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT InitializeDLAServiceRequest : public RpcServiceRequest - { - - public: - InitializeDLAServiceRequest(); - ~InitializeDLAServiceRequest(); - - std::string getExternalUid()const; - void setExternalUid(const std::string& externalUid); - std::string getInitPassword()const; - void setInitPassword(const std::string& initPassword); - std::string getExternalAliyunUid()const; - void setExternalAliyunUid(const std::string& externalAliyunUid); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getUseRandomPassword()const; - void setUseRandomPassword(bool useRandomPassword); - bool getEnableKMS()const; - void setEnableKMS(bool enableKMS); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); - - private: - std::string externalUid_; - std::string initPassword_; - std::string externalAliyunUid_; - std::string regionId_; - bool useRandomPassword_; - bool enableKMS_; - std::string externalBizAliyunUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEDLASERVICEREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceResult.h deleted file mode 100644 index 3a61e450a..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeDLAServiceResult.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_OPENANALYTICS_OPEN_MODEL_INITIALIZEDLASERVICERESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEDLASERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT InitializeDLAServiceResult : public ServiceResult - { - public: - struct AccountInfo - { - std::string userName; - std::string password; - }; - - - InitializeDLAServiceResult(); - explicit InitializeDLAServiceResult(const std::string &payload); - ~InitializeDLAServiceResult(); - std::string getRegionId()const; - AccountInfo getAccountInfo()const; - - protected: - void parse(const std::string &payload); - private: - std::string regionId_; - AccountInfo accountInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEDLASERVICERESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionRequest.h deleted file mode 100644 index c832dab90..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionRequest.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEREGIONREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEREGIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT InitializeRegionRequest : public RpcServiceRequest - { - - public: - InitializeRegionRequest(); - ~InitializeRegionRequest(); - - std::string getExternalUid()const; - void setExternalUid(const std::string& externalUid); - std::string getInitPassword()const; - void setInitPassword(const std::string& initPassword); - std::string getExternalAliyunUid()const; - void setExternalAliyunUid(const std::string& externalAliyunUid); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - bool getUseRandomPassword()const; - void setUseRandomPassword(bool useRandomPassword); - bool getEnableKMS()const; - void setEnableKMS(bool enableKMS); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); - - private: - std::string externalUid_; - std::string initPassword_; - std::string externalAliyunUid_; - std::string regionId_; - bool useRandomPassword_; - bool enableKMS_; - std::string externalBizAliyunUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEREGIONREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionResult.h deleted file mode 100644 index b01da47e5..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/InitializeRegionResult.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_OPENANALYTICS_OPEN_MODEL_INITIALIZEREGIONRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEREGIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT InitializeRegionResult : public ServiceResult - { - public: - struct Account - { - std::string userName; - std::string password; - }; - - - InitializeRegionResult(); - explicit InitializeRegionResult(const std::string &payload); - ~InitializeRegionResult(); - Account getAccount()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - Account account_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_INITIALIZEREGIONRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidRequest.h deleted file mode 100644 index 1f46f6cfe..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidRequest.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_OPENANALYTICS_OPEN_MODEL_LISTALREADYBINGINGRAMUIDREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTALREADYBINGINGRAMUIDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListAlreadyBingingRamUidRequest : public RpcServiceRequest - { - - public: - ListAlreadyBingingRamUidRequest(); - ~ListAlreadyBingingRamUidRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTALREADYBINGINGRAMUIDREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidResult.h deleted file mode 100644 index 34a9f5c1c..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListAlreadyBingingRamUidResult.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_OPENANALYTICS_OPEN_MODEL_LISTALREADYBINGINGRAMUIDRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTALREADYBINGINGRAMUIDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListAlreadyBingingRamUidResult : public ServiceResult - { - public: - - - ListAlreadyBingingRamUidResult(); - explicit ListAlreadyBingingRamUidResult(const std::string &payload); - ~ListAlreadyBingingRamUidResult(); - std::vector getData()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTALREADYBINGINGRAMUIDRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseRequest.h deleted file mode 100644 index 9ffa2acdb..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseRequest.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_OPENANALYTICS_OPEN_MODEL_LISTMODULESRELEASEREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTMODULESRELEASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListModulesReleaseRequest : public RpcServiceRequest - { - - public: - ListModulesReleaseRequest(); - ~ListModulesReleaseRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTMODULESRELEASEREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseResult.h deleted file mode 100644 index e97e7687c..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListModulesReleaseResult.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_OPENANALYTICS_OPEN_MODEL_LISTMODULESRELEASERESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTMODULESRELEASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListModulesReleaseResult : public ServiceResult - { - public: - struct DataItem - { - std::string type; - std::string description; - std::string version; - std::string name; - }; - - - ListModulesReleaseResult(); - explicit ListModulesReleaseResult(const std::string &payload); - ~ListModulesReleaseResult(); - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTMODULESRELEASERESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecRequest.h deleted file mode 100644 index abbac92f6..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecRequest.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_OPENANALYTICS_OPEN_MODEL_LISTRESOURCESSPECREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTRESOURCESSPECREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListResourcesSpecRequest : public RpcServiceRequest - { - - public: - ListResourcesSpecRequest(); - ~ListResourcesSpecRequest(); - - std::string getType()const; - void setType(const std::string& type); - - private: - std::string type_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTRESOURCESSPECREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecResult.h deleted file mode 100644 index e730c95f1..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListResourcesSpecResult.h +++ /dev/null @@ -1,56 +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_OPENANALYTICS_OPEN_MODEL_LISTRESOURCESSPECRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTRESOURCESSPECRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListResourcesSpecResult : public ServiceResult - { - public: - struct DataItem - { - std::string description; - std::string name; - }; - - - ListResourcesSpecResult(); - explicit ListResourcesSpecResult(const std::string &payload); - ~ListResourcesSpecResult(); - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTRESOURCESSPECRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersRequest.h deleted file mode 100644 index 5c0fb6ee7..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersRequest.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_OPENANALYTICS_OPEN_MODEL_LISTVIRTUALCLUSTERSREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTVIRTUALCLUSTERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListVirtualClustersRequest : public RpcServiceRequest - { - - public: - ListVirtualClustersRequest(); - ~ListVirtualClustersRequest(); - - std::string getType()const; - void setType(const std::string& type); - - private: - std::string type_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTVIRTUALCLUSTERSREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersResult.h deleted file mode 100644 index ba2f95b45..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ListVirtualClustersResult.h +++ /dev/null @@ -1,63 +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_OPENANALYTICS_OPEN_MODEL_LISTVIRTUALCLUSTERSRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTVIRTUALCLUSTERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ListVirtualClustersResult : public ServiceResult - { - public: - struct DataItem - { - std::string status; - std::string type; - std::string instanceId; - std::string creatorId; - std::string chargeType; - std::string createTime; - std::string maxCpu; - std::string minCpu; - std::string name; - }; - - - ListVirtualClustersResult(); - explicit ListVirtualClustersResult(const std::string &payload); - ~ListVirtualClustersResult(); - std::vector getData()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_LISTVIRTUALCLUSTERSRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkRequest.h deleted file mode 100644 index 8401be200..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkRequest.h +++ /dev/null @@ -1,69 +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_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERFORSPARKREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERFORSPARKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ModifyVirtualClusterForSparkRequest : public RpcServiceRequest - { - - public: - ModifyVirtualClusterForSparkRequest(); - ~ModifyVirtualClusterForSparkRequest(); - - std::string getDefaultExecutorSpecName()const; - void setDefaultExecutorSpecName(const std::string& defaultExecutorSpecName); - float getMaxMemory()const; - void setMaxMemory(float maxMemory); - std::string getSparkModuleReleaseName()const; - void setSparkModuleReleaseName(const std::string& sparkModuleReleaseName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getDefaultExecutorNumbers()const; - void setDefaultExecutorNumbers(long defaultExecutorNumbers); - float getMaxCpu()const; - void setMaxCpu(float maxCpu); - std::string getName()const; - void setName(const std::string& name); - std::string getDefaultDriverSpecName()const; - void setDefaultDriverSpecName(const std::string& defaultDriverSpecName); - - private: - std::string defaultExecutorSpecName_; - float maxMemory_; - std::string sparkModuleReleaseName_; - std::string description_; - long defaultExecutorNumbers_; - float maxCpu_; - std::string name_; - std::string defaultDriverSpecName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERFORSPARKREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkResult.h deleted file mode 100644 index f3c26f21a..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterForSparkResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERFORSPARKRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERFORSPARKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ModifyVirtualClusterForSparkResult : public ServiceResult - { - public: - - - ModifyVirtualClusterForSparkResult(); - explicit ModifyVirtualClusterForSparkResult(const std::string &payload); - ~ModifyVirtualClusterForSparkResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERFORSPARKRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterRequest.h deleted file mode 100644 index 42d75d132..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterRequest.h +++ /dev/null @@ -1,63 +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_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ModifyVirtualClusterRequest : public RpcServiceRequest - { - - public: - ModifyVirtualClusterRequest(); - ~ModifyVirtualClusterRequest(); - - std::string getDefaultExecutorSpecName()const; - void setDefaultExecutorSpecName(const std::string& defaultExecutorSpecName); - std::string getSparkModuleReleaseName()const; - void setSparkModuleReleaseName(const std::string& sparkModuleReleaseName); - std::string getDescription()const; - void setDescription(const std::string& description); - long getDefaultExecutorNumbers()const; - void setDefaultExecutorNumbers(long defaultExecutorNumbers); - std::string getName()const; - void setName(const std::string& name); - std::string getDefaultDriverSpecName()const; - void setDefaultDriverSpecName(const std::string& defaultDriverSpecName); - - private: - std::string defaultExecutorSpecName_; - std::string sparkModuleReleaseName_; - std::string description_; - long defaultExecutorNumbers_; - std::string name_; - std::string defaultDriverSpecName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterResult.h deleted file mode 100644 index a3c419d9e..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/ModifyVirtualClusterResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT ModifyVirtualClusterResult : public ServiceResult - { - public: - - - ModifyVirtualClusterResult(); - explicit ModifyVirtualClusterResult(const std::string &payload); - ~ModifyVirtualClusterResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_MODIFYVIRTUALCLUSTERRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceRequest.h deleted file mode 100644 index ecab52505..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_OPENDATALAKEANALYTICSSERVICEREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_OPENDATALAKEANALYTICSSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT OpenDataLakeAnalyticsServiceRequest : public RpcServiceRequest - { - - public: - OpenDataLakeAnalyticsServiceRequest(); - ~OpenDataLakeAnalyticsServiceRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getInternetChargeType()const; - void setInternetChargeType(const std::string& internetChargeType); - - private: - std::string regionId_; - std::string internetChargeType_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_OPENDATALAKEANALYTICSSERVICEREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefRequest.h deleted file mode 100644 index 2bfabf1f9..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefRequest.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_OPENANALYTICS_OPEN_MODEL_QUERYDATASOURCEDEFREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDATASOURCEDEFREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryDataSourceDefRequest : public RpcServiceRequest - { - - public: - QueryDataSourceDefRequest(); - ~QueryDataSourceDefRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDATASOURCEDEFREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefResult.h deleted file mode 100644 index c0cf4bebf..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDataSourceDefResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDATASOURCEDEFRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDATASOURCEDEFRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryDataSourceDefResult : public ServiceResult - { - public: - struct RegionListItem - { - std::string dataSourceName; - std::string authorizedURL; - std::string roleArn; - }; - - - QueryDataSourceDefResult(); - explicit QueryDataSourceDefResult(const std::string &payload); - ~QueryDataSourceDefResult(); - std::vector getRegionList()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector regionList_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDATASOURCEDEFRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListRequest.h deleted file mode 100644 index c16dcf382..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListRequest.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_OPENANALYTICS_OPEN_MODEL_QUERYDISCOUNTLISTREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDISCOUNTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryDiscountListRequest : public RpcServiceRequest - { - - public: - QueryDiscountListRequest(); - ~QueryDiscountListRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - int getPageSize()const; - void setPageSize(int pageSize); - int getPageNumber()const; - void setPageNumber(int pageNumber); - - private: - std::string regionId_; - int pageSize_; - int pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDISCOUNTLISTREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListResult.h deleted file mode 100644 index 2d9fbc9d4..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryDiscountListResult.h +++ /dev/null @@ -1,77 +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_OPENANALYTICS_OPEN_MODEL_QUERYDISCOUNTLISTRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDISCOUNTLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryDiscountListResult : public ServiceResult - { - public: - struct DataItem - { - int status; - long usageBytes; - long gmtCreateValue; - std::string payAmount; - std::string planID; - int payType; - int weight; - std::string effectiveEndTime; - long effectiveStartTimeValue; - std::string gmtCreate; - std::string effectiveStartTime; - std::string discountType; - int stacked; - long effectiveEndTimeValue; - std::string discountConfig; - }; - - - QueryDiscountListResult(); - explicit QueryDiscountListResult(const std::string &payload); - ~QueryDiscountListResult(); - int getTotalCount()const; - int getPageSize()const; - int getPageNumber()const; - std::vector getData()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - int totalCount_; - int pageSize_; - int pageNumber_; - std::vector data_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYDISCOUNTLISTRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListRequest.h deleted file mode 100644 index 4dbb88556..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListRequest.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_OPENANALYTICS_OPEN_MODEL_QUERYSERVICEACCOUNTLISTREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYSERVICEACCOUNTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryServiceAccountListRequest : public RpcServiceRequest - { - - public: - QueryServiceAccountListRequest(); - ~QueryServiceAccountListRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYSERVICEACCOUNTLISTREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListResult.h deleted file mode 100644 index dbef3df40..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryServiceAccountListResult.h +++ /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. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYSERVICEACCOUNTLISTRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYSERVICEACCOUNTLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryServiceAccountListResult : public ServiceResult - { - public: - struct DataItem - { - std::string role; - std::string userName; - std::string shortName; - }; - - - QueryServiceAccountListResult(); - explicit QueryServiceAccountListResult(const std::string &payload); - ~QueryServiceAccountListResult(); - std::vector getData()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::vector data_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYSERVICEACCOUNTLISTRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumRequest.h deleted file mode 100644 index 3cd0e380d..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumRequest.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_OPENANALYTICS_OPEN_MODEL_QUERYTASKSUMREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYTASKSUMREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryTaskSumRequest : public RpcServiceRequest - { - - public: - QueryTaskSumRequest(); - ~QueryTaskSumRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getTwoDaysAgoBeginTs()const; - void setTwoDaysAgoBeginTs(const std::string& twoDaysAgoBeginTs); - std::string getYesterdayBeginTs()const; - void setYesterdayBeginTs(const std::string& yesterdayBeginTs); - std::string getTodayBeginTs()const; - void setTodayBeginTs(const std::string& todayBeginTs); - - private: - std::string regionId_; - std::string twoDaysAgoBeginTs_; - std::string yesterdayBeginTs_; - std::string todayBeginTs_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYTASKSUMREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumResult.h deleted file mode 100644 index bde9e013b..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/QueryTaskSumResult.h +++ /dev/null @@ -1,69 +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_OPENANALYTICS_OPEN_MODEL_QUERYTASKSUMRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYTASKSUMRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT QueryTaskSumResult : public ServiceResult - { - public: - struct QueryTaskSumInfo - { - std::string totalChargedStmtCountYesterdayIncr; - std::string totalChargedStmtCountYesterday; - std::string totalStmtCountYesterdayIncr; - std::string totalChargedStmtCountTodayIncr; - std::string scannedDataBytesTodayIncr; - std::string uid; - std::string totalStmtCountYesterday; - std::string totalStmtCountTodayIncr; - std::string scannedDataBytesGbYesterday; - std::string scannedDataBytesYesterdayIncr; - std::string scannedDataBytesGbToday; - std::string totalChargedStmtCountToday; - std::string totalStmtCountToday; - }; - - - QueryTaskSumResult(); - explicit QueryTaskSumResult(const std::string &payload); - ~QueryTaskSumResult(); - QueryTaskSumInfo getQueryTaskSumInfo()const; - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - QueryTaskSumInfo queryTaskSumInfo_; - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_QUERYTASKSUMRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyRequest.h deleted file mode 100644 index 108abfd88..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyRequest.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_OPENANALYTICS_OPEN_MODEL_SETCAPACITYLIMITPOLICYREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETCAPACITYLIMITPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT SetCapacityLimitPolicyRequest : public RpcServiceRequest - { - - public: - SetCapacityLimitPolicyRequest(); - ~SetCapacityLimitPolicyRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getPolicy()const; - void setPolicy(const std::string& policy); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); - - private: - std::string regionId_; - std::string policy_; - std::string externalBizAliyunUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETCAPACITYLIMITPOLICYREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyResult.h deleted file mode 100644 index 55e52c0c8..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetCapacityLimitPolicyResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETCAPACITYLIMITPOLICYRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETCAPACITYLIMITPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT SetCapacityLimitPolicyResult : public ServiceResult - { - public: - - - SetCapacityLimitPolicyResult(); - explicit SetCapacityLimitPolicyResult(const std::string &payload); - ~SetCapacityLimitPolicyResult(); - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETCAPACITYLIMITPOLICYRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizRequest.h deleted file mode 100644 index 014300b60..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizRequest.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_OPENANALYTICS_OPEN_MODEL_SETRELATIONWITHBIZREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETRELATIONWITHBIZREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT SetRelationWithBizRequest : public RpcServiceRequest - { - - public: - SetRelationWithBizRequest(); - ~SetRelationWithBizRequest(); - - std::string getExternalUid()const; - void setExternalUid(const std::string& externalUid); - std::string getExternalAliyunUid()const; - void setExternalAliyunUid(const std::string& externalAliyunUid); - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); - - private: - std::string externalUid_; - std::string externalAliyunUid_; - std::string regionId_; - std::string externalBizAliyunUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETRELATIONWITHBIZREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizResult.h deleted file mode 100644 index e52b2b8cc..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetRelationWithBizResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETRELATIONWITHBIZRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETRELATIONWITHBIZRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT SetRelationWithBizResult : public ServiceResult - { - public: - - - SetRelationWithBizResult(); - explicit SetRelationWithBizResult(const std::string &payload); - ~SetRelationWithBizResult(); - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETRELATIONWITHBIZRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyRequest.h deleted file mode 100644 index 14c789822..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyRequest.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_OPENANALYTICS_OPEN_MODEL_SETTRAFFICLIMITPOLICYREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETTRAFFICLIMITPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT SetTrafficLimitPolicyRequest : public RpcServiceRequest - { - - public: - SetTrafficLimitPolicyRequest(); - ~SetTrafficLimitPolicyRequest(); - - std::string getRegionId()const; - void setRegionId(const std::string& regionId); - std::string getPolicy()const; - void setPolicy(const std::string& policy); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); - - private: - std::string regionId_; - std::string policy_; - std::string externalBizAliyunUid_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETTRAFFICLIMITPOLICYREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyResult.h deleted file mode 100644 index 5050a2ba1..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/SetTrafficLimitPolicyResult.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETTRAFFICLIMITPOLICYRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETTRAFFICLIMITPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT SetTrafficLimitPolicyResult : public ServiceResult - { - public: - - - SetTrafficLimitPolicyResult(); - explicit SetTrafficLimitPolicyResult(const std::string &payload); - ~SetTrafficLimitPolicyResult(); - std::string getRegionId()const; - - protected: - void parse(const std::string &payload); - private: - std::string regionId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_SETTRAFFICLIMITPOLICYRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterRequest.h deleted file mode 100644 index e0d13880f..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterRequest.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_OPENANALYTICS_OPEN_MODEL_STARTVIRTUALCLUSTERREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STARTVIRTUALCLUSTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT StartVirtualClusterRequest : public RpcServiceRequest - { - - public: - StartVirtualClusterRequest(); - ~StartVirtualClusterRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STARTVIRTUALCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterResult.h deleted file mode 100644 index af971bda0..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StartVirtualClusterResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STARTVIRTUALCLUSTERRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STARTVIRTUALCLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT StartVirtualClusterResult : public ServiceResult - { - public: - - - StartVirtualClusterResult(); - explicit StartVirtualClusterResult(const std::string &payload); - ~StartVirtualClusterResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STARTVIRTUALCLUSTERRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterRequest.h deleted file mode 100644 index b32f607fa..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterRequest.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_OPENANALYTICS_OPEN_MODEL_STOPVIRTUALCLUSTERREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STOPVIRTUALCLUSTERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT StopVirtualClusterRequest : public RpcServiceRequest - { - - public: - StopVirtualClusterRequest(); - ~StopVirtualClusterRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STOPVIRTUALCLUSTERREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterResult.h deleted file mode 100644 index e1400417a..000000000 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/StopVirtualClusterResult.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STOPVIRTUALCLUSTERRESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STOPVIRTUALCLUSTERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Openanalytics_open - { - namespace Model - { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT StopVirtualClusterResult : public ServiceResult - { - public: - - - StopVirtualClusterResult(); - explicit StopVirtualClusterResult(const std::string &payload); - ~StopVirtualClusterResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_STOPVIRTUALCLUSTERRESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusRequest.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/UpgradeInstanceRequest.h similarity index 57% rename from openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusRequest.h rename to openanalytics-open/include/alibabacloud/openanalytics-open/model/UpgradeInstanceRequest.h index 67afbaf52..ab4f3fa71 100644 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/GetRegionStatusRequest.h +++ b/openanalytics-open/include/alibabacloud/openanalytics-open/model/UpgradeInstanceRequest.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETREGIONSTATUSREQUEST_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETREGIONSTATUSREQUEST_H_ +#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_UPGRADEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_UPGRADEINSTANCEREQUEST_H_ #include #include @@ -28,30 +28,33 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT GetRegionStatusRequest : public RpcServiceRequest + class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT UpgradeInstanceRequest : public RpcServiceRequest { public: - GetRegionStatusRequest(); - ~GetRegionStatusRequest(); + UpgradeInstanceRequest(); + ~UpgradeInstanceRequest(); - std::string getExternalUid()const; - void setExternalUid(const std::string& externalUid); - std::string getExternalAliyunUid()const; - void setExternalAliyunUid(const std::string& externalAliyunUid); std::string getRegionId()const; void setRegionId(const std::string& regionId); - std::string getExternalBizAliyunUid()const; - void setExternalBizAliyunUid(const std::string& externalBizAliyunUid); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getChargeType()const; + void setChargeType(const std::string& chargeType); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getComponent()const; + void setComponent(const std::string& component); private: - std::string externalUid_; - std::string externalAliyunUid_; std::string regionId_; - std::string externalBizAliyunUid_; + std::string instanceId_; + std::string chargeType_; + std::string instanceType_; + std::string component_; }; } } } -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_GETREGIONSTATUSREQUEST_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_UPGRADEINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceResult.h b/openanalytics-open/include/alibabacloud/openanalytics-open/model/UpgradeInstanceResult.h similarity index 70% rename from openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceResult.h rename to openanalytics-open/include/alibabacloud/openanalytics-open/model/UpgradeInstanceResult.h index 4862ccf91..79bcd1c00 100644 --- a/openanalytics-open/include/alibabacloud/openanalytics-open/model/OpenDataLakeAnalyticsServiceResult.h +++ b/openanalytics-open/include/alibabacloud/openanalytics-open/model/UpgradeInstanceResult.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_OPENDATALAKEANALYTICSSERVICERESULT_H_ -#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_OPENDATALAKEANALYTICSSERVICERESULT_H_ +#ifndef ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_UPGRADEINSTANCERESULT_H_ +#define ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_UPGRADEINSTANCERESULT_H_ #include #include @@ -29,14 +29,14 @@ namespace AlibabaCloud { namespace Model { - class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT OpenDataLakeAnalyticsServiceResult : public ServiceResult + class ALIBABACLOUD_OPENANALYTICS_OPEN_EXPORT UpgradeInstanceResult : public ServiceResult { public: - OpenDataLakeAnalyticsServiceResult(); - explicit OpenDataLakeAnalyticsServiceResult(const std::string &payload); - ~OpenDataLakeAnalyticsServiceResult(); + UpgradeInstanceResult(); + explicit UpgradeInstanceResult(const std::string &payload); + ~UpgradeInstanceResult(); std::string getErrorInfo()const; std::string getErrorCode()const; bool getSuccess()const; @@ -54,4 +54,4 @@ namespace AlibabaCloud } } } -#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_OPENDATALAKEANALYTICSSERVICERESULT_H_ \ No newline at end of file +#endif // !ALIBABACLOUD_OPENANALYTICS_OPEN_MODEL_UPGRADEINSTANCERESULT_H_ \ No newline at end of file diff --git a/openanalytics-open/src/Openanalytics-openClient.cc b/openanalytics-open/src/Openanalytics-openClient.cc index a67e31cf3..8c9046468 100644 --- a/openanalytics-open/src/Openanalytics-openClient.cc +++ b/openanalytics-open/src/Openanalytics-openClient.cc @@ -231,42 +231,6 @@ Openanalytics_openClient::AlterTableOutcomeCallable Openanalytics_openClient::al return task->get_future(); } -Openanalytics_openClient::BindingRamUidToDlaAccountOutcome Openanalytics_openClient::bindingRamUidToDlaAccount(const BindingRamUidToDlaAccountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return BindingRamUidToDlaAccountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return BindingRamUidToDlaAccountOutcome(BindingRamUidToDlaAccountResult(outcome.result())); - else - return BindingRamUidToDlaAccountOutcome(outcome.error()); -} - -void Openanalytics_openClient::bindingRamUidToDlaAccountAsync(const BindingRamUidToDlaAccountRequest& request, const BindingRamUidToDlaAccountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, bindingRamUidToDlaAccount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::BindingRamUidToDlaAccountOutcomeCallable Openanalytics_openClient::bindingRamUidToDlaAccountCallable(const BindingRamUidToDlaAccountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->bindingRamUidToDlaAccount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::CreateDatabaseOutcome Openanalytics_openClient::createDatabase(const CreateDatabaseRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -339,42 +303,6 @@ Openanalytics_openClient::CreateInstanceOutcomeCallable Openanalytics_openClient return task->get_future(); } -Openanalytics_openClient::CreateServiceLinkedRoleOutcome Openanalytics_openClient::createServiceLinkedRole(const CreateServiceLinkedRoleRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateServiceLinkedRoleOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateServiceLinkedRoleOutcome(CreateServiceLinkedRoleResult(outcome.result())); - else - return CreateServiceLinkedRoleOutcome(outcome.error()); -} - -void Openanalytics_openClient::createServiceLinkedRoleAsync(const CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createServiceLinkedRole(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::CreateServiceLinkedRoleOutcomeCallable Openanalytics_openClient::createServiceLinkedRoleCallable(const CreateServiceLinkedRoleRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createServiceLinkedRole(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::CreateTableOutcome Openanalytics_openClient::createTable(const CreateTableRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -411,114 +339,6 @@ Openanalytics_openClient::CreateTableOutcomeCallable Openanalytics_openClient::c return task->get_future(); } -Openanalytics_openClient::CreateUserNetConfigOutcome Openanalytics_openClient::createUserNetConfig(const CreateUserNetConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateUserNetConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateUserNetConfigOutcome(CreateUserNetConfigResult(outcome.result())); - else - return CreateUserNetConfigOutcome(outcome.error()); -} - -void Openanalytics_openClient::createUserNetConfigAsync(const CreateUserNetConfigRequest& request, const CreateUserNetConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createUserNetConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::CreateUserNetConfigOutcomeCallable Openanalytics_openClient::createUserNetConfigCallable(const CreateUserNetConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createUserNetConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::CreateVirtualClusterForSparkOutcome Openanalytics_openClient::createVirtualClusterForSpark(const CreateVirtualClusterForSparkRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateVirtualClusterForSparkOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateVirtualClusterForSparkOutcome(CreateVirtualClusterForSparkResult(outcome.result())); - else - return CreateVirtualClusterForSparkOutcome(outcome.error()); -} - -void Openanalytics_openClient::createVirtualClusterForSparkAsync(const CreateVirtualClusterForSparkRequest& request, const CreateVirtualClusterForSparkAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createVirtualClusterForSpark(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::CreateVirtualClusterForSparkOutcomeCallable Openanalytics_openClient::createVirtualClusterForSparkCallable(const CreateVirtualClusterForSparkRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createVirtualClusterForSpark(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DecodeStsTokenOutcome Openanalytics_openClient::decodeStsToken(const DecodeStsTokenRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DecodeStsTokenOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DecodeStsTokenOutcome(DecodeStsTokenResult(outcome.result())); - else - return DecodeStsTokenOutcome(outcome.error()); -} - -void Openanalytics_openClient::decodeStsTokenAsync(const DecodeStsTokenRequest& request, const DecodeStsTokenAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, decodeStsToken(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DecodeStsTokenOutcomeCallable Openanalytics_openClient::decodeStsTokenCallable(const DecodeStsTokenRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->decodeStsToken(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::DeleteAccountOutcome Openanalytics_openClient::deleteAccount(const DeleteAccountRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -555,258 +375,6 @@ Openanalytics_openClient::DeleteAccountOutcomeCallable Openanalytics_openClient: return task->get_future(); } -Openanalytics_openClient::DeleteUserNetConfigOutcome Openanalytics_openClient::deleteUserNetConfig(const DeleteUserNetConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteUserNetConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteUserNetConfigOutcome(DeleteUserNetConfigResult(outcome.result())); - else - return DeleteUserNetConfigOutcome(outcome.error()); -} - -void Openanalytics_openClient::deleteUserNetConfigAsync(const DeleteUserNetConfigRequest& request, const DeleteUserNetConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteUserNetConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DeleteUserNetConfigOutcomeCallable Openanalytics_openClient::deleteUserNetConfigCallable(const DeleteUserNetConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteUserNetConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DescribeCapacityOutcome Openanalytics_openClient::describeCapacity(const DescribeCapacityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCapacityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCapacityOutcome(DescribeCapacityResult(outcome.result())); - else - return DescribeCapacityOutcome(outcome.error()); -} - -void Openanalytics_openClient::describeCapacityAsync(const DescribeCapacityRequest& request, const DescribeCapacityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCapacity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DescribeCapacityOutcomeCallable Openanalytics_openClient::describeCapacityCallable(const DescribeCapacityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCapacity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DescribeDataLakeAnalyticsServiceOutcome Openanalytics_openClient::describeDataLakeAnalyticsService(const DescribeDataLakeAnalyticsServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDataLakeAnalyticsServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDataLakeAnalyticsServiceOutcome(DescribeDataLakeAnalyticsServiceResult(outcome.result())); - else - return DescribeDataLakeAnalyticsServiceOutcome(outcome.error()); -} - -void Openanalytics_openClient::describeDataLakeAnalyticsServiceAsync(const DescribeDataLakeAnalyticsServiceRequest& request, const DescribeDataLakeAnalyticsServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDataLakeAnalyticsService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DescribeDataLakeAnalyticsServiceOutcomeCallable Openanalytics_openClient::describeDataLakeAnalyticsServiceCallable(const DescribeDataLakeAnalyticsServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDataLakeAnalyticsService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DescribeRegionListOutcome Openanalytics_openClient::describeRegionList(const DescribeRegionListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRegionListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRegionListOutcome(DescribeRegionListResult(outcome.result())); - else - return DescribeRegionListOutcome(outcome.error()); -} - -void Openanalytics_openClient::describeRegionListAsync(const DescribeRegionListRequest& request, const DescribeRegionListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRegionList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DescribeRegionListOutcomeCallable Openanalytics_openClient::describeRegionListCallable(const DescribeRegionListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRegionList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DescribeVirtualClusterOutcome Openanalytics_openClient::describeVirtualCluster(const DescribeVirtualClusterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeVirtualClusterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeVirtualClusterOutcome(DescribeVirtualClusterResult(outcome.result())); - else - return DescribeVirtualClusterOutcome(outcome.error()); -} - -void Openanalytics_openClient::describeVirtualClusterAsync(const DescribeVirtualClusterRequest& request, const DescribeVirtualClusterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeVirtualCluster(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DescribeVirtualClusterOutcomeCallable Openanalytics_openClient::describeVirtualClusterCallable(const DescribeVirtualClusterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeVirtualCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DescribeVirtualClusterV2Outcome Openanalytics_openClient::describeVirtualClusterV2(const DescribeVirtualClusterV2Request &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeVirtualClusterV2Outcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeVirtualClusterV2Outcome(DescribeVirtualClusterV2Result(outcome.result())); - else - return DescribeVirtualClusterV2Outcome(outcome.error()); -} - -void Openanalytics_openClient::describeVirtualClusterV2Async(const DescribeVirtualClusterV2Request& request, const DescribeVirtualClusterV2AsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeVirtualClusterV2(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DescribeVirtualClusterV2OutcomeCallable Openanalytics_openClient::describeVirtualClusterV2Callable(const DescribeVirtualClusterV2Request &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeVirtualClusterV2(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::DestroyVirtualClusterOutcome Openanalytics_openClient::destroyVirtualCluster(const DestroyVirtualClusterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DestroyVirtualClusterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DestroyVirtualClusterOutcome(DestroyVirtualClusterResult(outcome.result())); - else - return DestroyVirtualClusterOutcome(outcome.error()); -} - -void Openanalytics_openClient::destroyVirtualClusterAsync(const DestroyVirtualClusterRequest& request, const DestroyVirtualClusterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, destroyVirtualCluster(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::DestroyVirtualClusterOutcomeCallable Openanalytics_openClient::destroyVirtualClusterCallable(const DestroyVirtualClusterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->destroyVirtualCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::DropDatabaseOutcome Openanalytics_openClient::dropDatabase(const DropDatabaseRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -915,42 +483,6 @@ Openanalytics_openClient::DropTableOutcomeCallable Openanalytics_openClient::dro return task->get_future(); } -Openanalytics_openClient::ForbidAutomaticMetaSyncAsIntegrationAccountOutcome Openanalytics_openClient::forbidAutomaticMetaSyncAsIntegrationAccount(const ForbidAutomaticMetaSyncAsIntegrationAccountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ForbidAutomaticMetaSyncAsIntegrationAccountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ForbidAutomaticMetaSyncAsIntegrationAccountOutcome(ForbidAutomaticMetaSyncAsIntegrationAccountResult(outcome.result())); - else - return ForbidAutomaticMetaSyncAsIntegrationAccountOutcome(outcome.error()); -} - -void Openanalytics_openClient::forbidAutomaticMetaSyncAsIntegrationAccountAsync(const ForbidAutomaticMetaSyncAsIntegrationAccountRequest& request, const ForbidAutomaticMetaSyncAsIntegrationAccountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, forbidAutomaticMetaSyncAsIntegrationAccount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ForbidAutomaticMetaSyncAsIntegrationAccountOutcomeCallable Openanalytics_openClient::forbidAutomaticMetaSyncAsIntegrationAccountCallable(const ForbidAutomaticMetaSyncAsIntegrationAccountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->forbidAutomaticMetaSyncAsIntegrationAccount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::GetAllDatabasesOutcome Openanalytics_openClient::getAllDatabases(const GetAllDatabasesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1059,78 +591,6 @@ Openanalytics_openClient::GetAllowIPOutcomeCallable Openanalytics_openClient::ge return task->get_future(); } -Openanalytics_openClient::GetConsolePermissionOutcome Openanalytics_openClient::getConsolePermission(const GetConsolePermissionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetConsolePermissionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetConsolePermissionOutcome(GetConsolePermissionResult(outcome.result())); - else - return GetConsolePermissionOutcome(outcome.error()); -} - -void Openanalytics_openClient::getConsolePermissionAsync(const GetConsolePermissionRequest& request, const GetConsolePermissionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getConsolePermission(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::GetConsolePermissionOutcomeCallable Openanalytics_openClient::getConsolePermissionCallable(const GetConsolePermissionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getConsolePermission(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::GetDLAServiceStatusOutcome Openanalytics_openClient::getDLAServiceStatus(const GetDLAServiceStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDLAServiceStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDLAServiceStatusOutcome(GetDLAServiceStatusResult(outcome.result())); - else - return GetDLAServiceStatusOutcome(outcome.error()); -} - -void Openanalytics_openClient::getDLAServiceStatusAsync(const GetDLAServiceStatusRequest& request, const GetDLAServiceStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDLAServiceStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::GetDLAServiceStatusOutcomeCallable Openanalytics_openClient::getDLAServiceStatusCallable(const GetDLAServiceStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDLAServiceStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::GetDatabaseOutcome Openanalytics_openClient::getDatabase(const GetDatabaseRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1419,78 +879,6 @@ Openanalytics_openClient::GetPartitionsOutcomeCallable Openanalytics_openClient: return task->get_future(); } -Openanalytics_openClient::GetRegionStatusOutcome Openanalytics_openClient::getRegionStatus(const GetRegionStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetRegionStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetRegionStatusOutcome(GetRegionStatusResult(outcome.result())); - else - return GetRegionStatusOutcome(outcome.error()); -} - -void Openanalytics_openClient::getRegionStatusAsync(const GetRegionStatusRequest& request, const GetRegionStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getRegionStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::GetRegionStatusOutcomeCallable Openanalytics_openClient::getRegionStatusCallable(const GetRegionStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getRegionStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::GetServiceLinkedRoleStatusOutcome Openanalytics_openClient::getServiceLinkedRoleStatus(const GetServiceLinkedRoleStatusRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetServiceLinkedRoleStatusOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetServiceLinkedRoleStatusOutcome(GetServiceLinkedRoleStatusResult(outcome.result())); - else - return GetServiceLinkedRoleStatusOutcome(outcome.error()); -} - -void Openanalytics_openClient::getServiceLinkedRoleStatusAsync(const GetServiceLinkedRoleStatusRequest& request, const GetServiceLinkedRoleStatusAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getServiceLinkedRoleStatus(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::GetServiceLinkedRoleStatusOutcomeCallable Openanalytics_openClient::getServiceLinkedRoleStatusCallable(const GetServiceLinkedRoleStatusRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getServiceLinkedRoleStatus(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::GetTableOutcome Openanalytics_openClient::getTable(const GetTableRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1563,78 +951,6 @@ Openanalytics_openClient::GrantPrivilegesOutcomeCallable Openanalytics_openClien return task->get_future(); } -Openanalytics_openClient::InitializeDLAServiceOutcome Openanalytics_openClient::initializeDLAService(const InitializeDLAServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return InitializeDLAServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return InitializeDLAServiceOutcome(InitializeDLAServiceResult(outcome.result())); - else - return InitializeDLAServiceOutcome(outcome.error()); -} - -void Openanalytics_openClient::initializeDLAServiceAsync(const InitializeDLAServiceRequest& request, const InitializeDLAServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, initializeDLAService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::InitializeDLAServiceOutcomeCallable Openanalytics_openClient::initializeDLAServiceCallable(const InitializeDLAServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->initializeDLAService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::InitializeRegionOutcome Openanalytics_openClient::initializeRegion(const InitializeRegionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return InitializeRegionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return InitializeRegionOutcome(InitializeRegionResult(outcome.result())); - else - return InitializeRegionOutcome(outcome.error()); -} - -void Openanalytics_openClient::initializeRegionAsync(const InitializeRegionRequest& request, const InitializeRegionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, initializeRegion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::InitializeRegionOutcomeCallable Openanalytics_openClient::initializeRegionCallable(const InitializeRegionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->initializeRegion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::KillSparkJobOutcome Openanalytics_openClient::killSparkJob(const KillSparkJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,114 +987,6 @@ Openanalytics_openClient::KillSparkJobOutcomeCallable Openanalytics_openClient:: return task->get_future(); } -Openanalytics_openClient::ListAlreadyBingingRamUidOutcome Openanalytics_openClient::listAlreadyBingingRamUid(const ListAlreadyBingingRamUidRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListAlreadyBingingRamUidOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListAlreadyBingingRamUidOutcome(ListAlreadyBingingRamUidResult(outcome.result())); - else - return ListAlreadyBingingRamUidOutcome(outcome.error()); -} - -void Openanalytics_openClient::listAlreadyBingingRamUidAsync(const ListAlreadyBingingRamUidRequest& request, const ListAlreadyBingingRamUidAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listAlreadyBingingRamUid(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ListAlreadyBingingRamUidOutcomeCallable Openanalytics_openClient::listAlreadyBingingRamUidCallable(const ListAlreadyBingingRamUidRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listAlreadyBingingRamUid(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::ListModulesReleaseOutcome Openanalytics_openClient::listModulesRelease(const ListModulesReleaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListModulesReleaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListModulesReleaseOutcome(ListModulesReleaseResult(outcome.result())); - else - return ListModulesReleaseOutcome(outcome.error()); -} - -void Openanalytics_openClient::listModulesReleaseAsync(const ListModulesReleaseRequest& request, const ListModulesReleaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listModulesRelease(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ListModulesReleaseOutcomeCallable Openanalytics_openClient::listModulesReleaseCallable(const ListModulesReleaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listModulesRelease(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::ListResourcesSpecOutcome Openanalytics_openClient::listResourcesSpec(const ListResourcesSpecRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListResourcesSpecOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListResourcesSpecOutcome(ListResourcesSpecResult(outcome.result())); - else - return ListResourcesSpecOutcome(outcome.error()); -} - -void Openanalytics_openClient::listResourcesSpecAsync(const ListResourcesSpecRequest& request, const ListResourcesSpecAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listResourcesSpec(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ListResourcesSpecOutcomeCallable Openanalytics_openClient::listResourcesSpecCallable(const ListResourcesSpecRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listResourcesSpec(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::ListSparkJobOutcome Openanalytics_openClient::listSparkJob(const ListSparkJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1815,150 +1023,6 @@ Openanalytics_openClient::ListSparkJobOutcomeCallable Openanalytics_openClient:: return task->get_future(); } -Openanalytics_openClient::ListVirtualClustersOutcome Openanalytics_openClient::listVirtualClusters(const ListVirtualClustersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListVirtualClustersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListVirtualClustersOutcome(ListVirtualClustersResult(outcome.result())); - else - return ListVirtualClustersOutcome(outcome.error()); -} - -void Openanalytics_openClient::listVirtualClustersAsync(const ListVirtualClustersRequest& request, const ListVirtualClustersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listVirtualClusters(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ListVirtualClustersOutcomeCallable Openanalytics_openClient::listVirtualClustersCallable(const ListVirtualClustersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listVirtualClusters(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::ModifyVirtualClusterOutcome Openanalytics_openClient::modifyVirtualCluster(const ModifyVirtualClusterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyVirtualClusterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyVirtualClusterOutcome(ModifyVirtualClusterResult(outcome.result())); - else - return ModifyVirtualClusterOutcome(outcome.error()); -} - -void Openanalytics_openClient::modifyVirtualClusterAsync(const ModifyVirtualClusterRequest& request, const ModifyVirtualClusterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyVirtualCluster(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ModifyVirtualClusterOutcomeCallable Openanalytics_openClient::modifyVirtualClusterCallable(const ModifyVirtualClusterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyVirtualCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::ModifyVirtualClusterForSparkOutcome Openanalytics_openClient::modifyVirtualClusterForSpark(const ModifyVirtualClusterForSparkRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyVirtualClusterForSparkOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyVirtualClusterForSparkOutcome(ModifyVirtualClusterForSparkResult(outcome.result())); - else - return ModifyVirtualClusterForSparkOutcome(outcome.error()); -} - -void Openanalytics_openClient::modifyVirtualClusterForSparkAsync(const ModifyVirtualClusterForSparkRequest& request, const ModifyVirtualClusterForSparkAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyVirtualClusterForSpark(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::ModifyVirtualClusterForSparkOutcomeCallable Openanalytics_openClient::modifyVirtualClusterForSparkCallable(const ModifyVirtualClusterForSparkRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyVirtualClusterForSpark(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::OpenDataLakeAnalyticsServiceOutcome Openanalytics_openClient::openDataLakeAnalyticsService(const OpenDataLakeAnalyticsServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return OpenDataLakeAnalyticsServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return OpenDataLakeAnalyticsServiceOutcome(OpenDataLakeAnalyticsServiceResult(outcome.result())); - else - return OpenDataLakeAnalyticsServiceOutcome(outcome.error()); -} - -void Openanalytics_openClient::openDataLakeAnalyticsServiceAsync(const OpenDataLakeAnalyticsServiceRequest& request, const OpenDataLakeAnalyticsServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, openDataLakeAnalyticsService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::OpenDataLakeAnalyticsServiceOutcomeCallable Openanalytics_openClient::openDataLakeAnalyticsServiceCallable(const OpenDataLakeAnalyticsServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->openDataLakeAnalyticsService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::QueryAccountListOutcome Openanalytics_openClient::queryAccountList(const QueryAccountListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1995,78 +1059,6 @@ Openanalytics_openClient::QueryAccountListOutcomeCallable Openanalytics_openClie return task->get_future(); } -Openanalytics_openClient::QueryDataSourceDefOutcome Openanalytics_openClient::queryDataSourceDef(const QueryDataSourceDefRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryDataSourceDefOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryDataSourceDefOutcome(QueryDataSourceDefResult(outcome.result())); - else - return QueryDataSourceDefOutcome(outcome.error()); -} - -void Openanalytics_openClient::queryDataSourceDefAsync(const QueryDataSourceDefRequest& request, const QueryDataSourceDefAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryDataSourceDef(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::QueryDataSourceDefOutcomeCallable Openanalytics_openClient::queryDataSourceDefCallable(const QueryDataSourceDefRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryDataSourceDef(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::QueryDiscountListOutcome Openanalytics_openClient::queryDiscountList(const QueryDiscountListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryDiscountListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryDiscountListOutcome(QueryDiscountListResult(outcome.result())); - else - return QueryDiscountListOutcome(outcome.error()); -} - -void Openanalytics_openClient::queryDiscountListAsync(const QueryDiscountListRequest& request, const QueryDiscountListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryDiscountList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::QueryDiscountListOutcomeCallable Openanalytics_openClient::queryDiscountListCallable(const QueryDiscountListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryDiscountList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::QueryEndPointListOutcome Openanalytics_openClient::queryEndPointList(const QueryEndPointListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2103,78 +1095,6 @@ Openanalytics_openClient::QueryEndPointListOutcomeCallable Openanalytics_openCli return task->get_future(); } -Openanalytics_openClient::QueryServiceAccountListOutcome Openanalytics_openClient::queryServiceAccountList(const QueryServiceAccountListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryServiceAccountListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryServiceAccountListOutcome(QueryServiceAccountListResult(outcome.result())); - else - return QueryServiceAccountListOutcome(outcome.error()); -} - -void Openanalytics_openClient::queryServiceAccountListAsync(const QueryServiceAccountListRequest& request, const QueryServiceAccountListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryServiceAccountList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::QueryServiceAccountListOutcomeCallable Openanalytics_openClient::queryServiceAccountListCallable(const QueryServiceAccountListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryServiceAccountList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::QueryTaskSumOutcome Openanalytics_openClient::queryTaskSum(const QueryTaskSumRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return QueryTaskSumOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return QueryTaskSumOutcome(QueryTaskSumResult(outcome.result())); - else - return QueryTaskSumOutcome(outcome.error()); -} - -void Openanalytics_openClient::queryTaskSumAsync(const QueryTaskSumRequest& request, const QueryTaskSumAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, queryTaskSum(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::QueryTaskSumOutcomeCallable Openanalytics_openClient::queryTaskSumCallable(const QueryTaskSumRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->queryTaskSum(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::ReleaseInstanceOutcome Openanalytics_openClient::releaseInstance(const ReleaseInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2355,186 +1275,6 @@ Openanalytics_openClient::SetAllowIPOutcomeCallable Openanalytics_openClient::se return task->get_future(); } -Openanalytics_openClient::SetCapacityLimitPolicyOutcome Openanalytics_openClient::setCapacityLimitPolicy(const SetCapacityLimitPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetCapacityLimitPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetCapacityLimitPolicyOutcome(SetCapacityLimitPolicyResult(outcome.result())); - else - return SetCapacityLimitPolicyOutcome(outcome.error()); -} - -void Openanalytics_openClient::setCapacityLimitPolicyAsync(const SetCapacityLimitPolicyRequest& request, const SetCapacityLimitPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setCapacityLimitPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::SetCapacityLimitPolicyOutcomeCallable Openanalytics_openClient::setCapacityLimitPolicyCallable(const SetCapacityLimitPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setCapacityLimitPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::SetRelationWithBizOutcome Openanalytics_openClient::setRelationWithBiz(const SetRelationWithBizRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetRelationWithBizOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetRelationWithBizOutcome(SetRelationWithBizResult(outcome.result())); - else - return SetRelationWithBizOutcome(outcome.error()); -} - -void Openanalytics_openClient::setRelationWithBizAsync(const SetRelationWithBizRequest& request, const SetRelationWithBizAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setRelationWithBiz(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::SetRelationWithBizOutcomeCallable Openanalytics_openClient::setRelationWithBizCallable(const SetRelationWithBizRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setRelationWithBiz(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::SetTrafficLimitPolicyOutcome Openanalytics_openClient::setTrafficLimitPolicy(const SetTrafficLimitPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SetTrafficLimitPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SetTrafficLimitPolicyOutcome(SetTrafficLimitPolicyResult(outcome.result())); - else - return SetTrafficLimitPolicyOutcome(outcome.error()); -} - -void Openanalytics_openClient::setTrafficLimitPolicyAsync(const SetTrafficLimitPolicyRequest& request, const SetTrafficLimitPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, setTrafficLimitPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::SetTrafficLimitPolicyOutcomeCallable Openanalytics_openClient::setTrafficLimitPolicyCallable(const SetTrafficLimitPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->setTrafficLimitPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::StartVirtualClusterOutcome Openanalytics_openClient::startVirtualCluster(const StartVirtualClusterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StartVirtualClusterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StartVirtualClusterOutcome(StartVirtualClusterResult(outcome.result())); - else - return StartVirtualClusterOutcome(outcome.error()); -} - -void Openanalytics_openClient::startVirtualClusterAsync(const StartVirtualClusterRequest& request, const StartVirtualClusterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, startVirtualCluster(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::StartVirtualClusterOutcomeCallable Openanalytics_openClient::startVirtualClusterCallable(const StartVirtualClusterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->startVirtualCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -Openanalytics_openClient::StopVirtualClusterOutcome Openanalytics_openClient::stopVirtualCluster(const StopVirtualClusterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return StopVirtualClusterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return StopVirtualClusterOutcome(StopVirtualClusterResult(outcome.result())); - else - return StopVirtualClusterOutcome(outcome.error()); -} - -void Openanalytics_openClient::stopVirtualClusterAsync(const StopVirtualClusterRequest& request, const StopVirtualClusterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, stopVirtualCluster(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -Openanalytics_openClient::StopVirtualClusterOutcomeCallable Openanalytics_openClient::stopVirtualClusterCallable(const StopVirtualClusterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->stopVirtualCluster(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - Openanalytics_openClient::SubmitSparkJobOutcome Openanalytics_openClient::submitSparkJob(const SubmitSparkJobRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2643,3 +1383,39 @@ Openanalytics_openClient::UpdateAccountPasswordOutcomeCallable Openanalytics_ope return task->get_future(); } +Openanalytics_openClient::UpgradeInstanceOutcome Openanalytics_openClient::upgradeInstance(const UpgradeInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpgradeInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpgradeInstanceOutcome(UpgradeInstanceResult(outcome.result())); + else + return UpgradeInstanceOutcome(outcome.error()); +} + +void Openanalytics_openClient::upgradeInstanceAsync(const UpgradeInstanceRequest& request, const UpgradeInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, upgradeInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Openanalytics_openClient::UpgradeInstanceOutcomeCallable Openanalytics_openClient::upgradeInstanceCallable(const UpgradeInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->upgradeInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/openanalytics-open/src/model/BindingRamUidToDlaAccountRequest.cc b/openanalytics-open/src/model/BindingRamUidToDlaAccountRequest.cc deleted file mode 100644 index c71273bc3..000000000 --- a/openanalytics-open/src/model/BindingRamUidToDlaAccountRequest.cc +++ /dev/null @@ -1,84 +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::Openanalytics_open::Model::BindingRamUidToDlaAccountRequest; - -BindingRamUidToDlaAccountRequest::BindingRamUidToDlaAccountRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "BindingRamUidToDlaAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -BindingRamUidToDlaAccountRequest::~BindingRamUidToDlaAccountRequest() -{} - -std::string BindingRamUidToDlaAccountRequest::getRegionId()const -{ - return regionId_; -} - -void BindingRamUidToDlaAccountRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string BindingRamUidToDlaAccountRequest::getAccountName()const -{ - return accountName_; -} - -void BindingRamUidToDlaAccountRequest::setAccountName(const std::string& accountName) -{ - accountName_ = accountName; - setBodyParameter("AccountName", accountName); -} - -std::string BindingRamUidToDlaAccountRequest::getRamUid()const -{ - return ramUid_; -} - -void BindingRamUidToDlaAccountRequest::setRamUid(const std::string& ramUid) -{ - ramUid_ = ramUid; - setBodyParameter("RamUid", ramUid); -} - -bool BindingRamUidToDlaAccountRequest::getIsShort()const -{ - return isShort_; -} - -void BindingRamUidToDlaAccountRequest::setIsShort(bool isShort) -{ - isShort_ = isShort; - setBodyParameter("IsShort", isShort ? "true" : "false"); -} - -bool BindingRamUidToDlaAccountRequest::getIsServiceUser()const -{ - return isServiceUser_; -} - -void BindingRamUidToDlaAccountRequest::setIsServiceUser(bool isServiceUser) -{ - isServiceUser_ = isServiceUser; - setBodyParameter("IsServiceUser", isServiceUser ? "true" : "false"); -} - diff --git a/openanalytics-open/src/model/BindingRamUidToDlaAccountResult.cc b/openanalytics-open/src/model/BindingRamUidToDlaAccountResult.cc deleted file mode 100644 index 7bb1bbbb4..000000000 --- a/openanalytics-open/src/model/BindingRamUidToDlaAccountResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -BindingRamUidToDlaAccountResult::BindingRamUidToDlaAccountResult() : - ServiceResult() -{} - -BindingRamUidToDlaAccountResult::BindingRamUidToDlaAccountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -BindingRamUidToDlaAccountResult::~BindingRamUidToDlaAccountResult() -{} - -void BindingRamUidToDlaAccountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::string BindingRamUidToDlaAccountResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/CreateServiceLinkedRoleRequest.cc b/openanalytics-open/src/model/CreateServiceLinkedRoleRequest.cc deleted file mode 100644 index 3157bb4c7..000000000 --- a/openanalytics-open/src/model/CreateServiceLinkedRoleRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::CreateServiceLinkedRoleRequest; - -CreateServiceLinkedRoleRequest::CreateServiceLinkedRoleRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "CreateServiceLinkedRole") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateServiceLinkedRoleRequest::~CreateServiceLinkedRoleRequest() -{} - -std::string CreateServiceLinkedRoleRequest::getRegionId()const -{ - return regionId_; -} - -void CreateServiceLinkedRoleRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/CreateServiceLinkedRoleResult.cc b/openanalytics-open/src/model/CreateServiceLinkedRoleResult.cc deleted file mode 100644 index d9faa3270..000000000 --- a/openanalytics-open/src/model/CreateServiceLinkedRoleResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -CreateServiceLinkedRoleResult::CreateServiceLinkedRoleResult() : - ServiceResult() -{} - -CreateServiceLinkedRoleResult::CreateServiceLinkedRoleResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateServiceLinkedRoleResult::~CreateServiceLinkedRoleResult() -{} - -void CreateServiceLinkedRoleResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Arn"].isNull()) - dataObject.arn = valueDataDataItem["Arn"].asString(); - if(!valueDataDataItem["AssumeRolePolicyDocument"].isNull()) - dataObject.assumeRolePolicyDocument = valueDataDataItem["AssumeRolePolicyDocument"].asString(); - if(!valueDataDataItem["CreateDate"].isNull()) - dataObject.createDate = valueDataDataItem["CreateDate"].asString(); - if(!valueDataDataItem["Description"].isNull()) - dataObject.description = valueDataDataItem["Description"].asString(); - if(!valueDataDataItem["IsServiceLinkRole"].isNull()) - dataObject.isServiceLinkRole = valueDataDataItem["IsServiceLinkRole"].asString() == "true"; - if(!valueDataDataItem["RoleId"].isNull()) - dataObject.roleId = valueDataDataItem["RoleId"].asString(); - if(!valueDataDataItem["RoleName"].isNull()) - dataObject.roleName = valueDataDataItem["RoleName"].asString(); - if(!valueDataDataItem["RolePrincipalName"].isNull()) - dataObject.rolePrincipalName = valueDataDataItem["RolePrincipalName"].asString(); - data_.push_back(dataObject); - } - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::vector CreateServiceLinkedRoleResult::getData()const -{ - return data_; -} - -std::string CreateServiceLinkedRoleResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/CreateUserNetConfigRequest.cc b/openanalytics-open/src/model/CreateUserNetConfigRequest.cc deleted file mode 100644 index 90a94fd42..000000000 --- a/openanalytics-open/src/model/CreateUserNetConfigRequest.cc +++ /dev/null @@ -1,62 +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::Openanalytics_open::Model::CreateUserNetConfigRequest; - -CreateUserNetConfigRequest::CreateUserNetConfigRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "CreateUserNetConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUserNetConfigRequest::~CreateUserNetConfigRequest() -{} - -std::string CreateUserNetConfigRequest::getSwitchId()const -{ - return switchId_; -} - -void CreateUserNetConfigRequest::setSwitchId(const std::string& switchId) -{ - switchId_ = switchId; - setBodyParameter("SwitchId", switchId); -} - -std::string CreateUserNetConfigRequest::getSecurityGroupId()const -{ - return securityGroupId_; -} - -void CreateUserNetConfigRequest::setSecurityGroupId(const std::string& securityGroupId) -{ - securityGroupId_ = securityGroupId; - setBodyParameter("SecurityGroupId", securityGroupId); -} - -std::string CreateUserNetConfigRequest::getVcName()const -{ - return vcName_; -} - -void CreateUserNetConfigRequest::setVcName(const std::string& vcName) -{ - vcName_ = vcName; - setBodyParameter("VcName", vcName); -} - diff --git a/openanalytics-open/src/model/CreateUserNetConfigResult.cc b/openanalytics-open/src/model/CreateUserNetConfigResult.cc deleted file mode 100644 index 361f761b7..000000000 --- a/openanalytics-open/src/model/CreateUserNetConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -CreateUserNetConfigResult::CreateUserNetConfigResult() : - ServiceResult() -{} - -CreateUserNetConfigResult::CreateUserNetConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateUserNetConfigResult::~CreateUserNetConfigResult() -{} - -void CreateUserNetConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/CreateVirtualClusterForSparkRequest.cc b/openanalytics-open/src/model/CreateVirtualClusterForSparkRequest.cc deleted file mode 100644 index b286f0fa7..000000000 --- a/openanalytics-open/src/model/CreateVirtualClusterForSparkRequest.cc +++ /dev/null @@ -1,117 +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::Openanalytics_open::Model::CreateVirtualClusterForSparkRequest; - -CreateVirtualClusterForSparkRequest::CreateVirtualClusterForSparkRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "CreateVirtualClusterForSpark") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateVirtualClusterForSparkRequest::~CreateVirtualClusterForSparkRequest() -{} - -std::string CreateVirtualClusterForSparkRequest::getDefaultExecutorSpecName()const -{ - return defaultExecutorSpecName_; -} - -void CreateVirtualClusterForSparkRequest::setDefaultExecutorSpecName(const std::string& defaultExecutorSpecName) -{ - defaultExecutorSpecName_ = defaultExecutorSpecName; - setBodyParameter("DefaultExecutorSpecName", defaultExecutorSpecName); -} - -float CreateVirtualClusterForSparkRequest::getMaxMemory()const -{ - return maxMemory_; -} - -void CreateVirtualClusterForSparkRequest::setMaxMemory(float maxMemory) -{ - maxMemory_ = maxMemory; - setBodyParameter("MaxMemory", std::to_string(maxMemory)); -} - -std::string CreateVirtualClusterForSparkRequest::getSparkModuleReleaseName()const -{ - return sparkModuleReleaseName_; -} - -void CreateVirtualClusterForSparkRequest::setSparkModuleReleaseName(const std::string& sparkModuleReleaseName) -{ - sparkModuleReleaseName_ = sparkModuleReleaseName; - setBodyParameter("SparkModuleReleaseName", sparkModuleReleaseName); -} - -std::string CreateVirtualClusterForSparkRequest::getDescription()const -{ - return description_; -} - -void CreateVirtualClusterForSparkRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long CreateVirtualClusterForSparkRequest::getDefaultExecutorNumbers()const -{ - return defaultExecutorNumbers_; -} - -void CreateVirtualClusterForSparkRequest::setDefaultExecutorNumbers(long defaultExecutorNumbers) -{ - defaultExecutorNumbers_ = defaultExecutorNumbers; - setBodyParameter("DefaultExecutorNumbers", std::to_string(defaultExecutorNumbers)); -} - -float CreateVirtualClusterForSparkRequest::getMaxCpu()const -{ - return maxCpu_; -} - -void CreateVirtualClusterForSparkRequest::setMaxCpu(float maxCpu) -{ - maxCpu_ = maxCpu; - setBodyParameter("MaxCpu", std::to_string(maxCpu)); -} - -std::string CreateVirtualClusterForSparkRequest::getName()const -{ - return name_; -} - -void CreateVirtualClusterForSparkRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string CreateVirtualClusterForSparkRequest::getDefaultDriverSpecName()const -{ - return defaultDriverSpecName_; -} - -void CreateVirtualClusterForSparkRequest::setDefaultDriverSpecName(const std::string& defaultDriverSpecName) -{ - defaultDriverSpecName_ = defaultDriverSpecName; - setBodyParameter("DefaultDriverSpecName", defaultDriverSpecName); -} - diff --git a/openanalytics-open/src/model/CreateVirtualClusterForSparkResult.cc b/openanalytics-open/src/model/CreateVirtualClusterForSparkResult.cc deleted file mode 100644 index 422206daa..000000000 --- a/openanalytics-open/src/model/CreateVirtualClusterForSparkResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -CreateVirtualClusterForSparkResult::CreateVirtualClusterForSparkResult() : - ServiceResult() -{} - -CreateVirtualClusterForSparkResult::CreateVirtualClusterForSparkResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateVirtualClusterForSparkResult::~CreateVirtualClusterForSparkResult() -{} - -void CreateVirtualClusterForSparkResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/DecodeStsTokenRequest.cc b/openanalytics-open/src/model/DecodeStsTokenRequest.cc deleted file mode 100644 index 9e31d0cc7..000000000 --- a/openanalytics-open/src/model/DecodeStsTokenRequest.cc +++ /dev/null @@ -1,62 +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::Openanalytics_open::Model::DecodeStsTokenRequest; - -DecodeStsTokenRequest::DecodeStsTokenRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DecodeStsToken") -{ - setMethod(HttpRequest::Method::Post); -} - -DecodeStsTokenRequest::~DecodeStsTokenRequest() -{} - -std::string DecodeStsTokenRequest::getRegionId()const -{ - return regionId_; -} - -void DecodeStsTokenRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string DecodeStsTokenRequest::getAccessKey()const -{ - return accessKey_; -} - -void DecodeStsTokenRequest::setAccessKey(const std::string& accessKey) -{ - accessKey_ = accessKey; - setParameter("AccessKey", accessKey); -} - -std::string DecodeStsTokenRequest::getToken()const -{ - return token_; -} - -void DecodeStsTokenRequest::setToken(const std::string& token) -{ - token_ = token; - setParameter("Token", token); -} - diff --git a/openanalytics-open/src/model/DecodeStsTokenResult.cc b/openanalytics-open/src/model/DecodeStsTokenResult.cc deleted file mode 100644 index c0ba50e70..000000000 --- a/openanalytics-open/src/model/DecodeStsTokenResult.cc +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DecodeStsTokenResult::DecodeStsTokenResult() : - ServiceResult() -{} - -DecodeStsTokenResult::DecodeStsTokenResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DecodeStsTokenResult::~DecodeStsTokenResult() -{} - -void DecodeStsTokenResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto dataNode = value["Data"]; - if(!dataNode["AccountUid"].isNull()) - data_.accountUid = std::stol(dataNode["AccountUid"].asString()); - if(!dataNode["AccountBid"].isNull()) - data_.accountBid = std::stol(dataNode["AccountBid"].asString()); - if(!dataNode["GrantorId"].isNull()) - data_.grantorId = std::stol(dataNode["GrantorId"].asString()); - if(!dataNode["TokenPrincipalId"].isNull()) - data_.tokenPrincipalId = dataNode["TokenPrincipalId"].asString(); - if(!dataNode["TokenPrincipalName"].isNull()) - data_.tokenPrincipalName = dataNode["TokenPrincipalName"].asString(); - if(!dataNode["MfaAuthenticated"].isNull()) - data_.mfaAuthenticated = dataNode["MfaAuthenticated"].asString() == "true"; - if(!dataNode["RoleId"].isNull()) - data_.roleId = std::stol(dataNode["RoleId"].asString()); - if(!dataNode["AkProxy"].isNull()) - data_.akProxy = dataNode["AkProxy"].asString(); - if(!dataNode["ProxyTrustTransportInfo"].isNull()) - data_.proxyTrustTransportInfo = dataNode["ProxyTrustTransportInfo"].asString() == "true"; - if(!dataNode["Policy"].isNull()) - data_.policy = dataNode["Policy"].asString(); - if(!dataNode["RoleName"].isNull()) - data_.roleName = dataNode["RoleName"].asString(); - if(!dataNode["PlayerUid"].isNull()) - data_.playerUid = dataNode["PlayerUid"].asString(); - if(!dataNode["ExpireDate"].isNull()) - data_.expireDate = std::stol(dataNode["ExpireDate"].asString()); - if(!dataNode["TokenType"].isNull()) - data_.tokenType = dataNode["TokenType"].asString(); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -DecodeStsTokenResult::Data DecodeStsTokenResult::getData()const -{ - return data_; -} - -std::string DecodeStsTokenResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/DeleteUserNetConfigRequest.cc b/openanalytics-open/src/model/DeleteUserNetConfigRequest.cc deleted file mode 100644 index f939dda3e..000000000 --- a/openanalytics-open/src/model/DeleteUserNetConfigRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::DeleteUserNetConfigRequest; - -DeleteUserNetConfigRequest::DeleteUserNetConfigRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DeleteUserNetConfig") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteUserNetConfigRequest::~DeleteUserNetConfigRequest() -{} - -std::string DeleteUserNetConfigRequest::getName()const -{ - return name_; -} - -void DeleteUserNetConfigRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - diff --git a/openanalytics-open/src/model/DeleteUserNetConfigResult.cc b/openanalytics-open/src/model/DeleteUserNetConfigResult.cc deleted file mode 100644 index bc8575faf..000000000 --- a/openanalytics-open/src/model/DeleteUserNetConfigResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DeleteUserNetConfigResult::DeleteUserNetConfigResult() : - ServiceResult() -{} - -DeleteUserNetConfigResult::DeleteUserNetConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteUserNetConfigResult::~DeleteUserNetConfigResult() -{} - -void DeleteUserNetConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/DescribeCapacityRequest.cc b/openanalytics-open/src/model/DescribeCapacityRequest.cc deleted file mode 100644 index 1f647d005..000000000 --- a/openanalytics-open/src/model/DescribeCapacityRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Openanalytics_open::Model::DescribeCapacityRequest; - -DescribeCapacityRequest::DescribeCapacityRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DescribeCapacity") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeCapacityRequest::~DescribeCapacityRequest() -{} - -std::string DescribeCapacityRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeCapacityRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string DescribeCapacityRequest::getExternalBizAliyunId()const -{ - return externalBizAliyunId_; -} - -void DescribeCapacityRequest::setExternalBizAliyunId(const std::string& externalBizAliyunId) -{ - externalBizAliyunId_ = externalBizAliyunId; - setBodyParameter("ExternalBizAliyunId", externalBizAliyunId); -} - diff --git a/openanalytics-open/src/model/DescribeCapacityResult.cc b/openanalytics-open/src/model/DescribeCapacityResult.cc deleted file mode 100644 index 1ee276e3e..000000000 --- a/openanalytics-open/src/model/DescribeCapacityResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DescribeCapacityResult::DescribeCapacityResult() : - ServiceResult() -{} - -DescribeCapacityResult::DescribeCapacityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCapacityResult::~DescribeCapacityResult() -{} - -void DescribeCapacityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["Storage"].isNull()) - storage_ = std::stoi(value["Storage"].asString()); - -} - -int DescribeCapacityResult::getStorage()const -{ - return storage_; -} - -std::string DescribeCapacityResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceRequest.cc b/openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceRequest.cc deleted file mode 100644 index c0024ea2b..000000000 --- a/openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Openanalytics_open::Model::DescribeDataLakeAnalyticsServiceRequest; - -DescribeDataLakeAnalyticsServiceRequest::DescribeDataLakeAnalyticsServiceRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DescribeDataLakeAnalyticsService") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeDataLakeAnalyticsServiceRequest::~DescribeDataLakeAnalyticsServiceRequest() -{} - -std::string DescribeDataLakeAnalyticsServiceRequest::getRegionId()const -{ - return regionId_; -} - -void DescribeDataLakeAnalyticsServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string DescribeDataLakeAnalyticsServiceRequest::getInternetChargeType()const -{ - return internetChargeType_; -} - -void DescribeDataLakeAnalyticsServiceRequest::setInternetChargeType(const std::string& internetChargeType) -{ - internetChargeType_ = internetChargeType; - setParameter("InternetChargeType", internetChargeType); -} - diff --git a/openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceResult.cc b/openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceResult.cc deleted file mode 100644 index d9c48fc81..000000000 --- a/openanalytics-open/src/model/DescribeDataLakeAnalyticsServiceResult.cc +++ /dev/null @@ -1,72 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DescribeDataLakeAnalyticsServiceResult::DescribeDataLakeAnalyticsServiceResult() : - ServiceResult() -{} - -DescribeDataLakeAnalyticsServiceResult::DescribeDataLakeAnalyticsServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDataLakeAnalyticsServiceResult::~DescribeDataLakeAnalyticsServiceResult() -{} - -void DescribeDataLakeAnalyticsServiceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["Success"].isNull()) - success_ = value["Success"].asString() == "true"; - if(!value["ErrorCode"].isNull()) - errorCode_ = value["ErrorCode"].asString(); - if(!value["ErrorInfo"].isNull()) - errorInfo_ = value["ErrorInfo"].asString(); - if(!value["Result"].isNull()) - result_ = value["Result"].asString(); - -} - -std::string DescribeDataLakeAnalyticsServiceResult::getErrorInfo()const -{ - return errorInfo_; -} - -std::string DescribeDataLakeAnalyticsServiceResult::getErrorCode()const -{ - return errorCode_; -} - -bool DescribeDataLakeAnalyticsServiceResult::getSuccess()const -{ - return success_; -} - -std::string DescribeDataLakeAnalyticsServiceResult::getResult()const -{ - return result_; -} - diff --git a/openanalytics-open/src/model/DescribeRegionListRequest.cc b/openanalytics-open/src/model/DescribeRegionListRequest.cc deleted file mode 100644 index a7d79b0e3..000000000 --- a/openanalytics-open/src/model/DescribeRegionListRequest.cc +++ /dev/null @@ -1,29 +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::Openanalytics_open::Model::DescribeRegionListRequest; - -DescribeRegionListRequest::DescribeRegionListRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DescribeRegionList") -{ - setMethod(HttpRequest::Method::Post); -} - -DescribeRegionListRequest::~DescribeRegionListRequest() -{} - diff --git a/openanalytics-open/src/model/DescribeRegionListResult.cc b/openanalytics-open/src/model/DescribeRegionListResult.cc deleted file mode 100644 index 8ef4ac4e0..000000000 --- a/openanalytics-open/src/model/DescribeRegionListResult.cc +++ /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. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DescribeRegionListResult::DescribeRegionListResult() : - ServiceResult() -{} - -DescribeRegionListResult::DescribeRegionListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRegionListResult::~DescribeRegionListResult() -{} - -void DescribeRegionListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRegionListNode = value["RegionList"]["RegionListItem"]; - for (auto valueRegionListRegionListItem : allRegionListNode) - { - RegionListItem regionListObject; - if(!valueRegionListRegionListItem["regionID"].isNull()) - regionListObject.regionID = valueRegionListRegionListItem["regionID"].asString(); - regionList_.push_back(regionListObject); - } - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::vector DescribeRegionListResult::getRegionList()const -{ - return regionList_; -} - -std::string DescribeRegionListResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/DescribeVirtualClusterRequest.cc b/openanalytics-open/src/model/DescribeVirtualClusterRequest.cc deleted file mode 100644 index b135da4de..000000000 --- a/openanalytics-open/src/model/DescribeVirtualClusterRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::DescribeVirtualClusterRequest; - -DescribeVirtualClusterRequest::DescribeVirtualClusterRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DescribeVirtualCluster") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeVirtualClusterRequest::~DescribeVirtualClusterRequest() -{} - -std::string DescribeVirtualClusterRequest::getName()const -{ - return name_; -} - -void DescribeVirtualClusterRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/openanalytics-open/src/model/DescribeVirtualClusterResult.cc b/openanalytics-open/src/model/DescribeVirtualClusterResult.cc deleted file mode 100644 index f070408bf..000000000 --- a/openanalytics-open/src/model/DescribeVirtualClusterResult.cc +++ /dev/null @@ -1,83 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DescribeVirtualClusterResult::DescribeVirtualClusterResult() : - ServiceResult() -{} - -DescribeVirtualClusterResult::DescribeVirtualClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeVirtualClusterResult::~DescribeVirtualClusterResult() -{} - -void DescribeVirtualClusterResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["Type"].isNull()) - dataObject.type = valueDataDataItem["Type"].asString(); - if(!valueDataDataItem["Status"].isNull()) - dataObject.status = valueDataDataItem["Status"].asString(); - if(!valueDataDataItem["CreatorId"].isNull()) - dataObject.creatorId = valueDataDataItem["CreatorId"].asString(); - if(!valueDataDataItem["CreateTime"].isNull()) - dataObject.createTime = valueDataDataItem["CreateTime"].asString(); - if(!valueDataDataItem["SparkEngineModuleName"].isNull()) - dataObject.sparkEngineModuleName = valueDataDataItem["SparkEngineModuleName"].asString(); - if(!valueDataDataItem["DefaultExecutorSpecName"].isNull()) - dataObject.defaultExecutorSpecName = valueDataDataItem["DefaultExecutorSpecName"].asString(); - if(!valueDataDataItem["DefaultDriverSpecName"].isNull()) - dataObject.defaultDriverSpecName = valueDataDataItem["DefaultDriverSpecName"].asString(); - if(!valueDataDataItem["DefaultExecutorNumbers"].isNull()) - dataObject.defaultExecutorNumbers = std::stol(valueDataDataItem["DefaultExecutorNumbers"].asString()); - if(!valueDataDataItem["SparkVersionDescription"].isNull()) - dataObject.sparkVersionDescription = valueDataDataItem["SparkVersionDescription"].asString(); - if(!valueDataDataItem["MaxCpu"].isNull()) - dataObject.maxCpu = std::stof(valueDataDataItem["MaxCpu"].asString()); - if(!valueDataDataItem["MaxMemory"].isNull()) - dataObject.maxMemory = std::stof(valueDataDataItem["MaxMemory"].asString()); - if(!valueDataDataItem["MaxCpuLimit"].isNull()) - dataObject.maxCpuLimit = std::stof(valueDataDataItem["MaxCpuLimit"].asString()); - if(!valueDataDataItem["MaxMemoryLimit"].isNull()) - dataObject.maxMemoryLimit = std::stof(valueDataDataItem["MaxMemoryLimit"].asString()); - data_.push_back(dataObject); - } - -} - -std::vector DescribeVirtualClusterResult::getData()const -{ - return data_; -} - diff --git a/openanalytics-open/src/model/DescribeVirtualClusterV2Request.cc b/openanalytics-open/src/model/DescribeVirtualClusterV2Request.cc deleted file mode 100644 index 02490a39e..000000000 --- a/openanalytics-open/src/model/DescribeVirtualClusterV2Request.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::DescribeVirtualClusterV2Request; - -DescribeVirtualClusterV2Request::DescribeVirtualClusterV2Request() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DescribeVirtualClusterV2") -{ - setMethod(HttpRequest::Method::Get); -} - -DescribeVirtualClusterV2Request::~DescribeVirtualClusterV2Request() -{} - -std::string DescribeVirtualClusterV2Request::getName()const -{ - return name_; -} - -void DescribeVirtualClusterV2Request::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); -} - diff --git a/openanalytics-open/src/model/DescribeVirtualClusterV2Result.cc b/openanalytics-open/src/model/DescribeVirtualClusterV2Result.cc deleted file mode 100644 index 030ae20be..000000000 --- a/openanalytics-open/src/model/DescribeVirtualClusterV2Result.cc +++ /dev/null @@ -1,94 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DescribeVirtualClusterV2Result::DescribeVirtualClusterV2Result() : - ServiceResult() -{} - -DescribeVirtualClusterV2Result::DescribeVirtualClusterV2Result(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeVirtualClusterV2Result::~DescribeVirtualClusterV2Result() -{} - -void DescribeVirtualClusterV2Result::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["Type"].isNull()) - dataObject.type = valueDataDataItem["Type"].asString(); - if(!valueDataDataItem["Status"].isNull()) - dataObject.status = valueDataDataItem["Status"].asString(); - if(!valueDataDataItem["CreatorId"].isNull()) - dataObject.creatorId = valueDataDataItem["CreatorId"].asString(); - if(!valueDataDataItem["CreateTime"].isNull()) - dataObject.createTime = valueDataDataItem["CreateTime"].asString(); - if(!valueDataDataItem["MaxCpu"].isNull()) - dataObject.maxCpu = std::stof(valueDataDataItem["MaxCpu"].asString()); - if(!valueDataDataItem["ChargeType"].isNull()) - dataObject.chargeType = valueDataDataItem["ChargeType"].asString(); - if(!valueDataDataItem["MinCpu"].isNull()) - dataObject.minCpu = valueDataDataItem["MinCpu"].asString(); - auto allUserNetWorkConfigListNode = valueDataDataItem["UserNetWorkConfigList"]["UserNetWorkConfigListItem"]; - for (auto valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem : allUserNetWorkConfigListNode) - { - DataItem::UserNetWorkConfigListItem userNetWorkConfigListObject; - if(!valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem["SwitchId"].isNull()) - userNetWorkConfigListObject.switchId = valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem["SwitchId"].asString(); - if(!valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem["SecurityGroupId"].isNull()) - userNetWorkConfigListObject.securityGroupId = valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem["SecurityGroupId"].asString(); - if(!valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem["Id"].isNull()) - userNetWorkConfigListObject.id = std::stol(valueDataDataItemUserNetWorkConfigListUserNetWorkConfigListItem["Id"].asString()); - dataObject.userNetWorkConfigList.push_back(userNetWorkConfigListObject); - } - auto sparkEngineConfigNode = value["SparkEngineConfig"]; - if(!sparkEngineConfigNode["SparkModuleReleaseName"].isNull()) - dataObject.sparkEngineConfig.sparkModuleReleaseName = sparkEngineConfigNode["SparkModuleReleaseName"].asString(); - if(!sparkEngineConfigNode["DefaultExecutorSpecName"].isNull()) - dataObject.sparkEngineConfig.defaultExecutorSpecName = sparkEngineConfigNode["DefaultExecutorSpecName"].asString(); - if(!sparkEngineConfigNode["DefaultDriverSpecName"].isNull()) - dataObject.sparkEngineConfig.defaultDriverSpecName = sparkEngineConfigNode["DefaultDriverSpecName"].asString(); - if(!sparkEngineConfigNode["DefaultExecutorNumbers"].isNull()) - dataObject.sparkEngineConfig.defaultExecutorNumbers = std::stol(sparkEngineConfigNode["DefaultExecutorNumbers"].asString()); - if(!sparkEngineConfigNode["SparkVersionDescription"].isNull()) - dataObject.sparkEngineConfig.sparkVersionDescription = sparkEngineConfigNode["SparkVersionDescription"].asString(); - data_.push_back(dataObject); - } - -} - -std::vector DescribeVirtualClusterV2Result::getData()const -{ - return data_; -} - diff --git a/openanalytics-open/src/model/DestroyVirtualClusterRequest.cc b/openanalytics-open/src/model/DestroyVirtualClusterRequest.cc deleted file mode 100644 index 592a57d76..000000000 --- a/openanalytics-open/src/model/DestroyVirtualClusterRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::DestroyVirtualClusterRequest; - -DestroyVirtualClusterRequest::DestroyVirtualClusterRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "DestroyVirtualCluster") -{ - setMethod(HttpRequest::Method::Post); -} - -DestroyVirtualClusterRequest::~DestroyVirtualClusterRequest() -{} - -std::string DestroyVirtualClusterRequest::getName()const -{ - return name_; -} - -void DestroyVirtualClusterRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - diff --git a/openanalytics-open/src/model/DestroyVirtualClusterResult.cc b/openanalytics-open/src/model/DestroyVirtualClusterResult.cc deleted file mode 100644 index 403aac6c0..000000000 --- a/openanalytics-open/src/model/DestroyVirtualClusterResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -DestroyVirtualClusterResult::DestroyVirtualClusterResult() : - ServiceResult() -{} - -DestroyVirtualClusterResult::DestroyVirtualClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DestroyVirtualClusterResult::~DestroyVirtualClusterResult() -{} - -void DestroyVirtualClusterResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.cc b/openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.cc deleted file mode 100644 index 881fb837d..000000000 --- a/openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::ForbidAutomaticMetaSyncAsIntegrationAccountRequest; - -ForbidAutomaticMetaSyncAsIntegrationAccountRequest::ForbidAutomaticMetaSyncAsIntegrationAccountRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ForbidAutomaticMetaSyncAsIntegrationAccount") -{ - setMethod(HttpRequest::Method::Post); -} - -ForbidAutomaticMetaSyncAsIntegrationAccountRequest::~ForbidAutomaticMetaSyncAsIntegrationAccountRequest() -{} - -std::string ForbidAutomaticMetaSyncAsIntegrationAccountRequest::getRegionId()const -{ - return regionId_; -} - -void ForbidAutomaticMetaSyncAsIntegrationAccountRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.cc b/openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.cc deleted file mode 100644 index 4c95a7681..000000000 --- a/openanalytics-open/src/model/ForbidAutomaticMetaSyncAsIntegrationAccountResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ForbidAutomaticMetaSyncAsIntegrationAccountResult::ForbidAutomaticMetaSyncAsIntegrationAccountResult() : - ServiceResult() -{} - -ForbidAutomaticMetaSyncAsIntegrationAccountResult::ForbidAutomaticMetaSyncAsIntegrationAccountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ForbidAutomaticMetaSyncAsIntegrationAccountResult::~ForbidAutomaticMetaSyncAsIntegrationAccountResult() -{} - -void ForbidAutomaticMetaSyncAsIntegrationAccountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["HasUpdated"].isNull()) - hasUpdated_ = value["HasUpdated"].asString() == "true"; - -} - -bool ForbidAutomaticMetaSyncAsIntegrationAccountResult::getHasUpdated()const -{ - return hasUpdated_; -} - diff --git a/openanalytics-open/src/model/GetConsolePermissionRequest.cc b/openanalytics-open/src/model/GetConsolePermissionRequest.cc deleted file mode 100644 index d3fd66244..000000000 --- a/openanalytics-open/src/model/GetConsolePermissionRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::GetConsolePermissionRequest; - -GetConsolePermissionRequest::GetConsolePermissionRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "GetConsolePermission") -{ - setMethod(HttpRequest::Method::Post); -} - -GetConsolePermissionRequest::~GetConsolePermissionRequest() -{} - -std::string GetConsolePermissionRequest::getRegionId()const -{ - return regionId_; -} - -void GetConsolePermissionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/GetConsolePermissionResult.cc b/openanalytics-open/src/model/GetConsolePermissionResult.cc deleted file mode 100644 index 6b797cc5a..000000000 --- a/openanalytics-open/src/model/GetConsolePermissionResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -GetConsolePermissionResult::GetConsolePermissionResult() : - ServiceResult() -{} - -GetConsolePermissionResult::GetConsolePermissionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetConsolePermissionResult::~GetConsolePermissionResult() -{} - -void GetConsolePermissionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["Result"].isNull()) - result_ = value["Result"].asString(); - -} - -std::string GetConsolePermissionResult::getRegionId()const -{ - return regionId_; -} - -std::string GetConsolePermissionResult::getResult()const -{ - return result_; -} - diff --git a/openanalytics-open/src/model/GetDLAServiceStatusRequest.cc b/openanalytics-open/src/model/GetDLAServiceStatusRequest.cc deleted file mode 100644 index d62228bc1..000000000 --- a/openanalytics-open/src/model/GetDLAServiceStatusRequest.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::Openanalytics_open::Model::GetDLAServiceStatusRequest; - -GetDLAServiceStatusRequest::GetDLAServiceStatusRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "GetDLAServiceStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetDLAServiceStatusRequest::~GetDLAServiceStatusRequest() -{} - -std::string GetDLAServiceStatusRequest::getExternalUid()const -{ - return externalUid_; -} - -void GetDLAServiceStatusRequest::setExternalUid(const std::string& externalUid) -{ - externalUid_ = externalUid; - setBodyParameter("ExternalUid", externalUid); -} - -std::string GetDLAServiceStatusRequest::getExternalAliyunUid()const -{ - return externalAliyunUid_; -} - -void GetDLAServiceStatusRequest::setExternalAliyunUid(const std::string& externalAliyunUid) -{ - externalAliyunUid_ = externalAliyunUid; - setBodyParameter("ExternalAliyunUid", externalAliyunUid); -} - -std::string GetDLAServiceStatusRequest::getRegionId()const -{ - return regionId_; -} - -void GetDLAServiceStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string GetDLAServiceStatusRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void GetDLAServiceStatusRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/GetDLAServiceStatusResult.cc b/openanalytics-open/src/model/GetDLAServiceStatusResult.cc deleted file mode 100644 index cccccbc87..000000000 --- a/openanalytics-open/src/model/GetDLAServiceStatusResult.cc +++ /dev/null @@ -1,63 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -GetDLAServiceStatusResult::GetDLAServiceStatusResult() : - ServiceResult() -{} - -GetDLAServiceStatusResult::GetDLAServiceStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDLAServiceStatusResult::~GetDLAServiceStatusResult() -{} - -void GetDLAServiceStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto userDLAServiceStatusNode = value["UserDLAServiceStatus"]; - if(!userDLAServiceStatusNode["IsServiceReady"].isNull()) - userDLAServiceStatus_.isServiceReady = userDLAServiceStatusNode["IsServiceReady"].asString() == "true"; - if(!userDLAServiceStatusNode["IsOSSOpen"].isNull()) - userDLAServiceStatus_.isOSSOpen = userDLAServiceStatusNode["IsOSSOpen"].asString() == "true"; - if(!userDLAServiceStatusNode["IsDLAAccountReady"].isNull()) - userDLAServiceStatus_.isDLAAccountReady = userDLAServiceStatusNode["IsDLAAccountReady"].asString() == "true"; - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -GetDLAServiceStatusResult::UserDLAServiceStatus GetDLAServiceStatusResult::getUserDLAServiceStatus()const -{ - return userDLAServiceStatus_; -} - -std::string GetDLAServiceStatusResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/GetRegionStatusRequest.cc b/openanalytics-open/src/model/GetRegionStatusRequest.cc deleted file mode 100644 index 4c922904b..000000000 --- a/openanalytics-open/src/model/GetRegionStatusRequest.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::Openanalytics_open::Model::GetRegionStatusRequest; - -GetRegionStatusRequest::GetRegionStatusRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "GetRegionStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetRegionStatusRequest::~GetRegionStatusRequest() -{} - -std::string GetRegionStatusRequest::getExternalUid()const -{ - return externalUid_; -} - -void GetRegionStatusRequest::setExternalUid(const std::string& externalUid) -{ - externalUid_ = externalUid; - setBodyParameter("ExternalUid", externalUid); -} - -std::string GetRegionStatusRequest::getExternalAliyunUid()const -{ - return externalAliyunUid_; -} - -void GetRegionStatusRequest::setExternalAliyunUid(const std::string& externalAliyunUid) -{ - externalAliyunUid_ = externalAliyunUid; - setBodyParameter("ExternalAliyunUid", externalAliyunUid); -} - -std::string GetRegionStatusRequest::getRegionId()const -{ - return regionId_; -} - -void GetRegionStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string GetRegionStatusRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void GetRegionStatusRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/GetRegionStatusResult.cc b/openanalytics-open/src/model/GetRegionStatusResult.cc deleted file mode 100644 index 769dc9747..000000000 --- a/openanalytics-open/src/model/GetRegionStatusResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -GetRegionStatusResult::GetRegionStatusResult() : - ServiceResult() -{} - -GetRegionStatusResult::GetRegionStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetRegionStatusResult::~GetRegionStatusResult() -{} - -void GetRegionStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["Status"].isNull()) - status_ = value["Status"].asString(); - -} - -std::string GetRegionStatusResult::getStatus()const -{ - return status_; -} - -std::string GetRegionStatusResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/GetServiceLinkedRoleStatusRequest.cc b/openanalytics-open/src/model/GetServiceLinkedRoleStatusRequest.cc deleted file mode 100644 index 8e393c964..000000000 --- a/openanalytics-open/src/model/GetServiceLinkedRoleStatusRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::GetServiceLinkedRoleStatusRequest; - -GetServiceLinkedRoleStatusRequest::GetServiceLinkedRoleStatusRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "GetServiceLinkedRoleStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -GetServiceLinkedRoleStatusRequest::~GetServiceLinkedRoleStatusRequest() -{} - -std::string GetServiceLinkedRoleStatusRequest::getRegionId()const -{ - return regionId_; -} - -void GetServiceLinkedRoleStatusRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/GetServiceLinkedRoleStatusResult.cc b/openanalytics-open/src/model/GetServiceLinkedRoleStatusResult.cc deleted file mode 100644 index ee4a6b653..000000000 --- a/openanalytics-open/src/model/GetServiceLinkedRoleStatusResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -GetServiceLinkedRoleStatusResult::GetServiceLinkedRoleStatusResult() : - ServiceResult() -{} - -GetServiceLinkedRoleStatusResult::GetServiceLinkedRoleStatusResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetServiceLinkedRoleStatusResult::~GetServiceLinkedRoleStatusResult() -{} - -void GetServiceLinkedRoleStatusResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["HasCreated"].isNull()) - hasCreated_ = value["HasCreated"].asString() == "true"; - -} - -bool GetServiceLinkedRoleStatusResult::getHasCreated()const -{ - return hasCreated_; -} - -std::string GetServiceLinkedRoleStatusResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/InitializeDLAServiceRequest.cc b/openanalytics-open/src/model/InitializeDLAServiceRequest.cc deleted file mode 100644 index 3bf79fb8d..000000000 --- a/openanalytics-open/src/model/InitializeDLAServiceRequest.cc +++ /dev/null @@ -1,106 +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::Openanalytics_open::Model::InitializeDLAServiceRequest; - -InitializeDLAServiceRequest::InitializeDLAServiceRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "InitializeDLAService") -{ - setMethod(HttpRequest::Method::Post); -} - -InitializeDLAServiceRequest::~InitializeDLAServiceRequest() -{} - -std::string InitializeDLAServiceRequest::getExternalUid()const -{ - return externalUid_; -} - -void InitializeDLAServiceRequest::setExternalUid(const std::string& externalUid) -{ - externalUid_ = externalUid; - setBodyParameter("ExternalUid", externalUid); -} - -std::string InitializeDLAServiceRequest::getInitPassword()const -{ - return initPassword_; -} - -void InitializeDLAServiceRequest::setInitPassword(const std::string& initPassword) -{ - initPassword_ = initPassword; - setBodyParameter("InitPassword", initPassword); -} - -std::string InitializeDLAServiceRequest::getExternalAliyunUid()const -{ - return externalAliyunUid_; -} - -void InitializeDLAServiceRequest::setExternalAliyunUid(const std::string& externalAliyunUid) -{ - externalAliyunUid_ = externalAliyunUid; - setBodyParameter("ExternalAliyunUid", externalAliyunUid); -} - -std::string InitializeDLAServiceRequest::getRegionId()const -{ - return regionId_; -} - -void InitializeDLAServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -bool InitializeDLAServiceRequest::getUseRandomPassword()const -{ - return useRandomPassword_; -} - -void InitializeDLAServiceRequest::setUseRandomPassword(bool useRandomPassword) -{ - useRandomPassword_ = useRandomPassword; - setBodyParameter("UseRandomPassword", useRandomPassword ? "true" : "false"); -} - -bool InitializeDLAServiceRequest::getEnableKMS()const -{ - return enableKMS_; -} - -void InitializeDLAServiceRequest::setEnableKMS(bool enableKMS) -{ - enableKMS_ = enableKMS; - setBodyParameter("EnableKMS", enableKMS ? "true" : "false"); -} - -std::string InitializeDLAServiceRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void InitializeDLAServiceRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/InitializeDLAServiceResult.cc b/openanalytics-open/src/model/InitializeDLAServiceResult.cc deleted file mode 100644 index e38d800ce..000000000 --- a/openanalytics-open/src/model/InitializeDLAServiceResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -InitializeDLAServiceResult::InitializeDLAServiceResult() : - ServiceResult() -{} - -InitializeDLAServiceResult::InitializeDLAServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -InitializeDLAServiceResult::~InitializeDLAServiceResult() -{} - -void InitializeDLAServiceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto accountInfoNode = value["AccountInfo"]; - if(!accountInfoNode["UserName"].isNull()) - accountInfo_.userName = accountInfoNode["UserName"].asString(); - if(!accountInfoNode["Password"].isNull()) - accountInfo_.password = accountInfoNode["Password"].asString(); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::string InitializeDLAServiceResult::getRegionId()const -{ - return regionId_; -} - -InitializeDLAServiceResult::AccountInfo InitializeDLAServiceResult::getAccountInfo()const -{ - return accountInfo_; -} - diff --git a/openanalytics-open/src/model/InitializeRegionRequest.cc b/openanalytics-open/src/model/InitializeRegionRequest.cc deleted file mode 100644 index eda6db915..000000000 --- a/openanalytics-open/src/model/InitializeRegionRequest.cc +++ /dev/null @@ -1,106 +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::Openanalytics_open::Model::InitializeRegionRequest; - -InitializeRegionRequest::InitializeRegionRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "InitializeRegion") -{ - setMethod(HttpRequest::Method::Post); -} - -InitializeRegionRequest::~InitializeRegionRequest() -{} - -std::string InitializeRegionRequest::getExternalUid()const -{ - return externalUid_; -} - -void InitializeRegionRequest::setExternalUid(const std::string& externalUid) -{ - externalUid_ = externalUid; - setBodyParameter("ExternalUid", externalUid); -} - -std::string InitializeRegionRequest::getInitPassword()const -{ - return initPassword_; -} - -void InitializeRegionRequest::setInitPassword(const std::string& initPassword) -{ - initPassword_ = initPassword; - setBodyParameter("InitPassword", initPassword); -} - -std::string InitializeRegionRequest::getExternalAliyunUid()const -{ - return externalAliyunUid_; -} - -void InitializeRegionRequest::setExternalAliyunUid(const std::string& externalAliyunUid) -{ - externalAliyunUid_ = externalAliyunUid; - setBodyParameter("ExternalAliyunUid", externalAliyunUid); -} - -std::string InitializeRegionRequest::getRegionId()const -{ - return regionId_; -} - -void InitializeRegionRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -bool InitializeRegionRequest::getUseRandomPassword()const -{ - return useRandomPassword_; -} - -void InitializeRegionRequest::setUseRandomPassword(bool useRandomPassword) -{ - useRandomPassword_ = useRandomPassword; - setBodyParameter("UseRandomPassword", useRandomPassword ? "true" : "false"); -} - -bool InitializeRegionRequest::getEnableKMS()const -{ - return enableKMS_; -} - -void InitializeRegionRequest::setEnableKMS(bool enableKMS) -{ - enableKMS_ = enableKMS; - setBodyParameter("EnableKMS", enableKMS ? "true" : "false"); -} - -std::string InitializeRegionRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void InitializeRegionRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/InitializeRegionResult.cc b/openanalytics-open/src/model/InitializeRegionResult.cc deleted file mode 100644 index e5b7f614c..000000000 --- a/openanalytics-open/src/model/InitializeRegionResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -InitializeRegionResult::InitializeRegionResult() : - ServiceResult() -{} - -InitializeRegionResult::InitializeRegionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -InitializeRegionResult::~InitializeRegionResult() -{} - -void InitializeRegionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto accountNode = value["Account"]; - if(!accountNode["UserName"].isNull()) - account_.userName = accountNode["UserName"].asString(); - if(!accountNode["Password"].isNull()) - account_.password = accountNode["Password"].asString(); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -InitializeRegionResult::Account InitializeRegionResult::getAccount()const -{ - return account_; -} - -std::string InitializeRegionResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/ListAlreadyBingingRamUidRequest.cc b/openanalytics-open/src/model/ListAlreadyBingingRamUidRequest.cc deleted file mode 100644 index 885d6d1f5..000000000 --- a/openanalytics-open/src/model/ListAlreadyBingingRamUidRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::ListAlreadyBingingRamUidRequest; - -ListAlreadyBingingRamUidRequest::ListAlreadyBingingRamUidRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ListAlreadyBingingRamUid") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAlreadyBingingRamUidRequest::~ListAlreadyBingingRamUidRequest() -{} - -std::string ListAlreadyBingingRamUidRequest::getRegionId()const -{ - return regionId_; -} - -void ListAlreadyBingingRamUidRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/ListAlreadyBingingRamUidResult.cc b/openanalytics-open/src/model/ListAlreadyBingingRamUidResult.cc deleted file mode 100644 index cc77bc0a9..000000000 --- a/openanalytics-open/src/model/ListAlreadyBingingRamUidResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ListAlreadyBingingRamUidResult::ListAlreadyBingingRamUidResult() : - ServiceResult() -{} - -ListAlreadyBingingRamUidResult::ListAlreadyBingingRamUidResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListAlreadyBingingRamUidResult::~ListAlreadyBingingRamUidResult() -{} - -void ListAlreadyBingingRamUidResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allData = value["Data"]["Data"]; - for (const auto &item : allData) - data_.push_back(item.asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::vector ListAlreadyBingingRamUidResult::getData()const -{ - return data_; -} - -std::string ListAlreadyBingingRamUidResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/ListModulesReleaseRequest.cc b/openanalytics-open/src/model/ListModulesReleaseRequest.cc deleted file mode 100644 index 5ffea7302..000000000 --- a/openanalytics-open/src/model/ListModulesReleaseRequest.cc +++ /dev/null @@ -1,29 +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::Openanalytics_open::Model::ListModulesReleaseRequest; - -ListModulesReleaseRequest::ListModulesReleaseRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ListModulesRelease") -{ - setMethod(HttpRequest::Method::Get); -} - -ListModulesReleaseRequest::~ListModulesReleaseRequest() -{} - diff --git a/openanalytics-open/src/model/ListModulesReleaseResult.cc b/openanalytics-open/src/model/ListModulesReleaseResult.cc deleted file mode 100644 index c75ec22df..000000000 --- a/openanalytics-open/src/model/ListModulesReleaseResult.cc +++ /dev/null @@ -1,63 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ListModulesReleaseResult::ListModulesReleaseResult() : - ServiceResult() -{} - -ListModulesReleaseResult::ListModulesReleaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListModulesReleaseResult::~ListModulesReleaseResult() -{} - -void ListModulesReleaseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["Type"].isNull()) - dataObject.type = valueDataDataItem["Type"].asString(); - if(!valueDataDataItem["Description"].isNull()) - dataObject.description = valueDataDataItem["Description"].asString(); - if(!valueDataDataItem["Version"].isNull()) - dataObject.version = valueDataDataItem["Version"].asString(); - data_.push_back(dataObject); - } - -} - -std::vector ListModulesReleaseResult::getData()const -{ - return data_; -} - diff --git a/openanalytics-open/src/model/ListResourcesSpecRequest.cc b/openanalytics-open/src/model/ListResourcesSpecRequest.cc deleted file mode 100644 index 93bf44fd3..000000000 --- a/openanalytics-open/src/model/ListResourcesSpecRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::ListResourcesSpecRequest; - -ListResourcesSpecRequest::ListResourcesSpecRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ListResourcesSpec") -{ - setMethod(HttpRequest::Method::Get); -} - -ListResourcesSpecRequest::~ListResourcesSpecRequest() -{} - -std::string ListResourcesSpecRequest::getType()const -{ - return type_; -} - -void ListResourcesSpecRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); -} - diff --git a/openanalytics-open/src/model/ListResourcesSpecResult.cc b/openanalytics-open/src/model/ListResourcesSpecResult.cc deleted file mode 100644 index f9d11a8ca..000000000 --- a/openanalytics-open/src/model/ListResourcesSpecResult.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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ListResourcesSpecResult::ListResourcesSpecResult() : - ServiceResult() -{} - -ListResourcesSpecResult::ListResourcesSpecResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListResourcesSpecResult::~ListResourcesSpecResult() -{} - -void ListResourcesSpecResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["Description"].isNull()) - dataObject.description = valueDataDataItem["Description"].asString(); - data_.push_back(dataObject); - } - -} - -std::vector ListResourcesSpecResult::getData()const -{ - return data_; -} - diff --git a/openanalytics-open/src/model/ListVirtualClustersRequest.cc b/openanalytics-open/src/model/ListVirtualClustersRequest.cc deleted file mode 100644 index 6a160c3af..000000000 --- a/openanalytics-open/src/model/ListVirtualClustersRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::ListVirtualClustersRequest; - -ListVirtualClustersRequest::ListVirtualClustersRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ListVirtualClusters") -{ - setMethod(HttpRequest::Method::Get); -} - -ListVirtualClustersRequest::~ListVirtualClustersRequest() -{} - -std::string ListVirtualClustersRequest::getType()const -{ - return type_; -} - -void ListVirtualClustersRequest::setType(const std::string& type) -{ - type_ = type; - setBodyParameter("Type", type); -} - diff --git a/openanalytics-open/src/model/ListVirtualClustersResult.cc b/openanalytics-open/src/model/ListVirtualClustersResult.cc deleted file mode 100644 index 57e403c63..000000000 --- a/openanalytics-open/src/model/ListVirtualClustersResult.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 -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ListVirtualClustersResult::ListVirtualClustersResult() : - ServiceResult() -{} - -ListVirtualClustersResult::ListVirtualClustersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListVirtualClustersResult::~ListVirtualClustersResult() -{} - -void ListVirtualClustersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["CreateTime"].isNull()) - dataObject.createTime = valueDataDataItem["CreateTime"].asString(); - if(!valueDataDataItem["CreatorId"].isNull()) - dataObject.creatorId = valueDataDataItem["CreatorId"].asString(); - if(!valueDataDataItem["Name"].isNull()) - dataObject.name = valueDataDataItem["Name"].asString(); - if(!valueDataDataItem["Status"].isNull()) - dataObject.status = valueDataDataItem["Status"].asString(); - if(!valueDataDataItem["Type"].isNull()) - dataObject.type = valueDataDataItem["Type"].asString(); - if(!valueDataDataItem["InstanceId"].isNull()) - dataObject.instanceId = valueDataDataItem["InstanceId"].asString(); - if(!valueDataDataItem["MinCpu"].isNull()) - dataObject.minCpu = valueDataDataItem["MinCpu"].asString(); - if(!valueDataDataItem["MaxCpu"].isNull()) - dataObject.maxCpu = valueDataDataItem["MaxCpu"].asString(); - if(!valueDataDataItem["ChargeType"].isNull()) - dataObject.chargeType = valueDataDataItem["ChargeType"].asString(); - data_.push_back(dataObject); - } - -} - -std::vector ListVirtualClustersResult::getData()const -{ - return data_; -} - diff --git a/openanalytics-open/src/model/ModifyVirtualClusterForSparkRequest.cc b/openanalytics-open/src/model/ModifyVirtualClusterForSparkRequest.cc deleted file mode 100644 index e169d5f96..000000000 --- a/openanalytics-open/src/model/ModifyVirtualClusterForSparkRequest.cc +++ /dev/null @@ -1,117 +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::Openanalytics_open::Model::ModifyVirtualClusterForSparkRequest; - -ModifyVirtualClusterForSparkRequest::ModifyVirtualClusterForSparkRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ModifyVirtualClusterForSpark") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyVirtualClusterForSparkRequest::~ModifyVirtualClusterForSparkRequest() -{} - -std::string ModifyVirtualClusterForSparkRequest::getDefaultExecutorSpecName()const -{ - return defaultExecutorSpecName_; -} - -void ModifyVirtualClusterForSparkRequest::setDefaultExecutorSpecName(const std::string& defaultExecutorSpecName) -{ - defaultExecutorSpecName_ = defaultExecutorSpecName; - setBodyParameter("DefaultExecutorSpecName", defaultExecutorSpecName); -} - -float ModifyVirtualClusterForSparkRequest::getMaxMemory()const -{ - return maxMemory_; -} - -void ModifyVirtualClusterForSparkRequest::setMaxMemory(float maxMemory) -{ - maxMemory_ = maxMemory; - setBodyParameter("MaxMemory", std::to_string(maxMemory)); -} - -std::string ModifyVirtualClusterForSparkRequest::getSparkModuleReleaseName()const -{ - return sparkModuleReleaseName_; -} - -void ModifyVirtualClusterForSparkRequest::setSparkModuleReleaseName(const std::string& sparkModuleReleaseName) -{ - sparkModuleReleaseName_ = sparkModuleReleaseName; - setBodyParameter("SparkModuleReleaseName", sparkModuleReleaseName); -} - -std::string ModifyVirtualClusterForSparkRequest::getDescription()const -{ - return description_; -} - -void ModifyVirtualClusterForSparkRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long ModifyVirtualClusterForSparkRequest::getDefaultExecutorNumbers()const -{ - return defaultExecutorNumbers_; -} - -void ModifyVirtualClusterForSparkRequest::setDefaultExecutorNumbers(long defaultExecutorNumbers) -{ - defaultExecutorNumbers_ = defaultExecutorNumbers; - setBodyParameter("DefaultExecutorNumbers", std::to_string(defaultExecutorNumbers)); -} - -float ModifyVirtualClusterForSparkRequest::getMaxCpu()const -{ - return maxCpu_; -} - -void ModifyVirtualClusterForSparkRequest::setMaxCpu(float maxCpu) -{ - maxCpu_ = maxCpu; - setBodyParameter("MaxCpu", std::to_string(maxCpu)); -} - -std::string ModifyVirtualClusterForSparkRequest::getName()const -{ - return name_; -} - -void ModifyVirtualClusterForSparkRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string ModifyVirtualClusterForSparkRequest::getDefaultDriverSpecName()const -{ - return defaultDriverSpecName_; -} - -void ModifyVirtualClusterForSparkRequest::setDefaultDriverSpecName(const std::string& defaultDriverSpecName) -{ - defaultDriverSpecName_ = defaultDriverSpecName; - setBodyParameter("DefaultDriverSpecName", defaultDriverSpecName); -} - diff --git a/openanalytics-open/src/model/ModifyVirtualClusterForSparkResult.cc b/openanalytics-open/src/model/ModifyVirtualClusterForSparkResult.cc deleted file mode 100644 index f78e319aa..000000000 --- a/openanalytics-open/src/model/ModifyVirtualClusterForSparkResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ModifyVirtualClusterForSparkResult::ModifyVirtualClusterForSparkResult() : - ServiceResult() -{} - -ModifyVirtualClusterForSparkResult::ModifyVirtualClusterForSparkResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyVirtualClusterForSparkResult::~ModifyVirtualClusterForSparkResult() -{} - -void ModifyVirtualClusterForSparkResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/ModifyVirtualClusterRequest.cc b/openanalytics-open/src/model/ModifyVirtualClusterRequest.cc deleted file mode 100644 index 64f845d12..000000000 --- a/openanalytics-open/src/model/ModifyVirtualClusterRequest.cc +++ /dev/null @@ -1,95 +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::Openanalytics_open::Model::ModifyVirtualClusterRequest; - -ModifyVirtualClusterRequest::ModifyVirtualClusterRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "ModifyVirtualCluster") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyVirtualClusterRequest::~ModifyVirtualClusterRequest() -{} - -std::string ModifyVirtualClusterRequest::getDefaultExecutorSpecName()const -{ - return defaultExecutorSpecName_; -} - -void ModifyVirtualClusterRequest::setDefaultExecutorSpecName(const std::string& defaultExecutorSpecName) -{ - defaultExecutorSpecName_ = defaultExecutorSpecName; - setBodyParameter("DefaultExecutorSpecName", defaultExecutorSpecName); -} - -std::string ModifyVirtualClusterRequest::getSparkModuleReleaseName()const -{ - return sparkModuleReleaseName_; -} - -void ModifyVirtualClusterRequest::setSparkModuleReleaseName(const std::string& sparkModuleReleaseName) -{ - sparkModuleReleaseName_ = sparkModuleReleaseName; - setBodyParameter("SparkModuleReleaseName", sparkModuleReleaseName); -} - -std::string ModifyVirtualClusterRequest::getDescription()const -{ - return description_; -} - -void ModifyVirtualClusterRequest::setDescription(const std::string& description) -{ - description_ = description; - setBodyParameter("Description", description); -} - -long ModifyVirtualClusterRequest::getDefaultExecutorNumbers()const -{ - return defaultExecutorNumbers_; -} - -void ModifyVirtualClusterRequest::setDefaultExecutorNumbers(long defaultExecutorNumbers) -{ - defaultExecutorNumbers_ = defaultExecutorNumbers; - setBodyParameter("DefaultExecutorNumbers", std::to_string(defaultExecutorNumbers)); -} - -std::string ModifyVirtualClusterRequest::getName()const -{ - return name_; -} - -void ModifyVirtualClusterRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - -std::string ModifyVirtualClusterRequest::getDefaultDriverSpecName()const -{ - return defaultDriverSpecName_; -} - -void ModifyVirtualClusterRequest::setDefaultDriverSpecName(const std::string& defaultDriverSpecName) -{ - defaultDriverSpecName_ = defaultDriverSpecName; - setBodyParameter("DefaultDriverSpecName", defaultDriverSpecName); -} - diff --git a/openanalytics-open/src/model/ModifyVirtualClusterResult.cc b/openanalytics-open/src/model/ModifyVirtualClusterResult.cc deleted file mode 100644 index 6fd731f3f..000000000 --- a/openanalytics-open/src/model/ModifyVirtualClusterResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -ModifyVirtualClusterResult::ModifyVirtualClusterResult() : - ServiceResult() -{} - -ModifyVirtualClusterResult::ModifyVirtualClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyVirtualClusterResult::~ModifyVirtualClusterResult() -{} - -void ModifyVirtualClusterResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/OpenDataLakeAnalyticsServiceRequest.cc b/openanalytics-open/src/model/OpenDataLakeAnalyticsServiceRequest.cc deleted file mode 100644 index e40851608..000000000 --- a/openanalytics-open/src/model/OpenDataLakeAnalyticsServiceRequest.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Openanalytics_open::Model::OpenDataLakeAnalyticsServiceRequest; - -OpenDataLakeAnalyticsServiceRequest::OpenDataLakeAnalyticsServiceRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "OpenDataLakeAnalyticsService") -{ - setMethod(HttpRequest::Method::Post); -} - -OpenDataLakeAnalyticsServiceRequest::~OpenDataLakeAnalyticsServiceRequest() -{} - -std::string OpenDataLakeAnalyticsServiceRequest::getRegionId()const -{ - return regionId_; -} - -void OpenDataLakeAnalyticsServiceRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string OpenDataLakeAnalyticsServiceRequest::getInternetChargeType()const -{ - return internetChargeType_; -} - -void OpenDataLakeAnalyticsServiceRequest::setInternetChargeType(const std::string& internetChargeType) -{ - internetChargeType_ = internetChargeType; - setParameter("InternetChargeType", internetChargeType); -} - diff --git a/openanalytics-open/src/model/QueryDataSourceDefRequest.cc b/openanalytics-open/src/model/QueryDataSourceDefRequest.cc deleted file mode 100644 index f87e012fd..000000000 --- a/openanalytics-open/src/model/QueryDataSourceDefRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::QueryDataSourceDefRequest; - -QueryDataSourceDefRequest::QueryDataSourceDefRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "QueryDataSourceDef") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryDataSourceDefRequest::~QueryDataSourceDefRequest() -{} - -std::string QueryDataSourceDefRequest::getRegionId()const -{ - return regionId_; -} - -void QueryDataSourceDefRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/QueryDataSourceDefResult.cc b/openanalytics-open/src/model/QueryDataSourceDefResult.cc deleted file mode 100644 index fab9a216e..000000000 --- a/openanalytics-open/src/model/QueryDataSourceDefResult.cc +++ /dev/null @@ -1,68 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -QueryDataSourceDefResult::QueryDataSourceDefResult() : - ServiceResult() -{} - -QueryDataSourceDefResult::QueryDataSourceDefResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryDataSourceDefResult::~QueryDataSourceDefResult() -{} - -void QueryDataSourceDefResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allRegionListNode = value["RegionList"]["RegionListItem"]; - for (auto valueRegionListRegionListItem : allRegionListNode) - { - RegionListItem regionListObject; - if(!valueRegionListRegionListItem["dataSourceName"].isNull()) - regionListObject.dataSourceName = valueRegionListRegionListItem["dataSourceName"].asString(); - if(!valueRegionListRegionListItem["roleArn"].isNull()) - regionListObject.roleArn = valueRegionListRegionListItem["roleArn"].asString(); - if(!valueRegionListRegionListItem["authorizedURL"].isNull()) - regionListObject.authorizedURL = valueRegionListRegionListItem["authorizedURL"].asString(); - regionList_.push_back(regionListObject); - } - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::vector QueryDataSourceDefResult::getRegionList()const -{ - return regionList_; -} - -std::string QueryDataSourceDefResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/QueryDiscountListRequest.cc b/openanalytics-open/src/model/QueryDiscountListRequest.cc deleted file mode 100644 index a3129bcdf..000000000 --- a/openanalytics-open/src/model/QueryDiscountListRequest.cc +++ /dev/null @@ -1,62 +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::Openanalytics_open::Model::QueryDiscountListRequest; - -QueryDiscountListRequest::QueryDiscountListRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "QueryDiscountList") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryDiscountListRequest::~QueryDiscountListRequest() -{} - -std::string QueryDiscountListRequest::getRegionId()const -{ - return regionId_; -} - -void QueryDiscountListRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -int QueryDiscountListRequest::getPageSize()const -{ - return pageSize_; -} - -void QueryDiscountListRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setBodyParameter("PageSize", std::to_string(pageSize)); -} - -int QueryDiscountListRequest::getPageNumber()const -{ - return pageNumber_; -} - -void QueryDiscountListRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setBodyParameter("PageNumber", std::to_string(pageNumber)); -} - diff --git a/openanalytics-open/src/model/QueryDiscountListResult.cc b/openanalytics-open/src/model/QueryDiscountListResult.cc deleted file mode 100644 index ee64af85f..000000000 --- a/openanalytics-open/src/model/QueryDiscountListResult.cc +++ /dev/null @@ -1,113 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -QueryDiscountListResult::QueryDiscountListResult() : - ServiceResult() -{} - -QueryDiscountListResult::QueryDiscountListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryDiscountListResult::~QueryDiscountListResult() -{} - -void QueryDiscountListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["PlanID"].isNull()) - dataObject.planID = valueDataDataItem["PlanID"].asString(); - if(!valueDataDataItem["GmtCreate"].isNull()) - dataObject.gmtCreate = valueDataDataItem["GmtCreate"].asString(); - if(!valueDataDataItem["GmtCreateValue"].isNull()) - dataObject.gmtCreateValue = std::stol(valueDataDataItem["GmtCreateValue"].asString()); - if(!valueDataDataItem["DiscountType"].isNull()) - dataObject.discountType = valueDataDataItem["DiscountType"].asString(); - if(!valueDataDataItem["DiscountConfig"].isNull()) - dataObject.discountConfig = valueDataDataItem["DiscountConfig"].asString(); - if(!valueDataDataItem["PayType"].isNull()) - dataObject.payType = std::stoi(valueDataDataItem["PayType"].asString()); - if(!valueDataDataItem["PayAmount"].isNull()) - dataObject.payAmount = valueDataDataItem["PayAmount"].asString(); - if(!valueDataDataItem["Weight"].isNull()) - dataObject.weight = std::stoi(valueDataDataItem["Weight"].asString()); - if(!valueDataDataItem["Stacked"].isNull()) - dataObject.stacked = std::stoi(valueDataDataItem["Stacked"].asString()); - if(!valueDataDataItem["UsageBytes"].isNull()) - dataObject.usageBytes = std::stol(valueDataDataItem["UsageBytes"].asString()); - if(!valueDataDataItem["EffectiveStartTime"].isNull()) - dataObject.effectiveStartTime = valueDataDataItem["EffectiveStartTime"].asString(); - if(!valueDataDataItem["EffectiveStartTimeValue"].isNull()) - dataObject.effectiveStartTimeValue = std::stol(valueDataDataItem["EffectiveStartTimeValue"].asString()); - if(!valueDataDataItem["EffectiveEndTime"].isNull()) - dataObject.effectiveEndTime = valueDataDataItem["EffectiveEndTime"].asString(); - if(!valueDataDataItem["EffectiveEndTimeValue"].isNull()) - dataObject.effectiveEndTimeValue = std::stol(valueDataDataItem["EffectiveEndTimeValue"].asString()); - if(!valueDataDataItem["Status"].isNull()) - dataObject.status = std::stoi(valueDataDataItem["Status"].asString()); - data_.push_back(dataObject); - } - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - if(!value["PageSize"].isNull()) - pageSize_ = std::stoi(value["PageSize"].asString()); - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); - if(!value["TotalCount"].isNull()) - totalCount_ = std::stoi(value["TotalCount"].asString()); - -} - -int QueryDiscountListResult::getTotalCount()const -{ - return totalCount_; -} - -int QueryDiscountListResult::getPageSize()const -{ - return pageSize_; -} - -int QueryDiscountListResult::getPageNumber()const -{ - return pageNumber_; -} - -std::vector QueryDiscountListResult::getData()const -{ - return data_; -} - -std::string QueryDiscountListResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/QueryServiceAccountListRequest.cc b/openanalytics-open/src/model/QueryServiceAccountListRequest.cc deleted file mode 100644 index 41b3add4f..000000000 --- a/openanalytics-open/src/model/QueryServiceAccountListRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::QueryServiceAccountListRequest; - -QueryServiceAccountListRequest::QueryServiceAccountListRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "QueryServiceAccountList") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryServiceAccountListRequest::~QueryServiceAccountListRequest() -{} - -std::string QueryServiceAccountListRequest::getRegionId()const -{ - return regionId_; -} - -void QueryServiceAccountListRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - diff --git a/openanalytics-open/src/model/QueryServiceAccountListResult.cc b/openanalytics-open/src/model/QueryServiceAccountListResult.cc deleted file mode 100644 index e815522c1..000000000 --- a/openanalytics-open/src/model/QueryServiceAccountListResult.cc +++ /dev/null @@ -1,68 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -QueryServiceAccountListResult::QueryServiceAccountListResult() : - ServiceResult() -{} - -QueryServiceAccountListResult::QueryServiceAccountListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryServiceAccountListResult::~QueryServiceAccountListResult() -{} - -void QueryServiceAccountListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto allDataNode = value["Data"]["DataItem"]; - for (auto valueDataDataItem : allDataNode) - { - DataItem dataObject; - if(!valueDataDataItem["UserName"].isNull()) - dataObject.userName = valueDataDataItem["UserName"].asString(); - if(!valueDataDataItem["Role"].isNull()) - dataObject.role = valueDataDataItem["Role"].asString(); - if(!valueDataDataItem["ShortName"].isNull()) - dataObject.shortName = valueDataDataItem["ShortName"].asString(); - data_.push_back(dataObject); - } - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::vector QueryServiceAccountListResult::getData()const -{ - return data_; -} - -std::string QueryServiceAccountListResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/QueryTaskSumRequest.cc b/openanalytics-open/src/model/QueryTaskSumRequest.cc deleted file mode 100644 index 3e5e2f98b..000000000 --- a/openanalytics-open/src/model/QueryTaskSumRequest.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::Openanalytics_open::Model::QueryTaskSumRequest; - -QueryTaskSumRequest::QueryTaskSumRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "QueryTaskSum") -{ - setMethod(HttpRequest::Method::Post); -} - -QueryTaskSumRequest::~QueryTaskSumRequest() -{} - -std::string QueryTaskSumRequest::getRegionId()const -{ - return regionId_; -} - -void QueryTaskSumRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string QueryTaskSumRequest::getTwoDaysAgoBeginTs()const -{ - return twoDaysAgoBeginTs_; -} - -void QueryTaskSumRequest::setTwoDaysAgoBeginTs(const std::string& twoDaysAgoBeginTs) -{ - twoDaysAgoBeginTs_ = twoDaysAgoBeginTs; - setBodyParameter("TwoDaysAgoBeginTs", twoDaysAgoBeginTs); -} - -std::string QueryTaskSumRequest::getYesterdayBeginTs()const -{ - return yesterdayBeginTs_; -} - -void QueryTaskSumRequest::setYesterdayBeginTs(const std::string& yesterdayBeginTs) -{ - yesterdayBeginTs_ = yesterdayBeginTs; - setBodyParameter("YesterdayBeginTs", yesterdayBeginTs); -} - -std::string QueryTaskSumRequest::getTodayBeginTs()const -{ - return todayBeginTs_; -} - -void QueryTaskSumRequest::setTodayBeginTs(const std::string& todayBeginTs) -{ - todayBeginTs_ = todayBeginTs; - setBodyParameter("TodayBeginTs", todayBeginTs); -} - diff --git a/openanalytics-open/src/model/QueryTaskSumResult.cc b/openanalytics-open/src/model/QueryTaskSumResult.cc deleted file mode 100644 index 00ed4c09f..000000000 --- a/openanalytics-open/src/model/QueryTaskSumResult.cc +++ /dev/null @@ -1,83 +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::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -QueryTaskSumResult::QueryTaskSumResult() : - ServiceResult() -{} - -QueryTaskSumResult::QueryTaskSumResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -QueryTaskSumResult::~QueryTaskSumResult() -{} - -void QueryTaskSumResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - auto queryTaskSumInfoNode = value["QueryTaskSumInfo"]; - if(!queryTaskSumInfoNode["Uid"].isNull()) - queryTaskSumInfo_.uid = queryTaskSumInfoNode["Uid"].asString(); - if(!queryTaskSumInfoNode["ScannedDataBytesGbToday"].isNull()) - queryTaskSumInfo_.scannedDataBytesGbToday = queryTaskSumInfoNode["ScannedDataBytesGbToday"].asString(); - if(!queryTaskSumInfoNode["TotalStmtCountToday"].isNull()) - queryTaskSumInfo_.totalStmtCountToday = queryTaskSumInfoNode["TotalStmtCountToday"].asString(); - if(!queryTaskSumInfoNode["TotalChargedStmtCountToday"].isNull()) - queryTaskSumInfo_.totalChargedStmtCountToday = queryTaskSumInfoNode["TotalChargedStmtCountToday"].asString(); - if(!queryTaskSumInfoNode["ScannedDataBytesTodayIncr"].isNull()) - queryTaskSumInfo_.scannedDataBytesTodayIncr = queryTaskSumInfoNode["ScannedDataBytesTodayIncr"].asString(); - if(!queryTaskSumInfoNode["TotalStmtCountTodayIncr"].isNull()) - queryTaskSumInfo_.totalStmtCountTodayIncr = queryTaskSumInfoNode["TotalStmtCountTodayIncr"].asString(); - if(!queryTaskSumInfoNode["TotalChargedStmtCountTodayIncr"].isNull()) - queryTaskSumInfo_.totalChargedStmtCountTodayIncr = queryTaskSumInfoNode["TotalChargedStmtCountTodayIncr"].asString(); - if(!queryTaskSumInfoNode["ScannedDataBytesGbYesterday"].isNull()) - queryTaskSumInfo_.scannedDataBytesGbYesterday = queryTaskSumInfoNode["ScannedDataBytesGbYesterday"].asString(); - if(!queryTaskSumInfoNode["TotalStmtCountYesterday"].isNull()) - queryTaskSumInfo_.totalStmtCountYesterday = queryTaskSumInfoNode["TotalStmtCountYesterday"].asString(); - if(!queryTaskSumInfoNode["TotalChargedStmtCountYesterday"].isNull()) - queryTaskSumInfo_.totalChargedStmtCountYesterday = queryTaskSumInfoNode["TotalChargedStmtCountYesterday"].asString(); - if(!queryTaskSumInfoNode["ScannedDataBytesYesterdayIncr"].isNull()) - queryTaskSumInfo_.scannedDataBytesYesterdayIncr = queryTaskSumInfoNode["ScannedDataBytesYesterdayIncr"].asString(); - if(!queryTaskSumInfoNode["TotalStmtCountYesterdayIncr"].isNull()) - queryTaskSumInfo_.totalStmtCountYesterdayIncr = queryTaskSumInfoNode["TotalStmtCountYesterdayIncr"].asString(); - if(!queryTaskSumInfoNode["TotalChargedStmtCountYesterdayIncr"].isNull()) - queryTaskSumInfo_.totalChargedStmtCountYesterdayIncr = queryTaskSumInfoNode["TotalChargedStmtCountYesterdayIncr"].asString(); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -QueryTaskSumResult::QueryTaskSumInfo QueryTaskSumResult::getQueryTaskSumInfo()const -{ - return queryTaskSumInfo_; -} - -std::string QueryTaskSumResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/SetCapacityLimitPolicyRequest.cc b/openanalytics-open/src/model/SetCapacityLimitPolicyRequest.cc deleted file mode 100644 index 9e0f3c363..000000000 --- a/openanalytics-open/src/model/SetCapacityLimitPolicyRequest.cc +++ /dev/null @@ -1,62 +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::Openanalytics_open::Model::SetCapacityLimitPolicyRequest; - -SetCapacityLimitPolicyRequest::SetCapacityLimitPolicyRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "SetCapacityLimitPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -SetCapacityLimitPolicyRequest::~SetCapacityLimitPolicyRequest() -{} - -std::string SetCapacityLimitPolicyRequest::getRegionId()const -{ - return regionId_; -} - -void SetCapacityLimitPolicyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string SetCapacityLimitPolicyRequest::getPolicy()const -{ - return policy_; -} - -void SetCapacityLimitPolicyRequest::setPolicy(const std::string& policy) -{ - policy_ = policy; - setBodyParameter("Policy", policy); -} - -std::string SetCapacityLimitPolicyRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void SetCapacityLimitPolicyRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/SetCapacityLimitPolicyResult.cc b/openanalytics-open/src/model/SetCapacityLimitPolicyResult.cc deleted file mode 100644 index 8fbc29079..000000000 --- a/openanalytics-open/src/model/SetCapacityLimitPolicyResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -SetCapacityLimitPolicyResult::SetCapacityLimitPolicyResult() : - ServiceResult() -{} - -SetCapacityLimitPolicyResult::SetCapacityLimitPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetCapacityLimitPolicyResult::~SetCapacityLimitPolicyResult() -{} - -void SetCapacityLimitPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::string SetCapacityLimitPolicyResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/SetRelationWithBizRequest.cc b/openanalytics-open/src/model/SetRelationWithBizRequest.cc deleted file mode 100644 index ed5299e40..000000000 --- a/openanalytics-open/src/model/SetRelationWithBizRequest.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::Openanalytics_open::Model::SetRelationWithBizRequest; - -SetRelationWithBizRequest::SetRelationWithBizRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "SetRelationWithBiz") -{ - setMethod(HttpRequest::Method::Post); -} - -SetRelationWithBizRequest::~SetRelationWithBizRequest() -{} - -std::string SetRelationWithBizRequest::getExternalUid()const -{ - return externalUid_; -} - -void SetRelationWithBizRequest::setExternalUid(const std::string& externalUid) -{ - externalUid_ = externalUid; - setBodyParameter("ExternalUid", externalUid); -} - -std::string SetRelationWithBizRequest::getExternalAliyunUid()const -{ - return externalAliyunUid_; -} - -void SetRelationWithBizRequest::setExternalAliyunUid(const std::string& externalAliyunUid) -{ - externalAliyunUid_ = externalAliyunUid; - setBodyParameter("ExternalAliyunUid", externalAliyunUid); -} - -std::string SetRelationWithBizRequest::getRegionId()const -{ - return regionId_; -} - -void SetRelationWithBizRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string SetRelationWithBizRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void SetRelationWithBizRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/SetRelationWithBizResult.cc b/openanalytics-open/src/model/SetRelationWithBizResult.cc deleted file mode 100644 index 658e3d62b..000000000 --- a/openanalytics-open/src/model/SetRelationWithBizResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -SetRelationWithBizResult::SetRelationWithBizResult() : - ServiceResult() -{} - -SetRelationWithBizResult::SetRelationWithBizResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetRelationWithBizResult::~SetRelationWithBizResult() -{} - -void SetRelationWithBizResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::string SetRelationWithBizResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/SetTrafficLimitPolicyRequest.cc b/openanalytics-open/src/model/SetTrafficLimitPolicyRequest.cc deleted file mode 100644 index 610c54997..000000000 --- a/openanalytics-open/src/model/SetTrafficLimitPolicyRequest.cc +++ /dev/null @@ -1,62 +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::Openanalytics_open::Model::SetTrafficLimitPolicyRequest; - -SetTrafficLimitPolicyRequest::SetTrafficLimitPolicyRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "SetTrafficLimitPolicy") -{ - setMethod(HttpRequest::Method::Post); -} - -SetTrafficLimitPolicyRequest::~SetTrafficLimitPolicyRequest() -{} - -std::string SetTrafficLimitPolicyRequest::getRegionId()const -{ - return regionId_; -} - -void SetTrafficLimitPolicyRequest::setRegionId(const std::string& regionId) -{ - regionId_ = regionId; - setBodyParameter("RegionId", regionId); -} - -std::string SetTrafficLimitPolicyRequest::getPolicy()const -{ - return policy_; -} - -void SetTrafficLimitPolicyRequest::setPolicy(const std::string& policy) -{ - policy_ = policy; - setBodyParameter("Policy", policy); -} - -std::string SetTrafficLimitPolicyRequest::getExternalBizAliyunUid()const -{ - return externalBizAliyunUid_; -} - -void SetTrafficLimitPolicyRequest::setExternalBizAliyunUid(const std::string& externalBizAliyunUid) -{ - externalBizAliyunUid_ = externalBizAliyunUid; - setBodyParameter("ExternalBizAliyunUid", externalBizAliyunUid); -} - diff --git a/openanalytics-open/src/model/SetTrafficLimitPolicyResult.cc b/openanalytics-open/src/model/SetTrafficLimitPolicyResult.cc deleted file mode 100644 index 0ab559702..000000000 --- a/openanalytics-open/src/model/SetTrafficLimitPolicyResult.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -SetTrafficLimitPolicyResult::SetTrafficLimitPolicyResult() : - ServiceResult() -{} - -SetTrafficLimitPolicyResult::SetTrafficLimitPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SetTrafficLimitPolicyResult::~SetTrafficLimitPolicyResult() -{} - -void SetTrafficLimitPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - if(!value["RegionId"].isNull()) - regionId_ = value["RegionId"].asString(); - -} - -std::string SetTrafficLimitPolicyResult::getRegionId()const -{ - return regionId_; -} - diff --git a/openanalytics-open/src/model/StartVirtualClusterRequest.cc b/openanalytics-open/src/model/StartVirtualClusterRequest.cc deleted file mode 100644 index 285e82bed..000000000 --- a/openanalytics-open/src/model/StartVirtualClusterRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::StartVirtualClusterRequest; - -StartVirtualClusterRequest::StartVirtualClusterRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "StartVirtualCluster") -{ - setMethod(HttpRequest::Method::Post); -} - -StartVirtualClusterRequest::~StartVirtualClusterRequest() -{} - -std::string StartVirtualClusterRequest::getName()const -{ - return name_; -} - -void StartVirtualClusterRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - diff --git a/openanalytics-open/src/model/StartVirtualClusterResult.cc b/openanalytics-open/src/model/StartVirtualClusterResult.cc deleted file mode 100644 index 5624b93a2..000000000 --- a/openanalytics-open/src/model/StartVirtualClusterResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -StartVirtualClusterResult::StartVirtualClusterResult() : - ServiceResult() -{} - -StartVirtualClusterResult::StartVirtualClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StartVirtualClusterResult::~StartVirtualClusterResult() -{} - -void StartVirtualClusterResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/StopVirtualClusterRequest.cc b/openanalytics-open/src/model/StopVirtualClusterRequest.cc deleted file mode 100644 index bcb412215..000000000 --- a/openanalytics-open/src/model/StopVirtualClusterRequest.cc +++ /dev/null @@ -1,40 +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::Openanalytics_open::Model::StopVirtualClusterRequest; - -StopVirtualClusterRequest::StopVirtualClusterRequest() : - RpcServiceRequest("openanalytics-open", "2018-06-19", "StopVirtualCluster") -{ - setMethod(HttpRequest::Method::Post); -} - -StopVirtualClusterRequest::~StopVirtualClusterRequest() -{} - -std::string StopVirtualClusterRequest::getName()const -{ - return name_; -} - -void StopVirtualClusterRequest::setName(const std::string& name) -{ - name_ = name; - setBodyParameter("Name", name); -} - diff --git a/openanalytics-open/src/model/StopVirtualClusterResult.cc b/openanalytics-open/src/model/StopVirtualClusterResult.cc deleted file mode 100644 index 7b3110ef9..000000000 --- a/openanalytics-open/src/model/StopVirtualClusterResult.cc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Openanalytics_open; -using namespace AlibabaCloud::Openanalytics_open::Model; - -StopVirtualClusterResult::StopVirtualClusterResult() : - ServiceResult() -{} - -StopVirtualClusterResult::StopVirtualClusterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -StopVirtualClusterResult::~StopVirtualClusterResult() -{} - -void StopVirtualClusterResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - setRequestId(value["RequestId"].asString()); - -} - diff --git a/openanalytics-open/src/model/UpgradeInstanceRequest.cc b/openanalytics-open/src/model/UpgradeInstanceRequest.cc new file mode 100644 index 000000000..c9af6b9bc --- /dev/null +++ b/openanalytics-open/src/model/UpgradeInstanceRequest.cc @@ -0,0 +1,84 @@ +/* + * 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::Openanalytics_open::Model::UpgradeInstanceRequest; + +UpgradeInstanceRequest::UpgradeInstanceRequest() : + RpcServiceRequest("openanalytics-open", "2018-06-19", "UpgradeInstance") +{ + setMethod(HttpRequest::Method::Post); +} + +UpgradeInstanceRequest::~UpgradeInstanceRequest() +{} + +std::string UpgradeInstanceRequest::getRegionId()const +{ + return regionId_; +} + +void UpgradeInstanceRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setBodyParameter("RegionId", regionId); +} + +std::string UpgradeInstanceRequest::getInstanceId()const +{ + return instanceId_; +} + +void UpgradeInstanceRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setBodyParameter("InstanceId", instanceId); +} + +std::string UpgradeInstanceRequest::getChargeType()const +{ + return chargeType_; +} + +void UpgradeInstanceRequest::setChargeType(const std::string& chargeType) +{ + chargeType_ = chargeType; + setBodyParameter("ChargeType", chargeType); +} + +std::string UpgradeInstanceRequest::getInstanceType()const +{ + return instanceType_; +} + +void UpgradeInstanceRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setBodyParameter("InstanceType", instanceType); +} + +std::string UpgradeInstanceRequest::getComponent()const +{ + return component_; +} + +void UpgradeInstanceRequest::setComponent(const std::string& component) +{ + component_ = component; + setBodyParameter("Component", component); +} + diff --git a/openanalytics-open/src/model/OpenDataLakeAnalyticsServiceResult.cc b/openanalytics-open/src/model/UpgradeInstanceResult.cc similarity index 66% rename from openanalytics-open/src/model/OpenDataLakeAnalyticsServiceResult.cc rename to openanalytics-open/src/model/UpgradeInstanceResult.cc index 0ecd422f7..1847c173d 100644 --- a/openanalytics-open/src/model/OpenDataLakeAnalyticsServiceResult.cc +++ b/openanalytics-open/src/model/UpgradeInstanceResult.cc @@ -14,26 +14,26 @@ * limitations under the License. */ -#include +#include #include using namespace AlibabaCloud::Openanalytics_open; using namespace AlibabaCloud::Openanalytics_open::Model; -OpenDataLakeAnalyticsServiceResult::OpenDataLakeAnalyticsServiceResult() : +UpgradeInstanceResult::UpgradeInstanceResult() : ServiceResult() {} -OpenDataLakeAnalyticsServiceResult::OpenDataLakeAnalyticsServiceResult(const std::string &payload) : +UpgradeInstanceResult::UpgradeInstanceResult(const std::string &payload) : ServiceResult() { parse(payload); } -OpenDataLakeAnalyticsServiceResult::~OpenDataLakeAnalyticsServiceResult() +UpgradeInstanceResult::~UpgradeInstanceResult() {} -void OpenDataLakeAnalyticsServiceResult::parse(const std::string &payload) +void UpgradeInstanceResult::parse(const std::string &payload) { Json::Reader reader; Json::Value value; @@ -50,22 +50,22 @@ void OpenDataLakeAnalyticsServiceResult::parse(const std::string &payload) } -std::string OpenDataLakeAnalyticsServiceResult::getErrorInfo()const +std::string UpgradeInstanceResult::getErrorInfo()const { return errorInfo_; } -std::string OpenDataLakeAnalyticsServiceResult::getErrorCode()const +std::string UpgradeInstanceResult::getErrorCode()const { return errorCode_; } -bool OpenDataLakeAnalyticsServiceResult::getSuccess()const +bool UpgradeInstanceResult::getSuccess()const { return success_; } -std::string OpenDataLakeAnalyticsServiceResult::getResult()const +std::string UpgradeInstanceResult::getResult()const { return result_; }