From 5bde7919415095c74aca01094f076d5fd06a7256 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 23 Dec 2020 06:07:49 +0000 Subject: [PATCH] Add 2019 openapi. --- CHANGELOG | 3 + hbase/CMakeLists.txt | 84 ++ .../include/alibabacloud/hbase/HBaseClient.h | 168 ++++ .../AllocatePublicNetworkAddressRequest.h | 51 ++ .../AllocatePublicNetworkAddressResult.h | 49 ++ .../model/CheckComponentsVersionRequest.h | 51 ++ .../model/CheckComponentsVersionResult.h | 56 ++ .../hbase/model/CloseBackupRequest.h | 48 ++ .../hbase/model/CloseBackupResult.h | 49 ++ .../hbase/model/CreateClusterRequest.h | 3 + .../hbase/model/CreateGlobalResourceRequest.h | 57 ++ .../hbase/model/CreateGlobalResourceResult.h | 49 ++ .../hbase/model/CreateHBaseSlbServerRequest.h | 54 ++ .../hbase/model/CreateHBaseSlbServerResult.h | 49 ++ .../model/CreateMultiZoneClusterRequest.h | 3 + .../model/CreateServerlessClusterRequest.h | 3 + .../hbase/model/DeleteGlobalResourceRequest.h | 54 ++ .../hbase/model/DeleteGlobalResourceResult.h | 49 ++ .../hbase/model/DeleteHBaseSlbServerRequest.h | 51 ++ .../hbase/model/DeleteHBaseSlbServerResult.h | 49 ++ .../hbase/model/DescribeBackupPolicyRequest.h | 48 ++ .../hbase/model/DescribeBackupPolicyResult.h | 59 ++ .../hbase/model/DescribeBackupsRequest.h | 69 ++ .../hbase/model/DescribeBackupsResult.h | 74 ++ .../hbase/model/DescribeColdStorageRequest.h | 48 ++ .../hbase/model/DescribeColdStorageResult.h | 59 ++ .../hbase/model/DescribeInstanceResult.h | 2 + .../hbase/model/DescribeInstancesRequest.h | 3 + .../hbase/model/DescribeInstancesResult.h | 1 + .../model/DescribeMultiZoneClusterResult.h | 2 + .../hbase/model/DescribeSubDomainRequest.h | 51 ++ .../hbase/model/DescribeSubDomainResult.h | 51 ++ .../hbase/model/GetMultimodeCmsUrlRequest.h | 51 ++ .../hbase/model/GetMultimodeCmsUrlResult.h | 53 ++ .../hbase/model/ListHBaseInstancesRequest.h | 48 ++ .../hbase/model/ListHBaseInstancesResult.h | 57 ++ ...istInstanceServiceConfigHistoriesRequest.h | 54 ++ ...ListInstanceServiceConfigHistoriesResult.h | 65 ++ ...ListInstanceServiceConfigurationsRequest.h | 54 ++ .../ListInstanceServiceConfigurationsResult.h | 67 ++ .../hbase/model/ModifyBackupPolicyRequest.h | 60 ++ .../hbase/model/ModifyBackupPolicyResult.h | 49 ++ .../ModifyInstanceServiceConfigRequest.h | 60 ++ .../model/ModifyInstanceServiceConfigResult.h | 49 ++ .../hbase/model/MoveResourceGroupRequest.h | 51 ++ .../hbase/model/MoveResourceGroupResult.h | 49 ++ .../hbase/model/OpenBackupRequest.h | 48 ++ .../hbase/model/OpenBackupResult.h | 49 ++ .../hbase/model/RelateDbForHBaseHaRequest.h | 108 +++ .../hbase/model/RelateDbForHBaseHaResult.h | 49 ++ .../ReleasePublicNetworkAddressRequest.h | 48 ++ .../model/ReleasePublicNetworkAddressResult.h | 49 ++ hbase/src/HBaseClient.cc | 756 ++++++++++++++++++ .../AllocatePublicNetworkAddressRequest.cc | 51 ++ .../AllocatePublicNetworkAddressResult.cc | 44 + .../model/CheckComponentsVersionRequest.cc | 51 ++ .../src/model/CheckComponentsVersionResult.cc | 59 ++ hbase/src/model/CloseBackupRequest.cc | 40 + hbase/src/model/CloseBackupResult.cc | 44 + hbase/src/model/CreateClusterRequest.cc | 11 + .../src/model/CreateGlobalResourceRequest.cc | 73 ++ hbase/src/model/CreateGlobalResourceResult.cc | 44 + .../src/model/CreateHBaseSlbServerRequest.cc | 62 ++ hbase/src/model/CreateHBaseSlbServerResult.cc | 44 + .../model/CreateMultiZoneClusterRequest.cc | 11 + .../model/CreateServerlessClusterRequest.cc | 11 + .../src/model/DeleteGlobalResourceRequest.cc | 62 ++ hbase/src/model/DeleteGlobalResourceResult.cc | 44 + .../src/model/DeleteHBaseSlbServerRequest.cc | 51 ++ hbase/src/model/DeleteHBaseSlbServerResult.cc | 44 + .../src/model/DescribeBackupPolicyRequest.cc | 40 + hbase/src/model/DescribeBackupPolicyResult.cc | 79 ++ hbase/src/model/DescribeBackupsRequest.cc | 117 +++ hbase/src/model/DescribeBackupsResult.cc | 107 +++ hbase/src/model/DescribeColdStorageRequest.cc | 40 + hbase/src/model/DescribeColdStorageResult.cc | 79 ++ hbase/src/model/DescribeInstanceResult.cc | 7 + hbase/src/model/DescribeInstancesRequest.cc | 11 + hbase/src/model/DescribeInstancesResult.cc | 2 + .../model/DescribeMultiZoneClusterResult.cc | 7 + hbase/src/model/DescribeSubDomainRequest.cc | 51 ++ hbase/src/model/DescribeSubDomainResult.cc | 51 ++ hbase/src/model/GetMultimodeCmsUrlRequest.cc | 51 ++ hbase/src/model/GetMultimodeCmsUrlResult.cc | 58 ++ hbase/src/model/ListHBaseInstancesRequest.cc | 40 + hbase/src/model/ListHBaseInstancesResult.cc | 61 ++ ...stInstanceServiceConfigHistoriesRequest.cc | 62 ++ ...istInstanceServiceConfigHistoriesResult.cc | 86 ++ ...istInstanceServiceConfigurationsRequest.cc | 62 ++ ...ListInstanceServiceConfigurationsResult.cc | 90 +++ hbase/src/model/ModifyBackupPolicyRequest.cc | 84 ++ hbase/src/model/ModifyBackupPolicyResult.cc | 44 + .../ModifyInstanceServiceConfigRequest.cc | 84 ++ .../ModifyInstanceServiceConfigResult.cc | 44 + hbase/src/model/MoveResourceGroupRequest.cc | 51 ++ hbase/src/model/MoveResourceGroupResult.cc | 44 + hbase/src/model/OpenBackupRequest.cc | 40 + hbase/src/model/OpenBackupResult.cc | 44 + hbase/src/model/RelateDbForHBaseHaRequest.cc | 260 ++++++ hbase/src/model/RelateDbForHBaseHaResult.cc | 44 + .../ReleasePublicNetworkAddressRequest.cc | 40 + .../ReleasePublicNetworkAddressResult.cc | 44 + 102 files changed, 5991 insertions(+) create mode 100644 hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/CheckComponentsVersionRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/CheckComponentsVersionResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/CloseBackupRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/CloseBackupResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/CreateGlobalResourceRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/CreateGlobalResourceResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeBackupsRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeBackupsResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeColdStorageRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeSubDomainRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/DescribeSubDomainResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/ListHBaseInstancesRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/ListHBaseInstancesResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/MoveResourceGroupRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/MoveResourceGroupResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/OpenBackupRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/OpenBackupResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaResult.h create mode 100644 hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressRequest.h create mode 100644 hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressResult.h create mode 100644 hbase/src/model/AllocatePublicNetworkAddressRequest.cc create mode 100644 hbase/src/model/AllocatePublicNetworkAddressResult.cc create mode 100644 hbase/src/model/CheckComponentsVersionRequest.cc create mode 100644 hbase/src/model/CheckComponentsVersionResult.cc create mode 100644 hbase/src/model/CloseBackupRequest.cc create mode 100644 hbase/src/model/CloseBackupResult.cc create mode 100644 hbase/src/model/CreateGlobalResourceRequest.cc create mode 100644 hbase/src/model/CreateGlobalResourceResult.cc create mode 100644 hbase/src/model/CreateHBaseSlbServerRequest.cc create mode 100644 hbase/src/model/CreateHBaseSlbServerResult.cc create mode 100644 hbase/src/model/DeleteGlobalResourceRequest.cc create mode 100644 hbase/src/model/DeleteGlobalResourceResult.cc create mode 100644 hbase/src/model/DeleteHBaseSlbServerRequest.cc create mode 100644 hbase/src/model/DeleteHBaseSlbServerResult.cc create mode 100644 hbase/src/model/DescribeBackupPolicyRequest.cc create mode 100644 hbase/src/model/DescribeBackupPolicyResult.cc create mode 100644 hbase/src/model/DescribeBackupsRequest.cc create mode 100644 hbase/src/model/DescribeBackupsResult.cc create mode 100644 hbase/src/model/DescribeColdStorageRequest.cc create mode 100644 hbase/src/model/DescribeColdStorageResult.cc create mode 100644 hbase/src/model/DescribeSubDomainRequest.cc create mode 100644 hbase/src/model/DescribeSubDomainResult.cc create mode 100644 hbase/src/model/GetMultimodeCmsUrlRequest.cc create mode 100644 hbase/src/model/GetMultimodeCmsUrlResult.cc create mode 100644 hbase/src/model/ListHBaseInstancesRequest.cc create mode 100644 hbase/src/model/ListHBaseInstancesResult.cc create mode 100644 hbase/src/model/ListInstanceServiceConfigHistoriesRequest.cc create mode 100644 hbase/src/model/ListInstanceServiceConfigHistoriesResult.cc create mode 100644 hbase/src/model/ListInstanceServiceConfigurationsRequest.cc create mode 100644 hbase/src/model/ListInstanceServiceConfigurationsResult.cc create mode 100644 hbase/src/model/ModifyBackupPolicyRequest.cc create mode 100644 hbase/src/model/ModifyBackupPolicyResult.cc create mode 100644 hbase/src/model/ModifyInstanceServiceConfigRequest.cc create mode 100644 hbase/src/model/ModifyInstanceServiceConfigResult.cc create mode 100644 hbase/src/model/MoveResourceGroupRequest.cc create mode 100644 hbase/src/model/MoveResourceGroupResult.cc create mode 100644 hbase/src/model/OpenBackupRequest.cc create mode 100644 hbase/src/model/OpenBackupResult.cc create mode 100644 hbase/src/model/RelateDbForHBaseHaRequest.cc create mode 100644 hbase/src/model/RelateDbForHBaseHaResult.cc create mode 100644 hbase/src/model/ReleasePublicNetworkAddressRequest.cc create mode 100644 hbase/src/model/ReleasePublicNetworkAddressResult.cc diff --git a/CHANGELOG b/CHANGELOG index 234427357..4e660f765 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-12-23 Version: patch +- Add 2019 openapi. + 2020-12-23 Version: patch - Release DetectPedestrianIntrusion. diff --git a/hbase/CMakeLists.txt b/hbase/CMakeLists.txt index 89b4c179d..2aa5d69cb 100644 --- a/hbase/CMakeLists.txt +++ b/hbase/CMakeLists.txt @@ -23,12 +23,22 @@ set(hbase_public_header set(hbase_public_header_model include/alibabacloud/hbase/model/AddUserHdfsInfoRequest.h include/alibabacloud/hbase/model/AddUserHdfsInfoResult.h + include/alibabacloud/hbase/model/AllocatePublicNetworkAddressRequest.h + include/alibabacloud/hbase/model/AllocatePublicNetworkAddressResult.h + include/alibabacloud/hbase/model/CheckComponentsVersionRequest.h + include/alibabacloud/hbase/model/CheckComponentsVersionResult.h + include/alibabacloud/hbase/model/CloseBackupRequest.h + include/alibabacloud/hbase/model/CloseBackupResult.h include/alibabacloud/hbase/model/ConvertInstanceRequest.h include/alibabacloud/hbase/model/ConvertInstanceResult.h include/alibabacloud/hbase/model/CreateBackupPlanRequest.h include/alibabacloud/hbase/model/CreateBackupPlanResult.h include/alibabacloud/hbase/model/CreateClusterRequest.h include/alibabacloud/hbase/model/CreateClusterResult.h + include/alibabacloud/hbase/model/CreateGlobalResourceRequest.h + include/alibabacloud/hbase/model/CreateGlobalResourceResult.h + include/alibabacloud/hbase/model/CreateHBaseSlbServerRequest.h + include/alibabacloud/hbase/model/CreateHBaseSlbServerResult.h include/alibabacloud/hbase/model/CreateHbaseHaSlbRequest.h include/alibabacloud/hbase/model/CreateHbaseHaSlbResult.h include/alibabacloud/hbase/model/CreateMultiZoneClusterRequest.h @@ -37,8 +47,12 @@ set(hbase_public_header_model include/alibabacloud/hbase/model/CreateRestorePlanResult.h include/alibabacloud/hbase/model/CreateServerlessClusterRequest.h include/alibabacloud/hbase/model/CreateServerlessClusterResult.h + include/alibabacloud/hbase/model/DeleteGlobalResourceRequest.h + include/alibabacloud/hbase/model/DeleteGlobalResourceResult.h include/alibabacloud/hbase/model/DeleteHBaseHaDBRequest.h include/alibabacloud/hbase/model/DeleteHBaseHaDBResult.h + include/alibabacloud/hbase/model/DeleteHBaseSlbServerRequest.h + include/alibabacloud/hbase/model/DeleteHBaseSlbServerResult.h include/alibabacloud/hbase/model/DeleteHbaseHaSlbRequest.h include/alibabacloud/hbase/model/DeleteHbaseHaSlbResult.h include/alibabacloud/hbase/model/DeleteInstanceRequest.h @@ -53,14 +67,20 @@ set(hbase_public_header_model include/alibabacloud/hbase/model/DescribeAvailableResourceResult.h include/alibabacloud/hbase/model/DescribeBackupPlanConfigRequest.h include/alibabacloud/hbase/model/DescribeBackupPlanConfigResult.h + include/alibabacloud/hbase/model/DescribeBackupPolicyRequest.h + include/alibabacloud/hbase/model/DescribeBackupPolicyResult.h include/alibabacloud/hbase/model/DescribeBackupStatusRequest.h include/alibabacloud/hbase/model/DescribeBackupStatusResult.h include/alibabacloud/hbase/model/DescribeBackupSummaryRequest.h include/alibabacloud/hbase/model/DescribeBackupSummaryResult.h include/alibabacloud/hbase/model/DescribeBackupTablesRequest.h include/alibabacloud/hbase/model/DescribeBackupTablesResult.h + include/alibabacloud/hbase/model/DescribeBackupsRequest.h + include/alibabacloud/hbase/model/DescribeBackupsResult.h include/alibabacloud/hbase/model/DescribeClusterConnectionRequest.h include/alibabacloud/hbase/model/DescribeClusterConnectionResult.h + include/alibabacloud/hbase/model/DescribeColdStorageRequest.h + include/alibabacloud/hbase/model/DescribeColdStorageResult.h include/alibabacloud/hbase/model/DescribeDBInstanceUsageRequest.h include/alibabacloud/hbase/model/DescribeDBInstanceUsageResult.h include/alibabacloud/hbase/model/DescribeDeletedInstancesRequest.h @@ -99,18 +119,30 @@ set(hbase_public_header_model include/alibabacloud/hbase/model/DescribeRestoreTablesResult.h include/alibabacloud/hbase/model/DescribeSecurityGroupsRequest.h include/alibabacloud/hbase/model/DescribeSecurityGroupsResult.h + include/alibabacloud/hbase/model/DescribeSubDomainRequest.h + include/alibabacloud/hbase/model/DescribeSubDomainResult.h include/alibabacloud/hbase/model/EnableHBaseueBackupRequest.h include/alibabacloud/hbase/model/EnableHBaseueBackupResult.h include/alibabacloud/hbase/model/EnableHBaseueModuleRequest.h include/alibabacloud/hbase/model/EnableHBaseueModuleResult.h include/alibabacloud/hbase/model/EvaluateMultiZoneResourceRequest.h include/alibabacloud/hbase/model/EvaluateMultiZoneResourceResult.h + include/alibabacloud/hbase/model/GetMultimodeCmsUrlRequest.h + include/alibabacloud/hbase/model/GetMultimodeCmsUrlResult.h + include/alibabacloud/hbase/model/ListHBaseInstancesRequest.h + include/alibabacloud/hbase/model/ListHBaseInstancesResult.h + include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesRequest.h + include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesResult.h + include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsRequest.h + include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsResult.h include/alibabacloud/hbase/model/ListTagResourcesRequest.h include/alibabacloud/hbase/model/ListTagResourcesResult.h include/alibabacloud/hbase/model/ListTagsRequest.h include/alibabacloud/hbase/model/ListTagsResult.h include/alibabacloud/hbase/model/ModifyBackupPlanConfigRequest.h include/alibabacloud/hbase/model/ModifyBackupPlanConfigResult.h + include/alibabacloud/hbase/model/ModifyBackupPolicyRequest.h + include/alibabacloud/hbase/model/ModifyBackupPolicyResult.h include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionRequest.h include/alibabacloud/hbase/model/ModifyClusterDeletionProtectionResult.h include/alibabacloud/hbase/model/ModifyDiskWarningLineRequest.h @@ -119,6 +151,8 @@ set(hbase_public_header_model include/alibabacloud/hbase/model/ModifyInstanceMaintainTimeResult.h include/alibabacloud/hbase/model/ModifyInstanceNameRequest.h include/alibabacloud/hbase/model/ModifyInstanceNameResult.h + include/alibabacloud/hbase/model/ModifyInstanceServiceConfigRequest.h + include/alibabacloud/hbase/model/ModifyInstanceServiceConfigResult.h include/alibabacloud/hbase/model/ModifyInstanceTypeRequest.h include/alibabacloud/hbase/model/ModifyInstanceTypeResult.h include/alibabacloud/hbase/model/ModifyIpWhitelistRequest.h @@ -129,12 +163,20 @@ set(hbase_public_header_model include/alibabacloud/hbase/model/ModifySecurityGroupsResult.h include/alibabacloud/hbase/model/ModifyUIAccountPasswordRequest.h include/alibabacloud/hbase/model/ModifyUIAccountPasswordResult.h + include/alibabacloud/hbase/model/MoveResourceGroupRequest.h + include/alibabacloud/hbase/model/MoveResourceGroupResult.h + include/alibabacloud/hbase/model/OpenBackupRequest.h + include/alibabacloud/hbase/model/OpenBackupResult.h include/alibabacloud/hbase/model/PurgeInstanceRequest.h include/alibabacloud/hbase/model/PurgeInstanceResult.h include/alibabacloud/hbase/model/QueryHBaseHaDBRequest.h include/alibabacloud/hbase/model/QueryHBaseHaDBResult.h include/alibabacloud/hbase/model/QueryXpackRelateDBRequest.h include/alibabacloud/hbase/model/QueryXpackRelateDBResult.h + include/alibabacloud/hbase/model/RelateDbForHBaseHaRequest.h + include/alibabacloud/hbase/model/RelateDbForHBaseHaResult.h + include/alibabacloud/hbase/model/ReleasePublicNetworkAddressRequest.h + include/alibabacloud/hbase/model/ReleasePublicNetworkAddressResult.h include/alibabacloud/hbase/model/RenewInstanceRequest.h include/alibabacloud/hbase/model/RenewInstanceResult.h include/alibabacloud/hbase/model/ResizeColdStorageSizeRequest.h @@ -166,12 +208,22 @@ set(hbase_src src/HBaseClient.cc src/model/AddUserHdfsInfoRequest.cc src/model/AddUserHdfsInfoResult.cc + src/model/AllocatePublicNetworkAddressRequest.cc + src/model/AllocatePublicNetworkAddressResult.cc + src/model/CheckComponentsVersionRequest.cc + src/model/CheckComponentsVersionResult.cc + src/model/CloseBackupRequest.cc + src/model/CloseBackupResult.cc src/model/ConvertInstanceRequest.cc src/model/ConvertInstanceResult.cc src/model/CreateBackupPlanRequest.cc src/model/CreateBackupPlanResult.cc src/model/CreateClusterRequest.cc src/model/CreateClusterResult.cc + src/model/CreateGlobalResourceRequest.cc + src/model/CreateGlobalResourceResult.cc + src/model/CreateHBaseSlbServerRequest.cc + src/model/CreateHBaseSlbServerResult.cc src/model/CreateHbaseHaSlbRequest.cc src/model/CreateHbaseHaSlbResult.cc src/model/CreateMultiZoneClusterRequest.cc @@ -180,8 +232,12 @@ set(hbase_src src/model/CreateRestorePlanResult.cc src/model/CreateServerlessClusterRequest.cc src/model/CreateServerlessClusterResult.cc + src/model/DeleteGlobalResourceRequest.cc + src/model/DeleteGlobalResourceResult.cc src/model/DeleteHBaseHaDBRequest.cc src/model/DeleteHBaseHaDBResult.cc + src/model/DeleteHBaseSlbServerRequest.cc + src/model/DeleteHBaseSlbServerResult.cc src/model/DeleteHbaseHaSlbRequest.cc src/model/DeleteHbaseHaSlbResult.cc src/model/DeleteInstanceRequest.cc @@ -196,14 +252,20 @@ set(hbase_src src/model/DescribeAvailableResourceResult.cc src/model/DescribeBackupPlanConfigRequest.cc src/model/DescribeBackupPlanConfigResult.cc + src/model/DescribeBackupPolicyRequest.cc + src/model/DescribeBackupPolicyResult.cc src/model/DescribeBackupStatusRequest.cc src/model/DescribeBackupStatusResult.cc src/model/DescribeBackupSummaryRequest.cc src/model/DescribeBackupSummaryResult.cc src/model/DescribeBackupTablesRequest.cc src/model/DescribeBackupTablesResult.cc + src/model/DescribeBackupsRequest.cc + src/model/DescribeBackupsResult.cc src/model/DescribeClusterConnectionRequest.cc src/model/DescribeClusterConnectionResult.cc + src/model/DescribeColdStorageRequest.cc + src/model/DescribeColdStorageResult.cc src/model/DescribeDBInstanceUsageRequest.cc src/model/DescribeDBInstanceUsageResult.cc src/model/DescribeDeletedInstancesRequest.cc @@ -242,18 +304,30 @@ set(hbase_src src/model/DescribeRestoreTablesResult.cc src/model/DescribeSecurityGroupsRequest.cc src/model/DescribeSecurityGroupsResult.cc + src/model/DescribeSubDomainRequest.cc + src/model/DescribeSubDomainResult.cc src/model/EnableHBaseueBackupRequest.cc src/model/EnableHBaseueBackupResult.cc src/model/EnableHBaseueModuleRequest.cc src/model/EnableHBaseueModuleResult.cc src/model/EvaluateMultiZoneResourceRequest.cc src/model/EvaluateMultiZoneResourceResult.cc + src/model/GetMultimodeCmsUrlRequest.cc + src/model/GetMultimodeCmsUrlResult.cc + src/model/ListHBaseInstancesRequest.cc + src/model/ListHBaseInstancesResult.cc + src/model/ListInstanceServiceConfigHistoriesRequest.cc + src/model/ListInstanceServiceConfigHistoriesResult.cc + src/model/ListInstanceServiceConfigurationsRequest.cc + src/model/ListInstanceServiceConfigurationsResult.cc src/model/ListTagResourcesRequest.cc src/model/ListTagResourcesResult.cc src/model/ListTagsRequest.cc src/model/ListTagsResult.cc src/model/ModifyBackupPlanConfigRequest.cc src/model/ModifyBackupPlanConfigResult.cc + src/model/ModifyBackupPolicyRequest.cc + src/model/ModifyBackupPolicyResult.cc src/model/ModifyClusterDeletionProtectionRequest.cc src/model/ModifyClusterDeletionProtectionResult.cc src/model/ModifyDiskWarningLineRequest.cc @@ -262,6 +336,8 @@ set(hbase_src src/model/ModifyInstanceMaintainTimeResult.cc src/model/ModifyInstanceNameRequest.cc src/model/ModifyInstanceNameResult.cc + src/model/ModifyInstanceServiceConfigRequest.cc + src/model/ModifyInstanceServiceConfigResult.cc src/model/ModifyInstanceTypeRequest.cc src/model/ModifyInstanceTypeResult.cc src/model/ModifyIpWhitelistRequest.cc @@ -272,12 +348,20 @@ set(hbase_src src/model/ModifySecurityGroupsResult.cc src/model/ModifyUIAccountPasswordRequest.cc src/model/ModifyUIAccountPasswordResult.cc + src/model/MoveResourceGroupRequest.cc + src/model/MoveResourceGroupResult.cc + src/model/OpenBackupRequest.cc + src/model/OpenBackupResult.cc src/model/PurgeInstanceRequest.cc src/model/PurgeInstanceResult.cc src/model/QueryHBaseHaDBRequest.cc src/model/QueryHBaseHaDBResult.cc src/model/QueryXpackRelateDBRequest.cc src/model/QueryXpackRelateDBResult.cc + src/model/RelateDbForHBaseHaRequest.cc + src/model/RelateDbForHBaseHaResult.cc + src/model/ReleasePublicNetworkAddressRequest.cc + src/model/ReleasePublicNetworkAddressResult.cc src/model/RenewInstanceRequest.cc src/model/RenewInstanceResult.cc src/model/ResizeColdStorageSizeRequest.cc diff --git a/hbase/include/alibabacloud/hbase/HBaseClient.h b/hbase/include/alibabacloud/hbase/HBaseClient.h index df9bff248..8ae185238 100644 --- a/hbase/include/alibabacloud/hbase/HBaseClient.h +++ b/hbase/include/alibabacloud/hbase/HBaseClient.h @@ -24,12 +24,22 @@ #include "HBaseExport.h" #include "model/AddUserHdfsInfoRequest.h" #include "model/AddUserHdfsInfoResult.h" +#include "model/AllocatePublicNetworkAddressRequest.h" +#include "model/AllocatePublicNetworkAddressResult.h" +#include "model/CheckComponentsVersionRequest.h" +#include "model/CheckComponentsVersionResult.h" +#include "model/CloseBackupRequest.h" +#include "model/CloseBackupResult.h" #include "model/ConvertInstanceRequest.h" #include "model/ConvertInstanceResult.h" #include "model/CreateBackupPlanRequest.h" #include "model/CreateBackupPlanResult.h" #include "model/CreateClusterRequest.h" #include "model/CreateClusterResult.h" +#include "model/CreateGlobalResourceRequest.h" +#include "model/CreateGlobalResourceResult.h" +#include "model/CreateHBaseSlbServerRequest.h" +#include "model/CreateHBaseSlbServerResult.h" #include "model/CreateHbaseHaSlbRequest.h" #include "model/CreateHbaseHaSlbResult.h" #include "model/CreateMultiZoneClusterRequest.h" @@ -38,8 +48,12 @@ #include "model/CreateRestorePlanResult.h" #include "model/CreateServerlessClusterRequest.h" #include "model/CreateServerlessClusterResult.h" +#include "model/DeleteGlobalResourceRequest.h" +#include "model/DeleteGlobalResourceResult.h" #include "model/DeleteHBaseHaDBRequest.h" #include "model/DeleteHBaseHaDBResult.h" +#include "model/DeleteHBaseSlbServerRequest.h" +#include "model/DeleteHBaseSlbServerResult.h" #include "model/DeleteHbaseHaSlbRequest.h" #include "model/DeleteHbaseHaSlbResult.h" #include "model/DeleteInstanceRequest.h" @@ -54,14 +68,20 @@ #include "model/DescribeAvailableResourceResult.h" #include "model/DescribeBackupPlanConfigRequest.h" #include "model/DescribeBackupPlanConfigResult.h" +#include "model/DescribeBackupPolicyRequest.h" +#include "model/DescribeBackupPolicyResult.h" #include "model/DescribeBackupStatusRequest.h" #include "model/DescribeBackupStatusResult.h" #include "model/DescribeBackupSummaryRequest.h" #include "model/DescribeBackupSummaryResult.h" #include "model/DescribeBackupTablesRequest.h" #include "model/DescribeBackupTablesResult.h" +#include "model/DescribeBackupsRequest.h" +#include "model/DescribeBackupsResult.h" #include "model/DescribeClusterConnectionRequest.h" #include "model/DescribeClusterConnectionResult.h" +#include "model/DescribeColdStorageRequest.h" +#include "model/DescribeColdStorageResult.h" #include "model/DescribeDBInstanceUsageRequest.h" #include "model/DescribeDBInstanceUsageResult.h" #include "model/DescribeDeletedInstancesRequest.h" @@ -100,18 +120,30 @@ #include "model/DescribeRestoreTablesResult.h" #include "model/DescribeSecurityGroupsRequest.h" #include "model/DescribeSecurityGroupsResult.h" +#include "model/DescribeSubDomainRequest.h" +#include "model/DescribeSubDomainResult.h" #include "model/EnableHBaseueBackupRequest.h" #include "model/EnableHBaseueBackupResult.h" #include "model/EnableHBaseueModuleRequest.h" #include "model/EnableHBaseueModuleResult.h" #include "model/EvaluateMultiZoneResourceRequest.h" #include "model/EvaluateMultiZoneResourceResult.h" +#include "model/GetMultimodeCmsUrlRequest.h" +#include "model/GetMultimodeCmsUrlResult.h" +#include "model/ListHBaseInstancesRequest.h" +#include "model/ListHBaseInstancesResult.h" +#include "model/ListInstanceServiceConfigHistoriesRequest.h" +#include "model/ListInstanceServiceConfigHistoriesResult.h" +#include "model/ListInstanceServiceConfigurationsRequest.h" +#include "model/ListInstanceServiceConfigurationsResult.h" #include "model/ListTagResourcesRequest.h" #include "model/ListTagResourcesResult.h" #include "model/ListTagsRequest.h" #include "model/ListTagsResult.h" #include "model/ModifyBackupPlanConfigRequest.h" #include "model/ModifyBackupPlanConfigResult.h" +#include "model/ModifyBackupPolicyRequest.h" +#include "model/ModifyBackupPolicyResult.h" #include "model/ModifyClusterDeletionProtectionRequest.h" #include "model/ModifyClusterDeletionProtectionResult.h" #include "model/ModifyDiskWarningLineRequest.h" @@ -120,6 +152,8 @@ #include "model/ModifyInstanceMaintainTimeResult.h" #include "model/ModifyInstanceNameRequest.h" #include "model/ModifyInstanceNameResult.h" +#include "model/ModifyInstanceServiceConfigRequest.h" +#include "model/ModifyInstanceServiceConfigResult.h" #include "model/ModifyInstanceTypeRequest.h" #include "model/ModifyInstanceTypeResult.h" #include "model/ModifyIpWhitelistRequest.h" @@ -130,12 +164,20 @@ #include "model/ModifySecurityGroupsResult.h" #include "model/ModifyUIAccountPasswordRequest.h" #include "model/ModifyUIAccountPasswordResult.h" +#include "model/MoveResourceGroupRequest.h" +#include "model/MoveResourceGroupResult.h" +#include "model/OpenBackupRequest.h" +#include "model/OpenBackupResult.h" #include "model/PurgeInstanceRequest.h" #include "model/PurgeInstanceResult.h" #include "model/QueryHBaseHaDBRequest.h" #include "model/QueryHBaseHaDBResult.h" #include "model/QueryXpackRelateDBRequest.h" #include "model/QueryXpackRelateDBResult.h" +#include "model/RelateDbForHBaseHaRequest.h" +#include "model/RelateDbForHBaseHaResult.h" +#include "model/ReleasePublicNetworkAddressRequest.h" +#include "model/ReleasePublicNetworkAddressResult.h" #include "model/RenewInstanceRequest.h" #include "model/RenewInstanceResult.h" #include "model/ResizeColdStorageSizeRequest.h" @@ -174,6 +216,15 @@ namespace AlibabaCloud typedef Outcome AddUserHdfsInfoOutcome; typedef std::future AddUserHdfsInfoOutcomeCallable; typedef std::function&)> AddUserHdfsInfoAsyncHandler; + typedef Outcome AllocatePublicNetworkAddressOutcome; + typedef std::future AllocatePublicNetworkAddressOutcomeCallable; + typedef std::function&)> AllocatePublicNetworkAddressAsyncHandler; + typedef Outcome CheckComponentsVersionOutcome; + typedef std::future CheckComponentsVersionOutcomeCallable; + typedef std::function&)> CheckComponentsVersionAsyncHandler; + typedef Outcome CloseBackupOutcome; + typedef std::future CloseBackupOutcomeCallable; + typedef std::function&)> CloseBackupAsyncHandler; typedef Outcome ConvertInstanceOutcome; typedef std::future ConvertInstanceOutcomeCallable; typedef std::function&)> ConvertInstanceAsyncHandler; @@ -183,6 +234,12 @@ namespace AlibabaCloud typedef Outcome CreateClusterOutcome; typedef std::future CreateClusterOutcomeCallable; typedef std::function&)> CreateClusterAsyncHandler; + typedef Outcome CreateGlobalResourceOutcome; + typedef std::future CreateGlobalResourceOutcomeCallable; + typedef std::function&)> CreateGlobalResourceAsyncHandler; + typedef Outcome CreateHBaseSlbServerOutcome; + typedef std::future CreateHBaseSlbServerOutcomeCallable; + typedef std::function&)> CreateHBaseSlbServerAsyncHandler; typedef Outcome CreateHbaseHaSlbOutcome; typedef std::future CreateHbaseHaSlbOutcomeCallable; typedef std::function&)> CreateHbaseHaSlbAsyncHandler; @@ -195,9 +252,15 @@ namespace AlibabaCloud typedef Outcome CreateServerlessClusterOutcome; typedef std::future CreateServerlessClusterOutcomeCallable; typedef std::function&)> CreateServerlessClusterAsyncHandler; + typedef Outcome DeleteGlobalResourceOutcome; + typedef std::future DeleteGlobalResourceOutcomeCallable; + typedef std::function&)> DeleteGlobalResourceAsyncHandler; typedef Outcome DeleteHBaseHaDBOutcome; typedef std::future DeleteHBaseHaDBOutcomeCallable; typedef std::function&)> DeleteHBaseHaDBAsyncHandler; + typedef Outcome DeleteHBaseSlbServerOutcome; + typedef std::future DeleteHBaseSlbServerOutcomeCallable; + typedef std::function&)> DeleteHBaseSlbServerAsyncHandler; typedef Outcome DeleteHbaseHaSlbOutcome; typedef std::future DeleteHbaseHaSlbOutcomeCallable; typedef std::function&)> DeleteHbaseHaSlbAsyncHandler; @@ -219,6 +282,9 @@ namespace AlibabaCloud typedef Outcome DescribeBackupPlanConfigOutcome; typedef std::future DescribeBackupPlanConfigOutcomeCallable; typedef std::function&)> DescribeBackupPlanConfigAsyncHandler; + typedef Outcome DescribeBackupPolicyOutcome; + typedef std::future DescribeBackupPolicyOutcomeCallable; + typedef std::function&)> DescribeBackupPolicyAsyncHandler; typedef Outcome DescribeBackupStatusOutcome; typedef std::future DescribeBackupStatusOutcomeCallable; typedef std::function&)> DescribeBackupStatusAsyncHandler; @@ -228,9 +294,15 @@ namespace AlibabaCloud typedef Outcome DescribeBackupTablesOutcome; typedef std::future DescribeBackupTablesOutcomeCallable; typedef std::function&)> DescribeBackupTablesAsyncHandler; + typedef Outcome DescribeBackupsOutcome; + typedef std::future DescribeBackupsOutcomeCallable; + typedef std::function&)> DescribeBackupsAsyncHandler; typedef Outcome DescribeClusterConnectionOutcome; typedef std::future DescribeClusterConnectionOutcomeCallable; typedef std::function&)> DescribeClusterConnectionAsyncHandler; + typedef Outcome DescribeColdStorageOutcome; + typedef std::future DescribeColdStorageOutcomeCallable; + typedef std::function&)> DescribeColdStorageAsyncHandler; typedef Outcome DescribeDBInstanceUsageOutcome; typedef std::future DescribeDBInstanceUsageOutcomeCallable; typedef std::function&)> DescribeDBInstanceUsageAsyncHandler; @@ -288,6 +360,9 @@ namespace AlibabaCloud typedef Outcome DescribeSecurityGroupsOutcome; typedef std::future DescribeSecurityGroupsOutcomeCallable; typedef std::function&)> DescribeSecurityGroupsAsyncHandler; + typedef Outcome DescribeSubDomainOutcome; + typedef std::future DescribeSubDomainOutcomeCallable; + typedef std::function&)> DescribeSubDomainAsyncHandler; typedef Outcome EnableHBaseueBackupOutcome; typedef std::future EnableHBaseueBackupOutcomeCallable; typedef std::function&)> EnableHBaseueBackupAsyncHandler; @@ -297,6 +372,18 @@ namespace AlibabaCloud typedef Outcome EvaluateMultiZoneResourceOutcome; typedef std::future EvaluateMultiZoneResourceOutcomeCallable; typedef std::function&)> EvaluateMultiZoneResourceAsyncHandler; + typedef Outcome GetMultimodeCmsUrlOutcome; + typedef std::future GetMultimodeCmsUrlOutcomeCallable; + typedef std::function&)> GetMultimodeCmsUrlAsyncHandler; + typedef Outcome ListHBaseInstancesOutcome; + typedef std::future ListHBaseInstancesOutcomeCallable; + typedef std::function&)> ListHBaseInstancesAsyncHandler; + typedef Outcome ListInstanceServiceConfigHistoriesOutcome; + typedef std::future ListInstanceServiceConfigHistoriesOutcomeCallable; + typedef std::function&)> ListInstanceServiceConfigHistoriesAsyncHandler; + typedef Outcome ListInstanceServiceConfigurationsOutcome; + typedef std::future ListInstanceServiceConfigurationsOutcomeCallable; + typedef std::function&)> ListInstanceServiceConfigurationsAsyncHandler; typedef Outcome ListTagResourcesOutcome; typedef std::future ListTagResourcesOutcomeCallable; typedef std::function&)> ListTagResourcesAsyncHandler; @@ -306,6 +393,9 @@ namespace AlibabaCloud typedef Outcome ModifyBackupPlanConfigOutcome; typedef std::future ModifyBackupPlanConfigOutcomeCallable; typedef std::function&)> ModifyBackupPlanConfigAsyncHandler; + typedef Outcome ModifyBackupPolicyOutcome; + typedef std::future ModifyBackupPolicyOutcomeCallable; + typedef std::function&)> ModifyBackupPolicyAsyncHandler; typedef Outcome ModifyClusterDeletionProtectionOutcome; typedef std::future ModifyClusterDeletionProtectionOutcomeCallable; typedef std::function&)> ModifyClusterDeletionProtectionAsyncHandler; @@ -318,6 +408,9 @@ namespace AlibabaCloud typedef Outcome ModifyInstanceNameOutcome; typedef std::future ModifyInstanceNameOutcomeCallable; typedef std::function&)> ModifyInstanceNameAsyncHandler; + typedef Outcome ModifyInstanceServiceConfigOutcome; + typedef std::future ModifyInstanceServiceConfigOutcomeCallable; + typedef std::function&)> ModifyInstanceServiceConfigAsyncHandler; typedef Outcome ModifyInstanceTypeOutcome; typedef std::future ModifyInstanceTypeOutcomeCallable; typedef std::function&)> ModifyInstanceTypeAsyncHandler; @@ -333,6 +426,12 @@ namespace AlibabaCloud typedef Outcome ModifyUIAccountPasswordOutcome; typedef std::future ModifyUIAccountPasswordOutcomeCallable; typedef std::function&)> ModifyUIAccountPasswordAsyncHandler; + typedef Outcome MoveResourceGroupOutcome; + typedef std::future MoveResourceGroupOutcomeCallable; + typedef std::function&)> MoveResourceGroupAsyncHandler; + typedef Outcome OpenBackupOutcome; + typedef std::future OpenBackupOutcomeCallable; + typedef std::function&)> OpenBackupAsyncHandler; typedef Outcome PurgeInstanceOutcome; typedef std::future PurgeInstanceOutcomeCallable; typedef std::function&)> PurgeInstanceAsyncHandler; @@ -342,6 +441,12 @@ namespace AlibabaCloud typedef Outcome QueryXpackRelateDBOutcome; typedef std::future QueryXpackRelateDBOutcomeCallable; typedef std::function&)> QueryXpackRelateDBAsyncHandler; + typedef Outcome RelateDbForHBaseHaOutcome; + typedef std::future RelateDbForHBaseHaOutcomeCallable; + typedef std::function&)> RelateDbForHBaseHaAsyncHandler; + typedef Outcome ReleasePublicNetworkAddressOutcome; + typedef std::future ReleasePublicNetworkAddressOutcomeCallable; + typedef std::function&)> ReleasePublicNetworkAddressAsyncHandler; typedef Outcome RenewInstanceOutcome; typedef std::future RenewInstanceOutcomeCallable; typedef std::function&)> RenewInstanceAsyncHandler; @@ -389,6 +494,15 @@ namespace AlibabaCloud AddUserHdfsInfoOutcome addUserHdfsInfo(const Model::AddUserHdfsInfoRequest &request)const; void addUserHdfsInfoAsync(const Model::AddUserHdfsInfoRequest& request, const AddUserHdfsInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddUserHdfsInfoOutcomeCallable addUserHdfsInfoCallable(const Model::AddUserHdfsInfoRequest& request) const; + AllocatePublicNetworkAddressOutcome allocatePublicNetworkAddress(const Model::AllocatePublicNetworkAddressRequest &request)const; + void allocatePublicNetworkAddressAsync(const Model::AllocatePublicNetworkAddressRequest& request, const AllocatePublicNetworkAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllocatePublicNetworkAddressOutcomeCallable allocatePublicNetworkAddressCallable(const Model::AllocatePublicNetworkAddressRequest& request) const; + CheckComponentsVersionOutcome checkComponentsVersion(const Model::CheckComponentsVersionRequest &request)const; + void checkComponentsVersionAsync(const Model::CheckComponentsVersionRequest& request, const CheckComponentsVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckComponentsVersionOutcomeCallable checkComponentsVersionCallable(const Model::CheckComponentsVersionRequest& request) const; + CloseBackupOutcome closeBackup(const Model::CloseBackupRequest &request)const; + void closeBackupAsync(const Model::CloseBackupRequest& request, const CloseBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CloseBackupOutcomeCallable closeBackupCallable(const Model::CloseBackupRequest& request) const; ConvertInstanceOutcome convertInstance(const Model::ConvertInstanceRequest &request)const; void convertInstanceAsync(const Model::ConvertInstanceRequest& request, const ConvertInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ConvertInstanceOutcomeCallable convertInstanceCallable(const Model::ConvertInstanceRequest& request) const; @@ -398,6 +512,12 @@ namespace AlibabaCloud CreateClusterOutcome createCluster(const Model::CreateClusterRequest &request)const; void createClusterAsync(const Model::CreateClusterRequest& request, const CreateClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateClusterOutcomeCallable createClusterCallable(const Model::CreateClusterRequest& request) const; + CreateGlobalResourceOutcome createGlobalResource(const Model::CreateGlobalResourceRequest &request)const; + void createGlobalResourceAsync(const Model::CreateGlobalResourceRequest& request, const CreateGlobalResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateGlobalResourceOutcomeCallable createGlobalResourceCallable(const Model::CreateGlobalResourceRequest& request) const; + CreateHBaseSlbServerOutcome createHBaseSlbServer(const Model::CreateHBaseSlbServerRequest &request)const; + void createHBaseSlbServerAsync(const Model::CreateHBaseSlbServerRequest& request, const CreateHBaseSlbServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateHBaseSlbServerOutcomeCallable createHBaseSlbServerCallable(const Model::CreateHBaseSlbServerRequest& request) const; CreateHbaseHaSlbOutcome createHbaseHaSlb(const Model::CreateHbaseHaSlbRequest &request)const; void createHbaseHaSlbAsync(const Model::CreateHbaseHaSlbRequest& request, const CreateHbaseHaSlbAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateHbaseHaSlbOutcomeCallable createHbaseHaSlbCallable(const Model::CreateHbaseHaSlbRequest& request) const; @@ -410,9 +530,15 @@ namespace AlibabaCloud CreateServerlessClusterOutcome createServerlessCluster(const Model::CreateServerlessClusterRequest &request)const; void createServerlessClusterAsync(const Model::CreateServerlessClusterRequest& request, const CreateServerlessClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateServerlessClusterOutcomeCallable createServerlessClusterCallable(const Model::CreateServerlessClusterRequest& request) const; + DeleteGlobalResourceOutcome deleteGlobalResource(const Model::DeleteGlobalResourceRequest &request)const; + void deleteGlobalResourceAsync(const Model::DeleteGlobalResourceRequest& request, const DeleteGlobalResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteGlobalResourceOutcomeCallable deleteGlobalResourceCallable(const Model::DeleteGlobalResourceRequest& request) const; DeleteHBaseHaDBOutcome deleteHBaseHaDB(const Model::DeleteHBaseHaDBRequest &request)const; void deleteHBaseHaDBAsync(const Model::DeleteHBaseHaDBRequest& request, const DeleteHBaseHaDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteHBaseHaDBOutcomeCallable deleteHBaseHaDBCallable(const Model::DeleteHBaseHaDBRequest& request) const; + DeleteHBaseSlbServerOutcome deleteHBaseSlbServer(const Model::DeleteHBaseSlbServerRequest &request)const; + void deleteHBaseSlbServerAsync(const Model::DeleteHBaseSlbServerRequest& request, const DeleteHBaseSlbServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteHBaseSlbServerOutcomeCallable deleteHBaseSlbServerCallable(const Model::DeleteHBaseSlbServerRequest& request) const; DeleteHbaseHaSlbOutcome deleteHbaseHaSlb(const Model::DeleteHbaseHaSlbRequest &request)const; void deleteHbaseHaSlbAsync(const Model::DeleteHbaseHaSlbRequest& request, const DeleteHbaseHaSlbAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteHbaseHaSlbOutcomeCallable deleteHbaseHaSlbCallable(const Model::DeleteHbaseHaSlbRequest& request) const; @@ -434,6 +560,9 @@ namespace AlibabaCloud DescribeBackupPlanConfigOutcome describeBackupPlanConfig(const Model::DescribeBackupPlanConfigRequest &request)const; void describeBackupPlanConfigAsync(const Model::DescribeBackupPlanConfigRequest& request, const DescribeBackupPlanConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupPlanConfigOutcomeCallable describeBackupPlanConfigCallable(const Model::DescribeBackupPlanConfigRequest& request) const; + DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const; + void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupPolicyOutcomeCallable describeBackupPolicyCallable(const Model::DescribeBackupPolicyRequest& request) const; DescribeBackupStatusOutcome describeBackupStatus(const Model::DescribeBackupStatusRequest &request)const; void describeBackupStatusAsync(const Model::DescribeBackupStatusRequest& request, const DescribeBackupStatusAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupStatusOutcomeCallable describeBackupStatusCallable(const Model::DescribeBackupStatusRequest& request) const; @@ -443,9 +572,15 @@ namespace AlibabaCloud DescribeBackupTablesOutcome describeBackupTables(const Model::DescribeBackupTablesRequest &request)const; void describeBackupTablesAsync(const Model::DescribeBackupTablesRequest& request, const DescribeBackupTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupTablesOutcomeCallable describeBackupTablesCallable(const Model::DescribeBackupTablesRequest& request) const; + DescribeBackupsOutcome describeBackups(const Model::DescribeBackupsRequest &request)const; + void describeBackupsAsync(const Model::DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupsOutcomeCallable describeBackupsCallable(const Model::DescribeBackupsRequest& request) const; DescribeClusterConnectionOutcome describeClusterConnection(const Model::DescribeClusterConnectionRequest &request)const; void describeClusterConnectionAsync(const Model::DescribeClusterConnectionRequest& request, const DescribeClusterConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeClusterConnectionOutcomeCallable describeClusterConnectionCallable(const Model::DescribeClusterConnectionRequest& request) const; + DescribeColdStorageOutcome describeColdStorage(const Model::DescribeColdStorageRequest &request)const; + void describeColdStorageAsync(const Model::DescribeColdStorageRequest& request, const DescribeColdStorageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeColdStorageOutcomeCallable describeColdStorageCallable(const Model::DescribeColdStorageRequest& request) const; DescribeDBInstanceUsageOutcome describeDBInstanceUsage(const Model::DescribeDBInstanceUsageRequest &request)const; void describeDBInstanceUsageAsync(const Model::DescribeDBInstanceUsageRequest& request, const DescribeDBInstanceUsageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceUsageOutcomeCallable describeDBInstanceUsageCallable(const Model::DescribeDBInstanceUsageRequest& request) const; @@ -503,6 +638,9 @@ namespace AlibabaCloud DescribeSecurityGroupsOutcome describeSecurityGroups(const Model::DescribeSecurityGroupsRequest &request)const; void describeSecurityGroupsAsync(const Model::DescribeSecurityGroupsRequest& request, const DescribeSecurityGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityGroupsOutcomeCallable describeSecurityGroupsCallable(const Model::DescribeSecurityGroupsRequest& request) const; + DescribeSubDomainOutcome describeSubDomain(const Model::DescribeSubDomainRequest &request)const; + void describeSubDomainAsync(const Model::DescribeSubDomainRequest& request, const DescribeSubDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSubDomainOutcomeCallable describeSubDomainCallable(const Model::DescribeSubDomainRequest& request) const; EnableHBaseueBackupOutcome enableHBaseueBackup(const Model::EnableHBaseueBackupRequest &request)const; void enableHBaseueBackupAsync(const Model::EnableHBaseueBackupRequest& request, const EnableHBaseueBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EnableHBaseueBackupOutcomeCallable enableHBaseueBackupCallable(const Model::EnableHBaseueBackupRequest& request) const; @@ -512,6 +650,18 @@ namespace AlibabaCloud EvaluateMultiZoneResourceOutcome evaluateMultiZoneResource(const Model::EvaluateMultiZoneResourceRequest &request)const; void evaluateMultiZoneResourceAsync(const Model::EvaluateMultiZoneResourceRequest& request, const EvaluateMultiZoneResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; EvaluateMultiZoneResourceOutcomeCallable evaluateMultiZoneResourceCallable(const Model::EvaluateMultiZoneResourceRequest& request) const; + GetMultimodeCmsUrlOutcome getMultimodeCmsUrl(const Model::GetMultimodeCmsUrlRequest &request)const; + void getMultimodeCmsUrlAsync(const Model::GetMultimodeCmsUrlRequest& request, const GetMultimodeCmsUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetMultimodeCmsUrlOutcomeCallable getMultimodeCmsUrlCallable(const Model::GetMultimodeCmsUrlRequest& request) const; + ListHBaseInstancesOutcome listHBaseInstances(const Model::ListHBaseInstancesRequest &request)const; + void listHBaseInstancesAsync(const Model::ListHBaseInstancesRequest& request, const ListHBaseInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListHBaseInstancesOutcomeCallable listHBaseInstancesCallable(const Model::ListHBaseInstancesRequest& request) const; + ListInstanceServiceConfigHistoriesOutcome listInstanceServiceConfigHistories(const Model::ListInstanceServiceConfigHistoriesRequest &request)const; + void listInstanceServiceConfigHistoriesAsync(const Model::ListInstanceServiceConfigHistoriesRequest& request, const ListInstanceServiceConfigHistoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListInstanceServiceConfigHistoriesOutcomeCallable listInstanceServiceConfigHistoriesCallable(const Model::ListInstanceServiceConfigHistoriesRequest& request) const; + ListInstanceServiceConfigurationsOutcome listInstanceServiceConfigurations(const Model::ListInstanceServiceConfigurationsRequest &request)const; + void listInstanceServiceConfigurationsAsync(const Model::ListInstanceServiceConfigurationsRequest& request, const ListInstanceServiceConfigurationsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListInstanceServiceConfigurationsOutcomeCallable listInstanceServiceConfigurationsCallable(const Model::ListInstanceServiceConfigurationsRequest& request) const; ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const; void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const; @@ -521,6 +671,9 @@ namespace AlibabaCloud ModifyBackupPlanConfigOutcome modifyBackupPlanConfig(const Model::ModifyBackupPlanConfigRequest &request)const; void modifyBackupPlanConfigAsync(const Model::ModifyBackupPlanConfigRequest& request, const ModifyBackupPlanConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyBackupPlanConfigOutcomeCallable modifyBackupPlanConfigCallable(const Model::ModifyBackupPlanConfigRequest& request) const; + ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const; + void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const; ModifyClusterDeletionProtectionOutcome modifyClusterDeletionProtection(const Model::ModifyClusterDeletionProtectionRequest &request)const; void modifyClusterDeletionProtectionAsync(const Model::ModifyClusterDeletionProtectionRequest& request, const ModifyClusterDeletionProtectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyClusterDeletionProtectionOutcomeCallable modifyClusterDeletionProtectionCallable(const Model::ModifyClusterDeletionProtectionRequest& request) const; @@ -533,6 +686,9 @@ namespace AlibabaCloud ModifyInstanceNameOutcome modifyInstanceName(const Model::ModifyInstanceNameRequest &request)const; void modifyInstanceNameAsync(const Model::ModifyInstanceNameRequest& request, const ModifyInstanceNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceNameOutcomeCallable modifyInstanceNameCallable(const Model::ModifyInstanceNameRequest& request) const; + ModifyInstanceServiceConfigOutcome modifyInstanceServiceConfig(const Model::ModifyInstanceServiceConfigRequest &request)const; + void modifyInstanceServiceConfigAsync(const Model::ModifyInstanceServiceConfigRequest& request, const ModifyInstanceServiceConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyInstanceServiceConfigOutcomeCallable modifyInstanceServiceConfigCallable(const Model::ModifyInstanceServiceConfigRequest& request) const; ModifyInstanceTypeOutcome modifyInstanceType(const Model::ModifyInstanceTypeRequest &request)const; void modifyInstanceTypeAsync(const Model::ModifyInstanceTypeRequest& request, const ModifyInstanceTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceTypeOutcomeCallable modifyInstanceTypeCallable(const Model::ModifyInstanceTypeRequest& request) const; @@ -548,6 +704,12 @@ namespace AlibabaCloud ModifyUIAccountPasswordOutcome modifyUIAccountPassword(const Model::ModifyUIAccountPasswordRequest &request)const; void modifyUIAccountPasswordAsync(const Model::ModifyUIAccountPasswordRequest& request, const ModifyUIAccountPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyUIAccountPasswordOutcomeCallable modifyUIAccountPasswordCallable(const Model::ModifyUIAccountPasswordRequest& request) const; + MoveResourceGroupOutcome moveResourceGroup(const Model::MoveResourceGroupRequest &request)const; + void moveResourceGroupAsync(const Model::MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MoveResourceGroupOutcomeCallable moveResourceGroupCallable(const Model::MoveResourceGroupRequest& request) const; + OpenBackupOutcome openBackup(const Model::OpenBackupRequest &request)const; + void openBackupAsync(const Model::OpenBackupRequest& request, const OpenBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + OpenBackupOutcomeCallable openBackupCallable(const Model::OpenBackupRequest& request) const; PurgeInstanceOutcome purgeInstance(const Model::PurgeInstanceRequest &request)const; void purgeInstanceAsync(const Model::PurgeInstanceRequest& request, const PurgeInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PurgeInstanceOutcomeCallable purgeInstanceCallable(const Model::PurgeInstanceRequest& request) const; @@ -557,6 +719,12 @@ namespace AlibabaCloud QueryXpackRelateDBOutcome queryXpackRelateDB(const Model::QueryXpackRelateDBRequest &request)const; void queryXpackRelateDBAsync(const Model::QueryXpackRelateDBRequest& request, const QueryXpackRelateDBAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; QueryXpackRelateDBOutcomeCallable queryXpackRelateDBCallable(const Model::QueryXpackRelateDBRequest& request) const; + RelateDbForHBaseHaOutcome relateDbForHBaseHa(const Model::RelateDbForHBaseHaRequest &request)const; + void relateDbForHBaseHaAsync(const Model::RelateDbForHBaseHaRequest& request, const RelateDbForHBaseHaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RelateDbForHBaseHaOutcomeCallable relateDbForHBaseHaCallable(const Model::RelateDbForHBaseHaRequest& request) const; + ReleasePublicNetworkAddressOutcome releasePublicNetworkAddress(const Model::ReleasePublicNetworkAddressRequest &request)const; + void releasePublicNetworkAddressAsync(const Model::ReleasePublicNetworkAddressRequest& request, const ReleasePublicNetworkAddressAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ReleasePublicNetworkAddressOutcomeCallable releasePublicNetworkAddressCallable(const Model::ReleasePublicNetworkAddressRequest& request) const; RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const; void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const; diff --git a/hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressRequest.h b/hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressRequest.h new file mode 100644 index 000000000..572030202 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_ALLOCATEPUBLICNETWORKADDRESSREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_ALLOCATEPUBLICNETWORKADDRESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT AllocatePublicNetworkAddressRequest : public RpcServiceRequest + { + + public: + AllocatePublicNetworkAddressRequest(); + ~AllocatePublicNetworkAddressRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clientToken_; + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_ALLOCATEPUBLICNETWORKADDRESSREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressResult.h b/hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressResult.h new file mode 100644 index 000000000..61e230ecf --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/AllocatePublicNetworkAddressResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_ALLOCATEPUBLICNETWORKADDRESSRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_ALLOCATEPUBLICNETWORKADDRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT AllocatePublicNetworkAddressResult : public ServiceResult + { + public: + + + AllocatePublicNetworkAddressResult(); + explicit AllocatePublicNetworkAddressResult(const std::string &payload); + ~AllocatePublicNetworkAddressResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_ALLOCATEPUBLICNETWORKADDRESSRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CheckComponentsVersionRequest.h b/hbase/include/alibabacloud/hbase/model/CheckComponentsVersionRequest.h new file mode 100644 index 000000000..8c4e8e126 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CheckComponentsVersionRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_CHECKCOMPONENTSVERSIONREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_CHECKCOMPONENTSVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CheckComponentsVersionRequest : public RpcServiceRequest + { + + public: + CheckComponentsVersionRequest(); + ~CheckComponentsVersionRequest(); + + std::string getComponents()const; + void setComponents(const std::string& components); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string components_; + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CHECKCOMPONENTSVERSIONREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CheckComponentsVersionResult.h b/hbase/include/alibabacloud/hbase/model/CheckComponentsVersionResult.h new file mode 100644 index 000000000..dcef6c58a --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CheckComponentsVersionResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_CHECKCOMPONENTSVERSIONRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_CHECKCOMPONENTSVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CheckComponentsVersionResult : public ServiceResult + { + public: + struct Component + { + std::string isLatestVersion; + std::string component; + }; + + + CheckComponentsVersionResult(); + explicit CheckComponentsVersionResult(const std::string &payload); + ~CheckComponentsVersionResult(); + std::vector getComponents()const; + + protected: + void parse(const std::string &payload); + private: + std::vector components_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CHECKCOMPONENTSVERSIONRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CloseBackupRequest.h b/hbase/include/alibabacloud/hbase/model/CloseBackupRequest.h new file mode 100644 index 000000000..c8de6a84e --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CloseBackupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_CLOSEBACKUPREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_CLOSEBACKUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CloseBackupRequest : public RpcServiceRequest + { + + public: + CloseBackupRequest(); + ~CloseBackupRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CLOSEBACKUPREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CloseBackupResult.h b/hbase/include/alibabacloud/hbase/model/CloseBackupResult.h new file mode 100644 index 000000000..b5c34d978 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CloseBackupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_CLOSEBACKUPRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_CLOSEBACKUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CloseBackupResult : public ServiceResult + { + public: + + + CloseBackupResult(); + explicit CloseBackupResult(const std::string &payload); + ~CloseBackupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CLOSEBACKUPRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CreateClusterRequest.h b/hbase/include/alibabacloud/hbase/model/CreateClusterRequest.h index 29db1168e..efbd216e3 100644 --- a/hbase/include/alibabacloud/hbase/model/CreateClusterRequest.h +++ b/hbase/include/alibabacloud/hbase/model/CreateClusterRequest.h @@ -41,6 +41,8 @@ namespace AlibabaCloud void setClientToken(const std::string& clientToken); std::string getEngineVersion()const; void setEngineVersion(const std::string& engineVersion); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getEngine()const; @@ -78,6 +80,7 @@ namespace AlibabaCloud std::string clusterName_; std::string clientToken_; std::string engineVersion_; + std::string resourceGroupId_; std::string regionId_; std::string engine_; int autoRenewPeriod_; diff --git a/hbase/include/alibabacloud/hbase/model/CreateGlobalResourceRequest.h b/hbase/include/alibabacloud/hbase/model/CreateGlobalResourceRequest.h new file mode 100644 index 000000000..a248d202f --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CreateGlobalResourceRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_CREATEGLOBALRESOURCEREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_CREATEGLOBALRESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CreateGlobalResourceRequest : public RpcServiceRequest + { + + public: + CreateGlobalResourceRequest(); + ~CreateGlobalResourceRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getResourceName()const; + void setResourceName(const std::string& resourceName); + + private: + std::string clientToken_; + std::string clusterId_; + std::string resourceType_; + std::string resourceName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CREATEGLOBALRESOURCEREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CreateGlobalResourceResult.h b/hbase/include/alibabacloud/hbase/model/CreateGlobalResourceResult.h new file mode 100644 index 000000000..30caf0cc7 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CreateGlobalResourceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_CREATEGLOBALRESOURCERESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_CREATEGLOBALRESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CreateGlobalResourceResult : public ServiceResult + { + public: + + + CreateGlobalResourceResult(); + explicit CreateGlobalResourceResult(const std::string &payload); + ~CreateGlobalResourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CREATEGLOBALRESOURCERESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerRequest.h b/hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerRequest.h new file mode 100644 index 000000000..c9aa2cfed --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_CREATEHBASESLBSERVERREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_CREATEHBASESLBSERVERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CreateHBaseSlbServerRequest : public RpcServiceRequest + { + + public: + CreateHBaseSlbServerRequest(); + ~CreateHBaseSlbServerRequest(); + + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getSlbServer()const; + void setSlbServer(const std::string& slbServer); + + private: + std::string clientToken_; + std::string clusterId_; + std::string slbServer_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CREATEHBASESLBSERVERREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerResult.h b/hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerResult.h new file mode 100644 index 000000000..aa088e937 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/CreateHBaseSlbServerResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_CREATEHBASESLBSERVERRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_CREATEHBASESLBSERVERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT CreateHBaseSlbServerResult : public ServiceResult + { + public: + + + CreateHBaseSlbServerResult(); + explicit CreateHBaseSlbServerResult(const std::string &payload); + ~CreateHBaseSlbServerResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_CREATEHBASESLBSERVERRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/CreateMultiZoneClusterRequest.h b/hbase/include/alibabacloud/hbase/model/CreateMultiZoneClusterRequest.h index 2a1e772f9..f707cc342 100644 --- a/hbase/include/alibabacloud/hbase/model/CreateMultiZoneClusterRequest.h +++ b/hbase/include/alibabacloud/hbase/model/CreateMultiZoneClusterRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setEngineVersion(const std::string& engineVersion); std::string getLogDiskType()const; void setLogDiskType(const std::string& logDiskType); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getPrimaryVSwitchId()const; void setPrimaryVSwitchId(const std::string& primaryVSwitchId); std::string getLogInstanceType()const; @@ -97,6 +99,7 @@ namespace AlibabaCloud std::string clusterName_; std::string engineVersion_; std::string logDiskType_; + std::string resourceGroupId_; std::string primaryVSwitchId_; std::string logInstanceType_; int autoRenewPeriod_; diff --git a/hbase/include/alibabacloud/hbase/model/CreateServerlessClusterRequest.h b/hbase/include/alibabacloud/hbase/model/CreateServerlessClusterRequest.h index b135bf40a..2ab53be0c 100644 --- a/hbase/include/alibabacloud/hbase/model/CreateServerlessClusterRequest.h +++ b/hbase/include/alibabacloud/hbase/model/CreateServerlessClusterRequest.h @@ -43,6 +43,8 @@ namespace AlibabaCloud void setClientToken(const std::string& clientToken); std::string getEngineVersion()const; void setEngineVersion(const std::string& engineVersion); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getEngine()const; @@ -73,6 +75,7 @@ namespace AlibabaCloud std::string clusterName_; std::string clientToken_; std::string engineVersion_; + std::string resourceGroupId_; std::string regionId_; std::string engine_; int autoRenewPeriod_; diff --git a/hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceRequest.h b/hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceRequest.h new file mode 100644 index 000000000..252aad603 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DELETEGLOBALRESOURCEREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_DELETEGLOBALRESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DeleteGlobalResourceRequest : public RpcServiceRequest + { + + public: + DeleteGlobalResourceRequest(); + ~DeleteGlobalResourceRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getResourceType()const; + void setResourceType(const std::string& resourceType); + std::string getResourceName()const; + void setResourceName(const std::string& resourceName); + + private: + std::string clusterId_; + std::string resourceType_; + std::string resourceName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DELETEGLOBALRESOURCEREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceResult.h b/hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceResult.h new file mode 100644 index 000000000..6bc0c0562 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DeleteGlobalResourceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DELETEGLOBALRESOURCERESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_DELETEGLOBALRESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DeleteGlobalResourceResult : public ServiceResult + { + public: + + + DeleteGlobalResourceResult(); + explicit DeleteGlobalResourceResult(const std::string &payload); + ~DeleteGlobalResourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DELETEGLOBALRESOURCERESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerRequest.h b/hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerRequest.h new file mode 100644 index 000000000..2ae0ab151 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_DELETEHBASESLBSERVERREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_DELETEHBASESLBSERVERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DeleteHBaseSlbServerRequest : public RpcServiceRequest + { + + public: + DeleteHBaseSlbServerRequest(); + ~DeleteHBaseSlbServerRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getSlbServer()const; + void setSlbServer(const std::string& slbServer); + + private: + std::string clusterId_; + std::string slbServer_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DELETEHBASESLBSERVERREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerResult.h b/hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerResult.h new file mode 100644 index 000000000..57d4dc079 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DeleteHBaseSlbServerResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DELETEHBASESLBSERVERRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_DELETEHBASESLBSERVERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DeleteHBaseSlbServerResult : public ServiceResult + { + public: + + + DeleteHBaseSlbServerResult(); + explicit DeleteHBaseSlbServerResult(const std::string &payload); + ~DeleteHBaseSlbServerResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DELETEHBASESLBSERVERRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyRequest.h b/hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyRequest.h new file mode 100644 index 000000000..a9836fb36 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeBackupPolicyRequest : public RpcServiceRequest + { + + public: + DescribeBackupPolicyRequest(); + ~DescribeBackupPolicyRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyResult.h b/hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyResult.h new file mode 100644 index 000000000..899329184 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeBackupPolicyResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeBackupPolicyResult : public ServiceResult + { + public: + + + DescribeBackupPolicyResult(); + explicit DescribeBackupPolicyResult(const std::string &payload); + ~DescribeBackupPolicyResult(); + std::string getPreferredBackupPeriod()const; + std::string getPreferredBackupStartTimeUTC()const; + std::string getPreferredBackupEndTimeUTC()const; + std::string getPreferredBackupTime()const; + std::string getBackupRetentionPeriod()const; + + protected: + void parse(const std::string &payload); + private: + std::string preferredBackupPeriod_; + std::string preferredBackupStartTimeUTC_; + std::string preferredBackupEndTimeUTC_; + std::string preferredBackupTime_; + std::string backupRetentionPeriod_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeBackupsRequest.h b/hbase/include/alibabacloud/hbase/model/DescribeBackupsRequest.h new file mode 100644 index 000000000..8c4f8bd99 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeBackupsRequest.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DESCRIBEBACKUPSREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeBackupsRequest : public RpcServiceRequest + { + + public: + DescribeBackupsRequest(); + ~DescribeBackupsRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getPageNumber()const; + void setPageNumber(const std::string& pageNumber); + std::string getPageSize()const; + void setPageSize(const std::string& pageSize); + std::string getStartTimeUTC()const; + void setStartTimeUTC(const std::string& startTimeUTC); + std::string getBackupId()const; + void setBackupId(const std::string& backupId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getEndTimeUTC()const; + void setEndTimeUTC(const std::string& endTimeUTC); + + private: + std::string startTime_; + std::string pageNumber_; + std::string pageSize_; + std::string startTimeUTC_; + std::string backupId_; + std::string endTime_; + std::string clusterId_; + std::string endTimeUTC_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPSREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeBackupsResult.h b/hbase/include/alibabacloud/hbase/model/DescribeBackupsResult.h new file mode 100644 index 000000000..731fb12d0 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeBackupsResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DESCRIBEBACKUPSRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeBackupsResult : public ServiceResult + { + public: + struct Backup + { + std::string backupMethod; + std::string backupDownloadURL; + std::string backupEndTime; + std::string backupMode; + std::string backupSize; + std::string backupStartTime; + std::string backupEndTimeUTC; + int backupId; + std::string backupType; + std::string backupStartTimeUTC; + std::string backupDBNames; + std::string backupStatus; + }; + + + DescribeBackupsResult(); + explicit DescribeBackupsResult(const std::string &payload); + ~DescribeBackupsResult(); + int getTotalCount()const; + int getPageSize()const; + int getPageNumber()const; + std::string getEnableStatus()const; + std::vector getBackups()const; + + protected: + void parse(const std::string &payload); + private: + int totalCount_; + int pageSize_; + int pageNumber_; + std::string enableStatus_; + std::vector backups_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBEBACKUPSRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeColdStorageRequest.h b/hbase/include/alibabacloud/hbase/model/DescribeColdStorageRequest.h new file mode 100644 index 000000000..7a07e54f7 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeColdStorageRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBECOLDSTORAGEREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBECOLDSTORAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeColdStorageRequest : public RpcServiceRequest + { + + public: + DescribeColdStorageRequest(); + ~DescribeColdStorageRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBECOLDSTORAGEREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h b/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h new file mode 100644 index 000000000..4d9426bdb --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeColdStorageResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_DESCRIBECOLDSTORAGERESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBECOLDSTORAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeColdStorageResult : public ServiceResult + { + public: + + + DescribeColdStorageResult(); + explicit DescribeColdStorageResult(const std::string &payload); + ~DescribeColdStorageResult(); + std::string getColdStorageSize()const; + std::string getColdStorageUsePercent()const; + std::string getClusterId()const; + std::string getPayType()const; + std::string getOpenStatus()const; + + protected: + void parse(const std::string &payload); + private: + std::string coldStorageSize_; + std::string coldStorageUsePercent_; + std::string clusterId_; + std::string payType_; + std::string openStatus_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBECOLDSTORAGERESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h b/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h index 219369c6d..637f6e2b7 100644 --- a/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h +++ b/hbase/include/alibabacloud/hbase/model/DescribeInstanceResult.h @@ -45,6 +45,7 @@ namespace AlibabaCloud std::string getModuleStackVersion()const; bool getIsHa()const; std::string getCreatedTime()const; + std::string getResourceGroupId()const; std::string getMasterInstanceType()const; bool getIsDeletionProtection()const; bool getIsLatestVersion()const; @@ -92,6 +93,7 @@ namespace AlibabaCloud std::string moduleStackVersion_; bool isHa_; std::string createdTime_; + std::string resourceGroupId_; std::string masterInstanceType_; bool isDeletionProtection_; bool isLatestVersion_; diff --git a/hbase/include/alibabacloud/hbase/model/DescribeInstancesRequest.h b/hbase/include/alibabacloud/hbase/model/DescribeInstancesRequest.h index 56f0f59ca..e51566b38 100644 --- a/hbase/include/alibabacloud/hbase/model/DescribeInstancesRequest.h +++ b/hbase/include/alibabacloud/hbase/model/DescribeInstancesRequest.h @@ -45,6 +45,8 @@ namespace AlibabaCloud void setClusterName(const std::string& clusterName); int getPageNumber()const; void setPageNumber(int pageNumber); + std::string getResourceGroupId()const; + void setResourceGroupId(const std::string& resourceGroupId); std::string getRegionId()const; void setRegionId(const std::string& regionId); int getPageSize()const; @@ -57,6 +59,7 @@ namespace AlibabaCloud private: std::string clusterName_; int pageNumber_; + std::string resourceGroupId_; std::string regionId_; int pageSize_; std::vector tag_; diff --git a/hbase/include/alibabacloud/hbase/model/DescribeInstancesResult.h b/hbase/include/alibabacloud/hbase/model/DescribeInstancesResult.h index 0b16c95a5..250f35071 100644 --- a/hbase/include/alibabacloud/hbase/model/DescribeInstancesResult.h +++ b/hbase/include/alibabacloud/hbase/model/DescribeInstancesResult.h @@ -42,6 +42,7 @@ namespace AlibabaCloud std::string moduleStackVersion; bool isHa; std::string createdTime; + std::string resourceGroupId; std::string masterInstanceType; bool isDeletionProtection; int moduleId; diff --git a/hbase/include/alibabacloud/hbase/model/DescribeMultiZoneClusterResult.h b/hbase/include/alibabacloud/hbase/model/DescribeMultiZoneClusterResult.h index 75d4ef3ab..36e661e95 100644 --- a/hbase/include/alibabacloud/hbase/model/DescribeMultiZoneClusterResult.h +++ b/hbase/include/alibabacloud/hbase/model/DescribeMultiZoneClusterResult.h @@ -53,6 +53,7 @@ namespace AlibabaCloud std::string getModuleStackVersion()const; std::string getStandbyZoneId()const; std::string getCreatedTime()const; + std::string getResourceGroupId()const; std::string getMasterInstanceType()const; std::string getPrimaryVSwitchIds()const; bool getIsDeletionProtection()const; @@ -103,6 +104,7 @@ namespace AlibabaCloud std::string moduleStackVersion_; std::string standbyZoneId_; std::string createdTime_; + std::string resourceGroupId_; std::string masterInstanceType_; std::string primaryVSwitchIds_; bool isDeletionProtection_; diff --git a/hbase/include/alibabacloud/hbase/model/DescribeSubDomainRequest.h b/hbase/include/alibabacloud/hbase/model/DescribeSubDomainRequest.h new file mode 100644 index 000000000..e44abca18 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeSubDomainRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBESUBDOMAINREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBESUBDOMAINREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeSubDomainRequest : public RpcServiceRequest + { + + public: + DescribeSubDomainRequest(); + ~DescribeSubDomainRequest(); + + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getZoneId()const; + void setZoneId(const std::string& zoneId); + + private: + std::string regionId_; + std::string zoneId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBESUBDOMAINREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/DescribeSubDomainResult.h b/hbase/include/alibabacloud/hbase/model/DescribeSubDomainResult.h new file mode 100644 index 000000000..f4d65aae5 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/DescribeSubDomainResult.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_DESCRIBESUBDOMAINRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_DESCRIBESUBDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT DescribeSubDomainResult : public ServiceResult + { + public: + + + DescribeSubDomainResult(); + explicit DescribeSubDomainResult(const std::string &payload); + ~DescribeSubDomainResult(); + std::string getSubDomain()const; + + protected: + void parse(const std::string &payload); + private: + std::string subDomain_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_DESCRIBESUBDOMAINRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlRequest.h b/hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlRequest.h new file mode 100644 index 000000000..32da28b0a --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_GETMULTIMODECMSURLREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_GETMULTIMODECMSURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT GetMultimodeCmsUrlRequest : public RpcServiceRequest + { + + public: + GetMultimodeCmsUrlRequest(); + ~GetMultimodeCmsUrlRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + + private: + std::string clusterId_; + std::string regionId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_GETMULTIMODECMSURLREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlResult.h b/hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlResult.h new file mode 100644 index 000000000..e75c72e75 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/GetMultimodeCmsUrlResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_GETMULTIMODECMSURLRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_GETMULTIMODECMSURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT GetMultimodeCmsUrlResult : public ServiceResult + { + public: + + + GetMultimodeCmsUrlResult(); + explicit GetMultimodeCmsUrlResult(const std::string &payload); + ~GetMultimodeCmsUrlResult(); + std::string getClusterId()const; + std::string getMultimodCmsUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string clusterId_; + std::string multimodCmsUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_GETMULTIMODECMSURLRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ListHBaseInstancesRequest.h b/hbase/include/alibabacloud/hbase/model/ListHBaseInstancesRequest.h new file mode 100644 index 000000000..e971c48c3 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ListHBaseInstancesRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_LISTHBASEINSTANCESREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_LISTHBASEINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ListHBaseInstancesRequest : public RpcServiceRequest + { + + public: + ListHBaseInstancesRequest(); + ~ListHBaseInstancesRequest(); + + std::string getVpcId()const; + void setVpcId(const std::string& vpcId); + + private: + std::string vpcId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_LISTHBASEINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ListHBaseInstancesResult.h b/hbase/include/alibabacloud/hbase/model/ListHBaseInstancesResult.h new file mode 100644 index 000000000..752625696 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ListHBaseInstancesResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_LISTHBASEINSTANCESRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_LISTHBASEINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ListHBaseInstancesResult : public ServiceResult + { + public: + struct Instance + { + std::string instanceName; + bool isDefault; + std::string instanceId; + }; + + + ListHBaseInstancesResult(); + explicit ListHBaseInstancesResult(const std::string &payload); + ~ListHBaseInstancesResult(); + std::vector getInstances()const; + + protected: + void parse(const std::string &payload); + private: + std::vector instances_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_LISTHBASEINSTANCESRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesRequest.h b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesRequest.h new file mode 100644 index 000000000..7c80d56fd --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_LISTINSTANCESERVICECONFIGHISTORIESREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGHISTORIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ListInstanceServiceConfigHistoriesRequest : public RpcServiceRequest + { + + public: + ListInstanceServiceConfigHistoriesRequest(); + ~ListInstanceServiceConfigHistoriesRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string clusterId_; + int pageNumber_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGHISTORIESREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesResult.h b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesResult.h new file mode 100644 index 000000000..d35ff9a44 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigHistoriesResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_LISTINSTANCESERVICECONFIGHISTORIESRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGHISTORIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ListInstanceServiceConfigHistoriesResult : public ServiceResult + { + public: + struct Config + { + std::string oldValue; + std::string createTime; + std::string configureName; + std::string newValue; + std::string effective; + }; + + + ListInstanceServiceConfigHistoriesResult(); + explicit ListInstanceServiceConfigHistoriesResult(const std::string &payload); + ~ListInstanceServiceConfigHistoriesResult(); + long getTotalRecordCount()const; + int getPageRecordCount()const; + int getPageNumber()const; + std::vector getConfigureHistoryList()const; + + protected: + void parse(const std::string &payload); + private: + long totalRecordCount_; + int pageRecordCount_; + int pageNumber_; + std::vector configureHistoryList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGHISTORIESRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsRequest.h b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsRequest.h new file mode 100644 index 000000000..5af6bcdae --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_LISTINSTANCESERVICECONFIGURATIONSREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGURATIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ListInstanceServiceConfigurationsRequest : public RpcServiceRequest + { + + public: + ListInstanceServiceConfigurationsRequest(); + ~ListInstanceServiceConfigurationsRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + int getPageSize()const; + void setPageSize(int pageSize); + + private: + std::string clusterId_; + int pageNumber_; + int pageSize_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGURATIONSREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsResult.h b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsResult.h new file mode 100644 index 000000000..858b13ce3 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ListInstanceServiceConfigurationsResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_LISTINSTANCESERVICECONFIGURATIONSRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGURATIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ListInstanceServiceConfigurationsResult : public ServiceResult + { + public: + struct Config + { + std::string valueRange; + std::string defaultValue; + std::string description; + std::string configureUnit; + std::string configureName; + std::string needRestart; + std::string runningValue; + }; + + + ListInstanceServiceConfigurationsResult(); + explicit ListInstanceServiceConfigurationsResult(const std::string &payload); + ~ListInstanceServiceConfigurationsResult(); + long getTotalRecordCount()const; + int getPageRecordCount()const; + int getPageNumber()const; + std::vector getConfigureList()const; + + protected: + void parse(const std::string &payload); + private: + long totalRecordCount_; + int pageRecordCount_; + int pageNumber_; + std::vector configureList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_LISTINSTANCESERVICECONFIGURATIONSRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyRequest.h b/hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyRequest.h new file mode 100644 index 000000000..94c2298e1 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ModifyBackupPolicyRequest : public RpcServiceRequest + { + + public: + ModifyBackupPolicyRequest(); + ~ModifyBackupPolicyRequest(); + + std::string getPreferredBackupEndTimeUTC()const; + void setPreferredBackupEndTimeUTC(const std::string& preferredBackupEndTimeUTC); + std::string getPreferredBackupStartTimeUTC()const; + void setPreferredBackupStartTimeUTC(const std::string& preferredBackupStartTimeUTC); + std::string getPreferredBackupPeriod()const; + void setPreferredBackupPeriod(const std::string& preferredBackupPeriod); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getPreferredBackupTime()const; + void setPreferredBackupTime(const std::string& preferredBackupTime); + + private: + std::string preferredBackupEndTimeUTC_; + std::string preferredBackupStartTimeUTC_; + std::string preferredBackupPeriod_; + std::string clusterId_; + std::string preferredBackupTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyResult.h b/hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyResult.h new file mode 100644 index 000000000..6d77598c8 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ModifyBackupPolicyResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_MODIFYBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_MODIFYBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ModifyBackupPolicyResult : public ServiceResult + { + public: + + + ModifyBackupPolicyResult(); + explicit ModifyBackupPolicyResult(const std::string &payload); + ~ModifyBackupPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigRequest.h b/hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigRequest.h new file mode 100644 index 000000000..408b7c2c5 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_MODIFYINSTANCESERVICECONFIGREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCESERVICECONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ModifyInstanceServiceConfigRequest : public RpcServiceRequest + { + + public: + ModifyInstanceServiceConfigRequest(); + ~ModifyInstanceServiceConfigRequest(); + + std::string getConfigureName()const; + void setConfigureName(const std::string& configureName); + bool getRestart()const; + void setRestart(bool restart); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getConfigureValue()const; + void setConfigureValue(const std::string& configureValue); + std::string getParameters()const; + void setParameters(const std::string& parameters); + + private: + std::string configureName_; + bool restart_; + std::string clusterId_; + std::string configureValue_; + std::string parameters_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCESERVICECONFIGREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigResult.h b/hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigResult.h new file mode 100644 index 000000000..5b56cd599 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ModifyInstanceServiceConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_MODIFYINSTANCESERVICECONFIGRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCESERVICECONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ModifyInstanceServiceConfigResult : public ServiceResult + { + public: + + + ModifyInstanceServiceConfigResult(); + explicit ModifyInstanceServiceConfigResult(const std::string &payload); + ~ModifyInstanceServiceConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_MODIFYINSTANCESERVICECONFIGRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/MoveResourceGroupRequest.h b/hbase/include/alibabacloud/hbase/model/MoveResourceGroupRequest.h new file mode 100644 index 000000000..b90d70413 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/MoveResourceGroupRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_MOVERESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_MOVERESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT MoveResourceGroupRequest : public RpcServiceRequest + { + + public: + MoveResourceGroupRequest(); + ~MoveResourceGroupRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getNewResourceGroupId()const; + void setNewResourceGroupId(const std::string& newResourceGroupId); + + private: + std::string clusterId_; + std::string newResourceGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_MOVERESOURCEGROUPREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/MoveResourceGroupResult.h b/hbase/include/alibabacloud/hbase/model/MoveResourceGroupResult.h new file mode 100644 index 000000000..e6c465fb7 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/MoveResourceGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_MOVERESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_MOVERESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT MoveResourceGroupResult : public ServiceResult + { + public: + + + MoveResourceGroupResult(); + explicit MoveResourceGroupResult(const std::string &payload); + ~MoveResourceGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_MOVERESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/OpenBackupRequest.h b/hbase/include/alibabacloud/hbase/model/OpenBackupRequest.h new file mode 100644 index 000000000..f61bcae1b --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/OpenBackupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_OPENBACKUPREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_OPENBACKUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT OpenBackupRequest : public RpcServiceRequest + { + + public: + OpenBackupRequest(); + ~OpenBackupRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_OPENBACKUPREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/OpenBackupResult.h b/hbase/include/alibabacloud/hbase/model/OpenBackupResult.h new file mode 100644 index 000000000..44e41b19d --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/OpenBackupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_OPENBACKUPRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_OPENBACKUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT OpenBackupResult : public ServiceResult + { + public: + + + OpenBackupResult(); + explicit OpenBackupResult(const std::string &payload); + ~OpenBackupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_OPENBACKUPRESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaRequest.h b/hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaRequest.h new file mode 100644 index 000000000..a17125d87 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaRequest.h @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_RELATEDBFORHBASEHAREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_RELATEDBFORHBASEHAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT RelateDbForHBaseHaRequest : public RpcServiceRequest + { + + public: + RelateDbForHBaseHaRequest(); + ~RelateDbForHBaseHaRequest(); + + std::string getHaMigrateType()const; + void setHaMigrateType(const std::string& haMigrateType); + std::string getHaActiveHdfsUri()const; + void setHaActiveHdfsUri(const std::string& haActiveHdfsUri); + std::string getHaStandbyVersion()const; + void setHaStandbyVersion(const std::string& haStandbyVersion); + bool getIsStandbyStandard()const; + void setIsStandbyStandard(bool isStandbyStandard); + std::string getHaActiveClusterKey()const; + void setHaActiveClusterKey(const std::string& haActiveClusterKey); + std::string getHaStandbyPassword()const; + void setHaStandbyPassword(const std::string& haStandbyPassword); + std::string getHaStandbyClusterKey()const; + void setHaStandbyClusterKey(const std::string& haStandbyClusterKey); + std::string getHaStandbyHbaseFsDir()const; + void setHaStandbyHbaseFsDir(const std::string& haStandbyHbaseFsDir); + std::string getHaActiveHbaseFsDir()const; + void setHaActiveHbaseFsDir(const std::string& haActiveHbaseFsDir); + std::string getHaActiveDBType()const; + void setHaActiveDBType(const std::string& haActiveDBType); + std::string getHaActivePassword()const; + void setHaActivePassword(const std::string& haActivePassword); + bool getIsActiveStandard()const; + void setIsActiveStandard(bool isActiveStandard); + std::string getHaStandbyUser()const; + void setHaStandbyUser(const std::string& haStandbyUser); + std::string getHaActive()const; + void setHaActive(const std::string& haActive); + std::string getHaStandby()const; + void setHaStandby(const std::string& haStandby); + std::string getHaStandbyHdfsUri()const; + void setHaStandbyHdfsUri(const std::string& haStandbyHdfsUri); + std::string getHaActiveVersion()const; + void setHaActiveVersion(const std::string& haActiveVersion); + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + std::string getHaStandbyDBType()const; + void setHaStandbyDBType(const std::string& haStandbyDBType); + std::string getHaTables()const; + void setHaTables(const std::string& haTables); + std::string getHaActiveUser()const; + void setHaActiveUser(const std::string& haActiveUser); + + private: + std::string haMigrateType_; + std::string haActiveHdfsUri_; + std::string haStandbyVersion_; + bool isStandbyStandard_; + std::string haActiveClusterKey_; + std::string haStandbyPassword_; + std::string haStandbyClusterKey_; + std::string haStandbyHbaseFsDir_; + std::string haActiveHbaseFsDir_; + std::string haActiveDBType_; + std::string haActivePassword_; + bool isActiveStandard_; + std::string haStandbyUser_; + std::string haActive_; + std::string haStandby_; + std::string haStandbyHdfsUri_; + std::string haActiveVersion_; + std::string clusterId_; + std::string haStandbyDBType_; + std::string haTables_; + std::string haActiveUser_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_RELATEDBFORHBASEHAREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaResult.h b/hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaResult.h new file mode 100644 index 000000000..0b1af6fe6 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/RelateDbForHBaseHaResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_RELATEDBFORHBASEHARESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_RELATEDBFORHBASEHARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT RelateDbForHBaseHaResult : public ServiceResult + { + public: + + + RelateDbForHBaseHaResult(); + explicit RelateDbForHBaseHaResult(const std::string &payload); + ~RelateDbForHBaseHaResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_RELATEDBFORHBASEHARESULT_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressRequest.h b/hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressRequest.h new file mode 100644 index 000000000..529b2fa4e --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_HBASE_MODEL_RELEASEPUBLICNETWORKADDRESSREQUEST_H_ +#define ALIBABACLOUD_HBASE_MODEL_RELEASEPUBLICNETWORKADDRESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ReleasePublicNetworkAddressRequest : public RpcServiceRequest + { + + public: + ReleasePublicNetworkAddressRequest(); + ~ReleasePublicNetworkAddressRequest(); + + std::string getClusterId()const; + void setClusterId(const std::string& clusterId); + + private: + std::string clusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_RELEASEPUBLICNETWORKADDRESSREQUEST_H_ \ No newline at end of file diff --git a/hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressResult.h b/hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressResult.h new file mode 100644 index 000000000..cad0d4a71 --- /dev/null +++ b/hbase/include/alibabacloud/hbase/model/ReleasePublicNetworkAddressResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_HBASE_MODEL_RELEASEPUBLICNETWORKADDRESSRESULT_H_ +#define ALIBABACLOUD_HBASE_MODEL_RELEASEPUBLICNETWORKADDRESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace HBase + { + namespace Model + { + class ALIBABACLOUD_HBASE_EXPORT ReleasePublicNetworkAddressResult : public ServiceResult + { + public: + + + ReleasePublicNetworkAddressResult(); + explicit ReleasePublicNetworkAddressResult(const std::string &payload); + ~ReleasePublicNetworkAddressResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_HBASE_MODEL_RELEASEPUBLICNETWORKADDRESSRESULT_H_ \ No newline at end of file diff --git a/hbase/src/HBaseClient.cc b/hbase/src/HBaseClient.cc index 61a3242a2..639da3b58 100644 --- a/hbase/src/HBaseClient.cc +++ b/hbase/src/HBaseClient.cc @@ -87,6 +87,114 @@ HBaseClient::AddUserHdfsInfoOutcomeCallable HBaseClient::addUserHdfsInfoCallable return task->get_future(); } +HBaseClient::AllocatePublicNetworkAddressOutcome HBaseClient::allocatePublicNetworkAddress(const AllocatePublicNetworkAddressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AllocatePublicNetworkAddressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AllocatePublicNetworkAddressOutcome(AllocatePublicNetworkAddressResult(outcome.result())); + else + return AllocatePublicNetworkAddressOutcome(outcome.error()); +} + +void HBaseClient::allocatePublicNetworkAddressAsync(const AllocatePublicNetworkAddressRequest& request, const AllocatePublicNetworkAddressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, allocatePublicNetworkAddress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::AllocatePublicNetworkAddressOutcomeCallable HBaseClient::allocatePublicNetworkAddressCallable(const AllocatePublicNetworkAddressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->allocatePublicNetworkAddress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::CheckComponentsVersionOutcome HBaseClient::checkComponentsVersion(const CheckComponentsVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckComponentsVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckComponentsVersionOutcome(CheckComponentsVersionResult(outcome.result())); + else + return CheckComponentsVersionOutcome(outcome.error()); +} + +void HBaseClient::checkComponentsVersionAsync(const CheckComponentsVersionRequest& request, const CheckComponentsVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkComponentsVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::CheckComponentsVersionOutcomeCallable HBaseClient::checkComponentsVersionCallable(const CheckComponentsVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkComponentsVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::CloseBackupOutcome HBaseClient::closeBackup(const CloseBackupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CloseBackupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CloseBackupOutcome(CloseBackupResult(outcome.result())); + else + return CloseBackupOutcome(outcome.error()); +} + +void HBaseClient::closeBackupAsync(const CloseBackupRequest& request, const CloseBackupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, closeBackup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::CloseBackupOutcomeCallable HBaseClient::closeBackupCallable(const CloseBackupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->closeBackup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::ConvertInstanceOutcome HBaseClient::convertInstance(const ConvertInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -195,6 +303,78 @@ HBaseClient::CreateClusterOutcomeCallable HBaseClient::createClusterCallable(con return task->get_future(); } +HBaseClient::CreateGlobalResourceOutcome HBaseClient::createGlobalResource(const CreateGlobalResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateGlobalResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateGlobalResourceOutcome(CreateGlobalResourceResult(outcome.result())); + else + return CreateGlobalResourceOutcome(outcome.error()); +} + +void HBaseClient::createGlobalResourceAsync(const CreateGlobalResourceRequest& request, const CreateGlobalResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createGlobalResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::CreateGlobalResourceOutcomeCallable HBaseClient::createGlobalResourceCallable(const CreateGlobalResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createGlobalResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::CreateHBaseSlbServerOutcome HBaseClient::createHBaseSlbServer(const CreateHBaseSlbServerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateHBaseSlbServerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateHBaseSlbServerOutcome(CreateHBaseSlbServerResult(outcome.result())); + else + return CreateHBaseSlbServerOutcome(outcome.error()); +} + +void HBaseClient::createHBaseSlbServerAsync(const CreateHBaseSlbServerRequest& request, const CreateHBaseSlbServerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createHBaseSlbServer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::CreateHBaseSlbServerOutcomeCallable HBaseClient::createHBaseSlbServerCallable(const CreateHBaseSlbServerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createHBaseSlbServer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::CreateHbaseHaSlbOutcome HBaseClient::createHbaseHaSlb(const CreateHbaseHaSlbRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -339,6 +519,42 @@ HBaseClient::CreateServerlessClusterOutcomeCallable HBaseClient::createServerles return task->get_future(); } +HBaseClient::DeleteGlobalResourceOutcome HBaseClient::deleteGlobalResource(const DeleteGlobalResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteGlobalResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteGlobalResourceOutcome(DeleteGlobalResourceResult(outcome.result())); + else + return DeleteGlobalResourceOutcome(outcome.error()); +} + +void HBaseClient::deleteGlobalResourceAsync(const DeleteGlobalResourceRequest& request, const DeleteGlobalResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteGlobalResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::DeleteGlobalResourceOutcomeCallable HBaseClient::deleteGlobalResourceCallable(const DeleteGlobalResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteGlobalResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::DeleteHBaseHaDBOutcome HBaseClient::deleteHBaseHaDB(const DeleteHBaseHaDBRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -375,6 +591,42 @@ HBaseClient::DeleteHBaseHaDBOutcomeCallable HBaseClient::deleteHBaseHaDBCallable return task->get_future(); } +HBaseClient::DeleteHBaseSlbServerOutcome HBaseClient::deleteHBaseSlbServer(const DeleteHBaseSlbServerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteHBaseSlbServerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteHBaseSlbServerOutcome(DeleteHBaseSlbServerResult(outcome.result())); + else + return DeleteHBaseSlbServerOutcome(outcome.error()); +} + +void HBaseClient::deleteHBaseSlbServerAsync(const DeleteHBaseSlbServerRequest& request, const DeleteHBaseSlbServerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteHBaseSlbServer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::DeleteHBaseSlbServerOutcomeCallable HBaseClient::deleteHBaseSlbServerCallable(const DeleteHBaseSlbServerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteHBaseSlbServer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::DeleteHbaseHaSlbOutcome HBaseClient::deleteHbaseHaSlb(const DeleteHbaseHaSlbRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -627,6 +879,42 @@ HBaseClient::DescribeBackupPlanConfigOutcomeCallable HBaseClient::describeBackup return task->get_future(); } +HBaseClient::DescribeBackupPolicyOutcome HBaseClient::describeBackupPolicy(const DescribeBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupPolicyOutcome(DescribeBackupPolicyResult(outcome.result())); + else + return DescribeBackupPolicyOutcome(outcome.error()); +} + +void HBaseClient::describeBackupPolicyAsync(const DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::DescribeBackupPolicyOutcomeCallable HBaseClient::describeBackupPolicyCallable(const DescribeBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::DescribeBackupStatusOutcome HBaseClient::describeBackupStatus(const DescribeBackupStatusRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +1023,42 @@ HBaseClient::DescribeBackupTablesOutcomeCallable HBaseClient::describeBackupTabl return task->get_future(); } +HBaseClient::DescribeBackupsOutcome HBaseClient::describeBackups(const DescribeBackupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupsOutcome(DescribeBackupsResult(outcome.result())); + else + return DescribeBackupsOutcome(outcome.error()); +} + +void HBaseClient::describeBackupsAsync(const DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::DescribeBackupsOutcomeCallable HBaseClient::describeBackupsCallable(const DescribeBackupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::DescribeClusterConnectionOutcome HBaseClient::describeClusterConnection(const DescribeClusterConnectionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +1095,42 @@ HBaseClient::DescribeClusterConnectionOutcomeCallable HBaseClient::describeClust return task->get_future(); } +HBaseClient::DescribeColdStorageOutcome HBaseClient::describeColdStorage(const DescribeColdStorageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeColdStorageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeColdStorageOutcome(DescribeColdStorageResult(outcome.result())); + else + return DescribeColdStorageOutcome(outcome.error()); +} + +void HBaseClient::describeColdStorageAsync(const DescribeColdStorageRequest& request, const DescribeColdStorageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeColdStorage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::DescribeColdStorageOutcomeCallable HBaseClient::describeColdStorageCallable(const DescribeColdStorageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeColdStorage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::DescribeDBInstanceUsageOutcome HBaseClient::describeDBInstanceUsage(const DescribeDBInstanceUsageRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1455,6 +1815,42 @@ HBaseClient::DescribeSecurityGroupsOutcomeCallable HBaseClient::describeSecurity return task->get_future(); } +HBaseClient::DescribeSubDomainOutcome HBaseClient::describeSubDomain(const DescribeSubDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSubDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSubDomainOutcome(DescribeSubDomainResult(outcome.result())); + else + return DescribeSubDomainOutcome(outcome.error()); +} + +void HBaseClient::describeSubDomainAsync(const DescribeSubDomainRequest& request, const DescribeSubDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSubDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::DescribeSubDomainOutcomeCallable HBaseClient::describeSubDomainCallable(const DescribeSubDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSubDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::EnableHBaseueBackupOutcome HBaseClient::enableHBaseueBackup(const EnableHBaseueBackupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1563,6 +1959,150 @@ HBaseClient::EvaluateMultiZoneResourceOutcomeCallable HBaseClient::evaluateMulti return task->get_future(); } +HBaseClient::GetMultimodeCmsUrlOutcome HBaseClient::getMultimodeCmsUrl(const GetMultimodeCmsUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetMultimodeCmsUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetMultimodeCmsUrlOutcome(GetMultimodeCmsUrlResult(outcome.result())); + else + return GetMultimodeCmsUrlOutcome(outcome.error()); +} + +void HBaseClient::getMultimodeCmsUrlAsync(const GetMultimodeCmsUrlRequest& request, const GetMultimodeCmsUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getMultimodeCmsUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::GetMultimodeCmsUrlOutcomeCallable HBaseClient::getMultimodeCmsUrlCallable(const GetMultimodeCmsUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getMultimodeCmsUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::ListHBaseInstancesOutcome HBaseClient::listHBaseInstances(const ListHBaseInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListHBaseInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListHBaseInstancesOutcome(ListHBaseInstancesResult(outcome.result())); + else + return ListHBaseInstancesOutcome(outcome.error()); +} + +void HBaseClient::listHBaseInstancesAsync(const ListHBaseInstancesRequest& request, const ListHBaseInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listHBaseInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::ListHBaseInstancesOutcomeCallable HBaseClient::listHBaseInstancesCallable(const ListHBaseInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listHBaseInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::ListInstanceServiceConfigHistoriesOutcome HBaseClient::listInstanceServiceConfigHistories(const ListInstanceServiceConfigHistoriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListInstanceServiceConfigHistoriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListInstanceServiceConfigHistoriesOutcome(ListInstanceServiceConfigHistoriesResult(outcome.result())); + else + return ListInstanceServiceConfigHistoriesOutcome(outcome.error()); +} + +void HBaseClient::listInstanceServiceConfigHistoriesAsync(const ListInstanceServiceConfigHistoriesRequest& request, const ListInstanceServiceConfigHistoriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listInstanceServiceConfigHistories(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::ListInstanceServiceConfigHistoriesOutcomeCallable HBaseClient::listInstanceServiceConfigHistoriesCallable(const ListInstanceServiceConfigHistoriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listInstanceServiceConfigHistories(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::ListInstanceServiceConfigurationsOutcome HBaseClient::listInstanceServiceConfigurations(const ListInstanceServiceConfigurationsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListInstanceServiceConfigurationsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListInstanceServiceConfigurationsOutcome(ListInstanceServiceConfigurationsResult(outcome.result())); + else + return ListInstanceServiceConfigurationsOutcome(outcome.error()); +} + +void HBaseClient::listInstanceServiceConfigurationsAsync(const ListInstanceServiceConfigurationsRequest& request, const ListInstanceServiceConfigurationsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listInstanceServiceConfigurations(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::ListInstanceServiceConfigurationsOutcomeCallable HBaseClient::listInstanceServiceConfigurationsCallable(const ListInstanceServiceConfigurationsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listInstanceServiceConfigurations(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::ListTagResourcesOutcome HBaseClient::listTagResources(const ListTagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1671,6 +2211,42 @@ HBaseClient::ModifyBackupPlanConfigOutcomeCallable HBaseClient::modifyBackupPlan return task->get_future(); } +HBaseClient::ModifyBackupPolicyOutcome HBaseClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyBackupPolicyOutcome(ModifyBackupPolicyResult(outcome.result())); + else + return ModifyBackupPolicyOutcome(outcome.error()); +} + +void HBaseClient::modifyBackupPolicyAsync(const ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::ModifyBackupPolicyOutcomeCallable HBaseClient::modifyBackupPolicyCallable(const ModifyBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::ModifyClusterDeletionProtectionOutcome HBaseClient::modifyClusterDeletionProtection(const ModifyClusterDeletionProtectionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1815,6 +2391,42 @@ HBaseClient::ModifyInstanceNameOutcomeCallable HBaseClient::modifyInstanceNameCa return task->get_future(); } +HBaseClient::ModifyInstanceServiceConfigOutcome HBaseClient::modifyInstanceServiceConfig(const ModifyInstanceServiceConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyInstanceServiceConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyInstanceServiceConfigOutcome(ModifyInstanceServiceConfigResult(outcome.result())); + else + return ModifyInstanceServiceConfigOutcome(outcome.error()); +} + +void HBaseClient::modifyInstanceServiceConfigAsync(const ModifyInstanceServiceConfigRequest& request, const ModifyInstanceServiceConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyInstanceServiceConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::ModifyInstanceServiceConfigOutcomeCallable HBaseClient::modifyInstanceServiceConfigCallable(const ModifyInstanceServiceConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyInstanceServiceConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::ModifyInstanceTypeOutcome HBaseClient::modifyInstanceType(const ModifyInstanceTypeRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1995,6 +2607,78 @@ HBaseClient::ModifyUIAccountPasswordOutcomeCallable HBaseClient::modifyUIAccount return task->get_future(); } +HBaseClient::MoveResourceGroupOutcome HBaseClient::moveResourceGroup(const MoveResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MoveResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MoveResourceGroupOutcome(MoveResourceGroupResult(outcome.result())); + else + return MoveResourceGroupOutcome(outcome.error()); +} + +void HBaseClient::moveResourceGroupAsync(const MoveResourceGroupRequest& request, const MoveResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, moveResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::MoveResourceGroupOutcomeCallable HBaseClient::moveResourceGroupCallable(const MoveResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->moveResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::OpenBackupOutcome HBaseClient::openBackup(const OpenBackupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return OpenBackupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return OpenBackupOutcome(OpenBackupResult(outcome.result())); + else + return OpenBackupOutcome(outcome.error()); +} + +void HBaseClient::openBackupAsync(const OpenBackupRequest& request, const OpenBackupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, openBackup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::OpenBackupOutcomeCallable HBaseClient::openBackupCallable(const OpenBackupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->openBackup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::PurgeInstanceOutcome HBaseClient::purgeInstance(const PurgeInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2103,6 +2787,78 @@ HBaseClient::QueryXpackRelateDBOutcomeCallable HBaseClient::queryXpackRelateDBCa return task->get_future(); } +HBaseClient::RelateDbForHBaseHaOutcome HBaseClient::relateDbForHBaseHa(const RelateDbForHBaseHaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RelateDbForHBaseHaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RelateDbForHBaseHaOutcome(RelateDbForHBaseHaResult(outcome.result())); + else + return RelateDbForHBaseHaOutcome(outcome.error()); +} + +void HBaseClient::relateDbForHBaseHaAsync(const RelateDbForHBaseHaRequest& request, const RelateDbForHBaseHaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, relateDbForHBaseHa(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::RelateDbForHBaseHaOutcomeCallable HBaseClient::relateDbForHBaseHaCallable(const RelateDbForHBaseHaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->relateDbForHBaseHa(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +HBaseClient::ReleasePublicNetworkAddressOutcome HBaseClient::releasePublicNetworkAddress(const ReleasePublicNetworkAddressRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ReleasePublicNetworkAddressOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ReleasePublicNetworkAddressOutcome(ReleasePublicNetworkAddressResult(outcome.result())); + else + return ReleasePublicNetworkAddressOutcome(outcome.error()); +} + +void HBaseClient::releasePublicNetworkAddressAsync(const ReleasePublicNetworkAddressRequest& request, const ReleasePublicNetworkAddressAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, releasePublicNetworkAddress(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +HBaseClient::ReleasePublicNetworkAddressOutcomeCallable HBaseClient::releasePublicNetworkAddressCallable(const ReleasePublicNetworkAddressRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->releasePublicNetworkAddress(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + HBaseClient::RenewInstanceOutcome HBaseClient::renewInstance(const RenewInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/hbase/src/model/AllocatePublicNetworkAddressRequest.cc b/hbase/src/model/AllocatePublicNetworkAddressRequest.cc new file mode 100644 index 000000000..e6e63007c --- /dev/null +++ b/hbase/src/model/AllocatePublicNetworkAddressRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::AllocatePublicNetworkAddressRequest; + +AllocatePublicNetworkAddressRequest::AllocatePublicNetworkAddressRequest() : + RpcServiceRequest("hbase", "2019-01-01", "AllocatePublicNetworkAddress") +{ + setMethod(HttpRequest::Method::Post); +} + +AllocatePublicNetworkAddressRequest::~AllocatePublicNetworkAddressRequest() +{} + +std::string AllocatePublicNetworkAddressRequest::getClientToken()const +{ + return clientToken_; +} + +void AllocatePublicNetworkAddressRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string AllocatePublicNetworkAddressRequest::getClusterId()const +{ + return clusterId_; +} + +void AllocatePublicNetworkAddressRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/AllocatePublicNetworkAddressResult.cc b/hbase/src/model/AllocatePublicNetworkAddressResult.cc new file mode 100644 index 000000000..b270c2931 --- /dev/null +++ b/hbase/src/model/AllocatePublicNetworkAddressResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +AllocatePublicNetworkAddressResult::AllocatePublicNetworkAddressResult() : + ServiceResult() +{} + +AllocatePublicNetworkAddressResult::AllocatePublicNetworkAddressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AllocatePublicNetworkAddressResult::~AllocatePublicNetworkAddressResult() +{} + +void AllocatePublicNetworkAddressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/CheckComponentsVersionRequest.cc b/hbase/src/model/CheckComponentsVersionRequest.cc new file mode 100644 index 000000000..a23f03e90 --- /dev/null +++ b/hbase/src/model/CheckComponentsVersionRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::CheckComponentsVersionRequest; + +CheckComponentsVersionRequest::CheckComponentsVersionRequest() : + RpcServiceRequest("hbase", "2019-01-01", "CheckComponentsVersion") +{ + setMethod(HttpRequest::Method::Post); +} + +CheckComponentsVersionRequest::~CheckComponentsVersionRequest() +{} + +std::string CheckComponentsVersionRequest::getComponents()const +{ + return components_; +} + +void CheckComponentsVersionRequest::setComponents(const std::string& components) +{ + components_ = components; + setParameter("Components", components); +} + +std::string CheckComponentsVersionRequest::getClusterId()const +{ + return clusterId_; +} + +void CheckComponentsVersionRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/CheckComponentsVersionResult.cc b/hbase/src/model/CheckComponentsVersionResult.cc new file mode 100644 index 000000000..448ccf882 --- /dev/null +++ b/hbase/src/model/CheckComponentsVersionResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +CheckComponentsVersionResult::CheckComponentsVersionResult() : + ServiceResult() +{} + +CheckComponentsVersionResult::CheckComponentsVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckComponentsVersionResult::~CheckComponentsVersionResult() +{} + +void CheckComponentsVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allComponentsNode = value["Components"]["Component"]; + for (auto valueComponentsComponent : allComponentsNode) + { + Component componentsObject; + if(!valueComponentsComponent["Component"].isNull()) + componentsObject.component = valueComponentsComponent["Component"].asString(); + if(!valueComponentsComponent["IsLatestVersion"].isNull()) + componentsObject.isLatestVersion = valueComponentsComponent["IsLatestVersion"].asString(); + components_.push_back(componentsObject); + } + +} + +std::vector CheckComponentsVersionResult::getComponents()const +{ + return components_; +} + diff --git a/hbase/src/model/CloseBackupRequest.cc b/hbase/src/model/CloseBackupRequest.cc new file mode 100644 index 000000000..813362828 --- /dev/null +++ b/hbase/src/model/CloseBackupRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::CloseBackupRequest; + +CloseBackupRequest::CloseBackupRequest() : + RpcServiceRequest("hbase", "2019-01-01", "CloseBackup") +{ + setMethod(HttpRequest::Method::Post); +} + +CloseBackupRequest::~CloseBackupRequest() +{} + +std::string CloseBackupRequest::getClusterId()const +{ + return clusterId_; +} + +void CloseBackupRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/CloseBackupResult.cc b/hbase/src/model/CloseBackupResult.cc new file mode 100644 index 000000000..4584ae0d0 --- /dev/null +++ b/hbase/src/model/CloseBackupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +CloseBackupResult::CloseBackupResult() : + ServiceResult() +{} + +CloseBackupResult::CloseBackupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CloseBackupResult::~CloseBackupResult() +{} + +void CloseBackupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/CreateClusterRequest.cc b/hbase/src/model/CreateClusterRequest.cc index 208c498e5..8ae88ae2e 100644 --- a/hbase/src/model/CreateClusterRequest.cc +++ b/hbase/src/model/CreateClusterRequest.cc @@ -60,6 +60,17 @@ void CreateClusterRequest::setEngineVersion(const std::string& engineVersion) setParameter("EngineVersion", engineVersion); } +std::string CreateClusterRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateClusterRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateClusterRequest::getRegionId()const { return regionId_; diff --git a/hbase/src/model/CreateGlobalResourceRequest.cc b/hbase/src/model/CreateGlobalResourceRequest.cc new file mode 100644 index 000000000..d3ce62b32 --- /dev/null +++ b/hbase/src/model/CreateGlobalResourceRequest.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::CreateGlobalResourceRequest; + +CreateGlobalResourceRequest::CreateGlobalResourceRequest() : + RpcServiceRequest("hbase", "2019-01-01", "CreateGlobalResource") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateGlobalResourceRequest::~CreateGlobalResourceRequest() +{} + +std::string CreateGlobalResourceRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateGlobalResourceRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string CreateGlobalResourceRequest::getClusterId()const +{ + return clusterId_; +} + +void CreateGlobalResourceRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string CreateGlobalResourceRequest::getResourceType()const +{ + return resourceType_; +} + +void CreateGlobalResourceRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + +std::string CreateGlobalResourceRequest::getResourceName()const +{ + return resourceName_; +} + +void CreateGlobalResourceRequest::setResourceName(const std::string& resourceName) +{ + resourceName_ = resourceName; + setParameter("ResourceName", resourceName); +} + diff --git a/hbase/src/model/CreateGlobalResourceResult.cc b/hbase/src/model/CreateGlobalResourceResult.cc new file mode 100644 index 000000000..79f9b439b --- /dev/null +++ b/hbase/src/model/CreateGlobalResourceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +CreateGlobalResourceResult::CreateGlobalResourceResult() : + ServiceResult() +{} + +CreateGlobalResourceResult::CreateGlobalResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateGlobalResourceResult::~CreateGlobalResourceResult() +{} + +void CreateGlobalResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/CreateHBaseSlbServerRequest.cc b/hbase/src/model/CreateHBaseSlbServerRequest.cc new file mode 100644 index 000000000..5dfa45512 --- /dev/null +++ b/hbase/src/model/CreateHBaseSlbServerRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::CreateHBaseSlbServerRequest; + +CreateHBaseSlbServerRequest::CreateHBaseSlbServerRequest() : + RpcServiceRequest("hbase", "2019-01-01", "CreateHBaseSlbServer") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateHBaseSlbServerRequest::~CreateHBaseSlbServerRequest() +{} + +std::string CreateHBaseSlbServerRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateHBaseSlbServerRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string CreateHBaseSlbServerRequest::getClusterId()const +{ + return clusterId_; +} + +void CreateHBaseSlbServerRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string CreateHBaseSlbServerRequest::getSlbServer()const +{ + return slbServer_; +} + +void CreateHBaseSlbServerRequest::setSlbServer(const std::string& slbServer) +{ + slbServer_ = slbServer; + setParameter("SlbServer", slbServer); +} + diff --git a/hbase/src/model/CreateHBaseSlbServerResult.cc b/hbase/src/model/CreateHBaseSlbServerResult.cc new file mode 100644 index 000000000..feead58c9 --- /dev/null +++ b/hbase/src/model/CreateHBaseSlbServerResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +CreateHBaseSlbServerResult::CreateHBaseSlbServerResult() : + ServiceResult() +{} + +CreateHBaseSlbServerResult::CreateHBaseSlbServerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateHBaseSlbServerResult::~CreateHBaseSlbServerResult() +{} + +void CreateHBaseSlbServerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/CreateMultiZoneClusterRequest.cc b/hbase/src/model/CreateMultiZoneClusterRequest.cc index 0e04888fb..c25206f2a 100644 --- a/hbase/src/model/CreateMultiZoneClusterRequest.cc +++ b/hbase/src/model/CreateMultiZoneClusterRequest.cc @@ -71,6 +71,17 @@ void CreateMultiZoneClusterRequest::setLogDiskType(const std::string& logDiskTyp setParameter("LogDiskType", logDiskType); } +std::string CreateMultiZoneClusterRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateMultiZoneClusterRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateMultiZoneClusterRequest::getPrimaryVSwitchId()const { return primaryVSwitchId_; diff --git a/hbase/src/model/CreateServerlessClusterRequest.cc b/hbase/src/model/CreateServerlessClusterRequest.cc index d42d3f4da..1b82a9e4d 100644 --- a/hbase/src/model/CreateServerlessClusterRequest.cc +++ b/hbase/src/model/CreateServerlessClusterRequest.cc @@ -71,6 +71,17 @@ void CreateServerlessClusterRequest::setEngineVersion(const std::string& engineV setParameter("EngineVersion", engineVersion); } +std::string CreateServerlessClusterRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void CreateServerlessClusterRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string CreateServerlessClusterRequest::getRegionId()const { return regionId_; diff --git a/hbase/src/model/DeleteGlobalResourceRequest.cc b/hbase/src/model/DeleteGlobalResourceRequest.cc new file mode 100644 index 000000000..2be8810c3 --- /dev/null +++ b/hbase/src/model/DeleteGlobalResourceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::DeleteGlobalResourceRequest; + +DeleteGlobalResourceRequest::DeleteGlobalResourceRequest() : + RpcServiceRequest("hbase", "2019-01-01", "DeleteGlobalResource") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteGlobalResourceRequest::~DeleteGlobalResourceRequest() +{} + +std::string DeleteGlobalResourceRequest::getClusterId()const +{ + return clusterId_; +} + +void DeleteGlobalResourceRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DeleteGlobalResourceRequest::getResourceType()const +{ + return resourceType_; +} + +void DeleteGlobalResourceRequest::setResourceType(const std::string& resourceType) +{ + resourceType_ = resourceType; + setParameter("ResourceType", resourceType); +} + +std::string DeleteGlobalResourceRequest::getResourceName()const +{ + return resourceName_; +} + +void DeleteGlobalResourceRequest::setResourceName(const std::string& resourceName) +{ + resourceName_ = resourceName; + setParameter("ResourceName", resourceName); +} + diff --git a/hbase/src/model/DeleteGlobalResourceResult.cc b/hbase/src/model/DeleteGlobalResourceResult.cc new file mode 100644 index 000000000..bfc9d3570 --- /dev/null +++ b/hbase/src/model/DeleteGlobalResourceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +DeleteGlobalResourceResult::DeleteGlobalResourceResult() : + ServiceResult() +{} + +DeleteGlobalResourceResult::DeleteGlobalResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteGlobalResourceResult::~DeleteGlobalResourceResult() +{} + +void DeleteGlobalResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/DeleteHBaseSlbServerRequest.cc b/hbase/src/model/DeleteHBaseSlbServerRequest.cc new file mode 100644 index 000000000..51e208d21 --- /dev/null +++ b/hbase/src/model/DeleteHBaseSlbServerRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::DeleteHBaseSlbServerRequest; + +DeleteHBaseSlbServerRequest::DeleteHBaseSlbServerRequest() : + RpcServiceRequest("hbase", "2019-01-01", "DeleteHBaseSlbServer") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteHBaseSlbServerRequest::~DeleteHBaseSlbServerRequest() +{} + +std::string DeleteHBaseSlbServerRequest::getClusterId()const +{ + return clusterId_; +} + +void DeleteHBaseSlbServerRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DeleteHBaseSlbServerRequest::getSlbServer()const +{ + return slbServer_; +} + +void DeleteHBaseSlbServerRequest::setSlbServer(const std::string& slbServer) +{ + slbServer_ = slbServer; + setParameter("SlbServer", slbServer); +} + diff --git a/hbase/src/model/DeleteHBaseSlbServerResult.cc b/hbase/src/model/DeleteHBaseSlbServerResult.cc new file mode 100644 index 000000000..ebe2fee31 --- /dev/null +++ b/hbase/src/model/DeleteHBaseSlbServerResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +DeleteHBaseSlbServerResult::DeleteHBaseSlbServerResult() : + ServiceResult() +{} + +DeleteHBaseSlbServerResult::DeleteHBaseSlbServerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteHBaseSlbServerResult::~DeleteHBaseSlbServerResult() +{} + +void DeleteHBaseSlbServerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/DescribeBackupPolicyRequest.cc b/hbase/src/model/DescribeBackupPolicyRequest.cc new file mode 100644 index 000000000..29f13155b --- /dev/null +++ b/hbase/src/model/DescribeBackupPolicyRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::DescribeBackupPolicyRequest; + +DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() : + RpcServiceRequest("hbase", "2019-01-01", "DescribeBackupPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest() +{} + +std::string DescribeBackupPolicyRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeBackupPolicyRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/DescribeBackupPolicyResult.cc b/hbase/src/model/DescribeBackupPolicyResult.cc new file mode 100644 index 000000000..3b640a3fb --- /dev/null +++ b/hbase/src/model/DescribeBackupPolicyResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +DescribeBackupPolicyResult::DescribeBackupPolicyResult() : + ServiceResult() +{} + +DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupPolicyResult::~DescribeBackupPolicyResult() +{} + +void DescribeBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["BackupRetentionPeriod"].isNull()) + backupRetentionPeriod_ = value["BackupRetentionPeriod"].asString(); + if(!value["PreferredBackupTime"].isNull()) + preferredBackupTime_ = value["PreferredBackupTime"].asString(); + if(!value["PreferredBackupPeriod"].isNull()) + preferredBackupPeriod_ = value["PreferredBackupPeriod"].asString(); + if(!value["PreferredBackupStartTimeUTC"].isNull()) + preferredBackupStartTimeUTC_ = value["PreferredBackupStartTimeUTC"].asString(); + if(!value["PreferredBackupEndTimeUTC"].isNull()) + preferredBackupEndTimeUTC_ = value["PreferredBackupEndTimeUTC"].asString(); + +} + +std::string DescribeBackupPolicyResult::getPreferredBackupPeriod()const +{ + return preferredBackupPeriod_; +} + +std::string DescribeBackupPolicyResult::getPreferredBackupStartTimeUTC()const +{ + return preferredBackupStartTimeUTC_; +} + +std::string DescribeBackupPolicyResult::getPreferredBackupEndTimeUTC()const +{ + return preferredBackupEndTimeUTC_; +} + +std::string DescribeBackupPolicyResult::getPreferredBackupTime()const +{ + return preferredBackupTime_; +} + +std::string DescribeBackupPolicyResult::getBackupRetentionPeriod()const +{ + return backupRetentionPeriod_; +} + diff --git a/hbase/src/model/DescribeBackupsRequest.cc b/hbase/src/model/DescribeBackupsRequest.cc new file mode 100644 index 000000000..b902209cf --- /dev/null +++ b/hbase/src/model/DescribeBackupsRequest.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::DescribeBackupsRequest; + +DescribeBackupsRequest::DescribeBackupsRequest() : + RpcServiceRequest("hbase", "2019-01-01", "DescribeBackups") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeBackupsRequest::~DescribeBackupsRequest() +{} + +std::string DescribeBackupsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeBackupsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeBackupsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeBackupsRequest::setPageNumber(const std::string& pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", pageNumber); +} + +std::string DescribeBackupsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeBackupsRequest::setPageSize(const std::string& pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", pageSize); +} + +std::string DescribeBackupsRequest::getStartTimeUTC()const +{ + return startTimeUTC_; +} + +void DescribeBackupsRequest::setStartTimeUTC(const std::string& startTimeUTC) +{ + startTimeUTC_ = startTimeUTC; + setParameter("StartTimeUTC", startTimeUTC); +} + +std::string DescribeBackupsRequest::getBackupId()const +{ + return backupId_; +} + +void DescribeBackupsRequest::setBackupId(const std::string& backupId) +{ + backupId_ = backupId; + setParameter("BackupId", backupId); +} + +std::string DescribeBackupsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeBackupsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeBackupsRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeBackupsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string DescribeBackupsRequest::getEndTimeUTC()const +{ + return endTimeUTC_; +} + +void DescribeBackupsRequest::setEndTimeUTC(const std::string& endTimeUTC) +{ + endTimeUTC_ = endTimeUTC; + setParameter("EndTimeUTC", endTimeUTC); +} + diff --git a/hbase/src/model/DescribeBackupsResult.cc b/hbase/src/model/DescribeBackupsResult.cc new file mode 100644 index 000000000..42980ee53 --- /dev/null +++ b/hbase/src/model/DescribeBackupsResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +DescribeBackupsResult::DescribeBackupsResult() : + ServiceResult() +{} + +DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupsResult::~DescribeBackupsResult() +{} + +void DescribeBackupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBackupsNode = value["Backups"]["Backup"]; + for (auto valueBackupsBackup : allBackupsNode) + { + Backup backupsObject; + if(!valueBackupsBackup["BackupDBNames"].isNull()) + backupsObject.backupDBNames = valueBackupsBackup["BackupDBNames"].asString(); + if(!valueBackupsBackup["BackupId"].isNull()) + backupsObject.backupId = std::stoi(valueBackupsBackup["BackupId"].asString()); + if(!valueBackupsBackup["BackupStatus"].isNull()) + backupsObject.backupStatus = valueBackupsBackup["BackupStatus"].asString(); + if(!valueBackupsBackup["BackupStartTime"].isNull()) + backupsObject.backupStartTime = valueBackupsBackup["BackupStartTime"].asString(); + if(!valueBackupsBackup["BackupEndTime"].isNull()) + backupsObject.backupEndTime = valueBackupsBackup["BackupEndTime"].asString(); + if(!valueBackupsBackup["BackupType"].isNull()) + backupsObject.backupType = valueBackupsBackup["BackupType"].asString(); + if(!valueBackupsBackup["BackupMode"].isNull()) + backupsObject.backupMode = valueBackupsBackup["BackupMode"].asString(); + if(!valueBackupsBackup["BackupMethod"].isNull()) + backupsObject.backupMethod = valueBackupsBackup["BackupMethod"].asString(); + if(!valueBackupsBackup["BackupDownloadURL"].isNull()) + backupsObject.backupDownloadURL = valueBackupsBackup["BackupDownloadURL"].asString(); + if(!valueBackupsBackup["BackupSize"].isNull()) + backupsObject.backupSize = valueBackupsBackup["BackupSize"].asString(); + if(!valueBackupsBackup["BackupStartTimeUTC"].isNull()) + backupsObject.backupStartTimeUTC = valueBackupsBackup["BackupStartTimeUTC"].asString(); + if(!valueBackupsBackup["BackupEndTimeUTC"].isNull()) + backupsObject.backupEndTimeUTC = valueBackupsBackup["BackupEndTimeUTC"].asString(); + backups_.push_back(backupsObject); + } + if(!value["EnableStatus"].isNull()) + enableStatus_ = value["EnableStatus"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stoi(value["TotalCount"].asString()); + +} + +int DescribeBackupsResult::getTotalCount()const +{ + return totalCount_; +} + +int DescribeBackupsResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeBackupsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeBackupsResult::getEnableStatus()const +{ + return enableStatus_; +} + +std::vector DescribeBackupsResult::getBackups()const +{ + return backups_; +} + diff --git a/hbase/src/model/DescribeColdStorageRequest.cc b/hbase/src/model/DescribeColdStorageRequest.cc new file mode 100644 index 000000000..894cc8c34 --- /dev/null +++ b/hbase/src/model/DescribeColdStorageRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::DescribeColdStorageRequest; + +DescribeColdStorageRequest::DescribeColdStorageRequest() : + RpcServiceRequest("hbase", "2019-01-01", "DescribeColdStorage") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeColdStorageRequest::~DescribeColdStorageRequest() +{} + +std::string DescribeColdStorageRequest::getClusterId()const +{ + return clusterId_; +} + +void DescribeColdStorageRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/DescribeColdStorageResult.cc b/hbase/src/model/DescribeColdStorageResult.cc new file mode 100644 index 000000000..344589bad --- /dev/null +++ b/hbase/src/model/DescribeColdStorageResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +DescribeColdStorageResult::DescribeColdStorageResult() : + ServiceResult() +{} + +DescribeColdStorageResult::DescribeColdStorageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeColdStorageResult::~DescribeColdStorageResult() +{} + +void DescribeColdStorageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ClusterId"].isNull()) + clusterId_ = value["ClusterId"].asString(); + if(!value["OpenStatus"].isNull()) + openStatus_ = value["OpenStatus"].asString(); + if(!value["ColdStorageSize"].isNull()) + coldStorageSize_ = value["ColdStorageSize"].asString(); + if(!value["ColdStorageUsePercent"].isNull()) + coldStorageUsePercent_ = value["ColdStorageUsePercent"].asString(); + if(!value["PayType"].isNull()) + payType_ = value["PayType"].asString(); + +} + +std::string DescribeColdStorageResult::getColdStorageSize()const +{ + return coldStorageSize_; +} + +std::string DescribeColdStorageResult::getColdStorageUsePercent()const +{ + return coldStorageUsePercent_; +} + +std::string DescribeColdStorageResult::getClusterId()const +{ + return clusterId_; +} + +std::string DescribeColdStorageResult::getPayType()const +{ + return payType_; +} + +std::string DescribeColdStorageResult::getOpenStatus()const +{ + return openStatus_; +} + diff --git a/hbase/src/model/DescribeInstanceResult.cc b/hbase/src/model/DescribeInstanceResult.cc index b0ddfb254..f20f3f206 100644 --- a/hbase/src/model/DescribeInstanceResult.cc +++ b/hbase/src/model/DescribeInstanceResult.cc @@ -133,6 +133,8 @@ void DescribeInstanceResult::parse(const std::string &payload) duration_ = std::stoi(value["Duration"].asString()); if(!value["ColdStorageSize"].isNull()) coldStorageSize_ = std::stoi(value["ColdStorageSize"].asString()); + if(!value["ResourceGroupId"].isNull()) + resourceGroupId_ = value["ResourceGroupId"].asString(); } @@ -151,6 +153,11 @@ std::string DescribeInstanceResult::getCreatedTime()const return createdTime_; } +std::string DescribeInstanceResult::getResourceGroupId()const +{ + return resourceGroupId_; +} + std::string DescribeInstanceResult::getMasterInstanceType()const { return masterInstanceType_; diff --git a/hbase/src/model/DescribeInstancesRequest.cc b/hbase/src/model/DescribeInstancesRequest.cc index 98d89e9d8..2cc80d776 100644 --- a/hbase/src/model/DescribeInstancesRequest.cc +++ b/hbase/src/model/DescribeInstancesRequest.cc @@ -49,6 +49,17 @@ void DescribeInstancesRequest::setPageNumber(int pageNumber) setParameter("PageNumber", std::to_string(pageNumber)); } +std::string DescribeInstancesRequest::getResourceGroupId()const +{ + return resourceGroupId_; +} + +void DescribeInstancesRequest::setResourceGroupId(const std::string& resourceGroupId) +{ + resourceGroupId_ = resourceGroupId; + setParameter("ResourceGroupId", resourceGroupId); +} + std::string DescribeInstancesRequest::getRegionId()const { return regionId_; diff --git a/hbase/src/model/DescribeInstancesResult.cc b/hbase/src/model/DescribeInstancesResult.cc index 81d2f3692..86b4799d9 100644 --- a/hbase/src/model/DescribeInstancesResult.cc +++ b/hbase/src/model/DescribeInstancesResult.cc @@ -115,6 +115,8 @@ void DescribeInstancesResult::parse(const std::string &payload) instancesObject.autoRenewal = valueInstancesInstance["AutoRenewal"].asString() == "true"; if(!valueInstancesInstance["Duration"].isNull()) instancesObject.duration = std::stoi(valueInstancesInstance["Duration"].asString()); + if(!valueInstancesInstance["ResourceGroupId"].isNull()) + instancesObject.resourceGroupId = valueInstancesInstance["ResourceGroupId"].asString(); auto allTagsNode = valueInstancesInstance["Tags"]["Tag"]; for (auto valueInstancesInstanceTagsTag : allTagsNode) { diff --git a/hbase/src/model/DescribeMultiZoneClusterResult.cc b/hbase/src/model/DescribeMultiZoneClusterResult.cc index afa5e9b4e..43255ea6c 100644 --- a/hbase/src/model/DescribeMultiZoneClusterResult.cc +++ b/hbase/src/model/DescribeMultiZoneClusterResult.cc @@ -153,6 +153,8 @@ void DescribeMultiZoneClusterResult::parse(const std::string &payload) arbiterVSwitchIds_ = value["ArbiterVSwitchIds"].asString(); if(!value["VpcId"].isNull()) vpcId_ = value["VpcId"].asString(); + if(!value["ResourceGroupId"].isNull()) + resourceGroupId_ = value["ResourceGroupId"].asString(); } @@ -171,6 +173,11 @@ std::string DescribeMultiZoneClusterResult::getCreatedTime()const return createdTime_; } +std::string DescribeMultiZoneClusterResult::getResourceGroupId()const +{ + return resourceGroupId_; +} + std::string DescribeMultiZoneClusterResult::getMasterInstanceType()const { return masterInstanceType_; diff --git a/hbase/src/model/DescribeSubDomainRequest.cc b/hbase/src/model/DescribeSubDomainRequest.cc new file mode 100644 index 000000000..f2ea57b96 --- /dev/null +++ b/hbase/src/model/DescribeSubDomainRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::DescribeSubDomainRequest; + +DescribeSubDomainRequest::DescribeSubDomainRequest() : + RpcServiceRequest("hbase", "2019-01-01", "DescribeSubDomain") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSubDomainRequest::~DescribeSubDomainRequest() +{} + +std::string DescribeSubDomainRequest::getRegionId()const +{ + return regionId_; +} + +void DescribeSubDomainRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + +std::string DescribeSubDomainRequest::getZoneId()const +{ + return zoneId_; +} + +void DescribeSubDomainRequest::setZoneId(const std::string& zoneId) +{ + zoneId_ = zoneId; + setParameter("ZoneId", zoneId); +} + diff --git a/hbase/src/model/DescribeSubDomainResult.cc b/hbase/src/model/DescribeSubDomainResult.cc new file mode 100644 index 000000000..1639a6952 --- /dev/null +++ b/hbase/src/model/DescribeSubDomainResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::HBase; +using namespace AlibabaCloud::HBase::Model; + +DescribeSubDomainResult::DescribeSubDomainResult() : + ServiceResult() +{} + +DescribeSubDomainResult::DescribeSubDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSubDomainResult::~DescribeSubDomainResult() +{} + +void DescribeSubDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["SubDomain"].isNull()) + subDomain_ = value["SubDomain"].asString(); + +} + +std::string DescribeSubDomainResult::getSubDomain()const +{ + return subDomain_; +} + diff --git a/hbase/src/model/GetMultimodeCmsUrlRequest.cc b/hbase/src/model/GetMultimodeCmsUrlRequest.cc new file mode 100644 index 000000000..094b48eea --- /dev/null +++ b/hbase/src/model/GetMultimodeCmsUrlRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::GetMultimodeCmsUrlRequest; + +GetMultimodeCmsUrlRequest::GetMultimodeCmsUrlRequest() : + RpcServiceRequest("hbase", "2019-01-01", "GetMultimodeCmsUrl") +{ + setMethod(HttpRequest::Method::Post); +} + +GetMultimodeCmsUrlRequest::~GetMultimodeCmsUrlRequest() +{} + +std::string GetMultimodeCmsUrlRequest::getClusterId()const +{ + return clusterId_; +} + +void GetMultimodeCmsUrlRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string GetMultimodeCmsUrlRequest::getRegionId()const +{ + return regionId_; +} + +void GetMultimodeCmsUrlRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setParameter("RegionId", regionId); +} + diff --git a/hbase/src/model/GetMultimodeCmsUrlResult.cc b/hbase/src/model/GetMultimodeCmsUrlResult.cc new file mode 100644 index 000000000..b2a50f459 --- /dev/null +++ b/hbase/src/model/GetMultimodeCmsUrlResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::HBase; +using namespace AlibabaCloud::HBase::Model; + +GetMultimodeCmsUrlResult::GetMultimodeCmsUrlResult() : + ServiceResult() +{} + +GetMultimodeCmsUrlResult::GetMultimodeCmsUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetMultimodeCmsUrlResult::~GetMultimodeCmsUrlResult() +{} + +void GetMultimodeCmsUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["ClusterId"].isNull()) + clusterId_ = value["ClusterId"].asString(); + if(!value["MultimodCmsUrl"].isNull()) + multimodCmsUrl_ = value["MultimodCmsUrl"].asString(); + +} + +std::string GetMultimodeCmsUrlResult::getClusterId()const +{ + return clusterId_; +} + +std::string GetMultimodeCmsUrlResult::getMultimodCmsUrl()const +{ + return multimodCmsUrl_; +} + diff --git a/hbase/src/model/ListHBaseInstancesRequest.cc b/hbase/src/model/ListHBaseInstancesRequest.cc new file mode 100644 index 000000000..5e04f1ff7 --- /dev/null +++ b/hbase/src/model/ListHBaseInstancesRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::ListHBaseInstancesRequest; + +ListHBaseInstancesRequest::ListHBaseInstancesRequest() : + RpcServiceRequest("hbase", "2019-01-01", "ListHBaseInstances") +{ + setMethod(HttpRequest::Method::Post); +} + +ListHBaseInstancesRequest::~ListHBaseInstancesRequest() +{} + +std::string ListHBaseInstancesRequest::getVpcId()const +{ + return vpcId_; +} + +void ListHBaseInstancesRequest::setVpcId(const std::string& vpcId) +{ + vpcId_ = vpcId; + setParameter("VpcId", vpcId); +} + diff --git a/hbase/src/model/ListHBaseInstancesResult.cc b/hbase/src/model/ListHBaseInstancesResult.cc new file mode 100644 index 000000000..078e9b270 --- /dev/null +++ b/hbase/src/model/ListHBaseInstancesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +ListHBaseInstancesResult::ListHBaseInstancesResult() : + ServiceResult() +{} + +ListHBaseInstancesResult::ListHBaseInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListHBaseInstancesResult::~ListHBaseInstancesResult() +{} + +void ListHBaseInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allInstancesNode = value["Instances"]["Instance"]; + for (auto valueInstancesInstance : allInstancesNode) + { + Instance instancesObject; + if(!valueInstancesInstance["InstanceId"].isNull()) + instancesObject.instanceId = valueInstancesInstance["InstanceId"].asString(); + if(!valueInstancesInstance["InstanceName"].isNull()) + instancesObject.instanceName = valueInstancesInstance["InstanceName"].asString(); + if(!valueInstancesInstance["IsDefault"].isNull()) + instancesObject.isDefault = valueInstancesInstance["IsDefault"].asString() == "true"; + instances_.push_back(instancesObject); + } + +} + +std::vector ListHBaseInstancesResult::getInstances()const +{ + return instances_; +} + diff --git a/hbase/src/model/ListInstanceServiceConfigHistoriesRequest.cc b/hbase/src/model/ListInstanceServiceConfigHistoriesRequest.cc new file mode 100644 index 000000000..160de037b --- /dev/null +++ b/hbase/src/model/ListInstanceServiceConfigHistoriesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::ListInstanceServiceConfigHistoriesRequest; + +ListInstanceServiceConfigHistoriesRequest::ListInstanceServiceConfigHistoriesRequest() : + RpcServiceRequest("hbase", "2019-01-01", "ListInstanceServiceConfigHistories") +{ + setMethod(HttpRequest::Method::Post); +} + +ListInstanceServiceConfigHistoriesRequest::~ListInstanceServiceConfigHistoriesRequest() +{} + +std::string ListInstanceServiceConfigHistoriesRequest::getClusterId()const +{ + return clusterId_; +} + +void ListInstanceServiceConfigHistoriesRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListInstanceServiceConfigHistoriesRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListInstanceServiceConfigHistoriesRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int ListInstanceServiceConfigHistoriesRequest::getPageSize()const +{ + return pageSize_; +} + +void ListInstanceServiceConfigHistoriesRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/hbase/src/model/ListInstanceServiceConfigHistoriesResult.cc b/hbase/src/model/ListInstanceServiceConfigHistoriesResult.cc new file mode 100644 index 000000000..ae81b2a32 --- /dev/null +++ b/hbase/src/model/ListInstanceServiceConfigHistoriesResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +ListInstanceServiceConfigHistoriesResult::ListInstanceServiceConfigHistoriesResult() : + ServiceResult() +{} + +ListInstanceServiceConfigHistoriesResult::ListInstanceServiceConfigHistoriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListInstanceServiceConfigHistoriesResult::~ListInstanceServiceConfigHistoriesResult() +{} + +void ListInstanceServiceConfigHistoriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConfigureHistoryListNode = value["ConfigureHistoryList"]["Config"]; + for (auto valueConfigureHistoryListConfig : allConfigureHistoryListNode) + { + Config configureHistoryListObject; + if(!valueConfigureHistoryListConfig["ConfigureName"].isNull()) + configureHistoryListObject.configureName = valueConfigureHistoryListConfig["ConfigureName"].asString(); + if(!valueConfigureHistoryListConfig["OldValue"].isNull()) + configureHistoryListObject.oldValue = valueConfigureHistoryListConfig["OldValue"].asString(); + if(!valueConfigureHistoryListConfig["NewValue"].isNull()) + configureHistoryListObject.newValue = valueConfigureHistoryListConfig["NewValue"].asString(); + if(!valueConfigureHistoryListConfig["Effective"].isNull()) + configureHistoryListObject.effective = valueConfigureHistoryListConfig["Effective"].asString(); + if(!valueConfigureHistoryListConfig["CreateTime"].isNull()) + configureHistoryListObject.createTime = valueConfigureHistoryListConfig["CreateTime"].asString(); + configureHistoryList_.push_back(configureHistoryListObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageRecordCount"].isNull()) + pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); + if(!value["TotalRecordCount"].isNull()) + totalRecordCount_ = std::stol(value["TotalRecordCount"].asString()); + +} + +long ListInstanceServiceConfigHistoriesResult::getTotalRecordCount()const +{ + return totalRecordCount_; +} + +int ListInstanceServiceConfigHistoriesResult::getPageRecordCount()const +{ + return pageRecordCount_; +} + +int ListInstanceServiceConfigHistoriesResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListInstanceServiceConfigHistoriesResult::getConfigureHistoryList()const +{ + return configureHistoryList_; +} + diff --git a/hbase/src/model/ListInstanceServiceConfigurationsRequest.cc b/hbase/src/model/ListInstanceServiceConfigurationsRequest.cc new file mode 100644 index 000000000..fe9aea4a7 --- /dev/null +++ b/hbase/src/model/ListInstanceServiceConfigurationsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::ListInstanceServiceConfigurationsRequest; + +ListInstanceServiceConfigurationsRequest::ListInstanceServiceConfigurationsRequest() : + RpcServiceRequest("hbase", "2019-01-01", "ListInstanceServiceConfigurations") +{ + setMethod(HttpRequest::Method::Post); +} + +ListInstanceServiceConfigurationsRequest::~ListInstanceServiceConfigurationsRequest() +{} + +std::string ListInstanceServiceConfigurationsRequest::getClusterId()const +{ + return clusterId_; +} + +void ListInstanceServiceConfigurationsRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +int ListInstanceServiceConfigurationsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void ListInstanceServiceConfigurationsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +int ListInstanceServiceConfigurationsRequest::getPageSize()const +{ + return pageSize_; +} + +void ListInstanceServiceConfigurationsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + diff --git a/hbase/src/model/ListInstanceServiceConfigurationsResult.cc b/hbase/src/model/ListInstanceServiceConfigurationsResult.cc new file mode 100644 index 000000000..a7336dd76 --- /dev/null +++ b/hbase/src/model/ListInstanceServiceConfigurationsResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +ListInstanceServiceConfigurationsResult::ListInstanceServiceConfigurationsResult() : + ServiceResult() +{} + +ListInstanceServiceConfigurationsResult::ListInstanceServiceConfigurationsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListInstanceServiceConfigurationsResult::~ListInstanceServiceConfigurationsResult() +{} + +void ListInstanceServiceConfigurationsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allConfigureListNode = value["ConfigureList"]["Config"]; + for (auto valueConfigureListConfig : allConfigureListNode) + { + Config configureListObject; + if(!valueConfigureListConfig["ConfigureName"].isNull()) + configureListObject.configureName = valueConfigureListConfig["ConfigureName"].asString(); + if(!valueConfigureListConfig["DefaultValue"].isNull()) + configureListObject.defaultValue = valueConfigureListConfig["DefaultValue"].asString(); + if(!valueConfigureListConfig["RunningValue"].isNull()) + configureListObject.runningValue = valueConfigureListConfig["RunningValue"].asString(); + if(!valueConfigureListConfig["ConfigureUnit"].isNull()) + configureListObject.configureUnit = valueConfigureListConfig["ConfigureUnit"].asString(); + if(!valueConfigureListConfig["ValueRange"].isNull()) + configureListObject.valueRange = valueConfigureListConfig["ValueRange"].asString(); + if(!valueConfigureListConfig["NeedRestart"].isNull()) + configureListObject.needRestart = valueConfigureListConfig["NeedRestart"].asString(); + if(!valueConfigureListConfig["Description"].isNull()) + configureListObject.description = valueConfigureListConfig["Description"].asString(); + configureList_.push_back(configureListObject); + } + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); + if(!value["PageRecordCount"].isNull()) + pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); + if(!value["TotalRecordCount"].isNull()) + totalRecordCount_ = std::stol(value["TotalRecordCount"].asString()); + +} + +long ListInstanceServiceConfigurationsResult::getTotalRecordCount()const +{ + return totalRecordCount_; +} + +int ListInstanceServiceConfigurationsResult::getPageRecordCount()const +{ + return pageRecordCount_; +} + +int ListInstanceServiceConfigurationsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::vector ListInstanceServiceConfigurationsResult::getConfigureList()const +{ + return configureList_; +} + diff --git a/hbase/src/model/ModifyBackupPolicyRequest.cc b/hbase/src/model/ModifyBackupPolicyRequest.cc new file mode 100644 index 000000000..87fdd0ed0 --- /dev/null +++ b/hbase/src/model/ModifyBackupPolicyRequest.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::HBase::Model::ModifyBackupPolicyRequest; + +ModifyBackupPolicyRequest::ModifyBackupPolicyRequest() : + RpcServiceRequest("hbase", "2019-01-01", "ModifyBackupPolicy") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyBackupPolicyRequest::~ModifyBackupPolicyRequest() +{} + +std::string ModifyBackupPolicyRequest::getPreferredBackupEndTimeUTC()const +{ + return preferredBackupEndTimeUTC_; +} + +void ModifyBackupPolicyRequest::setPreferredBackupEndTimeUTC(const std::string& preferredBackupEndTimeUTC) +{ + preferredBackupEndTimeUTC_ = preferredBackupEndTimeUTC; + setParameter("PreferredBackupEndTimeUTC", preferredBackupEndTimeUTC); +} + +std::string ModifyBackupPolicyRequest::getPreferredBackupStartTimeUTC()const +{ + return preferredBackupStartTimeUTC_; +} + +void ModifyBackupPolicyRequest::setPreferredBackupStartTimeUTC(const std::string& preferredBackupStartTimeUTC) +{ + preferredBackupStartTimeUTC_ = preferredBackupStartTimeUTC; + setParameter("PreferredBackupStartTimeUTC", preferredBackupStartTimeUTC); +} + +std::string ModifyBackupPolicyRequest::getPreferredBackupPeriod()const +{ + return preferredBackupPeriod_; +} + +void ModifyBackupPolicyRequest::setPreferredBackupPeriod(const std::string& preferredBackupPeriod) +{ + preferredBackupPeriod_ = preferredBackupPeriod; + setParameter("PreferredBackupPeriod", preferredBackupPeriod); +} + +std::string ModifyBackupPolicyRequest::getClusterId()const +{ + return clusterId_; +} + +void ModifyBackupPolicyRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ModifyBackupPolicyRequest::getPreferredBackupTime()const +{ + return preferredBackupTime_; +} + +void ModifyBackupPolicyRequest::setPreferredBackupTime(const std::string& preferredBackupTime) +{ + preferredBackupTime_ = preferredBackupTime; + setParameter("PreferredBackupTime", preferredBackupTime); +} + diff --git a/hbase/src/model/ModifyBackupPolicyResult.cc b/hbase/src/model/ModifyBackupPolicyResult.cc new file mode 100644 index 000000000..cef661d73 --- /dev/null +++ b/hbase/src/model/ModifyBackupPolicyResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +ModifyBackupPolicyResult::ModifyBackupPolicyResult() : + ServiceResult() +{} + +ModifyBackupPolicyResult::ModifyBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyBackupPolicyResult::~ModifyBackupPolicyResult() +{} + +void ModifyBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/ModifyInstanceServiceConfigRequest.cc b/hbase/src/model/ModifyInstanceServiceConfigRequest.cc new file mode 100644 index 000000000..f61b30f14 --- /dev/null +++ b/hbase/src/model/ModifyInstanceServiceConfigRequest.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::HBase::Model::ModifyInstanceServiceConfigRequest; + +ModifyInstanceServiceConfigRequest::ModifyInstanceServiceConfigRequest() : + RpcServiceRequest("hbase", "2019-01-01", "ModifyInstanceServiceConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyInstanceServiceConfigRequest::~ModifyInstanceServiceConfigRequest() +{} + +std::string ModifyInstanceServiceConfigRequest::getConfigureName()const +{ + return configureName_; +} + +void ModifyInstanceServiceConfigRequest::setConfigureName(const std::string& configureName) +{ + configureName_ = configureName; + setParameter("ConfigureName", configureName); +} + +bool ModifyInstanceServiceConfigRequest::getRestart()const +{ + return restart_; +} + +void ModifyInstanceServiceConfigRequest::setRestart(bool restart) +{ + restart_ = restart; + setParameter("Restart", restart ? "true" : "false"); +} + +std::string ModifyInstanceServiceConfigRequest::getClusterId()const +{ + return clusterId_; +} + +void ModifyInstanceServiceConfigRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string ModifyInstanceServiceConfigRequest::getConfigureValue()const +{ + return configureValue_; +} + +void ModifyInstanceServiceConfigRequest::setConfigureValue(const std::string& configureValue) +{ + configureValue_ = configureValue; + setParameter("ConfigureValue", configureValue); +} + +std::string ModifyInstanceServiceConfigRequest::getParameters()const +{ + return parameters_; +} + +void ModifyInstanceServiceConfigRequest::setParameters(const std::string& parameters) +{ + parameters_ = parameters; + setParameter("Parameters", parameters); +} + diff --git a/hbase/src/model/ModifyInstanceServiceConfigResult.cc b/hbase/src/model/ModifyInstanceServiceConfigResult.cc new file mode 100644 index 000000000..75747a90e --- /dev/null +++ b/hbase/src/model/ModifyInstanceServiceConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +ModifyInstanceServiceConfigResult::ModifyInstanceServiceConfigResult() : + ServiceResult() +{} + +ModifyInstanceServiceConfigResult::ModifyInstanceServiceConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyInstanceServiceConfigResult::~ModifyInstanceServiceConfigResult() +{} + +void ModifyInstanceServiceConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/MoveResourceGroupRequest.cc b/hbase/src/model/MoveResourceGroupRequest.cc new file mode 100644 index 000000000..1e48de098 --- /dev/null +++ b/hbase/src/model/MoveResourceGroupRequest.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::HBase::Model::MoveResourceGroupRequest; + +MoveResourceGroupRequest::MoveResourceGroupRequest() : + RpcServiceRequest("hbase", "2019-01-01", "MoveResourceGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +MoveResourceGroupRequest::~MoveResourceGroupRequest() +{} + +std::string MoveResourceGroupRequest::getClusterId()const +{ + return clusterId_; +} + +void MoveResourceGroupRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string MoveResourceGroupRequest::getNewResourceGroupId()const +{ + return newResourceGroupId_; +} + +void MoveResourceGroupRequest::setNewResourceGroupId(const std::string& newResourceGroupId) +{ + newResourceGroupId_ = newResourceGroupId; + setParameter("NewResourceGroupId", newResourceGroupId); +} + diff --git a/hbase/src/model/MoveResourceGroupResult.cc b/hbase/src/model/MoveResourceGroupResult.cc new file mode 100644 index 000000000..1ed6b1a6b --- /dev/null +++ b/hbase/src/model/MoveResourceGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +MoveResourceGroupResult::MoveResourceGroupResult() : + ServiceResult() +{} + +MoveResourceGroupResult::MoveResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MoveResourceGroupResult::~MoveResourceGroupResult() +{} + +void MoveResourceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/OpenBackupRequest.cc b/hbase/src/model/OpenBackupRequest.cc new file mode 100644 index 000000000..326482392 --- /dev/null +++ b/hbase/src/model/OpenBackupRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::OpenBackupRequest; + +OpenBackupRequest::OpenBackupRequest() : + RpcServiceRequest("hbase", "2019-01-01", "OpenBackup") +{ + setMethod(HttpRequest::Method::Post); +} + +OpenBackupRequest::~OpenBackupRequest() +{} + +std::string OpenBackupRequest::getClusterId()const +{ + return clusterId_; +} + +void OpenBackupRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/OpenBackupResult.cc b/hbase/src/model/OpenBackupResult.cc new file mode 100644 index 000000000..915d19b8c --- /dev/null +++ b/hbase/src/model/OpenBackupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +OpenBackupResult::OpenBackupResult() : + ServiceResult() +{} + +OpenBackupResult::OpenBackupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +OpenBackupResult::~OpenBackupResult() +{} + +void OpenBackupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/RelateDbForHBaseHaRequest.cc b/hbase/src/model/RelateDbForHBaseHaRequest.cc new file mode 100644 index 000000000..d119a528c --- /dev/null +++ b/hbase/src/model/RelateDbForHBaseHaRequest.cc @@ -0,0 +1,260 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::RelateDbForHBaseHaRequest; + +RelateDbForHBaseHaRequest::RelateDbForHBaseHaRequest() : + RpcServiceRequest("hbase", "2019-01-01", "RelateDbForHBaseHa") +{ + setMethod(HttpRequest::Method::Post); +} + +RelateDbForHBaseHaRequest::~RelateDbForHBaseHaRequest() +{} + +std::string RelateDbForHBaseHaRequest::getHaMigrateType()const +{ + return haMigrateType_; +} + +void RelateDbForHBaseHaRequest::setHaMigrateType(const std::string& haMigrateType) +{ + haMigrateType_ = haMigrateType; + setParameter("HaMigrateType", haMigrateType); +} + +std::string RelateDbForHBaseHaRequest::getHaActiveHdfsUri()const +{ + return haActiveHdfsUri_; +} + +void RelateDbForHBaseHaRequest::setHaActiveHdfsUri(const std::string& haActiveHdfsUri) +{ + haActiveHdfsUri_ = haActiveHdfsUri; + setParameter("HaActiveHdfsUri", haActiveHdfsUri); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyVersion()const +{ + return haStandbyVersion_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyVersion(const std::string& haStandbyVersion) +{ + haStandbyVersion_ = haStandbyVersion; + setParameter("HaStandbyVersion", haStandbyVersion); +} + +bool RelateDbForHBaseHaRequest::getIsStandbyStandard()const +{ + return isStandbyStandard_; +} + +void RelateDbForHBaseHaRequest::setIsStandbyStandard(bool isStandbyStandard) +{ + isStandbyStandard_ = isStandbyStandard; + setParameter("IsStandbyStandard", isStandbyStandard ? "true" : "false"); +} + +std::string RelateDbForHBaseHaRequest::getHaActiveClusterKey()const +{ + return haActiveClusterKey_; +} + +void RelateDbForHBaseHaRequest::setHaActiveClusterKey(const std::string& haActiveClusterKey) +{ + haActiveClusterKey_ = haActiveClusterKey; + setParameter("HaActiveClusterKey", haActiveClusterKey); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyPassword()const +{ + return haStandbyPassword_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyPassword(const std::string& haStandbyPassword) +{ + haStandbyPassword_ = haStandbyPassword; + setParameter("HaStandbyPassword", haStandbyPassword); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyClusterKey()const +{ + return haStandbyClusterKey_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyClusterKey(const std::string& haStandbyClusterKey) +{ + haStandbyClusterKey_ = haStandbyClusterKey; + setParameter("HaStandbyClusterKey", haStandbyClusterKey); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyHbaseFsDir()const +{ + return haStandbyHbaseFsDir_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyHbaseFsDir(const std::string& haStandbyHbaseFsDir) +{ + haStandbyHbaseFsDir_ = haStandbyHbaseFsDir; + setParameter("HaStandbyHbaseFsDir", haStandbyHbaseFsDir); +} + +std::string RelateDbForHBaseHaRequest::getHaActiveHbaseFsDir()const +{ + return haActiveHbaseFsDir_; +} + +void RelateDbForHBaseHaRequest::setHaActiveHbaseFsDir(const std::string& haActiveHbaseFsDir) +{ + haActiveHbaseFsDir_ = haActiveHbaseFsDir; + setParameter("HaActiveHbaseFsDir", haActiveHbaseFsDir); +} + +std::string RelateDbForHBaseHaRequest::getHaActiveDBType()const +{ + return haActiveDBType_; +} + +void RelateDbForHBaseHaRequest::setHaActiveDBType(const std::string& haActiveDBType) +{ + haActiveDBType_ = haActiveDBType; + setParameter("HaActiveDBType", haActiveDBType); +} + +std::string RelateDbForHBaseHaRequest::getHaActivePassword()const +{ + return haActivePassword_; +} + +void RelateDbForHBaseHaRequest::setHaActivePassword(const std::string& haActivePassword) +{ + haActivePassword_ = haActivePassword; + setParameter("HaActivePassword", haActivePassword); +} + +bool RelateDbForHBaseHaRequest::getIsActiveStandard()const +{ + return isActiveStandard_; +} + +void RelateDbForHBaseHaRequest::setIsActiveStandard(bool isActiveStandard) +{ + isActiveStandard_ = isActiveStandard; + setParameter("IsActiveStandard", isActiveStandard ? "true" : "false"); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyUser()const +{ + return haStandbyUser_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyUser(const std::string& haStandbyUser) +{ + haStandbyUser_ = haStandbyUser; + setParameter("HaStandbyUser", haStandbyUser); +} + +std::string RelateDbForHBaseHaRequest::getHaActive()const +{ + return haActive_; +} + +void RelateDbForHBaseHaRequest::setHaActive(const std::string& haActive) +{ + haActive_ = haActive; + setParameter("HaActive", haActive); +} + +std::string RelateDbForHBaseHaRequest::getHaStandby()const +{ + return haStandby_; +} + +void RelateDbForHBaseHaRequest::setHaStandby(const std::string& haStandby) +{ + haStandby_ = haStandby; + setParameter("HaStandby", haStandby); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyHdfsUri()const +{ + return haStandbyHdfsUri_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyHdfsUri(const std::string& haStandbyHdfsUri) +{ + haStandbyHdfsUri_ = haStandbyHdfsUri; + setParameter("HaStandbyHdfsUri", haStandbyHdfsUri); +} + +std::string RelateDbForHBaseHaRequest::getHaActiveVersion()const +{ + return haActiveVersion_; +} + +void RelateDbForHBaseHaRequest::setHaActiveVersion(const std::string& haActiveVersion) +{ + haActiveVersion_ = haActiveVersion; + setParameter("HaActiveVersion", haActiveVersion); +} + +std::string RelateDbForHBaseHaRequest::getClusterId()const +{ + return clusterId_; +} + +void RelateDbForHBaseHaRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + +std::string RelateDbForHBaseHaRequest::getHaStandbyDBType()const +{ + return haStandbyDBType_; +} + +void RelateDbForHBaseHaRequest::setHaStandbyDBType(const std::string& haStandbyDBType) +{ + haStandbyDBType_ = haStandbyDBType; + setParameter("HaStandbyDBType", haStandbyDBType); +} + +std::string RelateDbForHBaseHaRequest::getHaTables()const +{ + return haTables_; +} + +void RelateDbForHBaseHaRequest::setHaTables(const std::string& haTables) +{ + haTables_ = haTables; + setParameter("HaTables", haTables); +} + +std::string RelateDbForHBaseHaRequest::getHaActiveUser()const +{ + return haActiveUser_; +} + +void RelateDbForHBaseHaRequest::setHaActiveUser(const std::string& haActiveUser) +{ + haActiveUser_ = haActiveUser; + setParameter("HaActiveUser", haActiveUser); +} + diff --git a/hbase/src/model/RelateDbForHBaseHaResult.cc b/hbase/src/model/RelateDbForHBaseHaResult.cc new file mode 100644 index 000000000..99f32c47c --- /dev/null +++ b/hbase/src/model/RelateDbForHBaseHaResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +RelateDbForHBaseHaResult::RelateDbForHBaseHaResult() : + ServiceResult() +{} + +RelateDbForHBaseHaResult::RelateDbForHBaseHaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RelateDbForHBaseHaResult::~RelateDbForHBaseHaResult() +{} + +void RelateDbForHBaseHaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/hbase/src/model/ReleasePublicNetworkAddressRequest.cc b/hbase/src/model/ReleasePublicNetworkAddressRequest.cc new file mode 100644 index 000000000..24ce60901 --- /dev/null +++ b/hbase/src/model/ReleasePublicNetworkAddressRequest.cc @@ -0,0 +1,40 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase::Model::ReleasePublicNetworkAddressRequest; + +ReleasePublicNetworkAddressRequest::ReleasePublicNetworkAddressRequest() : + RpcServiceRequest("hbase", "2019-01-01", "ReleasePublicNetworkAddress") +{ + setMethod(HttpRequest::Method::Post); +} + +ReleasePublicNetworkAddressRequest::~ReleasePublicNetworkAddressRequest() +{} + +std::string ReleasePublicNetworkAddressRequest::getClusterId()const +{ + return clusterId_; +} + +void ReleasePublicNetworkAddressRequest::setClusterId(const std::string& clusterId) +{ + clusterId_ = clusterId; + setParameter("ClusterId", clusterId); +} + diff --git a/hbase/src/model/ReleasePublicNetworkAddressResult.cc b/hbase/src/model/ReleasePublicNetworkAddressResult.cc new file mode 100644 index 000000000..02cfbf363 --- /dev/null +++ b/hbase/src/model/ReleasePublicNetworkAddressResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::HBase; +using namespace AlibabaCloud::HBase::Model; + +ReleasePublicNetworkAddressResult::ReleasePublicNetworkAddressResult() : + ServiceResult() +{} + +ReleasePublicNetworkAddressResult::ReleasePublicNetworkAddressResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ReleasePublicNetworkAddressResult::~ReleasePublicNetworkAddressResult() +{} + +void ReleasePublicNetworkAddressResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +