From 0c63e79f3882a15176ea6328a6e8af249c388ed3 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Sat, 13 Mar 2021 12:16:02 +0000 Subject: [PATCH] Supportd DescribeTableStatisticsRequest. --- CHANGELOG | 3 + .../AllocateClusterPublicConnection.xml | 1 + adb/2019-03-15/AttachUserENI.xml | 1 + adb/2019-03-15/BindDBResourcePoolWithUser.xml | 1 + adb/2019-03-15/CheckServiceLinkedRole.xml | 1 + adb/2019-03-15/ConfigAlarmRule.xml | 1 + adb/2019-03-15/CreateAccount.xml | 1 + adb/2019-03-15/CreateAirflowInstance.xml | 1 + adb/2019-03-15/CreateDBCluster.xml | 1 + adb/2019-03-15/CreateDBResourcePool.xml | 1 + adb/2019-03-15/CreateDag.xml | 1 + adb/2019-03-15/CreateDagAccount.xml | 1 + adb/2019-03-15/CreateElasticPlan.xml | 1 + adb/2019-03-15/CreateServiceLinkedRole.xml | 1 + adb/2019-03-15/CreateSparkInstance.xml | 1 + adb/2019-03-15/DeleteAccount.xml | 1 + adb/2019-03-15/DeleteAirflowDag.xml | 1 + adb/2019-03-15/DeleteAirflowInstance.xml | 1 + adb/2019-03-15/DeleteDBCluster.xml | 1 + adb/2019-03-15/DeleteDBResourcePool.xml | 1 + adb/2019-03-15/DeleteDagAccount.xml | 1 + adb/2019-03-15/DeleteElasticPlan.xml | 1 + adb/2019-03-15/DeleteResources.xml | 1 + adb/2019-03-15/DeleteSparkInstance.xml | 1 + adb/2019-03-15/DescribeAccounts.xml | 1 + adb/2019-03-15/DescribeAirflowAttribute.xml | 1 + adb/2019-03-15/DescribeAllAccounts.xml | 1 + adb/2019-03-15/DescribeAllDataSource.xml | 1 + adb/2019-03-15/DescribeAuditLogConfig.xml | 1 + adb/2019-03-15/DescribeAuditLogRecords.xml | 1 + adb/2019-03-15/DescribeAutoRenewAttribute.xml | 1 + adb/2019-03-15/DescribeAvailableResource.xml | 1 + adb/2019-03-15/DescribeBackupPolicy.xml | 1 + adb/2019-03-15/DescribeBackups.xml | 1 + adb/2019-03-15/DescribeColumns.xml | 1 + .../DescribeConnectionCountRecords.xml | 1 + .../DescribeDBClusterAccessWhiteList.xml | 1 + adb/2019-03-15/DescribeDBClusterAttribute.xml | 1 + adb/2019-03-15/DescribeDBClusterNetInfo.xml | 1 + .../DescribeDBClusterPerformance.xml | 1 + ...scribeDBClusterResourcePoolPerformance.xml | 1 + adb/2019-03-15/DescribeDBClusterStatus.xml | 1 + adb/2019-03-15/DescribeDBClusters.xml | 1 + adb/2019-03-15/DescribeDBResourcePool.xml | 1 + adb/2019-03-15/DescribeDagAccounts.xml | 1 + adb/2019-03-15/DescribeDagCode.xml | 1 + adb/2019-03-15/DescribeDagGraph.xml | 1 + adb/2019-03-15/DescribeDagList.xml | 1 + adb/2019-03-15/DescribeElasticDailyPlan.xml | 1 + adb/2019-03-15/DescribeElasticPlan.xml | 1 + adb/2019-03-15/DescribeInclinedTables.xml | 1 + adb/2019-03-15/DescribeLoadTasksRecords.xml | 1 + adb/2019-03-15/DescribeLogHubAttribute.xml | 1 + adb/2019-03-15/DescribeLogStoreKeys.xml | 1 + adb/2019-03-15/DescribeLoghubDetail.xml | 1 + adb/2019-03-15/DescribeOperatorPermission.xml | 1 + adb/2019-03-15/DescribeProcessList.xml | 1 + .../DescribeRdsAnalysisResourceQuotas.xml | 1 + adb/2019-03-15/DescribeRdsInstanceList.xml | 1 + adb/2019-03-15/DescribeRegions.xml | 1 + adb/2019-03-15/DescribeRegionsMixed.xml | 1 + adb/2019-03-15/DescribeSQLPlan.xml | 1 + adb/2019-03-15/DescribeSQLPlanTask.xml | 1 + adb/2019-03-15/DescribeSchemas.xml | 1 + adb/2019-03-15/DescribeSlowLogRecords.xml | 1 + adb/2019-03-15/DescribeSlowLogTrend.xml | 1 + adb/2019-03-15/DescribeSparkAttribute.xml | 1 + .../DescribeSyncAvailableDBClusterList.xml | 1 + adb/2019-03-15/DescribeSyncJobList.xml | 1 + adb/2019-03-15/DescribeTableDetail.xml | 1 + .../DescribeTablePartitionDiagnose.xml | 1 + adb/2019-03-15/DescribeTableStatistics.xml | 1 + adb/2019-03-15/DescribeTables.xml | 1 + adb/2019-03-15/DescribeTaskInfo.xml | 1 + adb/2019-03-15/DescribeVSwitchs.xml | 1 + adb/2019-03-15/DescribeVpcs.xml | 1 + adb/2019-03-15/DetachUserENI.xml | 1 + adb/2019-03-15/GetResource.xml | 1 + adb/2019-03-15/GetResourceDownloadUrl.xml | 1 + .../GetResourceSpaceCertificate.xml | 1 + adb/2019-03-15/GrantOperatorPermission.xml | 1 + adb/2019-03-15/KillProcess.xml | 1 + adb/2019-03-15/ListResources.xml | 1 + adb/2019-03-15/ListTagResources.xml | 1 + adb/2019-03-15/ModifyAccountDescription.xml | 1 + adb/2019-03-15/ModifyAirflowDag.xml | 1 + adb/2019-03-15/ModifyAuditLogConfig.xml | 1 + adb/2019-03-15/ModifyAutoRenewAttribute.xml | 1 + adb/2019-03-15/ModifyBackupPolicy.xml | 1 + .../ModifyClusterConnectionString.xml | 1 + adb/2019-03-15/ModifyDBCluster.xml | 1 + .../ModifyDBClusterAccessWhiteList.xml | 1 + adb/2019-03-15/ModifyDBClusterDescription.xml | 1 + .../ModifyDBClusterMaintainTime.xml | 1 + .../ModifyDBClusterResourceGroup.xml | 1 + adb/2019-03-15/ModifyDBResourcePool.xml | 1 + adb/2019-03-15/ModifyDagAccount.xml | 1 + adb/2019-03-15/ModifyElasticPlan.xml | 1 + adb/2019-03-15/ModifyLogBackupPolicy.xml | 1 + adb/2019-03-15/ModifyLogHubStatus.xml | 1 + adb/2019-03-15/ModifySyncJob.xml | 1 + .../ModifyUIProxyAccountPassword.xml | 1 + adb/2019-03-15/OperateLogHub.xml | 1 + .../ReleaseClusterPublicConnection.xml | 1 + adb/2019-03-15/ResetAccountPassword.xml | 1 + adb/2019-03-15/RevokeOperatorPermission.xml | 1 + adb/2019-03-15/StartAirflowDag.xml | 1 + adb/2019-03-15/StatResourceSpace.xml | 1 + adb/2019-03-15/StopAirflowDag.xml | 1 + adb/2019-03-15/SubmitSparkJob.xml | 1 + adb/2019-03-15/TagResources.xml | 1 + adb/2019-03-15/TestAirflowConnection.xml | 1 + adb/2019-03-15/TriggerAirflowDag.xml | 1 + .../UnbindDBResourcePoolWithUser.xml | 1 + adb/2019-03-15/UntagResources.xml | 1 + adb/CMakeLists.txt | 76 ++ adb/include/alibabacloud/adb/AdbClient.h | 152 ++++ .../model/BindDBResourcePoolWithUserRequest.h | 69 ++ .../model/BindDBResourcePoolWithUserResult.h | 49 ++ .../adb/model/CreateDBClusterRequest.h | 60 +- .../adb/model/CreateDBResourcePoolRequest.h | 72 ++ .../adb/model/CreateDBResourcePoolResult.h | 49 ++ .../adb/model/CreateElasticPlanRequest.h | 90 +++ .../adb/model/CreateElasticPlanResult.h | 49 ++ .../adb/model/DeleteDBClusterResult.h | 4 + .../adb/model/DeleteDBResourcePoolRequest.h | 66 ++ .../adb/model/DeleteDBResourcePoolResult.h | 49 ++ .../adb/model/DeleteElasticPlanRequest.h | 66 ++ .../adb/model/DeleteElasticPlanResult.h | 49 ++ .../adb/model/DescribeAllAccountsRequest.h | 63 ++ .../adb/model/DescribeAllAccountsResult.h | 55 ++ .../model/DescribeAvailableResourceResult.h | 7 + .../DescribeConnectionCountRecordsRequest.h | 63 ++ .../DescribeConnectionCountRecordsResult.h | 67 ++ .../model/DescribeDBClusterAttributeResult.h | 5 + ...eDBClusterResourcePoolPerformanceRequest.h | 75 ++ ...beDBClusterResourcePoolPerformanceResult.h | 73 ++ .../adb/model/DescribeDBClustersResult.h | 1 + .../adb/model/DescribeDBResourcePoolRequest.h | 66 ++ .../adb/model/DescribeDBResourcePoolResult.h | 60 ++ .../model/DescribeElasticDailyPlanRequest.h | 75 ++ .../model/DescribeElasticDailyPlanResult.h | 63 ++ .../adb/model/DescribeElasticPlanRequest.h | 72 ++ .../adb/model/DescribeElasticPlanResult.h | 63 ++ .../model/DescribeLoadTasksRecordsRequest.h | 87 +++ .../model/DescribeLoadTasksRecordsResult.h | 70 ++ .../adb/model/DescribeSQLPlanRequest.h | 66 ++ .../adb/model/DescribeSQLPlanResult.h | 92 +++ .../adb/model/DescribeSQLPlanTaskRequest.h | 69 ++ .../adb/model/DescribeSQLPlanTaskResult.h | 66 ++ .../adb/model/DescribeSlowLogRecordsRequest.h | 12 + .../adb/model/DescribeSlowLogRecordsResult.h | 7 +- .../DescribeTablePartitionDiagnoseResult.h | 4 +- .../model/DescribeTableStatisticsRequest.h | 72 ++ .../adb/model/DescribeTableStatisticsResult.h | 70 ++ .../adb/model/ModifyBackupPolicyRequest.h | 6 + .../adb/model/ModifyDBClusterRequest.h | 9 + .../ModifyDBClusterResourceGroupRequest.h | 66 ++ .../ModifyDBClusterResourceGroupResult.h | 49 ++ .../adb/model/ModifyDBResourcePoolRequest.h | 72 ++ .../adb/model/ModifyDBResourcePoolResult.h | 49 ++ .../adb/model/ModifyElasticPlanRequest.h | 90 +++ .../adb/model/ModifyElasticPlanResult.h | 49 ++ .../UnbindDBResourcePoolWithUserRequest.h | 69 ++ .../UnbindDBResourcePoolWithUserResult.h | 49 ++ adb/src/AdbClient.cc | 684 ++++++++++++++++++ .../BindDBResourcePoolWithUserRequest.cc | 117 +++ .../model/BindDBResourcePoolWithUserResult.cc | 44 ++ adb/src/model/CreateDBClusterRequest.cc | 196 +++-- adb/src/model/CreateDBResourcePoolRequest.cc | 128 ++++ adb/src/model/CreateDBResourcePoolResult.cc | 44 ++ adb/src/model/CreateElasticPlanRequest.cc | 194 +++++ adb/src/model/CreateElasticPlanResult.cc | 44 ++ adb/src/model/DeleteDBClusterResult.cc | 14 + adb/src/model/DeleteDBResourcePoolRequest.cc | 106 +++ adb/src/model/DeleteDBResourcePoolResult.cc | 44 ++ adb/src/model/DeleteElasticPlanRequest.cc | 106 +++ adb/src/model/DeleteElasticPlanResult.cc | 44 ++ adb/src/model/DescribeAllAccountsRequest.cc | 95 +++ adb/src/model/DescribeAllAccountsResult.cc | 57 ++ .../model/DescribeAvailableResourceResult.cc | 51 +- .../DescribeConnectionCountRecordsRequest.cc | 95 +++ .../DescribeConnectionCountRecordsResult.cc | 88 +++ .../model/DescribeDBClusterAttributeResult.cc | 22 +- .../DescribeDBClusterPerformanceResult.cc | 8 +- ...DBClusterResourcePoolPerformanceRequest.cc | 139 ++++ ...eDBClusterResourcePoolPerformanceResult.cc | 99 +++ adb/src/model/DescribeDBClustersResult.cc | 14 +- .../model/DescribeDBResourcePoolRequest.cc | 106 +++ adb/src/model/DescribeDBResourcePoolResult.cc | 67 ++ .../model/DescribeElasticDailyPlanRequest.cc | 139 ++++ .../model/DescribeElasticDailyPlanResult.cc | 73 ++ adb/src/model/DescribeElasticPlanRequest.cc | 128 ++++ adb/src/model/DescribeElasticPlanResult.cc | 73 ++ .../model/DescribeLoadTasksRecordsRequest.cc | 183 +++++ .../model/DescribeLoadTasksRecordsResult.cc | 99 +++ adb/src/model/DescribeRegionsResult.cc | 16 +- adb/src/model/DescribeSQLPlanRequest.cc | 106 +++ adb/src/model/DescribeSQLPlanResult.cc | 130 ++++ adb/src/model/DescribeSQLPlanTaskRequest.cc | 117 +++ adb/src/model/DescribeSQLPlanTaskResult.cc | 79 ++ .../model/DescribeSlowLogRecordsRequest.cc | 44 ++ adb/src/model/DescribeSlowLogRecordsResult.cc | 54 +- adb/src/model/DescribeSlowLogTrendResult.cc | 12 +- .../DescribeTablePartitionDiagnoseResult.cc | 16 +- .../model/DescribeTableStatisticsRequest.cc | 128 ++++ .../model/DescribeTableStatisticsResult.cc | 99 +++ adb/src/model/ModifyBackupPolicyRequest.cc | 22 + adb/src/model/ModifyDBClusterRequest.cc | 33 + .../ModifyDBClusterResourceGroupRequest.cc | 106 +++ .../ModifyDBClusterResourceGroupResult.cc | 44 ++ adb/src/model/ModifyDBResourcePoolRequest.cc | 128 ++++ adb/src/model/ModifyDBResourcePoolResult.cc | 44 ++ adb/src/model/ModifyElasticPlanRequest.cc | 194 +++++ adb/src/model/ModifyElasticPlanResult.cc | 44 ++ .../UnbindDBResourcePoolWithUserRequest.cc | 117 +++ .../UnbindDBResourcePoolWithUserResult.cc | 44 ++ adb/version-2019-03-15.xml | 1 + 218 files changed, 7642 insertions(+), 185 deletions(-) create mode 100644 adb/2019-03-15/AllocateClusterPublicConnection.xml create mode 100644 adb/2019-03-15/AttachUserENI.xml create mode 100644 adb/2019-03-15/BindDBResourcePoolWithUser.xml create mode 100644 adb/2019-03-15/CheckServiceLinkedRole.xml create mode 100644 adb/2019-03-15/ConfigAlarmRule.xml create mode 100644 adb/2019-03-15/CreateAccount.xml create mode 100644 adb/2019-03-15/CreateAirflowInstance.xml create mode 100644 adb/2019-03-15/CreateDBCluster.xml create mode 100644 adb/2019-03-15/CreateDBResourcePool.xml create mode 100644 adb/2019-03-15/CreateDag.xml create mode 100644 adb/2019-03-15/CreateDagAccount.xml create mode 100644 adb/2019-03-15/CreateElasticPlan.xml create mode 100644 adb/2019-03-15/CreateServiceLinkedRole.xml create mode 100644 adb/2019-03-15/CreateSparkInstance.xml create mode 100644 adb/2019-03-15/DeleteAccount.xml create mode 100644 adb/2019-03-15/DeleteAirflowDag.xml create mode 100644 adb/2019-03-15/DeleteAirflowInstance.xml create mode 100644 adb/2019-03-15/DeleteDBCluster.xml create mode 100644 adb/2019-03-15/DeleteDBResourcePool.xml create mode 100644 adb/2019-03-15/DeleteDagAccount.xml create mode 100644 adb/2019-03-15/DeleteElasticPlan.xml create mode 100644 adb/2019-03-15/DeleteResources.xml create mode 100644 adb/2019-03-15/DeleteSparkInstance.xml create mode 100644 adb/2019-03-15/DescribeAccounts.xml create mode 100644 adb/2019-03-15/DescribeAirflowAttribute.xml create mode 100644 adb/2019-03-15/DescribeAllAccounts.xml create mode 100644 adb/2019-03-15/DescribeAllDataSource.xml create mode 100644 adb/2019-03-15/DescribeAuditLogConfig.xml create mode 100644 adb/2019-03-15/DescribeAuditLogRecords.xml create mode 100644 adb/2019-03-15/DescribeAutoRenewAttribute.xml create mode 100644 adb/2019-03-15/DescribeAvailableResource.xml create mode 100644 adb/2019-03-15/DescribeBackupPolicy.xml create mode 100644 adb/2019-03-15/DescribeBackups.xml create mode 100644 adb/2019-03-15/DescribeColumns.xml create mode 100644 adb/2019-03-15/DescribeConnectionCountRecords.xml create mode 100644 adb/2019-03-15/DescribeDBClusterAccessWhiteList.xml create mode 100644 adb/2019-03-15/DescribeDBClusterAttribute.xml create mode 100644 adb/2019-03-15/DescribeDBClusterNetInfo.xml create mode 100644 adb/2019-03-15/DescribeDBClusterPerformance.xml create mode 100644 adb/2019-03-15/DescribeDBClusterResourcePoolPerformance.xml create mode 100644 adb/2019-03-15/DescribeDBClusterStatus.xml create mode 100644 adb/2019-03-15/DescribeDBClusters.xml create mode 100644 adb/2019-03-15/DescribeDBResourcePool.xml create mode 100644 adb/2019-03-15/DescribeDagAccounts.xml create mode 100644 adb/2019-03-15/DescribeDagCode.xml create mode 100644 adb/2019-03-15/DescribeDagGraph.xml create mode 100644 adb/2019-03-15/DescribeDagList.xml create mode 100644 adb/2019-03-15/DescribeElasticDailyPlan.xml create mode 100644 adb/2019-03-15/DescribeElasticPlan.xml create mode 100644 adb/2019-03-15/DescribeInclinedTables.xml create mode 100644 adb/2019-03-15/DescribeLoadTasksRecords.xml create mode 100644 adb/2019-03-15/DescribeLogHubAttribute.xml create mode 100644 adb/2019-03-15/DescribeLogStoreKeys.xml create mode 100644 adb/2019-03-15/DescribeLoghubDetail.xml create mode 100644 adb/2019-03-15/DescribeOperatorPermission.xml create mode 100644 adb/2019-03-15/DescribeProcessList.xml create mode 100644 adb/2019-03-15/DescribeRdsAnalysisResourceQuotas.xml create mode 100644 adb/2019-03-15/DescribeRdsInstanceList.xml create mode 100644 adb/2019-03-15/DescribeRegions.xml create mode 100644 adb/2019-03-15/DescribeRegionsMixed.xml create mode 100644 adb/2019-03-15/DescribeSQLPlan.xml create mode 100644 adb/2019-03-15/DescribeSQLPlanTask.xml create mode 100644 adb/2019-03-15/DescribeSchemas.xml create mode 100644 adb/2019-03-15/DescribeSlowLogRecords.xml create mode 100644 adb/2019-03-15/DescribeSlowLogTrend.xml create mode 100644 adb/2019-03-15/DescribeSparkAttribute.xml create mode 100644 adb/2019-03-15/DescribeSyncAvailableDBClusterList.xml create mode 100644 adb/2019-03-15/DescribeSyncJobList.xml create mode 100644 adb/2019-03-15/DescribeTableDetail.xml create mode 100644 adb/2019-03-15/DescribeTablePartitionDiagnose.xml create mode 100644 adb/2019-03-15/DescribeTableStatistics.xml create mode 100644 adb/2019-03-15/DescribeTables.xml create mode 100644 adb/2019-03-15/DescribeTaskInfo.xml create mode 100644 adb/2019-03-15/DescribeVSwitchs.xml create mode 100644 adb/2019-03-15/DescribeVpcs.xml create mode 100644 adb/2019-03-15/DetachUserENI.xml create mode 100644 adb/2019-03-15/GetResource.xml create mode 100644 adb/2019-03-15/GetResourceDownloadUrl.xml create mode 100644 adb/2019-03-15/GetResourceSpaceCertificate.xml create mode 100644 adb/2019-03-15/GrantOperatorPermission.xml create mode 100644 adb/2019-03-15/KillProcess.xml create mode 100644 adb/2019-03-15/ListResources.xml create mode 100644 adb/2019-03-15/ListTagResources.xml create mode 100644 adb/2019-03-15/ModifyAccountDescription.xml create mode 100644 adb/2019-03-15/ModifyAirflowDag.xml create mode 100644 adb/2019-03-15/ModifyAuditLogConfig.xml create mode 100644 adb/2019-03-15/ModifyAutoRenewAttribute.xml create mode 100644 adb/2019-03-15/ModifyBackupPolicy.xml create mode 100644 adb/2019-03-15/ModifyClusterConnectionString.xml create mode 100644 adb/2019-03-15/ModifyDBCluster.xml create mode 100644 adb/2019-03-15/ModifyDBClusterAccessWhiteList.xml create mode 100644 adb/2019-03-15/ModifyDBClusterDescription.xml create mode 100644 adb/2019-03-15/ModifyDBClusterMaintainTime.xml create mode 100644 adb/2019-03-15/ModifyDBClusterResourceGroup.xml create mode 100644 adb/2019-03-15/ModifyDBResourcePool.xml create mode 100644 adb/2019-03-15/ModifyDagAccount.xml create mode 100644 adb/2019-03-15/ModifyElasticPlan.xml create mode 100644 adb/2019-03-15/ModifyLogBackupPolicy.xml create mode 100644 adb/2019-03-15/ModifyLogHubStatus.xml create mode 100644 adb/2019-03-15/ModifySyncJob.xml create mode 100644 adb/2019-03-15/ModifyUIProxyAccountPassword.xml create mode 100644 adb/2019-03-15/OperateLogHub.xml create mode 100644 adb/2019-03-15/ReleaseClusterPublicConnection.xml create mode 100644 adb/2019-03-15/ResetAccountPassword.xml create mode 100644 adb/2019-03-15/RevokeOperatorPermission.xml create mode 100644 adb/2019-03-15/StartAirflowDag.xml create mode 100644 adb/2019-03-15/StatResourceSpace.xml create mode 100644 adb/2019-03-15/StopAirflowDag.xml create mode 100644 adb/2019-03-15/SubmitSparkJob.xml create mode 100644 adb/2019-03-15/TagResources.xml create mode 100644 adb/2019-03-15/TestAirflowConnection.xml create mode 100644 adb/2019-03-15/TriggerAirflowDag.xml create mode 100644 adb/2019-03-15/UnbindDBResourcePoolWithUser.xml create mode 100644 adb/2019-03-15/UntagResources.xml create mode 100644 adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.h create mode 100644 adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserResult.h create mode 100644 adb/include/alibabacloud/adb/model/CreateDBResourcePoolRequest.h create mode 100644 adb/include/alibabacloud/adb/model/CreateDBResourcePoolResult.h create mode 100644 adb/include/alibabacloud/adb/model/CreateElasticPlanRequest.h create mode 100644 adb/include/alibabacloud/adb/model/CreateElasticPlanResult.h create mode 100644 adb/include/alibabacloud/adb/model/DeleteDBResourcePoolRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DeleteDBResourcePoolResult.h create mode 100644 adb/include/alibabacloud/adb/model/DeleteElasticPlanRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DeleteElasticPlanResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeAllAccountsRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeAllAccountsResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeDBResourcePoolRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeElasticPlanRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeElasticPlanResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeSQLPlanRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeSQLPlanResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskResult.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeTableStatisticsRequest.h create mode 100644 adb/include/alibabacloud/adb/model/DescribeTableStatisticsResult.h create mode 100644 adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupRequest.h create mode 100644 adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupResult.h create mode 100644 adb/include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h create mode 100644 adb/include/alibabacloud/adb/model/ModifyDBResourcePoolResult.h create mode 100644 adb/include/alibabacloud/adb/model/ModifyElasticPlanRequest.h create mode 100644 adb/include/alibabacloud/adb/model/ModifyElasticPlanResult.h create mode 100644 adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserRequest.h create mode 100644 adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserResult.h create mode 100644 adb/src/model/BindDBResourcePoolWithUserRequest.cc create mode 100644 adb/src/model/BindDBResourcePoolWithUserResult.cc create mode 100644 adb/src/model/CreateDBResourcePoolRequest.cc create mode 100644 adb/src/model/CreateDBResourcePoolResult.cc create mode 100644 adb/src/model/CreateElasticPlanRequest.cc create mode 100644 adb/src/model/CreateElasticPlanResult.cc create mode 100644 adb/src/model/DeleteDBResourcePoolRequest.cc create mode 100644 adb/src/model/DeleteDBResourcePoolResult.cc create mode 100644 adb/src/model/DeleteElasticPlanRequest.cc create mode 100644 adb/src/model/DeleteElasticPlanResult.cc create mode 100644 adb/src/model/DescribeAllAccountsRequest.cc create mode 100644 adb/src/model/DescribeAllAccountsResult.cc create mode 100644 adb/src/model/DescribeConnectionCountRecordsRequest.cc create mode 100644 adb/src/model/DescribeConnectionCountRecordsResult.cc create mode 100644 adb/src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc create mode 100644 adb/src/model/DescribeDBClusterResourcePoolPerformanceResult.cc create mode 100644 adb/src/model/DescribeDBResourcePoolRequest.cc create mode 100644 adb/src/model/DescribeDBResourcePoolResult.cc create mode 100644 adb/src/model/DescribeElasticDailyPlanRequest.cc create mode 100644 adb/src/model/DescribeElasticDailyPlanResult.cc create mode 100644 adb/src/model/DescribeElasticPlanRequest.cc create mode 100644 adb/src/model/DescribeElasticPlanResult.cc create mode 100644 adb/src/model/DescribeLoadTasksRecordsRequest.cc create mode 100644 adb/src/model/DescribeLoadTasksRecordsResult.cc create mode 100644 adb/src/model/DescribeSQLPlanRequest.cc create mode 100644 adb/src/model/DescribeSQLPlanResult.cc create mode 100644 adb/src/model/DescribeSQLPlanTaskRequest.cc create mode 100644 adb/src/model/DescribeSQLPlanTaskResult.cc create mode 100644 adb/src/model/DescribeTableStatisticsRequest.cc create mode 100644 adb/src/model/DescribeTableStatisticsResult.cc create mode 100644 adb/src/model/ModifyDBClusterResourceGroupRequest.cc create mode 100644 adb/src/model/ModifyDBClusterResourceGroupResult.cc create mode 100644 adb/src/model/ModifyDBResourcePoolRequest.cc create mode 100644 adb/src/model/ModifyDBResourcePoolResult.cc create mode 100644 adb/src/model/ModifyElasticPlanRequest.cc create mode 100644 adb/src/model/ModifyElasticPlanResult.cc create mode 100644 adb/src/model/UnbindDBResourcePoolWithUserRequest.cc create mode 100644 adb/src/model/UnbindDBResourcePoolWithUserResult.cc create mode 100644 adb/version-2019-03-15.xml diff --git a/CHANGELOG b/CHANGELOG index 891cd4542..ee94b7783 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2021-03-13 Version: patch +- Supportd DescribeTableStatisticsRequest. + 2021-03-12 Version: patch - Add EnableAdditionalBandwidth API. - Add CreateTairInstance API. diff --git a/adb/2019-03-15/AllocateClusterPublicConnection.xml b/adb/2019-03-15/AllocateClusterPublicConnection.xml new file mode 100644 index 000000000..fa40419f2 --- /dev/null +++ b/adb/2019-03-15/AllocateClusterPublicConnection.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/AttachUserENI.xml b/adb/2019-03-15/AttachUserENI.xml new file mode 100644 index 000000000..743b34779 --- /dev/null +++ b/adb/2019-03-15/AttachUserENI.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/BindDBResourcePoolWithUser.xml b/adb/2019-03-15/BindDBResourcePoolWithUser.xml new file mode 100644 index 000000000..140002330 --- /dev/null +++ b/adb/2019-03-15/BindDBResourcePoolWithUser.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CheckServiceLinkedRole.xml b/adb/2019-03-15/CheckServiceLinkedRole.xml new file mode 100644 index 000000000..b760439d0 --- /dev/null +++ b/adb/2019-03-15/CheckServiceLinkedRole.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ConfigAlarmRule.xml b/adb/2019-03-15/ConfigAlarmRule.xml new file mode 100644 index 000000000..7d5d3f100 --- /dev/null +++ b/adb/2019-03-15/ConfigAlarmRule.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateAccount.xml b/adb/2019-03-15/CreateAccount.xml new file mode 100644 index 000000000..d7ad3897a --- /dev/null +++ b/adb/2019-03-15/CreateAccount.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateAirflowInstance.xml b/adb/2019-03-15/CreateAirflowInstance.xml new file mode 100644 index 000000000..f7472d2c2 --- /dev/null +++ b/adb/2019-03-15/CreateAirflowInstance.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateDBCluster.xml b/adb/2019-03-15/CreateDBCluster.xml new file mode 100644 index 000000000..cfa6da576 --- /dev/null +++ b/adb/2019-03-15/CreateDBCluster.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateDBResourcePool.xml b/adb/2019-03-15/CreateDBResourcePool.xml new file mode 100644 index 000000000..982db8b33 --- /dev/null +++ b/adb/2019-03-15/CreateDBResourcePool.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateDag.xml b/adb/2019-03-15/CreateDag.xml new file mode 100644 index 000000000..5ae40a2f5 --- /dev/null +++ b/adb/2019-03-15/CreateDag.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateDagAccount.xml b/adb/2019-03-15/CreateDagAccount.xml new file mode 100644 index 000000000..19b126d16 --- /dev/null +++ b/adb/2019-03-15/CreateDagAccount.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateElasticPlan.xml b/adb/2019-03-15/CreateElasticPlan.xml new file mode 100644 index 000000000..51b7b3253 --- /dev/null +++ b/adb/2019-03-15/CreateElasticPlan.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateServiceLinkedRole.xml b/adb/2019-03-15/CreateServiceLinkedRole.xml new file mode 100644 index 000000000..ada18010d --- /dev/null +++ b/adb/2019-03-15/CreateServiceLinkedRole.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/CreateSparkInstance.xml b/adb/2019-03-15/CreateSparkInstance.xml new file mode 100644 index 000000000..87a4923b7 --- /dev/null +++ b/adb/2019-03-15/CreateSparkInstance.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteAccount.xml b/adb/2019-03-15/DeleteAccount.xml new file mode 100644 index 000000000..be7e093bb --- /dev/null +++ b/adb/2019-03-15/DeleteAccount.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteAirflowDag.xml b/adb/2019-03-15/DeleteAirflowDag.xml new file mode 100644 index 000000000..eaa78a6f3 --- /dev/null +++ b/adb/2019-03-15/DeleteAirflowDag.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteAirflowInstance.xml b/adb/2019-03-15/DeleteAirflowInstance.xml new file mode 100644 index 000000000..666b287f9 --- /dev/null +++ b/adb/2019-03-15/DeleteAirflowInstance.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteDBCluster.xml b/adb/2019-03-15/DeleteDBCluster.xml new file mode 100644 index 000000000..bd688d508 --- /dev/null +++ b/adb/2019-03-15/DeleteDBCluster.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteDBResourcePool.xml b/adb/2019-03-15/DeleteDBResourcePool.xml new file mode 100644 index 000000000..92132c76f --- /dev/null +++ b/adb/2019-03-15/DeleteDBResourcePool.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteDagAccount.xml b/adb/2019-03-15/DeleteDagAccount.xml new file mode 100644 index 000000000..988370556 --- /dev/null +++ b/adb/2019-03-15/DeleteDagAccount.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteElasticPlan.xml b/adb/2019-03-15/DeleteElasticPlan.xml new file mode 100644 index 000000000..be82c863f --- /dev/null +++ b/adb/2019-03-15/DeleteElasticPlan.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteResources.xml b/adb/2019-03-15/DeleteResources.xml new file mode 100644 index 000000000..a941ccb64 --- /dev/null +++ b/adb/2019-03-15/DeleteResources.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DeleteSparkInstance.xml b/adb/2019-03-15/DeleteSparkInstance.xml new file mode 100644 index 000000000..237c8ff8d --- /dev/null +++ b/adb/2019-03-15/DeleteSparkInstance.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAccounts.xml b/adb/2019-03-15/DescribeAccounts.xml new file mode 100644 index 000000000..bbfef37d6 --- /dev/null +++ b/adb/2019-03-15/DescribeAccounts.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAirflowAttribute.xml b/adb/2019-03-15/DescribeAirflowAttribute.xml new file mode 100644 index 000000000..ad762465f --- /dev/null +++ b/adb/2019-03-15/DescribeAirflowAttribute.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAllAccounts.xml b/adb/2019-03-15/DescribeAllAccounts.xml new file mode 100644 index 000000000..dde1f5c69 --- /dev/null +++ b/adb/2019-03-15/DescribeAllAccounts.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAllDataSource.xml b/adb/2019-03-15/DescribeAllDataSource.xml new file mode 100644 index 000000000..7597c410f --- /dev/null +++ b/adb/2019-03-15/DescribeAllDataSource.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAuditLogConfig.xml b/adb/2019-03-15/DescribeAuditLogConfig.xml new file mode 100644 index 000000000..79262af0a --- /dev/null +++ b/adb/2019-03-15/DescribeAuditLogConfig.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAuditLogRecords.xml b/adb/2019-03-15/DescribeAuditLogRecords.xml new file mode 100644 index 000000000..13ecc8540 --- /dev/null +++ b/adb/2019-03-15/DescribeAuditLogRecords.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAutoRenewAttribute.xml b/adb/2019-03-15/DescribeAutoRenewAttribute.xml new file mode 100644 index 000000000..585430d0a --- /dev/null +++ b/adb/2019-03-15/DescribeAutoRenewAttribute.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeAvailableResource.xml b/adb/2019-03-15/DescribeAvailableResource.xml new file mode 100644 index 000000000..039958a96 --- /dev/null +++ b/adb/2019-03-15/DescribeAvailableResource.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeBackupPolicy.xml b/adb/2019-03-15/DescribeBackupPolicy.xml new file mode 100644 index 000000000..f470efad0 --- /dev/null +++ b/adb/2019-03-15/DescribeBackupPolicy.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeBackups.xml b/adb/2019-03-15/DescribeBackups.xml new file mode 100644 index 000000000..0ac371303 --- /dev/null +++ b/adb/2019-03-15/DescribeBackups.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeColumns.xml b/adb/2019-03-15/DescribeColumns.xml new file mode 100644 index 000000000..40f090c12 --- /dev/null +++ b/adb/2019-03-15/DescribeColumns.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeConnectionCountRecords.xml b/adb/2019-03-15/DescribeConnectionCountRecords.xml new file mode 100644 index 000000000..1a5ba9215 --- /dev/null +++ b/adb/2019-03-15/DescribeConnectionCountRecords.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusterAccessWhiteList.xml b/adb/2019-03-15/DescribeDBClusterAccessWhiteList.xml new file mode 100644 index 000000000..331a85861 --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusterAccessWhiteList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusterAttribute.xml b/adb/2019-03-15/DescribeDBClusterAttribute.xml new file mode 100644 index 000000000..2f8712f96 --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusterAttribute.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusterNetInfo.xml b/adb/2019-03-15/DescribeDBClusterNetInfo.xml new file mode 100644 index 000000000..b71525045 --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusterNetInfo.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusterPerformance.xml b/adb/2019-03-15/DescribeDBClusterPerformance.xml new file mode 100644 index 000000000..959f7373e --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusterPerformance.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusterResourcePoolPerformance.xml b/adb/2019-03-15/DescribeDBClusterResourcePoolPerformance.xml new file mode 100644 index 000000000..07cc4940c --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusterResourcePoolPerformance.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusterStatus.xml b/adb/2019-03-15/DescribeDBClusterStatus.xml new file mode 100644 index 000000000..0a9d8fdac --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusterStatus.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBClusters.xml b/adb/2019-03-15/DescribeDBClusters.xml new file mode 100644 index 000000000..5f6fac3b3 --- /dev/null +++ b/adb/2019-03-15/DescribeDBClusters.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDBResourcePool.xml b/adb/2019-03-15/DescribeDBResourcePool.xml new file mode 100644 index 000000000..1051f5577 --- /dev/null +++ b/adb/2019-03-15/DescribeDBResourcePool.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDagAccounts.xml b/adb/2019-03-15/DescribeDagAccounts.xml new file mode 100644 index 000000000..03d4a1d1b --- /dev/null +++ b/adb/2019-03-15/DescribeDagAccounts.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDagCode.xml b/adb/2019-03-15/DescribeDagCode.xml new file mode 100644 index 000000000..5266f6273 --- /dev/null +++ b/adb/2019-03-15/DescribeDagCode.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDagGraph.xml b/adb/2019-03-15/DescribeDagGraph.xml new file mode 100644 index 000000000..c5e0f98eb --- /dev/null +++ b/adb/2019-03-15/DescribeDagGraph.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeDagList.xml b/adb/2019-03-15/DescribeDagList.xml new file mode 100644 index 000000000..30ce478b1 --- /dev/null +++ b/adb/2019-03-15/DescribeDagList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeElasticDailyPlan.xml b/adb/2019-03-15/DescribeElasticDailyPlan.xml new file mode 100644 index 000000000..2bf6d4b65 --- /dev/null +++ b/adb/2019-03-15/DescribeElasticDailyPlan.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeElasticPlan.xml b/adb/2019-03-15/DescribeElasticPlan.xml new file mode 100644 index 000000000..ab389df73 --- /dev/null +++ b/adb/2019-03-15/DescribeElasticPlan.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeInclinedTables.xml b/adb/2019-03-15/DescribeInclinedTables.xml new file mode 100644 index 000000000..d1ab4740e --- /dev/null +++ b/adb/2019-03-15/DescribeInclinedTables.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeLoadTasksRecords.xml b/adb/2019-03-15/DescribeLoadTasksRecords.xml new file mode 100644 index 000000000..9527e74da --- /dev/null +++ b/adb/2019-03-15/DescribeLoadTasksRecords.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeLogHubAttribute.xml b/adb/2019-03-15/DescribeLogHubAttribute.xml new file mode 100644 index 000000000..a30ecbe0d --- /dev/null +++ b/adb/2019-03-15/DescribeLogHubAttribute.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeLogStoreKeys.xml b/adb/2019-03-15/DescribeLogStoreKeys.xml new file mode 100644 index 000000000..d8deb9137 --- /dev/null +++ b/adb/2019-03-15/DescribeLogStoreKeys.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeLoghubDetail.xml b/adb/2019-03-15/DescribeLoghubDetail.xml new file mode 100644 index 000000000..5ec0457f5 --- /dev/null +++ b/adb/2019-03-15/DescribeLoghubDetail.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeOperatorPermission.xml b/adb/2019-03-15/DescribeOperatorPermission.xml new file mode 100644 index 000000000..c3410d305 --- /dev/null +++ b/adb/2019-03-15/DescribeOperatorPermission.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeProcessList.xml b/adb/2019-03-15/DescribeProcessList.xml new file mode 100644 index 000000000..135dbfc9d --- /dev/null +++ b/adb/2019-03-15/DescribeProcessList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeRdsAnalysisResourceQuotas.xml b/adb/2019-03-15/DescribeRdsAnalysisResourceQuotas.xml new file mode 100644 index 000000000..cf98683a2 --- /dev/null +++ b/adb/2019-03-15/DescribeRdsAnalysisResourceQuotas.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeRdsInstanceList.xml b/adb/2019-03-15/DescribeRdsInstanceList.xml new file mode 100644 index 000000000..3cc2dd9da --- /dev/null +++ b/adb/2019-03-15/DescribeRdsInstanceList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeRegions.xml b/adb/2019-03-15/DescribeRegions.xml new file mode 100644 index 000000000..a39cc0c52 --- /dev/null +++ b/adb/2019-03-15/DescribeRegions.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeRegionsMixed.xml b/adb/2019-03-15/DescribeRegionsMixed.xml new file mode 100644 index 000000000..baacf6322 --- /dev/null +++ b/adb/2019-03-15/DescribeRegionsMixed.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSQLPlan.xml b/adb/2019-03-15/DescribeSQLPlan.xml new file mode 100644 index 000000000..8824183d2 --- /dev/null +++ b/adb/2019-03-15/DescribeSQLPlan.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSQLPlanTask.xml b/adb/2019-03-15/DescribeSQLPlanTask.xml new file mode 100644 index 000000000..774536b27 --- /dev/null +++ b/adb/2019-03-15/DescribeSQLPlanTask.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSchemas.xml b/adb/2019-03-15/DescribeSchemas.xml new file mode 100644 index 000000000..4fd74b893 --- /dev/null +++ b/adb/2019-03-15/DescribeSchemas.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSlowLogRecords.xml b/adb/2019-03-15/DescribeSlowLogRecords.xml new file mode 100644 index 000000000..355b6fa91 --- /dev/null +++ b/adb/2019-03-15/DescribeSlowLogRecords.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSlowLogTrend.xml b/adb/2019-03-15/DescribeSlowLogTrend.xml new file mode 100644 index 000000000..78ea4e3b2 --- /dev/null +++ b/adb/2019-03-15/DescribeSlowLogTrend.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSparkAttribute.xml b/adb/2019-03-15/DescribeSparkAttribute.xml new file mode 100644 index 000000000..a38a7f0b8 --- /dev/null +++ b/adb/2019-03-15/DescribeSparkAttribute.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSyncAvailableDBClusterList.xml b/adb/2019-03-15/DescribeSyncAvailableDBClusterList.xml new file mode 100644 index 000000000..936db9d55 --- /dev/null +++ b/adb/2019-03-15/DescribeSyncAvailableDBClusterList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeSyncJobList.xml b/adb/2019-03-15/DescribeSyncJobList.xml new file mode 100644 index 000000000..f3e81cd95 --- /dev/null +++ b/adb/2019-03-15/DescribeSyncJobList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeTableDetail.xml b/adb/2019-03-15/DescribeTableDetail.xml new file mode 100644 index 000000000..bceec9fff --- /dev/null +++ b/adb/2019-03-15/DescribeTableDetail.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeTablePartitionDiagnose.xml b/adb/2019-03-15/DescribeTablePartitionDiagnose.xml new file mode 100644 index 000000000..399abcc83 --- /dev/null +++ b/adb/2019-03-15/DescribeTablePartitionDiagnose.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeTableStatistics.xml b/adb/2019-03-15/DescribeTableStatistics.xml new file mode 100644 index 000000000..5f91af2d5 --- /dev/null +++ b/adb/2019-03-15/DescribeTableStatistics.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeTables.xml b/adb/2019-03-15/DescribeTables.xml new file mode 100644 index 000000000..690a01a72 --- /dev/null +++ b/adb/2019-03-15/DescribeTables.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeTaskInfo.xml b/adb/2019-03-15/DescribeTaskInfo.xml new file mode 100644 index 000000000..ab71752f9 --- /dev/null +++ b/adb/2019-03-15/DescribeTaskInfo.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeVSwitchs.xml b/adb/2019-03-15/DescribeVSwitchs.xml new file mode 100644 index 000000000..d6615acc7 --- /dev/null +++ b/adb/2019-03-15/DescribeVSwitchs.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DescribeVpcs.xml b/adb/2019-03-15/DescribeVpcs.xml new file mode 100644 index 000000000..dff7cf401 --- /dev/null +++ b/adb/2019-03-15/DescribeVpcs.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/DetachUserENI.xml b/adb/2019-03-15/DetachUserENI.xml new file mode 100644 index 000000000..af4b1d675 --- /dev/null +++ b/adb/2019-03-15/DetachUserENI.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/GetResource.xml b/adb/2019-03-15/GetResource.xml new file mode 100644 index 000000000..1c20b1686 --- /dev/null +++ b/adb/2019-03-15/GetResource.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/GetResourceDownloadUrl.xml b/adb/2019-03-15/GetResourceDownloadUrl.xml new file mode 100644 index 000000000..8834a2e9e --- /dev/null +++ b/adb/2019-03-15/GetResourceDownloadUrl.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/GetResourceSpaceCertificate.xml b/adb/2019-03-15/GetResourceSpaceCertificate.xml new file mode 100644 index 000000000..61878df0a --- /dev/null +++ b/adb/2019-03-15/GetResourceSpaceCertificate.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/GrantOperatorPermission.xml b/adb/2019-03-15/GrantOperatorPermission.xml new file mode 100644 index 000000000..3a2eb4d38 --- /dev/null +++ b/adb/2019-03-15/GrantOperatorPermission.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/KillProcess.xml b/adb/2019-03-15/KillProcess.xml new file mode 100644 index 000000000..75313d18e --- /dev/null +++ b/adb/2019-03-15/KillProcess.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ListResources.xml b/adb/2019-03-15/ListResources.xml new file mode 100644 index 000000000..faf66d6a6 --- /dev/null +++ b/adb/2019-03-15/ListResources.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ListTagResources.xml b/adb/2019-03-15/ListTagResources.xml new file mode 100644 index 000000000..5311ef7e3 --- /dev/null +++ b/adb/2019-03-15/ListTagResources.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyAccountDescription.xml b/adb/2019-03-15/ModifyAccountDescription.xml new file mode 100644 index 000000000..6e53008d7 --- /dev/null +++ b/adb/2019-03-15/ModifyAccountDescription.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyAirflowDag.xml b/adb/2019-03-15/ModifyAirflowDag.xml new file mode 100644 index 000000000..a3f7096ac --- /dev/null +++ b/adb/2019-03-15/ModifyAirflowDag.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyAuditLogConfig.xml b/adb/2019-03-15/ModifyAuditLogConfig.xml new file mode 100644 index 000000000..cc947c9b6 --- /dev/null +++ b/adb/2019-03-15/ModifyAuditLogConfig.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyAutoRenewAttribute.xml b/adb/2019-03-15/ModifyAutoRenewAttribute.xml new file mode 100644 index 000000000..a7e6b53c2 --- /dev/null +++ b/adb/2019-03-15/ModifyAutoRenewAttribute.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyBackupPolicy.xml b/adb/2019-03-15/ModifyBackupPolicy.xml new file mode 100644 index 000000000..60e4af084 --- /dev/null +++ b/adb/2019-03-15/ModifyBackupPolicy.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyClusterConnectionString.xml b/adb/2019-03-15/ModifyClusterConnectionString.xml new file mode 100644 index 000000000..d08a9a3cc --- /dev/null +++ b/adb/2019-03-15/ModifyClusterConnectionString.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDBCluster.xml b/adb/2019-03-15/ModifyDBCluster.xml new file mode 100644 index 000000000..a4683783b --- /dev/null +++ b/adb/2019-03-15/ModifyDBCluster.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDBClusterAccessWhiteList.xml b/adb/2019-03-15/ModifyDBClusterAccessWhiteList.xml new file mode 100644 index 000000000..bbe3ff2f8 --- /dev/null +++ b/adb/2019-03-15/ModifyDBClusterAccessWhiteList.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDBClusterDescription.xml b/adb/2019-03-15/ModifyDBClusterDescription.xml new file mode 100644 index 000000000..df3eaccdf --- /dev/null +++ b/adb/2019-03-15/ModifyDBClusterDescription.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDBClusterMaintainTime.xml b/adb/2019-03-15/ModifyDBClusterMaintainTime.xml new file mode 100644 index 000000000..4f742496c --- /dev/null +++ b/adb/2019-03-15/ModifyDBClusterMaintainTime.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDBClusterResourceGroup.xml b/adb/2019-03-15/ModifyDBClusterResourceGroup.xml new file mode 100644 index 000000000..4f207e9d9 --- /dev/null +++ b/adb/2019-03-15/ModifyDBClusterResourceGroup.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDBResourcePool.xml b/adb/2019-03-15/ModifyDBResourcePool.xml new file mode 100644 index 000000000..70f669fb7 --- /dev/null +++ b/adb/2019-03-15/ModifyDBResourcePool.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyDagAccount.xml b/adb/2019-03-15/ModifyDagAccount.xml new file mode 100644 index 000000000..fdcc3e017 --- /dev/null +++ b/adb/2019-03-15/ModifyDagAccount.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyElasticPlan.xml b/adb/2019-03-15/ModifyElasticPlan.xml new file mode 100644 index 000000000..6119b035f --- /dev/null +++ b/adb/2019-03-15/ModifyElasticPlan.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyLogBackupPolicy.xml b/adb/2019-03-15/ModifyLogBackupPolicy.xml new file mode 100644 index 000000000..11f64c48a --- /dev/null +++ b/adb/2019-03-15/ModifyLogBackupPolicy.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyLogHubStatus.xml b/adb/2019-03-15/ModifyLogHubStatus.xml new file mode 100644 index 000000000..41351dec0 --- /dev/null +++ b/adb/2019-03-15/ModifyLogHubStatus.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifySyncJob.xml b/adb/2019-03-15/ModifySyncJob.xml new file mode 100644 index 000000000..13f71011e --- /dev/null +++ b/adb/2019-03-15/ModifySyncJob.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ModifyUIProxyAccountPassword.xml b/adb/2019-03-15/ModifyUIProxyAccountPassword.xml new file mode 100644 index 000000000..e80ac31d2 --- /dev/null +++ b/adb/2019-03-15/ModifyUIProxyAccountPassword.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/OperateLogHub.xml b/adb/2019-03-15/OperateLogHub.xml new file mode 100644 index 000000000..e8019d626 --- /dev/null +++ b/adb/2019-03-15/OperateLogHub.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ReleaseClusterPublicConnection.xml b/adb/2019-03-15/ReleaseClusterPublicConnection.xml new file mode 100644 index 000000000..515d88423 --- /dev/null +++ b/adb/2019-03-15/ReleaseClusterPublicConnection.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/ResetAccountPassword.xml b/adb/2019-03-15/ResetAccountPassword.xml new file mode 100644 index 000000000..7f1ab8e4e --- /dev/null +++ b/adb/2019-03-15/ResetAccountPassword.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/RevokeOperatorPermission.xml b/adb/2019-03-15/RevokeOperatorPermission.xml new file mode 100644 index 000000000..39ddf4fde --- /dev/null +++ b/adb/2019-03-15/RevokeOperatorPermission.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/StartAirflowDag.xml b/adb/2019-03-15/StartAirflowDag.xml new file mode 100644 index 000000000..c14ba3542 --- /dev/null +++ b/adb/2019-03-15/StartAirflowDag.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/StatResourceSpace.xml b/adb/2019-03-15/StatResourceSpace.xml new file mode 100644 index 000000000..2b835784e --- /dev/null +++ b/adb/2019-03-15/StatResourceSpace.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/StopAirflowDag.xml b/adb/2019-03-15/StopAirflowDag.xml new file mode 100644 index 000000000..6f9e2a792 --- /dev/null +++ b/adb/2019-03-15/StopAirflowDag.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/SubmitSparkJob.xml b/adb/2019-03-15/SubmitSparkJob.xml new file mode 100644 index 000000000..ae2bd9e73 --- /dev/null +++ b/adb/2019-03-15/SubmitSparkJob.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/TagResources.xml b/adb/2019-03-15/TagResources.xml new file mode 100644 index 000000000..0a474ee6c --- /dev/null +++ b/adb/2019-03-15/TagResources.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/TestAirflowConnection.xml b/adb/2019-03-15/TestAirflowConnection.xml new file mode 100644 index 000000000..3df8fb28d --- /dev/null +++ b/adb/2019-03-15/TestAirflowConnection.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/TriggerAirflowDag.xml b/adb/2019-03-15/TriggerAirflowDag.xml new file mode 100644 index 000000000..8088562c6 --- /dev/null +++ b/adb/2019-03-15/TriggerAirflowDag.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/UnbindDBResourcePoolWithUser.xml b/adb/2019-03-15/UnbindDBResourcePoolWithUser.xml new file mode 100644 index 000000000..6f4550645 --- /dev/null +++ b/adb/2019-03-15/UnbindDBResourcePoolWithUser.xml @@ -0,0 +1 @@ + diff --git a/adb/2019-03-15/UntagResources.xml b/adb/2019-03-15/UntagResources.xml new file mode 100644 index 000000000..2059ae49f --- /dev/null +++ b/adb/2019-03-15/UntagResources.xml @@ -0,0 +1 @@ + diff --git a/adb/CMakeLists.txt b/adb/CMakeLists.txt index 9f37505bb..85fb86735 100644 --- a/adb/CMakeLists.txt +++ b/adb/CMakeLists.txt @@ -23,16 +23,28 @@ set(adb_public_header set(adb_public_header_model include/alibabacloud/adb/model/AllocateClusterPublicConnectionRequest.h include/alibabacloud/adb/model/AllocateClusterPublicConnectionResult.h + include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.h + include/alibabacloud/adb/model/BindDBResourcePoolWithUserResult.h include/alibabacloud/adb/model/CreateAccountRequest.h include/alibabacloud/adb/model/CreateAccountResult.h include/alibabacloud/adb/model/CreateDBClusterRequest.h include/alibabacloud/adb/model/CreateDBClusterResult.h + include/alibabacloud/adb/model/CreateDBResourcePoolRequest.h + include/alibabacloud/adb/model/CreateDBResourcePoolResult.h + include/alibabacloud/adb/model/CreateElasticPlanRequest.h + include/alibabacloud/adb/model/CreateElasticPlanResult.h include/alibabacloud/adb/model/DeleteAccountRequest.h include/alibabacloud/adb/model/DeleteAccountResult.h include/alibabacloud/adb/model/DeleteDBClusterRequest.h include/alibabacloud/adb/model/DeleteDBClusterResult.h + include/alibabacloud/adb/model/DeleteDBResourcePoolRequest.h + include/alibabacloud/adb/model/DeleteDBResourcePoolResult.h + include/alibabacloud/adb/model/DeleteElasticPlanRequest.h + include/alibabacloud/adb/model/DeleteElasticPlanResult.h include/alibabacloud/adb/model/DescribeAccountsRequest.h include/alibabacloud/adb/model/DescribeAccountsResult.h + include/alibabacloud/adb/model/DescribeAllAccountsRequest.h + include/alibabacloud/adb/model/DescribeAllAccountsResult.h include/alibabacloud/adb/model/DescribeAllDataSourceRequest.h include/alibabacloud/adb/model/DescribeAllDataSourceResult.h include/alibabacloud/adb/model/DescribeAuditLogConfigRequest.h @@ -49,6 +61,8 @@ set(adb_public_header_model include/alibabacloud/adb/model/DescribeBackupsResult.h include/alibabacloud/adb/model/DescribeColumnsRequest.h include/alibabacloud/adb/model/DescribeColumnsResult.h + include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h + include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListRequest.h include/alibabacloud/adb/model/DescribeDBClusterAccessWhiteListResult.h include/alibabacloud/adb/model/DescribeDBClusterAttributeRequest.h @@ -57,16 +71,30 @@ set(adb_public_header_model include/alibabacloud/adb/model/DescribeDBClusterNetInfoResult.h include/alibabacloud/adb/model/DescribeDBClusterPerformanceRequest.h include/alibabacloud/adb/model/DescribeDBClusterPerformanceResult.h + include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h + include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h include/alibabacloud/adb/model/DescribeDBClustersRequest.h include/alibabacloud/adb/model/DescribeDBClustersResult.h + include/alibabacloud/adb/model/DescribeDBResourcePoolRequest.h + include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h + include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h + include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h + include/alibabacloud/adb/model/DescribeElasticPlanRequest.h + include/alibabacloud/adb/model/DescribeElasticPlanResult.h include/alibabacloud/adb/model/DescribeInclinedTablesRequest.h include/alibabacloud/adb/model/DescribeInclinedTablesResult.h + include/alibabacloud/adb/model/DescribeLoadTasksRecordsRequest.h + include/alibabacloud/adb/model/DescribeLoadTasksRecordsResult.h include/alibabacloud/adb/model/DescribeOperatorPermissionRequest.h include/alibabacloud/adb/model/DescribeOperatorPermissionResult.h include/alibabacloud/adb/model/DescribeProcessListRequest.h include/alibabacloud/adb/model/DescribeProcessListResult.h include/alibabacloud/adb/model/DescribeRegionsRequest.h include/alibabacloud/adb/model/DescribeRegionsResult.h + include/alibabacloud/adb/model/DescribeSQLPlanRequest.h + include/alibabacloud/adb/model/DescribeSQLPlanResult.h + include/alibabacloud/adb/model/DescribeSQLPlanTaskRequest.h + include/alibabacloud/adb/model/DescribeSQLPlanTaskResult.h include/alibabacloud/adb/model/DescribeSchemasRequest.h include/alibabacloud/adb/model/DescribeSchemasResult.h include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h @@ -77,6 +105,8 @@ set(adb_public_header_model include/alibabacloud/adb/model/DescribeTableDetailResult.h include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseRequest.h include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h + include/alibabacloud/adb/model/DescribeTableStatisticsRequest.h + include/alibabacloud/adb/model/DescribeTableStatisticsResult.h include/alibabacloud/adb/model/DescribeTablesRequest.h include/alibabacloud/adb/model/DescribeTablesResult.h include/alibabacloud/adb/model/DescribeTaskInfoRequest.h @@ -105,6 +135,12 @@ set(adb_public_header_model include/alibabacloud/adb/model/ModifyDBClusterDescriptionResult.h include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeRequest.h include/alibabacloud/adb/model/ModifyDBClusterMaintainTimeResult.h + include/alibabacloud/adb/model/ModifyDBClusterResourceGroupRequest.h + include/alibabacloud/adb/model/ModifyDBClusterResourceGroupResult.h + include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h + include/alibabacloud/adb/model/ModifyDBResourcePoolResult.h + include/alibabacloud/adb/model/ModifyElasticPlanRequest.h + include/alibabacloud/adb/model/ModifyElasticPlanResult.h include/alibabacloud/adb/model/ModifyLogBackupPolicyRequest.h include/alibabacloud/adb/model/ModifyLogBackupPolicyResult.h include/alibabacloud/adb/model/ReleaseClusterPublicConnectionRequest.h @@ -115,6 +151,8 @@ set(adb_public_header_model include/alibabacloud/adb/model/RevokeOperatorPermissionResult.h include/alibabacloud/adb/model/TagResourcesRequest.h include/alibabacloud/adb/model/TagResourcesResult.h + include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserRequest.h + include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserResult.h include/alibabacloud/adb/model/UntagResourcesRequest.h include/alibabacloud/adb/model/UntagResourcesResult.h ) @@ -122,16 +160,28 @@ set(adb_src src/AdbClient.cc src/model/AllocateClusterPublicConnectionRequest.cc src/model/AllocateClusterPublicConnectionResult.cc + src/model/BindDBResourcePoolWithUserRequest.cc + src/model/BindDBResourcePoolWithUserResult.cc src/model/CreateAccountRequest.cc src/model/CreateAccountResult.cc src/model/CreateDBClusterRequest.cc src/model/CreateDBClusterResult.cc + src/model/CreateDBResourcePoolRequest.cc + src/model/CreateDBResourcePoolResult.cc + src/model/CreateElasticPlanRequest.cc + src/model/CreateElasticPlanResult.cc src/model/DeleteAccountRequest.cc src/model/DeleteAccountResult.cc src/model/DeleteDBClusterRequest.cc src/model/DeleteDBClusterResult.cc + src/model/DeleteDBResourcePoolRequest.cc + src/model/DeleteDBResourcePoolResult.cc + src/model/DeleteElasticPlanRequest.cc + src/model/DeleteElasticPlanResult.cc src/model/DescribeAccountsRequest.cc src/model/DescribeAccountsResult.cc + src/model/DescribeAllAccountsRequest.cc + src/model/DescribeAllAccountsResult.cc src/model/DescribeAllDataSourceRequest.cc src/model/DescribeAllDataSourceResult.cc src/model/DescribeAuditLogConfigRequest.cc @@ -148,6 +198,8 @@ set(adb_src src/model/DescribeBackupsResult.cc src/model/DescribeColumnsRequest.cc src/model/DescribeColumnsResult.cc + src/model/DescribeConnectionCountRecordsRequest.cc + src/model/DescribeConnectionCountRecordsResult.cc src/model/DescribeDBClusterAccessWhiteListRequest.cc src/model/DescribeDBClusterAccessWhiteListResult.cc src/model/DescribeDBClusterAttributeRequest.cc @@ -156,16 +208,30 @@ set(adb_src src/model/DescribeDBClusterNetInfoResult.cc src/model/DescribeDBClusterPerformanceRequest.cc src/model/DescribeDBClusterPerformanceResult.cc + src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc + src/model/DescribeDBClusterResourcePoolPerformanceResult.cc src/model/DescribeDBClustersRequest.cc src/model/DescribeDBClustersResult.cc + src/model/DescribeDBResourcePoolRequest.cc + src/model/DescribeDBResourcePoolResult.cc + src/model/DescribeElasticDailyPlanRequest.cc + src/model/DescribeElasticDailyPlanResult.cc + src/model/DescribeElasticPlanRequest.cc + src/model/DescribeElasticPlanResult.cc src/model/DescribeInclinedTablesRequest.cc src/model/DescribeInclinedTablesResult.cc + src/model/DescribeLoadTasksRecordsRequest.cc + src/model/DescribeLoadTasksRecordsResult.cc src/model/DescribeOperatorPermissionRequest.cc src/model/DescribeOperatorPermissionResult.cc src/model/DescribeProcessListRequest.cc src/model/DescribeProcessListResult.cc src/model/DescribeRegionsRequest.cc src/model/DescribeRegionsResult.cc + src/model/DescribeSQLPlanRequest.cc + src/model/DescribeSQLPlanResult.cc + src/model/DescribeSQLPlanTaskRequest.cc + src/model/DescribeSQLPlanTaskResult.cc src/model/DescribeSchemasRequest.cc src/model/DescribeSchemasResult.cc src/model/DescribeSlowLogRecordsRequest.cc @@ -176,6 +242,8 @@ set(adb_src src/model/DescribeTableDetailResult.cc src/model/DescribeTablePartitionDiagnoseRequest.cc src/model/DescribeTablePartitionDiagnoseResult.cc + src/model/DescribeTableStatisticsRequest.cc + src/model/DescribeTableStatisticsResult.cc src/model/DescribeTablesRequest.cc src/model/DescribeTablesResult.cc src/model/DescribeTaskInfoRequest.cc @@ -204,6 +272,12 @@ set(adb_src src/model/ModifyDBClusterDescriptionResult.cc src/model/ModifyDBClusterMaintainTimeRequest.cc src/model/ModifyDBClusterMaintainTimeResult.cc + src/model/ModifyDBClusterResourceGroupRequest.cc + src/model/ModifyDBClusterResourceGroupResult.cc + src/model/ModifyDBResourcePoolRequest.cc + src/model/ModifyDBResourcePoolResult.cc + src/model/ModifyElasticPlanRequest.cc + src/model/ModifyElasticPlanResult.cc src/model/ModifyLogBackupPolicyRequest.cc src/model/ModifyLogBackupPolicyResult.cc src/model/ReleaseClusterPublicConnectionRequest.cc @@ -214,6 +288,8 @@ set(adb_src src/model/RevokeOperatorPermissionResult.cc src/model/TagResourcesRequest.cc src/model/TagResourcesResult.cc + src/model/UnbindDBResourcePoolWithUserRequest.cc + src/model/UnbindDBResourcePoolWithUserResult.cc src/model/UntagResourcesRequest.cc src/model/UntagResourcesResult.cc ) diff --git a/adb/include/alibabacloud/adb/AdbClient.h b/adb/include/alibabacloud/adb/AdbClient.h index 73898c37f..f4f07f251 100644 --- a/adb/include/alibabacloud/adb/AdbClient.h +++ b/adb/include/alibabacloud/adb/AdbClient.h @@ -24,16 +24,28 @@ #include "AdbExport.h" #include "model/AllocateClusterPublicConnectionRequest.h" #include "model/AllocateClusterPublicConnectionResult.h" +#include "model/BindDBResourcePoolWithUserRequest.h" +#include "model/BindDBResourcePoolWithUserResult.h" #include "model/CreateAccountRequest.h" #include "model/CreateAccountResult.h" #include "model/CreateDBClusterRequest.h" #include "model/CreateDBClusterResult.h" +#include "model/CreateDBResourcePoolRequest.h" +#include "model/CreateDBResourcePoolResult.h" +#include "model/CreateElasticPlanRequest.h" +#include "model/CreateElasticPlanResult.h" #include "model/DeleteAccountRequest.h" #include "model/DeleteAccountResult.h" #include "model/DeleteDBClusterRequest.h" #include "model/DeleteDBClusterResult.h" +#include "model/DeleteDBResourcePoolRequest.h" +#include "model/DeleteDBResourcePoolResult.h" +#include "model/DeleteElasticPlanRequest.h" +#include "model/DeleteElasticPlanResult.h" #include "model/DescribeAccountsRequest.h" #include "model/DescribeAccountsResult.h" +#include "model/DescribeAllAccountsRequest.h" +#include "model/DescribeAllAccountsResult.h" #include "model/DescribeAllDataSourceRequest.h" #include "model/DescribeAllDataSourceResult.h" #include "model/DescribeAuditLogConfigRequest.h" @@ -50,6 +62,8 @@ #include "model/DescribeBackupsResult.h" #include "model/DescribeColumnsRequest.h" #include "model/DescribeColumnsResult.h" +#include "model/DescribeConnectionCountRecordsRequest.h" +#include "model/DescribeConnectionCountRecordsResult.h" #include "model/DescribeDBClusterAccessWhiteListRequest.h" #include "model/DescribeDBClusterAccessWhiteListResult.h" #include "model/DescribeDBClusterAttributeRequest.h" @@ -58,16 +72,30 @@ #include "model/DescribeDBClusterNetInfoResult.h" #include "model/DescribeDBClusterPerformanceRequest.h" #include "model/DescribeDBClusterPerformanceResult.h" +#include "model/DescribeDBClusterResourcePoolPerformanceRequest.h" +#include "model/DescribeDBClusterResourcePoolPerformanceResult.h" #include "model/DescribeDBClustersRequest.h" #include "model/DescribeDBClustersResult.h" +#include "model/DescribeDBResourcePoolRequest.h" +#include "model/DescribeDBResourcePoolResult.h" +#include "model/DescribeElasticDailyPlanRequest.h" +#include "model/DescribeElasticDailyPlanResult.h" +#include "model/DescribeElasticPlanRequest.h" +#include "model/DescribeElasticPlanResult.h" #include "model/DescribeInclinedTablesRequest.h" #include "model/DescribeInclinedTablesResult.h" +#include "model/DescribeLoadTasksRecordsRequest.h" +#include "model/DescribeLoadTasksRecordsResult.h" #include "model/DescribeOperatorPermissionRequest.h" #include "model/DescribeOperatorPermissionResult.h" #include "model/DescribeProcessListRequest.h" #include "model/DescribeProcessListResult.h" #include "model/DescribeRegionsRequest.h" #include "model/DescribeRegionsResult.h" +#include "model/DescribeSQLPlanRequest.h" +#include "model/DescribeSQLPlanResult.h" +#include "model/DescribeSQLPlanTaskRequest.h" +#include "model/DescribeSQLPlanTaskResult.h" #include "model/DescribeSchemasRequest.h" #include "model/DescribeSchemasResult.h" #include "model/DescribeSlowLogRecordsRequest.h" @@ -78,6 +106,8 @@ #include "model/DescribeTableDetailResult.h" #include "model/DescribeTablePartitionDiagnoseRequest.h" #include "model/DescribeTablePartitionDiagnoseResult.h" +#include "model/DescribeTableStatisticsRequest.h" +#include "model/DescribeTableStatisticsResult.h" #include "model/DescribeTablesRequest.h" #include "model/DescribeTablesResult.h" #include "model/DescribeTaskInfoRequest.h" @@ -106,6 +136,12 @@ #include "model/ModifyDBClusterDescriptionResult.h" #include "model/ModifyDBClusterMaintainTimeRequest.h" #include "model/ModifyDBClusterMaintainTimeResult.h" +#include "model/ModifyDBClusterResourceGroupRequest.h" +#include "model/ModifyDBClusterResourceGroupResult.h" +#include "model/ModifyDBResourcePoolRequest.h" +#include "model/ModifyDBResourcePoolResult.h" +#include "model/ModifyElasticPlanRequest.h" +#include "model/ModifyElasticPlanResult.h" #include "model/ModifyLogBackupPolicyRequest.h" #include "model/ModifyLogBackupPolicyResult.h" #include "model/ReleaseClusterPublicConnectionRequest.h" @@ -116,6 +152,8 @@ #include "model/RevokeOperatorPermissionResult.h" #include "model/TagResourcesRequest.h" #include "model/TagResourcesResult.h" +#include "model/UnbindDBResourcePoolWithUserRequest.h" +#include "model/UnbindDBResourcePoolWithUserResult.h" #include "model/UntagResourcesRequest.h" #include "model/UntagResourcesResult.h" @@ -130,21 +168,39 @@ namespace AlibabaCloud typedef Outcome AllocateClusterPublicConnectionOutcome; typedef std::future AllocateClusterPublicConnectionOutcomeCallable; typedef std::function&)> AllocateClusterPublicConnectionAsyncHandler; + typedef Outcome BindDBResourcePoolWithUserOutcome; + typedef std::future BindDBResourcePoolWithUserOutcomeCallable; + typedef std::function&)> BindDBResourcePoolWithUserAsyncHandler; typedef Outcome CreateAccountOutcome; typedef std::future CreateAccountOutcomeCallable; typedef std::function&)> CreateAccountAsyncHandler; typedef Outcome CreateDBClusterOutcome; typedef std::future CreateDBClusterOutcomeCallable; typedef std::function&)> CreateDBClusterAsyncHandler; + typedef Outcome CreateDBResourcePoolOutcome; + typedef std::future CreateDBResourcePoolOutcomeCallable; + typedef std::function&)> CreateDBResourcePoolAsyncHandler; + typedef Outcome CreateElasticPlanOutcome; + typedef std::future CreateElasticPlanOutcomeCallable; + typedef std::function&)> CreateElasticPlanAsyncHandler; typedef Outcome DeleteAccountOutcome; typedef std::future DeleteAccountOutcomeCallable; typedef std::function&)> DeleteAccountAsyncHandler; typedef Outcome DeleteDBClusterOutcome; typedef std::future DeleteDBClusterOutcomeCallable; typedef std::function&)> DeleteDBClusterAsyncHandler; + typedef Outcome DeleteDBResourcePoolOutcome; + typedef std::future DeleteDBResourcePoolOutcomeCallable; + typedef std::function&)> DeleteDBResourcePoolAsyncHandler; + typedef Outcome DeleteElasticPlanOutcome; + typedef std::future DeleteElasticPlanOutcomeCallable; + typedef std::function&)> DeleteElasticPlanAsyncHandler; typedef Outcome DescribeAccountsOutcome; typedef std::future DescribeAccountsOutcomeCallable; typedef std::function&)> DescribeAccountsAsyncHandler; + typedef Outcome DescribeAllAccountsOutcome; + typedef std::future DescribeAllAccountsOutcomeCallable; + typedef std::function&)> DescribeAllAccountsAsyncHandler; typedef Outcome DescribeAllDataSourceOutcome; typedef std::future DescribeAllDataSourceOutcomeCallable; typedef std::function&)> DescribeAllDataSourceAsyncHandler; @@ -169,6 +225,9 @@ namespace AlibabaCloud typedef Outcome DescribeColumnsOutcome; typedef std::future DescribeColumnsOutcomeCallable; typedef std::function&)> DescribeColumnsAsyncHandler; + typedef Outcome DescribeConnectionCountRecordsOutcome; + typedef std::future DescribeConnectionCountRecordsOutcomeCallable; + typedef std::function&)> DescribeConnectionCountRecordsAsyncHandler; typedef Outcome DescribeDBClusterAccessWhiteListOutcome; typedef std::future DescribeDBClusterAccessWhiteListOutcomeCallable; typedef std::function&)> DescribeDBClusterAccessWhiteListAsyncHandler; @@ -181,12 +240,27 @@ namespace AlibabaCloud typedef Outcome DescribeDBClusterPerformanceOutcome; typedef std::future DescribeDBClusterPerformanceOutcomeCallable; typedef std::function&)> DescribeDBClusterPerformanceAsyncHandler; + typedef Outcome DescribeDBClusterResourcePoolPerformanceOutcome; + typedef std::future DescribeDBClusterResourcePoolPerformanceOutcomeCallable; + typedef std::function&)> DescribeDBClusterResourcePoolPerformanceAsyncHandler; typedef Outcome DescribeDBClustersOutcome; typedef std::future DescribeDBClustersOutcomeCallable; typedef std::function&)> DescribeDBClustersAsyncHandler; + typedef Outcome DescribeDBResourcePoolOutcome; + typedef std::future DescribeDBResourcePoolOutcomeCallable; + typedef std::function&)> DescribeDBResourcePoolAsyncHandler; + typedef Outcome DescribeElasticDailyPlanOutcome; + typedef std::future DescribeElasticDailyPlanOutcomeCallable; + typedef std::function&)> DescribeElasticDailyPlanAsyncHandler; + typedef Outcome DescribeElasticPlanOutcome; + typedef std::future DescribeElasticPlanOutcomeCallable; + typedef std::function&)> DescribeElasticPlanAsyncHandler; typedef Outcome DescribeInclinedTablesOutcome; typedef std::future DescribeInclinedTablesOutcomeCallable; typedef std::function&)> DescribeInclinedTablesAsyncHandler; + typedef Outcome DescribeLoadTasksRecordsOutcome; + typedef std::future DescribeLoadTasksRecordsOutcomeCallable; + typedef std::function&)> DescribeLoadTasksRecordsAsyncHandler; typedef Outcome DescribeOperatorPermissionOutcome; typedef std::future DescribeOperatorPermissionOutcomeCallable; typedef std::function&)> DescribeOperatorPermissionAsyncHandler; @@ -196,6 +270,12 @@ namespace AlibabaCloud typedef Outcome DescribeRegionsOutcome; typedef std::future DescribeRegionsOutcomeCallable; typedef std::function&)> DescribeRegionsAsyncHandler; + typedef Outcome DescribeSQLPlanOutcome; + typedef std::future DescribeSQLPlanOutcomeCallable; + typedef std::function&)> DescribeSQLPlanAsyncHandler; + typedef Outcome DescribeSQLPlanTaskOutcome; + typedef std::future DescribeSQLPlanTaskOutcomeCallable; + typedef std::function&)> DescribeSQLPlanTaskAsyncHandler; typedef Outcome DescribeSchemasOutcome; typedef std::future DescribeSchemasOutcomeCallable; typedef std::function&)> DescribeSchemasAsyncHandler; @@ -211,6 +291,9 @@ namespace AlibabaCloud typedef Outcome DescribeTablePartitionDiagnoseOutcome; typedef std::future DescribeTablePartitionDiagnoseOutcomeCallable; typedef std::function&)> DescribeTablePartitionDiagnoseAsyncHandler; + typedef Outcome DescribeTableStatisticsOutcome; + typedef std::future DescribeTableStatisticsOutcomeCallable; + typedef std::function&)> DescribeTableStatisticsAsyncHandler; typedef Outcome DescribeTablesOutcome; typedef std::future DescribeTablesOutcomeCallable; typedef std::function&)> DescribeTablesAsyncHandler; @@ -253,6 +336,15 @@ namespace AlibabaCloud typedef Outcome ModifyDBClusterMaintainTimeOutcome; typedef std::future ModifyDBClusterMaintainTimeOutcomeCallable; typedef std::function&)> ModifyDBClusterMaintainTimeAsyncHandler; + typedef Outcome ModifyDBClusterResourceGroupOutcome; + typedef std::future ModifyDBClusterResourceGroupOutcomeCallable; + typedef std::function&)> ModifyDBClusterResourceGroupAsyncHandler; + typedef Outcome ModifyDBResourcePoolOutcome; + typedef std::future ModifyDBResourcePoolOutcomeCallable; + typedef std::function&)> ModifyDBResourcePoolAsyncHandler; + typedef Outcome ModifyElasticPlanOutcome; + typedef std::future ModifyElasticPlanOutcomeCallable; + typedef std::function&)> ModifyElasticPlanAsyncHandler; typedef Outcome ModifyLogBackupPolicyOutcome; typedef std::future ModifyLogBackupPolicyOutcomeCallable; typedef std::function&)> ModifyLogBackupPolicyAsyncHandler; @@ -268,6 +360,9 @@ namespace AlibabaCloud typedef Outcome TagResourcesOutcome; typedef std::future TagResourcesOutcomeCallable; typedef std::function&)> TagResourcesAsyncHandler; + typedef Outcome UnbindDBResourcePoolWithUserOutcome; + typedef std::future UnbindDBResourcePoolWithUserOutcomeCallable; + typedef std::function&)> UnbindDBResourcePoolWithUserAsyncHandler; typedef Outcome UntagResourcesOutcome; typedef std::future UntagResourcesOutcomeCallable; typedef std::function&)> UntagResourcesAsyncHandler; @@ -279,21 +374,39 @@ namespace AlibabaCloud AllocateClusterPublicConnectionOutcome allocateClusterPublicConnection(const Model::AllocateClusterPublicConnectionRequest &request)const; void allocateClusterPublicConnectionAsync(const Model::AllocateClusterPublicConnectionRequest& request, const AllocateClusterPublicConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllocateClusterPublicConnectionOutcomeCallable allocateClusterPublicConnectionCallable(const Model::AllocateClusterPublicConnectionRequest& request) const; + BindDBResourcePoolWithUserOutcome bindDBResourcePoolWithUser(const Model::BindDBResourcePoolWithUserRequest &request)const; + void bindDBResourcePoolWithUserAsync(const Model::BindDBResourcePoolWithUserRequest& request, const BindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindDBResourcePoolWithUserOutcomeCallable bindDBResourcePoolWithUserCallable(const Model::BindDBResourcePoolWithUserRequest& request) const; CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const; void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const; CreateDBClusterOutcome createDBCluster(const Model::CreateDBClusterRequest &request)const; void createDBClusterAsync(const Model::CreateDBClusterRequest& request, const CreateDBClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDBClusterOutcomeCallable createDBClusterCallable(const Model::CreateDBClusterRequest& request) const; + CreateDBResourcePoolOutcome createDBResourcePool(const Model::CreateDBResourcePoolRequest &request)const; + void createDBResourcePoolAsync(const Model::CreateDBResourcePoolRequest& request, const CreateDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDBResourcePoolOutcomeCallable createDBResourcePoolCallable(const Model::CreateDBResourcePoolRequest& request) const; + CreateElasticPlanOutcome createElasticPlan(const Model::CreateElasticPlanRequest &request)const; + void createElasticPlanAsync(const Model::CreateElasticPlanRequest& request, const CreateElasticPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateElasticPlanOutcomeCallable createElasticPlanCallable(const Model::CreateElasticPlanRequest& request) const; DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const; void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const; DeleteDBClusterOutcome deleteDBCluster(const Model::DeleteDBClusterRequest &request)const; void deleteDBClusterAsync(const Model::DeleteDBClusterRequest& request, const DeleteDBClusterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDBClusterOutcomeCallable deleteDBClusterCallable(const Model::DeleteDBClusterRequest& request) const; + DeleteDBResourcePoolOutcome deleteDBResourcePool(const Model::DeleteDBResourcePoolRequest &request)const; + void deleteDBResourcePoolAsync(const Model::DeleteDBResourcePoolRequest& request, const DeleteDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDBResourcePoolOutcomeCallable deleteDBResourcePoolCallable(const Model::DeleteDBResourcePoolRequest& request) const; + DeleteElasticPlanOutcome deleteElasticPlan(const Model::DeleteElasticPlanRequest &request)const; + void deleteElasticPlanAsync(const Model::DeleteElasticPlanRequest& request, const DeleteElasticPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteElasticPlanOutcomeCallable deleteElasticPlanCallable(const Model::DeleteElasticPlanRequest& request) const; DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const; void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const; + DescribeAllAccountsOutcome describeAllAccounts(const Model::DescribeAllAccountsRequest &request)const; + void describeAllAccountsAsync(const Model::DescribeAllAccountsRequest& request, const DescribeAllAccountsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAllAccountsOutcomeCallable describeAllAccountsCallable(const Model::DescribeAllAccountsRequest& request) const; DescribeAllDataSourceOutcome describeAllDataSource(const Model::DescribeAllDataSourceRequest &request)const; void describeAllDataSourceAsync(const Model::DescribeAllDataSourceRequest& request, const DescribeAllDataSourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAllDataSourceOutcomeCallable describeAllDataSourceCallable(const Model::DescribeAllDataSourceRequest& request) const; @@ -318,6 +431,9 @@ namespace AlibabaCloud DescribeColumnsOutcome describeColumns(const Model::DescribeColumnsRequest &request)const; void describeColumnsAsync(const Model::DescribeColumnsRequest& request, const DescribeColumnsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeColumnsOutcomeCallable describeColumnsCallable(const Model::DescribeColumnsRequest& request) const; + DescribeConnectionCountRecordsOutcome describeConnectionCountRecords(const Model::DescribeConnectionCountRecordsRequest &request)const; + void describeConnectionCountRecordsAsync(const Model::DescribeConnectionCountRecordsRequest& request, const DescribeConnectionCountRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeConnectionCountRecordsOutcomeCallable describeConnectionCountRecordsCallable(const Model::DescribeConnectionCountRecordsRequest& request) const; DescribeDBClusterAccessWhiteListOutcome describeDBClusterAccessWhiteList(const Model::DescribeDBClusterAccessWhiteListRequest &request)const; void describeDBClusterAccessWhiteListAsync(const Model::DescribeDBClusterAccessWhiteListRequest& request, const DescribeDBClusterAccessWhiteListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBClusterAccessWhiteListOutcomeCallable describeDBClusterAccessWhiteListCallable(const Model::DescribeDBClusterAccessWhiteListRequest& request) const; @@ -330,12 +446,27 @@ namespace AlibabaCloud DescribeDBClusterPerformanceOutcome describeDBClusterPerformance(const Model::DescribeDBClusterPerformanceRequest &request)const; void describeDBClusterPerformanceAsync(const Model::DescribeDBClusterPerformanceRequest& request, const DescribeDBClusterPerformanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBClusterPerformanceOutcomeCallable describeDBClusterPerformanceCallable(const Model::DescribeDBClusterPerformanceRequest& request) const; + DescribeDBClusterResourcePoolPerformanceOutcome describeDBClusterResourcePoolPerformance(const Model::DescribeDBClusterResourcePoolPerformanceRequest &request)const; + void describeDBClusterResourcePoolPerformanceAsync(const Model::DescribeDBClusterResourcePoolPerformanceRequest& request, const DescribeDBClusterResourcePoolPerformanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBClusterResourcePoolPerformanceOutcomeCallable describeDBClusterResourcePoolPerformanceCallable(const Model::DescribeDBClusterResourcePoolPerformanceRequest& request) const; DescribeDBClustersOutcome describeDBClusters(const Model::DescribeDBClustersRequest &request)const; void describeDBClustersAsync(const Model::DescribeDBClustersRequest& request, const DescribeDBClustersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBClustersOutcomeCallable describeDBClustersCallable(const Model::DescribeDBClustersRequest& request) const; + DescribeDBResourcePoolOutcome describeDBResourcePool(const Model::DescribeDBResourcePoolRequest &request)const; + void describeDBResourcePoolAsync(const Model::DescribeDBResourcePoolRequest& request, const DescribeDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBResourcePoolOutcomeCallable describeDBResourcePoolCallable(const Model::DescribeDBResourcePoolRequest& request) const; + DescribeElasticDailyPlanOutcome describeElasticDailyPlan(const Model::DescribeElasticDailyPlanRequest &request)const; + void describeElasticDailyPlanAsync(const Model::DescribeElasticDailyPlanRequest& request, const DescribeElasticDailyPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeElasticDailyPlanOutcomeCallable describeElasticDailyPlanCallable(const Model::DescribeElasticDailyPlanRequest& request) const; + DescribeElasticPlanOutcome describeElasticPlan(const Model::DescribeElasticPlanRequest &request)const; + void describeElasticPlanAsync(const Model::DescribeElasticPlanRequest& request, const DescribeElasticPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeElasticPlanOutcomeCallable describeElasticPlanCallable(const Model::DescribeElasticPlanRequest& request) const; DescribeInclinedTablesOutcome describeInclinedTables(const Model::DescribeInclinedTablesRequest &request)const; void describeInclinedTablesAsync(const Model::DescribeInclinedTablesRequest& request, const DescribeInclinedTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInclinedTablesOutcomeCallable describeInclinedTablesCallable(const Model::DescribeInclinedTablesRequest& request) const; + DescribeLoadTasksRecordsOutcome describeLoadTasksRecords(const Model::DescribeLoadTasksRecordsRequest &request)const; + void describeLoadTasksRecordsAsync(const Model::DescribeLoadTasksRecordsRequest& request, const DescribeLoadTasksRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLoadTasksRecordsOutcomeCallable describeLoadTasksRecordsCallable(const Model::DescribeLoadTasksRecordsRequest& request) const; DescribeOperatorPermissionOutcome describeOperatorPermission(const Model::DescribeOperatorPermissionRequest &request)const; void describeOperatorPermissionAsync(const Model::DescribeOperatorPermissionRequest& request, const DescribeOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeOperatorPermissionOutcomeCallable describeOperatorPermissionCallable(const Model::DescribeOperatorPermissionRequest& request) const; @@ -345,6 +476,12 @@ namespace AlibabaCloud DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const; + DescribeSQLPlanOutcome describeSQLPlan(const Model::DescribeSQLPlanRequest &request)const; + void describeSQLPlanAsync(const Model::DescribeSQLPlanRequest& request, const DescribeSQLPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLPlanOutcomeCallable describeSQLPlanCallable(const Model::DescribeSQLPlanRequest& request) const; + DescribeSQLPlanTaskOutcome describeSQLPlanTask(const Model::DescribeSQLPlanTaskRequest &request)const; + void describeSQLPlanTaskAsync(const Model::DescribeSQLPlanTaskRequest& request, const DescribeSQLPlanTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLPlanTaskOutcomeCallable describeSQLPlanTaskCallable(const Model::DescribeSQLPlanTaskRequest& request) const; DescribeSchemasOutcome describeSchemas(const Model::DescribeSchemasRequest &request)const; void describeSchemasAsync(const Model::DescribeSchemasRequest& request, const DescribeSchemasAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSchemasOutcomeCallable describeSchemasCallable(const Model::DescribeSchemasRequest& request) const; @@ -360,6 +497,9 @@ namespace AlibabaCloud DescribeTablePartitionDiagnoseOutcome describeTablePartitionDiagnose(const Model::DescribeTablePartitionDiagnoseRequest &request)const; void describeTablePartitionDiagnoseAsync(const Model::DescribeTablePartitionDiagnoseRequest& request, const DescribeTablePartitionDiagnoseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTablePartitionDiagnoseOutcomeCallable describeTablePartitionDiagnoseCallable(const Model::DescribeTablePartitionDiagnoseRequest& request) const; + DescribeTableStatisticsOutcome describeTableStatistics(const Model::DescribeTableStatisticsRequest &request)const; + void describeTableStatisticsAsync(const Model::DescribeTableStatisticsRequest& request, const DescribeTableStatisticsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTableStatisticsOutcomeCallable describeTableStatisticsCallable(const Model::DescribeTableStatisticsRequest& request) const; DescribeTablesOutcome describeTables(const Model::DescribeTablesRequest &request)const; void describeTablesAsync(const Model::DescribeTablesRequest& request, const DescribeTablesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTablesOutcomeCallable describeTablesCallable(const Model::DescribeTablesRequest& request) const; @@ -402,6 +542,15 @@ namespace AlibabaCloud ModifyDBClusterMaintainTimeOutcome modifyDBClusterMaintainTime(const Model::ModifyDBClusterMaintainTimeRequest &request)const; void modifyDBClusterMaintainTimeAsync(const Model::ModifyDBClusterMaintainTimeRequest& request, const ModifyDBClusterMaintainTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBClusterMaintainTimeOutcomeCallable modifyDBClusterMaintainTimeCallable(const Model::ModifyDBClusterMaintainTimeRequest& request) const; + ModifyDBClusterResourceGroupOutcome modifyDBClusterResourceGroup(const Model::ModifyDBClusterResourceGroupRequest &request)const; + void modifyDBClusterResourceGroupAsync(const Model::ModifyDBClusterResourceGroupRequest& request, const ModifyDBClusterResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBClusterResourceGroupOutcomeCallable modifyDBClusterResourceGroupCallable(const Model::ModifyDBClusterResourceGroupRequest& request) const; + ModifyDBResourcePoolOutcome modifyDBResourcePool(const Model::ModifyDBResourcePoolRequest &request)const; + void modifyDBResourcePoolAsync(const Model::ModifyDBResourcePoolRequest& request, const ModifyDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBResourcePoolOutcomeCallable modifyDBResourcePoolCallable(const Model::ModifyDBResourcePoolRequest& request) const; + ModifyElasticPlanOutcome modifyElasticPlan(const Model::ModifyElasticPlanRequest &request)const; + void modifyElasticPlanAsync(const Model::ModifyElasticPlanRequest& request, const ModifyElasticPlanAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyElasticPlanOutcomeCallable modifyElasticPlanCallable(const Model::ModifyElasticPlanRequest& request) const; ModifyLogBackupPolicyOutcome modifyLogBackupPolicy(const Model::ModifyLogBackupPolicyRequest &request)const; void modifyLogBackupPolicyAsync(const Model::ModifyLogBackupPolicyRequest& request, const ModifyLogBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyLogBackupPolicyOutcomeCallable modifyLogBackupPolicyCallable(const Model::ModifyLogBackupPolicyRequest& request) const; @@ -417,6 +566,9 @@ namespace AlibabaCloud TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const; void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const; + UnbindDBResourcePoolWithUserOutcome unbindDBResourcePoolWithUser(const Model::UnbindDBResourcePoolWithUserRequest &request)const; + void unbindDBResourcePoolWithUserAsync(const Model::UnbindDBResourcePoolWithUserRequest& request, const UnbindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindDBResourcePoolWithUserOutcomeCallable unbindDBResourcePoolWithUserCallable(const Model::UnbindDBResourcePoolWithUserRequest& request) const; UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const; void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const; diff --git a/adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.h b/adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.h new file mode 100644 index 000000000..d8f1d3923 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserRequest.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_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT BindDBResourcePoolWithUserRequest : public RpcServiceRequest + { + + public: + BindDBResourcePoolWithUserRequest(); + ~BindDBResourcePoolWithUserRequest(); + + std::string getPoolName()const; + void setPoolName(const std::string& poolName); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPoolUser()const; + void setPoolUser(const std::string& poolUser); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string poolName_; + long resourceOwnerId_; + std::string poolUser_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserResult.h b/adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserResult.h new file mode 100644 index 000000000..5bae286e8 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/BindDBResourcePoolWithUserResult.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_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT BindDBResourcePoolWithUserResult : public ServiceResult + { + public: + + + BindDBResourcePoolWithUserResult(); + explicit BindDBResourcePoolWithUserResult(const std::string &payload); + ~BindDBResourcePoolWithUserResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_BINDDBRESOURCEPOOLWITHUSERRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/CreateDBClusterRequest.h b/adb/include/alibabacloud/adb/model/CreateDBClusterRequest.h index 687981781..9fe2f529e 100644 --- a/adb/include/alibabacloud/adb/model/CreateDBClusterRequest.h +++ b/adb/include/alibabacloud/adb/model/CreateDBClusterRequest.h @@ -39,16 +39,32 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getDBClusterDescription()const; void setDBClusterDescription(const std::string& dBClusterDescription); - std::string getClientToken()const; - void setClientToken(const std::string& clientToken); std::string getStorageType()const; void setStorageType(const std::string& storageType); - std::string getAccessKeyId()const; - void setAccessKeyId(const std::string& accessKeyId); std::string getMode()const; void setMode(const std::string& mode); std::string getResourceGroupId()const; void setResourceGroupId(const std::string& resourceGroupId); + std::string getPeriod()const; + void setPeriod(const std::string& period); + std::string getBackupSetID()const; + void setBackupSetID(const std::string& backupSetID); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDBNodeGroupCount()const; + void setDBNodeGroupCount(const std::string& dBNodeGroupCount); + std::string getVSwitchId()const; + void setVSwitchId(const std::string& vSwitchId); + std::string getZoneId()const; + void setZoneId(const std::string& zoneId); + std::string getComputeResource()const; + void setComputeResource(const std::string& computeResource); + std::string getSourceDBInstanceName()const; + void setSourceDBInstanceName(const std::string& sourceDBInstanceName); + std::string getClientToken()const; + void setClientToken(const std::string& clientToken); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); std::string getStorageResource()const; void setStorageResource(const std::string& storageResource); std::string getRegionId()const; @@ -57,8 +73,8 @@ namespace AlibabaCloud void setDBClusterCategory(const std::string& dBClusterCategory); std::string getDBClusterNetworkType()const; void setDBClusterNetworkType(const std::string& dBClusterNetworkType); - std::string getPeriod()const; - void setPeriod(const std::string& period); + std::string getRestoreTime()const; + void setRestoreTime(const std::string& restoreTime); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount()const; @@ -67,53 +83,49 @@ namespace AlibabaCloud void setDBClusterVersion(const std::string& dBClusterVersion); std::string getDBClusterClass()const; void setDBClusterClass(const std::string& dBClusterClass); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getDBNodeGroupCount()const; - void setDBNodeGroupCount(const std::string& dBNodeGroupCount); std::string getUsedTime()const; void setUsedTime(const std::string& usedTime); - std::string getVSwitchId()const; - void setVSwitchId(const std::string& vSwitchId); + std::string getRestoreType()const; + void setRestoreType(const std::string& restoreType); std::string getDBNodeStorage()const; void setDBNodeStorage(const std::string& dBNodeStorage); std::string getExecutorCount()const; void setExecutorCount(const std::string& executorCount); std::string getVPCId()const; void setVPCId(const std::string& vPCId); - std::string getZoneId()const; - void setZoneId(const std::string& zoneId); - std::string getComputeResource()const; - void setComputeResource(const std::string& computeResource); std::string getPayType()const; void setPayType(const std::string& payType); private: long resourceOwnerId_; std::string dBClusterDescription_; - std::string clientToken_; std::string storageType_; - std::string accessKeyId_; std::string mode_; std::string resourceGroupId_; + std::string period_; + std::string backupSetID_; + long ownerId_; + std::string dBNodeGroupCount_; + std::string vSwitchId_; + std::string zoneId_; + std::string computeResource_; + std::string sourceDBInstanceName_; + std::string clientToken_; + std::string accessKeyId_; std::string storageResource_; std::string regionId_; std::string dBClusterCategory_; std::string dBClusterNetworkType_; - std::string period_; + std::string restoreTime_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBClusterVersion_; std::string dBClusterClass_; - long ownerId_; - std::string dBNodeGroupCount_; std::string usedTime_; - std::string vSwitchId_; + std::string restoreType_; std::string dBNodeStorage_; std::string executorCount_; std::string vPCId_; - std::string zoneId_; - std::string computeResource_; std::string payType_; }; diff --git a/adb/include/alibabacloud/adb/model/CreateDBResourcePoolRequest.h b/adb/include/alibabacloud/adb/model/CreateDBResourcePoolRequest.h new file mode 100644 index 000000000..895b50ca3 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/CreateDBResourcePoolRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_CREATEDBRESOURCEPOOLREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT CreateDBResourcePoolRequest : public RpcServiceRequest + { + + public: + CreateDBResourcePoolRequest(); + ~CreateDBResourcePoolRequest(); + + std::string getPoolName()const; + void setPoolName(const std::string& poolName); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getNodeNum()const; + void setNodeNum(int nodeNum); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getQueryType()const; + void setQueryType(const std::string& queryType); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string poolName_; + long resourceOwnerId_; + int nodeNum_; + std::string accessKeyId_; + std::string queryType_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/CreateDBResourcePoolResult.h b/adb/include/alibabacloud/adb/model/CreateDBResourcePoolResult.h new file mode 100644 index 000000000..3ffbc7f53 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/CreateDBResourcePoolResult.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_ADB_MODEL_CREATEDBRESOURCEPOOLRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT CreateDBResourcePoolResult : public ServiceResult + { + public: + + + CreateDBResourcePoolResult(); + explicit CreateDBResourcePoolResult(const std::string &payload); + ~CreateDBResourcePoolResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_CREATEDBRESOURCEPOOLRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/CreateElasticPlanRequest.h b/adb/include/alibabacloud/adb/model/CreateElasticPlanRequest.h new file mode 100644 index 000000000..fda45b068 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/CreateElasticPlanRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT CreateElasticPlanRequest : public RpcServiceRequest + { + + public: + CreateElasticPlanRequest(); + ~CreateElasticPlanRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getElasticPlanTimeStart()const; + void setElasticPlanTimeStart(const std::string& elasticPlanTimeStart); + std::string getElasticPlanEndDay()const; + void setElasticPlanEndDay(const std::string& elasticPlanEndDay); + std::string getElasticPlanWeeklyRepeat()const; + void setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getElasticPlanEnable()const; + void setElasticPlanEnable(bool elasticPlanEnable); + std::string getElasticPlanTimeEnd()const; + void setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd); + std::string getElasticPlanStartDay()const; + void setElasticPlanStartDay(const std::string& elasticPlanStartDay); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getElasticPlanName()const; + void setElasticPlanName(const std::string& elasticPlanName); + std::string getResourcePoolName()const; + void setResourcePoolName(const std::string& resourcePoolName); + int getElasticPlanNodeNum()const; + void setElasticPlanNodeNum(int elasticPlanNodeNum); + + private: + long resourceOwnerId_; + std::string elasticPlanTimeStart_; + std::string elasticPlanEndDay_; + std::string elasticPlanWeeklyRepeat_; + std::string accessKeyId_; + bool elasticPlanEnable_; + std::string elasticPlanTimeEnd_; + std::string elasticPlanStartDay_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string elasticPlanName_; + std::string resourcePoolName_; + int elasticPlanNodeNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/CreateElasticPlanResult.h b/adb/include/alibabacloud/adb/model/CreateElasticPlanResult.h new file mode 100644 index 000000000..23fd3cffb --- /dev/null +++ b/adb/include/alibabacloud/adb/model/CreateElasticPlanResult.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_ADB_MODEL_CREATEELASTICPLANRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT CreateElasticPlanResult : public ServiceResult + { + public: + + + CreateElasticPlanResult(); + explicit CreateElasticPlanResult(const std::string &payload); + ~CreateElasticPlanResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_CREATEELASTICPLANRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DeleteDBClusterResult.h b/adb/include/alibabacloud/adb/model/DeleteDBClusterResult.h index a69b6f513..8d176a16c 100644 --- a/adb/include/alibabacloud/adb/model/DeleteDBClusterResult.h +++ b/adb/include/alibabacloud/adb/model/DeleteDBClusterResult.h @@ -37,10 +37,14 @@ namespace AlibabaCloud DeleteDBClusterResult(); explicit DeleteDBClusterResult(const std::string &payload); ~DeleteDBClusterResult(); + int getTaskId()const; + std::string getDBClusterId()const; protected: void parse(const std::string &payload); private: + int taskId_; + std::string dBClusterId_; }; } diff --git a/adb/include/alibabacloud/adb/model/DeleteDBResourcePoolRequest.h b/adb/include/alibabacloud/adb/model/DeleteDBResourcePoolRequest.h new file mode 100644 index 000000000..f77e5f065 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DeleteDBResourcePoolRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DELETEDBRESOURCEPOOLREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DeleteDBResourcePoolRequest : public RpcServiceRequest + { + + public: + DeleteDBResourcePoolRequest(); + ~DeleteDBResourcePoolRequest(); + + std::string getPoolName()const; + void setPoolName(const std::string& poolName); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string poolName_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DeleteDBResourcePoolResult.h b/adb/include/alibabacloud/adb/model/DeleteDBResourcePoolResult.h new file mode 100644 index 000000000..0586b58fb --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DeleteDBResourcePoolResult.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_ADB_MODEL_DELETEDBRESOURCEPOOLRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DeleteDBResourcePoolResult : public ServiceResult + { + public: + + + DeleteDBResourcePoolResult(); + explicit DeleteDBResourcePoolResult(const std::string &payload); + ~DeleteDBResourcePoolResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DELETEDBRESOURCEPOOLRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DeleteElasticPlanRequest.h b/adb/include/alibabacloud/adb/model/DeleteElasticPlanRequest.h new file mode 100644 index 000000000..ca82b6863 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DeleteElasticPlanRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DELETEELASTICPLANREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DeleteElasticPlanRequest : public RpcServiceRequest + { + + public: + DeleteElasticPlanRequest(); + ~DeleteElasticPlanRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getElasticPlanName()const; + void setElasticPlanName(const std::string& elasticPlanName); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string elasticPlanName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DeleteElasticPlanResult.h b/adb/include/alibabacloud/adb/model/DeleteElasticPlanResult.h new file mode 100644 index 000000000..7242abadb --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DeleteElasticPlanResult.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_ADB_MODEL_DELETEELASTICPLANRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DeleteElasticPlanResult : public ServiceResult + { + public: + + + DeleteElasticPlanResult(); + explicit DeleteElasticPlanResult(const std::string &payload); + ~DeleteElasticPlanResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DELETEELASTICPLANRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeAllAccountsRequest.h b/adb/include/alibabacloud/adb/model/DescribeAllAccountsRequest.h new file mode 100644 index 000000000..fa1149481 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeAllAccountsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEALLACCOUNTSREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEALLACCOUNTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeAllAccountsRequest : public RpcServiceRequest + { + + public: + DescribeAllAccountsRequest(); + ~DescribeAllAccountsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEALLACCOUNTSREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeAllAccountsResult.h b/adb/include/alibabacloud/adb/model/DescribeAllAccountsResult.h new file mode 100644 index 000000000..629784f93 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeAllAccountsResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEALLACCOUNTSRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEALLACCOUNTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeAllAccountsResult : public ServiceResult + { + public: + struct AccountInfo + { + std::string user; + }; + + + DescribeAllAccountsResult(); + explicit DescribeAllAccountsResult(const std::string &payload); + ~DescribeAllAccountsResult(); + std::vector getAccountList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector accountList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEALLACCOUNTSRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeAvailableResourceResult.h b/adb/include/alibabacloud/adb/model/DescribeAvailableResourceResult.h index 313ab5fc8..32c63ffd8 100644 --- a/adb/include/alibabacloud/adb/model/DescribeAvailableResourceResult.h +++ b/adb/include/alibabacloud/adb/model/DescribeAvailableResourceResult.h @@ -40,7 +40,14 @@ namespace AlibabaCloud { struct SupportedFlexibleResourceItem { + struct SupportedElasticIOResource + { + std::string maxCount; + std::string step; + std::string minCount; + }; std::string storageType; + SupportedElasticIOResource supportedElasticIOResource; std::vector supportedStorageResource; std::vector supportedComputeResource; }; diff --git a/adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h b/adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h new file mode 100644 index 000000000..fd710022c --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBECONNECTIONCOUNTRECORDSREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBECONNECTIONCOUNTRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeConnectionCountRecordsRequest : public RpcServiceRequest + { + + public: + DescribeConnectionCountRecordsRequest(); + ~DescribeConnectionCountRecordsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECONNECTIONCOUNTRECORDSREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h b/adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.h new file mode 100644 index 000000000..63332ff8e --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeConnectionCountRecordsResult.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_ADB_MODEL_DESCRIBECONNECTIONCOUNTRECORDSRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBECONNECTIONCOUNTRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeConnectionCountRecordsResult : public ServiceResult + { + public: + struct Users + { + std::string user; + long count; + }; + struct AccessIps + { + std::string accessIp; + long count; + }; + + + DescribeConnectionCountRecordsResult(); + explicit DescribeConnectionCountRecordsResult(const std::string &payload); + ~DescribeConnectionCountRecordsResult(); + std::string getTotalCount()const; + std::vector getUserRecords()const; + std::string getDBClusterId()const; + std::vector getAccessIpRecords()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::vector userRecords_; + std::string dBClusterId_; + std::vector accessIpRecords_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBECONNECTIONCOUNTRECORDSRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h b/adb/include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h index e0836d975..a0264332c 100644 --- a/adb/include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h +++ b/adb/include/alibabacloud/adb/model/DescribeDBClusterAttributeResult.h @@ -47,6 +47,7 @@ namespace AlibabaCloud std::string dBClusterNetworkType; std::string dBClusterType; std::string diskType; + int elasticIOResource; std::string dBVersion; std::string dtsJobId; long dBNodeCount; @@ -57,6 +58,8 @@ namespace AlibabaCloud std::vector tags; std::string engine; long dBNodeStorage; + std::string engineVersion; + bool userENIStatus; std::string zoneId; std::string vPCId; std::string dBClusterStatus; @@ -67,7 +70,9 @@ namespace AlibabaCloud std::string expired; std::string lockMode; std::string payType; + bool enableAirflow; std::string dBNodeClass; + bool enableSpark; std::string vPCCloudInstanceId; std::string creationTime; std::string regionId; diff --git a/adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h b/adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h new file mode 100644 index 000000000..7394179c0 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCEREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterResourcePoolPerformanceRequest : public RpcServiceRequest + { + + public: + DescribeDBClusterResourcePoolPerformanceRequest(); + ~DescribeDBClusterResourcePoolPerformanceRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourcePools()const; + void setResourcePools(const std::string& resourcePools); + std::string getKey()const; + void setKey(const std::string& key); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + std::string startTime_; + std::string accessKeyId_; + std::string resourcePools_; + std::string key_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCEREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h b/adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h new file mode 100644 index 000000000..d1d32885d --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeDBClusterResourcePoolPerformanceResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCERESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeDBClusterResourcePoolPerformanceResult : public ServiceResult + { + public: + struct PerformanceItem + { + struct ResourcePoolPerformancesItem + { + struct ResourcePoolSeriesItem + { + std::vector values; + std::string name; + }; + std::vector resourcePoolSeries; + std::string resourcePoolName; + }; + std::vector resourcePoolPerformances; + std::string unit; + std::string key; + }; + + + DescribeDBClusterResourcePoolPerformanceResult(); + explicit DescribeDBClusterResourcePoolPerformanceResult(const std::string &payload); + ~DescribeDBClusterResourcePoolPerformanceResult(); + std::string getEndTime()const; + std::string getDBClusterId()const; + std::string getStartTime()const; + std::vector getPerformances()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string dBClusterId_; + std::string startTime_; + std::vector performances_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBCLUSTERRESOURCEPOOLPERFORMANCERESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeDBClustersResult.h b/adb/include/alibabacloud/adb/model/DescribeDBClustersResult.h index 716718415..6432a539f 100644 --- a/adb/include/alibabacloud/adb/model/DescribeDBClustersResult.h +++ b/adb/include/alibabacloud/adb/model/DescribeDBClustersResult.h @@ -47,6 +47,7 @@ namespace AlibabaCloud std::string dBClusterNetworkType; std::string dBClusterType; std::string diskType; + int elasticIOResource; std::string dBVersion; std::string dtsJobId; long dBNodeCount; diff --git a/adb/include/alibabacloud/adb/model/DescribeDBResourcePoolRequest.h b/adb/include/alibabacloud/adb/model/DescribeDBResourcePoolRequest.h new file mode 100644 index 000000000..ed737026b --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeDBResourcePoolRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEDBRESOURCEPOOLREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeDBResourcePoolRequest : public RpcServiceRequest + { + + public: + DescribeDBResourcePoolRequest(); + ~DescribeDBResourcePoolRequest(); + + std::string getPoolName()const; + void setPoolName(const std::string& poolName); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string poolName_; + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h b/adb/include/alibabacloud/adb/model/DescribeDBResourcePoolResult.h new file mode 100644 index 000000000..f2377f649 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeDBResourcePoolResult.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_ADB_MODEL_DESCRIBEDBRESOURCEPOOLRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeDBResourcePoolResult : public ServiceResult + { + public: + struct PoolInfo + { + int nodeNum; + std::string poolName; + std::string createTime; + std::string updateTime; + std::string poolUsers; + std::string queryType; + }; + + + DescribeDBResourcePoolResult(); + explicit DescribeDBResourcePoolResult(const std::string &payload); + ~DescribeDBResourcePoolResult(); + std::vector getPoolsInfo()const; + + protected: + void parse(const std::string &payload); + private: + std::vector poolsInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEDBRESOURCEPOOLRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h b/adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h new file mode 100644 index 000000000..4652c4e85 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEELASTICDAILYPLANREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICDAILYPLANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeElasticDailyPlanRequest : public RpcServiceRequest + { + + public: + DescribeElasticDailyPlanRequest(); + ~DescribeElasticDailyPlanRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getElasticDailyPlanStatusList()const; + void setElasticDailyPlanStatusList(const std::string& elasticDailyPlanStatusList); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getElasticDailyPlanDay()const; + void setElasticDailyPlanDay(const std::string& elasticDailyPlanDay); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getElasticPlanName()const; + void setElasticPlanName(const std::string& elasticPlanName); + std::string getResourcePoolName()const; + void setResourcePoolName(const std::string& resourcePoolName); + + private: + long resourceOwnerId_; + std::string elasticDailyPlanStatusList_; + std::string accessKeyId_; + std::string elasticDailyPlanDay_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string elasticPlanName_; + std::string resourcePoolName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICDAILYPLANREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h b/adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h new file mode 100644 index 000000000..1e25cf00c --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeElasticDailyPlanResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEELASTICDAILYPLANRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICDAILYPLANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeElasticDailyPlanResult : public ServiceResult + { + public: + struct ElasticDailyPlanInfo + { + int status; + std::string startTs; + std::string planEndTs; + std::string endTs; + int elasticNodeNum; + std::string resourcePoolName; + std::string planName; + std::string day; + std::string planStartTs; + }; + + + DescribeElasticDailyPlanResult(); + explicit DescribeElasticDailyPlanResult(const std::string &payload); + ~DescribeElasticDailyPlanResult(); + std::vector getElasticDailyPlanList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector elasticDailyPlanList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICDAILYPLANRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeElasticPlanRequest.h b/adb/include/alibabacloud/adb/model/DescribeElasticPlanRequest.h new file mode 100644 index 000000000..7cb8c3c7e --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeElasticPlanRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEELASTICPLANREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICPLANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeElasticPlanRequest : public RpcServiceRequest + { + + public: + DescribeElasticPlanRequest(); + ~DescribeElasticPlanRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getElasticPlanEnable()const; + void setElasticPlanEnable(bool elasticPlanEnable); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getElasticPlanName()const; + void setElasticPlanName(const std::string& elasticPlanName); + std::string getResourcePoolName()const; + void setResourcePoolName(const std::string& resourcePoolName); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + bool elasticPlanEnable_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string elasticPlanName_; + std::string resourcePoolName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICPLANREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeElasticPlanResult.h b/adb/include/alibabacloud/adb/model/DescribeElasticPlanResult.h new file mode 100644 index 000000000..fe6b22557 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeElasticPlanResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBEELASTICPLANRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICPLANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeElasticPlanResult : public ServiceResult + { + public: + struct ElasticPlanInfo + { + std::string weeklyRepeat; + std::string endTime; + int elasticNodeNum; + std::string startTime; + std::string resourcePoolName; + bool enable; + std::string endDay; + std::string planName; + std::string startDay; + }; + + + DescribeElasticPlanResult(); + explicit DescribeElasticPlanResult(const std::string &payload); + ~DescribeElasticPlanResult(); + std::vector getElasticPlanList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector elasticPlanList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBEELASTICPLANRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsRequest.h b/adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsRequest.h new file mode 100644 index 000000000..e6a967d63 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsRequest.h @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBELOADTASKSRECORDSREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOADTASKSRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeLoadTasksRecordsRequest : public RpcServiceRequest + { + + public: + DescribeLoadTasksRecordsRequest(); + ~DescribeLoadTasksRecordsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getRange()const; + void setRange(const std::string& range); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getState()const; + void setState(const std::string& state); + std::string getOrder()const; + void setOrder(const std::string& order); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDBName()const; + void setDBName(const std::string& dBName); + + private: + long resourceOwnerId_; + std::string range_; + std::string startTime_; + int pageNumber_; + std::string accessKeyId_; + int pageSize_; + std::string state_; + std::string order_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + std::string endTime_; + long ownerId_; + std::string dBName_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOADTASKSRECORDSREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsResult.h b/adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsResult.h new file mode 100644 index 000000000..72ba5a340 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeLoadTasksRecordsResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBELOADTASKSRECORDSRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBELOADTASKSRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeLoadTasksRecordsResult : public ServiceResult + { + public: + struct LoadTaskRecord + { + long processRows; + std::string state; + std::string createTime; + std::string jobName; + std::string updateTime; + std::string dBName; + std::string processID; + std::string sql; + }; + + + DescribeLoadTasksRecordsResult(); + explicit DescribeLoadTasksRecordsResult(const std::string &payload); + ~DescribeLoadTasksRecordsResult(); + std::string getTotalCount()const; + std::vector getLoadTasksRecords()const; + std::string getPageSize()const; + std::string getPageNumber()const; + std::string getDBClusterId()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::vector loadTasksRecords_; + std::string pageSize_; + std::string pageNumber_; + std::string dBClusterId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBELOADTASKSRECORDSRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeSQLPlanRequest.h b/adb/include/alibabacloud/adb/model/DescribeSQLPlanRequest.h new file mode 100644 index 000000000..5e7cca3dd --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeSQLPlanRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBESQLPLANREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeSQLPlanRequest : public RpcServiceRequest + { + + public: + DescribeSQLPlanRequest(); + ~DescribeSQLPlanRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProcessId()const; + void setProcessId(const std::string& processId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string processId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeSQLPlanResult.h b/adb/include/alibabacloud/adb/model/DescribeSQLPlanResult.h new file mode 100644 index 000000000..470216b9c --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeSQLPlanResult.h @@ -0,0 +1,92 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBESQLPLANRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeSQLPlanResult : public ServiceResult + { + public: + struct Detail + { + long totalTask; + long outputSize; + std::string user; + long totalStage; + long peakMemory; + std::string startTime; + std::string clientIP; + std::string sQL; + long cPUTime; + long queuedTime; + std::string state; + std::string database; + long totalTime; + long planningTime; + long outputRows; + }; + struct SqlPlanStage + { + long scanSizeMin; + long scanSizeAvg; + int stageId; + long peakMemory; + long cPUTimeMax; + long scanTimeMin; + long scanTimeAvg; + long inputSizeMax; + long inputSizeMin; + long inputSizeAvg; + long scanSizeMax; + std::string state; + long operatorCost; + long scanTimeMax; + long cPUTimeMin; + long cPUTimeAvg; + }; + + + DescribeSQLPlanResult(); + explicit DescribeSQLPlanResult(const std::string &payload); + ~DescribeSQLPlanResult(); + std::vector getStageList()const; + std::string getOriginInfo()const; + Detail getDetail()const; + + protected: + void parse(const std::string &payload); + private: + std::vector stageList_; + std::string originInfo_; + Detail detail_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskRequest.h b/adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskRequest.h new file mode 100644 index 000000000..fb7f6dadf --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskRequest.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_ADB_MODEL_DESCRIBESQLPLANTASKREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeSQLPlanTaskRequest : public RpcServiceRequest + { + + public: + DescribeSQLPlanTaskRequest(); + ~DescribeSQLPlanTaskRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getProcessId()const; + void setProcessId(const std::string& processId); + std::string getStageId()const; + void setStageId(const std::string& stageId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string processId_; + std::string stageId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskResult.h b/adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskResult.h new file mode 100644 index 000000000..053a5536e --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeSQLPlanTaskResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBESQLPLANTASKRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeSQLPlanTaskResult : public ServiceResult + { + public: + struct SqlPlanTask + { + long outputSize; + int taskId; + long scanRows; + long inputSize; + long scanCost; + std::string state; + long peakMemory; + long elapsedTime; + long operatorCost; + long outputRows; + long scanSize; + long inputRows; + }; + + + DescribeSQLPlanTaskResult(); + explicit DescribeSQLPlanTaskResult(const std::string &payload); + ~DescribeSQLPlanTaskResult(); + std::vector getTaskList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector taskList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBESQLPLANTASKRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h b/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h index 9a3d0f98e..fbbd41b4c 100644 --- a/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h +++ b/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsRequest.h @@ -37,6 +37,8 @@ namespace AlibabaCloud long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); + std::string getRange()const; + void setRange(const std::string& range); std::string getStartTime()const; void setStartTime(const std::string& startTime); int getPageNumber()const; @@ -45,6 +47,10 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); int getPageSize()const; void setPageSize(int pageSize); + std::string getState()const; + void setState(const std::string& state); + std::string getOrder()const; + void setOrder(const std::string& order); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getDBClusterId()const; @@ -57,19 +63,25 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getDBName()const; void setDBName(const std::string& dBName); + std::string getProcessID()const; + void setProcessID(const std::string& processID); private: long resourceOwnerId_; + std::string range_; std::string startTime_; int pageNumber_; std::string accessKeyId_; int pageSize_; + std::string state_; + std::string order_; std::string resourceOwnerAccount_; std::string dBClusterId_; std::string ownerAccount_; std::string endTime_; long ownerId_; std::string dBName_; + std::string processID_; }; } diff --git a/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsResult.h b/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsResult.h index d93860153..d77a9dcf0 100644 --- a/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsResult.h +++ b/adb/include/alibabacloud/adb/model/DescribeSlowLogRecordsResult.h @@ -34,15 +34,20 @@ namespace AlibabaCloud public: struct SlowLogRecord { + std::string outputSize; std::string userName; std::string peakMemoryUsage; std::string executionStartTime; - long queryTime; long parseRowCounts; + long queryTime; + long scanTime; std::string hostAddress; std::string sQLText; + long wallTime; + long scanRows; std::string state; long returnRowCounts; + long planningTime; std::string dBName; long queueTime; std::string processID; diff --git a/adb/include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h b/adb/include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h index 34b1b0679..d2090522c 100644 --- a/adb/include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h +++ b/adb/include/alibabacloud/adb/model/DescribeTablePartitionDiagnoseResult.h @@ -47,7 +47,7 @@ namespace AlibabaCloud int getTotalCount()const; int getPageSize()const; int getPageNumber()const; - int getDBClusterId()const; + std::string getDBClusterId()const; long getSuggestMaxRecordsPerPartition()const; std::vector getItems()const; long getSuggestMinRecordsPerPartition()const; @@ -58,7 +58,7 @@ namespace AlibabaCloud int totalCount_; int pageSize_; int pageNumber_; - int dBClusterId_; + std::string dBClusterId_; long suggestMaxRecordsPerPartition_; std::vector items_; long suggestMinRecordsPerPartition_; diff --git a/adb/include/alibabacloud/adb/model/DescribeTableStatisticsRequest.h b/adb/include/alibabacloud/adb/model/DescribeTableStatisticsRequest.h new file mode 100644 index 000000000..6c1a0b233 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeTableStatisticsRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBETABLESTATISTICSREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeTableStatisticsRequest : public RpcServiceRequest + { + + public: + DescribeTableStatisticsRequest(); + ~DescribeTableStatisticsRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getOrder()const; + void setOrder(const std::string& order); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long resourceOwnerId_; + int pageNumber_; + std::string accessKeyId_; + int pageSize_; + std::string order_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/DescribeTableStatisticsResult.h b/adb/include/alibabacloud/adb/model/DescribeTableStatisticsResult.h new file mode 100644 index 000000000..ae300a06b --- /dev/null +++ b/adb/include/alibabacloud/adb/model/DescribeTableStatisticsResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_DESCRIBETABLESTATISTICSRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT DescribeTableStatisticsResult : public ServiceResult + { + public: + struct TableStatisticRecords + { + std::string tableName; + long coldDataSize; + long dataSize; + long primaryKeyIndexSize; + long indexSize; + long rowCount; + long partitionCount; + std::string schemaName; + }; + + + DescribeTableStatisticsResult(); + explicit DescribeTableStatisticsResult(const std::string &payload); + ~DescribeTableStatisticsResult(); + std::string getTotalCount()const; + std::string getPageSize()const; + std::string getPageNumber()const; + std::string getDBClusterId()const; + std::vector getItems()const; + + protected: + void parse(const std::string &payload); + private: + std::string totalCount_; + std::string pageSize_; + std::string pageNumber_; + std::string dBClusterId_; + std::vector items_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_DESCRIBETABLESTATISTICSRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h b/adb/include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h index 289510fe5..ca243114b 100644 --- a/adb/include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h +++ b/adb/include/alibabacloud/adb/model/ModifyBackupPolicyRequest.h @@ -39,6 +39,8 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getEnableBackupLog()const; + void setEnableBackupLog(const std::string& enableBackupLog); std::string getPreferredBackupPeriod()const; void setPreferredBackupPeriod(const std::string& preferredBackupPeriod); std::string getResourceOwnerAccount()const; @@ -53,10 +55,13 @@ namespace AlibabaCloud void setPreferredBackupTime(const std::string& preferredBackupTime); std::string getBackupRetentionPeriod()const; void setBackupRetentionPeriod(const std::string& backupRetentionPeriod); + int getLogBackupRetentionPeriod()const; + void setLogBackupRetentionPeriod(int logBackupRetentionPeriod); private: long resourceOwnerId_; std::string accessKeyId_; + std::string enableBackupLog_; std::string preferredBackupPeriod_; std::string resourceOwnerAccount_; std::string dBClusterId_; @@ -64,6 +69,7 @@ namespace AlibabaCloud long ownerId_; std::string preferredBackupTime_; std::string backupRetentionPeriod_; + int logBackupRetentionPeriod_; }; } diff --git a/adb/include/alibabacloud/adb/model/ModifyDBClusterRequest.h b/adb/include/alibabacloud/adb/model/ModifyDBClusterRequest.h index c8de218a0..439cb09b1 100644 --- a/adb/include/alibabacloud/adb/model/ModifyDBClusterRequest.h +++ b/adb/include/alibabacloud/adb/model/ModifyDBClusterRequest.h @@ -39,12 +39,16 @@ namespace AlibabaCloud void setResourceOwnerId(long resourceOwnerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); + std::string getMode()const; + void setMode(const std::string& mode); std::string getStorageResource()const; void setStorageResource(const std::string& storageResource); std::string getDBNodeClass()const; void setDBNodeClass(const std::string& dBNodeClass); std::string getRegionId()const; void setRegionId(const std::string& regionId); + std::string getDBClusterCategory()const; + void setDBClusterCategory(const std::string& dBClusterCategory); std::string getResourceOwnerAccount()const; void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getDBClusterId()const; @@ -63,13 +67,17 @@ namespace AlibabaCloud void setModifyType(const std::string& modifyType); std::string getComputeResource()const; void setComputeResource(const std::string& computeResource); + int getElasticIOResource()const; + void setElasticIOResource(int elasticIOResource); private: long resourceOwnerId_; std::string accessKeyId_; + std::string mode_; std::string storageResource_; std::string dBNodeClass_; std::string regionId_; + std::string dBClusterCategory_; std::string resourceOwnerAccount_; std::string dBClusterId_; std::string ownerAccount_; @@ -79,6 +87,7 @@ namespace AlibabaCloud std::string executorCount_; std::string modifyType_; std::string computeResource_; + int elasticIOResource_; }; } diff --git a/adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupRequest.h b/adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupRequest.h new file mode 100644 index 000000000..3cead7f44 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterResourceGroupRequest : public RpcServiceRequest + { + + public: + ModifyDBClusterResourceGroupRequest(); + ~ModifyDBClusterResourceGroupRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getNewResourceGroupId()const; + void setNewResourceGroupId(const std::string& newResourceGroupId); + + private: + long resourceOwnerId_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string newResourceGroupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupResult.h b/adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupResult.h new file mode 100644 index 000000000..be0aec984 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/ModifyDBClusterResourceGroupResult.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_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT ModifyDBClusterResourceGroupResult : public ServiceResult + { + public: + + + ModifyDBClusterResourceGroupResult(); + explicit ModifyDBClusterResourceGroupResult(const std::string &payload); + ~ModifyDBClusterResourceGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBCLUSTERRESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h b/adb/include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h new file mode 100644 index 000000000..3447a5880 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADB_MODEL_MODIFYDBRESOURCEPOOLREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT ModifyDBResourcePoolRequest : public RpcServiceRequest + { + + public: + ModifyDBResourcePoolRequest(); + ~ModifyDBResourcePoolRequest(); + + std::string getPoolName()const; + void setPoolName(const std::string& poolName); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + int getNodeNum()const; + void setNodeNum(int nodeNum); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getQueryType()const; + void setQueryType(const std::string& queryType); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string poolName_; + long resourceOwnerId_; + int nodeNum_; + std::string accessKeyId_; + std::string queryType_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyDBResourcePoolResult.h b/adb/include/alibabacloud/adb/model/ModifyDBResourcePoolResult.h new file mode 100644 index 000000000..3ba99073f --- /dev/null +++ b/adb/include/alibabacloud/adb/model/ModifyDBResourcePoolResult.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_ADB_MODEL_MODIFYDBRESOURCEPOOLRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT ModifyDBResourcePoolResult : public ServiceResult + { + public: + + + ModifyDBResourcePoolResult(); + explicit ModifyDBResourcePoolResult(const std::string &payload); + ~ModifyDBResourcePoolResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYDBRESOURCEPOOLRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyElasticPlanRequest.h b/adb/include/alibabacloud/adb/model/ModifyElasticPlanRequest.h new file mode 100644 index 000000000..324a3e05f --- /dev/null +++ b/adb/include/alibabacloud/adb/model/ModifyElasticPlanRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT ModifyElasticPlanRequest : public RpcServiceRequest + { + + public: + ModifyElasticPlanRequest(); + ~ModifyElasticPlanRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getElasticPlanTimeStart()const; + void setElasticPlanTimeStart(const std::string& elasticPlanTimeStart); + std::string getElasticPlanEndDay()const; + void setElasticPlanEndDay(const std::string& elasticPlanEndDay); + std::string getElasticPlanWeeklyRepeat()const; + void setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + bool getElasticPlanEnable()const; + void setElasticPlanEnable(bool elasticPlanEnable); + std::string getElasticPlanTimeEnd()const; + void setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd); + std::string getElasticPlanStartDay()const; + void setElasticPlanStartDay(const std::string& elasticPlanStartDay); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getElasticPlanName()const; + void setElasticPlanName(const std::string& elasticPlanName); + std::string getResourcePoolName()const; + void setResourcePoolName(const std::string& resourcePoolName); + int getElasticPlanNodeNum()const; + void setElasticPlanNodeNum(int elasticPlanNodeNum); + + private: + long resourceOwnerId_; + std::string elasticPlanTimeStart_; + std::string elasticPlanEndDay_; + std::string elasticPlanWeeklyRepeat_; + std::string accessKeyId_; + bool elasticPlanEnable_; + std::string elasticPlanTimeEnd_; + std::string elasticPlanStartDay_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + std::string elasticPlanName_; + std::string resourcePoolName_; + int elasticPlanNodeNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/ModifyElasticPlanResult.h b/adb/include/alibabacloud/adb/model/ModifyElasticPlanResult.h new file mode 100644 index 000000000..83cb488a6 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/ModifyElasticPlanResult.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_ADB_MODEL_MODIFYELASTICPLANRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT ModifyElasticPlanResult : public ServiceResult + { + public: + + + ModifyElasticPlanResult(); + explicit ModifyElasticPlanResult(const std::string &payload); + ~ModifyElasticPlanResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_MODIFYELASTICPLANRESULT_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserRequest.h b/adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserRequest.h new file mode 100644 index 000000000..b847c7ae2 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserRequest.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_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERREQUEST_H_ +#define ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT UnbindDBResourcePoolWithUserRequest : public RpcServiceRequest + { + + public: + UnbindDBResourcePoolWithUserRequest(); + ~UnbindDBResourcePoolWithUserRequest(); + + std::string getPoolName()const; + void setPoolName(const std::string& poolName); + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getPoolUser()const; + void setPoolUser(const std::string& poolUser); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getDBClusterId()const; + void setDBClusterId(const std::string& dBClusterId); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string poolName_; + long resourceOwnerId_; + std::string poolUser_; + std::string accessKeyId_; + std::string resourceOwnerAccount_; + std::string dBClusterId_; + std::string ownerAccount_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERREQUEST_H_ \ No newline at end of file diff --git a/adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserResult.h b/adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserResult.h new file mode 100644 index 000000000..f2f7fd1f6 --- /dev/null +++ b/adb/include/alibabacloud/adb/model/UnbindDBResourcePoolWithUserResult.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_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERRESULT_H_ +#define ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Adb + { + namespace Model + { + class ALIBABACLOUD_ADB_EXPORT UnbindDBResourcePoolWithUserResult : public ServiceResult + { + public: + + + UnbindDBResourcePoolWithUserResult(); + explicit UnbindDBResourcePoolWithUserResult(const std::string &payload); + ~UnbindDBResourcePoolWithUserResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_ADB_MODEL_UNBINDDBRESOURCEPOOLWITHUSERRESULT_H_ \ No newline at end of file diff --git a/adb/src/AdbClient.cc b/adb/src/AdbClient.cc index 68b525dc8..a1a6a4fb9 100644 --- a/adb/src/AdbClient.cc +++ b/adb/src/AdbClient.cc @@ -87,6 +87,42 @@ AdbClient::AllocateClusterPublicConnectionOutcomeCallable AdbClient::allocateClu return task->get_future(); } +AdbClient::BindDBResourcePoolWithUserOutcome AdbClient::bindDBResourcePoolWithUser(const BindDBResourcePoolWithUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindDBResourcePoolWithUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindDBResourcePoolWithUserOutcome(BindDBResourcePoolWithUserResult(outcome.result())); + else + return BindDBResourcePoolWithUserOutcome(outcome.error()); +} + +void AdbClient::bindDBResourcePoolWithUserAsync(const BindDBResourcePoolWithUserRequest& request, const BindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindDBResourcePoolWithUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::BindDBResourcePoolWithUserOutcomeCallable AdbClient::bindDBResourcePoolWithUserCallable(const BindDBResourcePoolWithUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindDBResourcePoolWithUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::CreateAccountOutcome AdbClient::createAccount(const CreateAccountRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -159,6 +195,78 @@ AdbClient::CreateDBClusterOutcomeCallable AdbClient::createDBClusterCallable(con return task->get_future(); } +AdbClient::CreateDBResourcePoolOutcome AdbClient::createDBResourcePool(const CreateDBResourcePoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDBResourcePoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDBResourcePoolOutcome(CreateDBResourcePoolResult(outcome.result())); + else + return CreateDBResourcePoolOutcome(outcome.error()); +} + +void AdbClient::createDBResourcePoolAsync(const CreateDBResourcePoolRequest& request, const CreateDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDBResourcePool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::CreateDBResourcePoolOutcomeCallable AdbClient::createDBResourcePoolCallable(const CreateDBResourcePoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDBResourcePool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::CreateElasticPlanOutcome AdbClient::createElasticPlan(const CreateElasticPlanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateElasticPlanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateElasticPlanOutcome(CreateElasticPlanResult(outcome.result())); + else + return CreateElasticPlanOutcome(outcome.error()); +} + +void AdbClient::createElasticPlanAsync(const CreateElasticPlanRequest& request, const CreateElasticPlanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createElasticPlan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::CreateElasticPlanOutcomeCallable AdbClient::createElasticPlanCallable(const CreateElasticPlanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createElasticPlan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DeleteAccountOutcome AdbClient::deleteAccount(const DeleteAccountRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -231,6 +339,78 @@ AdbClient::DeleteDBClusterOutcomeCallable AdbClient::deleteDBClusterCallable(con return task->get_future(); } +AdbClient::DeleteDBResourcePoolOutcome AdbClient::deleteDBResourcePool(const DeleteDBResourcePoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDBResourcePoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDBResourcePoolOutcome(DeleteDBResourcePoolResult(outcome.result())); + else + return DeleteDBResourcePoolOutcome(outcome.error()); +} + +void AdbClient::deleteDBResourcePoolAsync(const DeleteDBResourcePoolRequest& request, const DeleteDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDBResourcePool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DeleteDBResourcePoolOutcomeCallable AdbClient::deleteDBResourcePoolCallable(const DeleteDBResourcePoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDBResourcePool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::DeleteElasticPlanOutcome AdbClient::deleteElasticPlan(const DeleteElasticPlanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteElasticPlanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteElasticPlanOutcome(DeleteElasticPlanResult(outcome.result())); + else + return DeleteElasticPlanOutcome(outcome.error()); +} + +void AdbClient::deleteElasticPlanAsync(const DeleteElasticPlanRequest& request, const DeleteElasticPlanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteElasticPlan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DeleteElasticPlanOutcomeCallable AdbClient::deleteElasticPlanCallable(const DeleteElasticPlanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteElasticPlan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeAccountsOutcome AdbClient::describeAccounts(const DescribeAccountsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -267,6 +447,42 @@ AdbClient::DescribeAccountsOutcomeCallable AdbClient::describeAccountsCallable(c return task->get_future(); } +AdbClient::DescribeAllAccountsOutcome AdbClient::describeAllAccounts(const DescribeAllAccountsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAllAccountsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAllAccountsOutcome(DescribeAllAccountsResult(outcome.result())); + else + return DescribeAllAccountsOutcome(outcome.error()); +} + +void AdbClient::describeAllAccountsAsync(const DescribeAllAccountsRequest& request, const DescribeAllAccountsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAllAccounts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeAllAccountsOutcomeCallable AdbClient::describeAllAccountsCallable(const DescribeAllAccountsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAllAccounts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeAllDataSourceOutcome AdbClient::describeAllDataSource(const DescribeAllDataSourceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -555,6 +771,42 @@ AdbClient::DescribeColumnsOutcomeCallable AdbClient::describeColumnsCallable(con return task->get_future(); } +AdbClient::DescribeConnectionCountRecordsOutcome AdbClient::describeConnectionCountRecords(const DescribeConnectionCountRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeConnectionCountRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeConnectionCountRecordsOutcome(DescribeConnectionCountRecordsResult(outcome.result())); + else + return DescribeConnectionCountRecordsOutcome(outcome.error()); +} + +void AdbClient::describeConnectionCountRecordsAsync(const DescribeConnectionCountRecordsRequest& request, const DescribeConnectionCountRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeConnectionCountRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeConnectionCountRecordsOutcomeCallable AdbClient::describeConnectionCountRecordsCallable(const DescribeConnectionCountRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeConnectionCountRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeDBClusterAccessWhiteListOutcome AdbClient::describeDBClusterAccessWhiteList(const DescribeDBClusterAccessWhiteListRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -699,6 +951,42 @@ AdbClient::DescribeDBClusterPerformanceOutcomeCallable AdbClient::describeDBClus return task->get_future(); } +AdbClient::DescribeDBClusterResourcePoolPerformanceOutcome AdbClient::describeDBClusterResourcePoolPerformance(const DescribeDBClusterResourcePoolPerformanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBClusterResourcePoolPerformanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBClusterResourcePoolPerformanceOutcome(DescribeDBClusterResourcePoolPerformanceResult(outcome.result())); + else + return DescribeDBClusterResourcePoolPerformanceOutcome(outcome.error()); +} + +void AdbClient::describeDBClusterResourcePoolPerformanceAsync(const DescribeDBClusterResourcePoolPerformanceRequest& request, const DescribeDBClusterResourcePoolPerformanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBClusterResourcePoolPerformance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeDBClusterResourcePoolPerformanceOutcomeCallable AdbClient::describeDBClusterResourcePoolPerformanceCallable(const DescribeDBClusterResourcePoolPerformanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBClusterResourcePoolPerformance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeDBClustersOutcome AdbClient::describeDBClusters(const DescribeDBClustersRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +1023,114 @@ AdbClient::DescribeDBClustersOutcomeCallable AdbClient::describeDBClustersCallab return task->get_future(); } +AdbClient::DescribeDBResourcePoolOutcome AdbClient::describeDBResourcePool(const DescribeDBResourcePoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBResourcePoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBResourcePoolOutcome(DescribeDBResourcePoolResult(outcome.result())); + else + return DescribeDBResourcePoolOutcome(outcome.error()); +} + +void AdbClient::describeDBResourcePoolAsync(const DescribeDBResourcePoolRequest& request, const DescribeDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBResourcePool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeDBResourcePoolOutcomeCallable AdbClient::describeDBResourcePoolCallable(const DescribeDBResourcePoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBResourcePool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::DescribeElasticDailyPlanOutcome AdbClient::describeElasticDailyPlan(const DescribeElasticDailyPlanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeElasticDailyPlanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeElasticDailyPlanOutcome(DescribeElasticDailyPlanResult(outcome.result())); + else + return DescribeElasticDailyPlanOutcome(outcome.error()); +} + +void AdbClient::describeElasticDailyPlanAsync(const DescribeElasticDailyPlanRequest& request, const DescribeElasticDailyPlanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeElasticDailyPlan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeElasticDailyPlanOutcomeCallable AdbClient::describeElasticDailyPlanCallable(const DescribeElasticDailyPlanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeElasticDailyPlan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::DescribeElasticPlanOutcome AdbClient::describeElasticPlan(const DescribeElasticPlanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeElasticPlanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeElasticPlanOutcome(DescribeElasticPlanResult(outcome.result())); + else + return DescribeElasticPlanOutcome(outcome.error()); +} + +void AdbClient::describeElasticPlanAsync(const DescribeElasticPlanRequest& request, const DescribeElasticPlanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeElasticPlan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeElasticPlanOutcomeCallable AdbClient::describeElasticPlanCallable(const DescribeElasticPlanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeElasticPlan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeInclinedTablesOutcome AdbClient::describeInclinedTables(const DescribeInclinedTablesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +1167,42 @@ AdbClient::DescribeInclinedTablesOutcomeCallable AdbClient::describeInclinedTabl return task->get_future(); } +AdbClient::DescribeLoadTasksRecordsOutcome AdbClient::describeLoadTasksRecords(const DescribeLoadTasksRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLoadTasksRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLoadTasksRecordsOutcome(DescribeLoadTasksRecordsResult(outcome.result())); + else + return DescribeLoadTasksRecordsOutcome(outcome.error()); +} + +void AdbClient::describeLoadTasksRecordsAsync(const DescribeLoadTasksRecordsRequest& request, const DescribeLoadTasksRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLoadTasksRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeLoadTasksRecordsOutcomeCallable AdbClient::describeLoadTasksRecordsCallable(const DescribeLoadTasksRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLoadTasksRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeOperatorPermissionOutcome AdbClient::describeOperatorPermission(const DescribeOperatorPermissionRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,6 +1311,78 @@ AdbClient::DescribeRegionsOutcomeCallable AdbClient::describeRegionsCallable(con return task->get_future(); } +AdbClient::DescribeSQLPlanOutcome AdbClient::describeSQLPlan(const DescribeSQLPlanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLPlanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLPlanOutcome(DescribeSQLPlanResult(outcome.result())); + else + return DescribeSQLPlanOutcome(outcome.error()); +} + +void AdbClient::describeSQLPlanAsync(const DescribeSQLPlanRequest& request, const DescribeSQLPlanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLPlan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeSQLPlanOutcomeCallable AdbClient::describeSQLPlanCallable(const DescribeSQLPlanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLPlan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::DescribeSQLPlanTaskOutcome AdbClient::describeSQLPlanTask(const DescribeSQLPlanTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLPlanTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLPlanTaskOutcome(DescribeSQLPlanTaskResult(outcome.result())); + else + return DescribeSQLPlanTaskOutcome(outcome.error()); +} + +void AdbClient::describeSQLPlanTaskAsync(const DescribeSQLPlanTaskRequest& request, const DescribeSQLPlanTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLPlanTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeSQLPlanTaskOutcomeCallable AdbClient::describeSQLPlanTaskCallable(const DescribeSQLPlanTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLPlanTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeSchemasOutcome AdbClient::describeSchemas(const DescribeSchemasRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1059,6 +1563,42 @@ AdbClient::DescribeTablePartitionDiagnoseOutcomeCallable AdbClient::describeTabl return task->get_future(); } +AdbClient::DescribeTableStatisticsOutcome AdbClient::describeTableStatistics(const DescribeTableStatisticsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTableStatisticsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTableStatisticsOutcome(DescribeTableStatisticsResult(outcome.result())); + else + return DescribeTableStatisticsOutcome(outcome.error()); +} + +void AdbClient::describeTableStatisticsAsync(const DescribeTableStatisticsRequest& request, const DescribeTableStatisticsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTableStatistics(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::DescribeTableStatisticsOutcomeCallable AdbClient::describeTableStatisticsCallable(const DescribeTableStatisticsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTableStatistics(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::DescribeTablesOutcome AdbClient::describeTables(const DescribeTablesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1563,6 +2103,114 @@ AdbClient::ModifyDBClusterMaintainTimeOutcomeCallable AdbClient::modifyDBCluster return task->get_future(); } +AdbClient::ModifyDBClusterResourceGroupOutcome AdbClient::modifyDBClusterResourceGroup(const ModifyDBClusterResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBClusterResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBClusterResourceGroupOutcome(ModifyDBClusterResourceGroupResult(outcome.result())); + else + return ModifyDBClusterResourceGroupOutcome(outcome.error()); +} + +void AdbClient::modifyDBClusterResourceGroupAsync(const ModifyDBClusterResourceGroupRequest& request, const ModifyDBClusterResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBClusterResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::ModifyDBClusterResourceGroupOutcomeCallable AdbClient::modifyDBClusterResourceGroupCallable(const ModifyDBClusterResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBClusterResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::ModifyDBResourcePoolOutcome AdbClient::modifyDBResourcePool(const ModifyDBResourcePoolRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBResourcePoolOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBResourcePoolOutcome(ModifyDBResourcePoolResult(outcome.result())); + else + return ModifyDBResourcePoolOutcome(outcome.error()); +} + +void AdbClient::modifyDBResourcePoolAsync(const ModifyDBResourcePoolRequest& request, const ModifyDBResourcePoolAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBResourcePool(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::ModifyDBResourcePoolOutcomeCallable AdbClient::modifyDBResourcePoolCallable(const ModifyDBResourcePoolRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBResourcePool(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +AdbClient::ModifyElasticPlanOutcome AdbClient::modifyElasticPlan(const ModifyElasticPlanRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyElasticPlanOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyElasticPlanOutcome(ModifyElasticPlanResult(outcome.result())); + else + return ModifyElasticPlanOutcome(outcome.error()); +} + +void AdbClient::modifyElasticPlanAsync(const ModifyElasticPlanRequest& request, const ModifyElasticPlanAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyElasticPlan(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::ModifyElasticPlanOutcomeCallable AdbClient::modifyElasticPlanCallable(const ModifyElasticPlanRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyElasticPlan(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::ModifyLogBackupPolicyOutcome AdbClient::modifyLogBackupPolicy(const ModifyLogBackupPolicyRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1743,6 +2391,42 @@ AdbClient::TagResourcesOutcomeCallable AdbClient::tagResourcesCallable(const Tag return task->get_future(); } +AdbClient::UnbindDBResourcePoolWithUserOutcome AdbClient::unbindDBResourcePoolWithUser(const UnbindDBResourcePoolWithUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindDBResourcePoolWithUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindDBResourcePoolWithUserOutcome(UnbindDBResourcePoolWithUserResult(outcome.result())); + else + return UnbindDBResourcePoolWithUserOutcome(outcome.error()); +} + +void AdbClient::unbindDBResourcePoolWithUserAsync(const UnbindDBResourcePoolWithUserRequest& request, const UnbindDBResourcePoolWithUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindDBResourcePoolWithUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +AdbClient::UnbindDBResourcePoolWithUserOutcomeCallable AdbClient::unbindDBResourcePoolWithUserCallable(const UnbindDBResourcePoolWithUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindDBResourcePoolWithUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + AdbClient::UntagResourcesOutcome AdbClient::untagResources(const UntagResourcesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/adb/src/model/BindDBResourcePoolWithUserRequest.cc b/adb/src/model/BindDBResourcePoolWithUserRequest.cc new file mode 100644 index 000000000..b7c30430d --- /dev/null +++ b/adb/src/model/BindDBResourcePoolWithUserRequest.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::Adb::Model::BindDBResourcePoolWithUserRequest; + +BindDBResourcePoolWithUserRequest::BindDBResourcePoolWithUserRequest() : + RpcServiceRequest("adb", "2019-03-15", "BindDBResourcePoolWithUser") +{ + setMethod(HttpRequest::Method::Post); +} + +BindDBResourcePoolWithUserRequest::~BindDBResourcePoolWithUserRequest() +{} + +std::string BindDBResourcePoolWithUserRequest::getPoolName()const +{ + return poolName_; +} + +void BindDBResourcePoolWithUserRequest::setPoolName(const std::string& poolName) +{ + poolName_ = poolName; + setParameter("PoolName", poolName); +} + +long BindDBResourcePoolWithUserRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void BindDBResourcePoolWithUserRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string BindDBResourcePoolWithUserRequest::getPoolUser()const +{ + return poolUser_; +} + +void BindDBResourcePoolWithUserRequest::setPoolUser(const std::string& poolUser) +{ + poolUser_ = poolUser; + setParameter("PoolUser", poolUser); +} + +std::string BindDBResourcePoolWithUserRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void BindDBResourcePoolWithUserRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string BindDBResourcePoolWithUserRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void BindDBResourcePoolWithUserRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string BindDBResourcePoolWithUserRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void BindDBResourcePoolWithUserRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string BindDBResourcePoolWithUserRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void BindDBResourcePoolWithUserRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long BindDBResourcePoolWithUserRequest::getOwnerId()const +{ + return ownerId_; +} + +void BindDBResourcePoolWithUserRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/BindDBResourcePoolWithUserResult.cc b/adb/src/model/BindDBResourcePoolWithUserResult.cc new file mode 100644 index 000000000..98e95291f --- /dev/null +++ b/adb/src/model/BindDBResourcePoolWithUserResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +BindDBResourcePoolWithUserResult::BindDBResourcePoolWithUserResult() : + ServiceResult() +{} + +BindDBResourcePoolWithUserResult::BindDBResourcePoolWithUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindDBResourcePoolWithUserResult::~BindDBResourcePoolWithUserResult() +{} + +void BindDBResourcePoolWithUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/CreateDBClusterRequest.cc b/adb/src/model/CreateDBClusterRequest.cc index 35046a633..a35fd8d80 100644 --- a/adb/src/model/CreateDBClusterRequest.cc +++ b/adb/src/model/CreateDBClusterRequest.cc @@ -49,17 +49,6 @@ void CreateDBClusterRequest::setDBClusterDescription(const std::string& dBCluste setParameter("DBClusterDescription", dBClusterDescription); } -std::string CreateDBClusterRequest::getClientToken()const -{ - return clientToken_; -} - -void CreateDBClusterRequest::setClientToken(const std::string& clientToken) -{ - clientToken_ = clientToken; - setParameter("ClientToken", clientToken); -} - std::string CreateDBClusterRequest::getStorageType()const { return storageType_; @@ -71,17 +60,6 @@ void CreateDBClusterRequest::setStorageType(const std::string& storageType) setParameter("StorageType", storageType); } -std::string CreateDBClusterRequest::getAccessKeyId()const -{ - return accessKeyId_; -} - -void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId) -{ - accessKeyId_ = accessKeyId; - setParameter("AccessKeyId", accessKeyId); -} - std::string CreateDBClusterRequest::getMode()const { return mode_; @@ -104,6 +82,116 @@ void CreateDBClusterRequest::setResourceGroupId(const std::string& resourceGroup setParameter("ResourceGroupId", resourceGroupId); } +std::string CreateDBClusterRequest::getPeriod()const +{ + return period_; +} + +void CreateDBClusterRequest::setPeriod(const std::string& period) +{ + period_ = period; + setParameter("Period", period); +} + +std::string CreateDBClusterRequest::getBackupSetID()const +{ + return backupSetID_; +} + +void CreateDBClusterRequest::setBackupSetID(const std::string& backupSetID) +{ + backupSetID_ = backupSetID; + setParameter("BackupSetID", backupSetID); +} + +long CreateDBClusterRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDBClusterRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateDBClusterRequest::getDBNodeGroupCount()const +{ + return dBNodeGroupCount_; +} + +void CreateDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount) +{ + dBNodeGroupCount_ = dBNodeGroupCount; + setParameter("DBNodeGroupCount", dBNodeGroupCount); +} + +std::string CreateDBClusterRequest::getVSwitchId()const +{ + return vSwitchId_; +} + +void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId) +{ + vSwitchId_ = vSwitchId; + setParameter("VSwitchId", vSwitchId); +} + +std::string CreateDBClusterRequest::getZoneId()const +{ + return zoneId_; +} + +void CreateDBClusterRequest::setZoneId(const std::string& zoneId) +{ + zoneId_ = zoneId; + setParameter("ZoneId", zoneId); +} + +std::string CreateDBClusterRequest::getComputeResource()const +{ + return computeResource_; +} + +void CreateDBClusterRequest::setComputeResource(const std::string& computeResource) +{ + computeResource_ = computeResource; + setParameter("ComputeResource", computeResource); +} + +std::string CreateDBClusterRequest::getSourceDBInstanceName()const +{ + return sourceDBInstanceName_; +} + +void CreateDBClusterRequest::setSourceDBInstanceName(const std::string& sourceDBInstanceName) +{ + sourceDBInstanceName_ = sourceDBInstanceName; + setParameter("SourceDBInstanceName", sourceDBInstanceName); +} + +std::string CreateDBClusterRequest::getClientToken()const +{ + return clientToken_; +} + +void CreateDBClusterRequest::setClientToken(const std::string& clientToken) +{ + clientToken_ = clientToken; + setParameter("ClientToken", clientToken); +} + +std::string CreateDBClusterRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateDBClusterRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + std::string CreateDBClusterRequest::getStorageResource()const { return storageResource_; @@ -148,15 +236,15 @@ void CreateDBClusterRequest::setDBClusterNetworkType(const std::string& dBCluste setParameter("DBClusterNetworkType", dBClusterNetworkType); } -std::string CreateDBClusterRequest::getPeriod()const +std::string CreateDBClusterRequest::getRestoreTime()const { - return period_; + return restoreTime_; } -void CreateDBClusterRequest::setPeriod(const std::string& period) +void CreateDBClusterRequest::setRestoreTime(const std::string& restoreTime) { - period_ = period; - setParameter("Period", period); + restoreTime_ = restoreTime; + setParameter("RestoreTime", restoreTime); } std::string CreateDBClusterRequest::getResourceOwnerAccount()const @@ -203,28 +291,6 @@ void CreateDBClusterRequest::setDBClusterClass(const std::string& dBClusterClass setParameter("DBClusterClass", dBClusterClass); } -long CreateDBClusterRequest::getOwnerId()const -{ - return ownerId_; -} - -void CreateDBClusterRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setParameter("OwnerId", std::to_string(ownerId)); -} - -std::string CreateDBClusterRequest::getDBNodeGroupCount()const -{ - return dBNodeGroupCount_; -} - -void CreateDBClusterRequest::setDBNodeGroupCount(const std::string& dBNodeGroupCount) -{ - dBNodeGroupCount_ = dBNodeGroupCount; - setParameter("DBNodeGroupCount", dBNodeGroupCount); -} - std::string CreateDBClusterRequest::getUsedTime()const { return usedTime_; @@ -236,15 +302,15 @@ void CreateDBClusterRequest::setUsedTime(const std::string& usedTime) setParameter("UsedTime", usedTime); } -std::string CreateDBClusterRequest::getVSwitchId()const +std::string CreateDBClusterRequest::getRestoreType()const { - return vSwitchId_; + return restoreType_; } -void CreateDBClusterRequest::setVSwitchId(const std::string& vSwitchId) +void CreateDBClusterRequest::setRestoreType(const std::string& restoreType) { - vSwitchId_ = vSwitchId; - setParameter("VSwitchId", vSwitchId); + restoreType_ = restoreType; + setParameter("RestoreType", restoreType); } std::string CreateDBClusterRequest::getDBNodeStorage()const @@ -280,28 +346,6 @@ void CreateDBClusterRequest::setVPCId(const std::string& vPCId) setParameter("VPCId", vPCId); } -std::string CreateDBClusterRequest::getZoneId()const -{ - return zoneId_; -} - -void CreateDBClusterRequest::setZoneId(const std::string& zoneId) -{ - zoneId_ = zoneId; - setParameter("ZoneId", zoneId); -} - -std::string CreateDBClusterRequest::getComputeResource()const -{ - return computeResource_; -} - -void CreateDBClusterRequest::setComputeResource(const std::string& computeResource) -{ - computeResource_ = computeResource; - setParameter("ComputeResource", computeResource); -} - std::string CreateDBClusterRequest::getPayType()const { return payType_; diff --git a/adb/src/model/CreateDBResourcePoolRequest.cc b/adb/src/model/CreateDBResourcePoolRequest.cc new file mode 100644 index 000000000..163c4f87a --- /dev/null +++ b/adb/src/model/CreateDBResourcePoolRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::CreateDBResourcePoolRequest; + +CreateDBResourcePoolRequest::CreateDBResourcePoolRequest() : + RpcServiceRequest("adb", "2019-03-15", "CreateDBResourcePool") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDBResourcePoolRequest::~CreateDBResourcePoolRequest() +{} + +std::string CreateDBResourcePoolRequest::getPoolName()const +{ + return poolName_; +} + +void CreateDBResourcePoolRequest::setPoolName(const std::string& poolName) +{ + poolName_ = poolName; + setParameter("PoolName", poolName); +} + +long CreateDBResourcePoolRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateDBResourcePoolRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int CreateDBResourcePoolRequest::getNodeNum()const +{ + return nodeNum_; +} + +void CreateDBResourcePoolRequest::setNodeNum(int nodeNum) +{ + nodeNum_ = nodeNum; + setParameter("NodeNum", std::to_string(nodeNum)); +} + +std::string CreateDBResourcePoolRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateDBResourcePoolRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string CreateDBResourcePoolRequest::getQueryType()const +{ + return queryType_; +} + +void CreateDBResourcePoolRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); +} + +std::string CreateDBResourcePoolRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void CreateDBResourcePoolRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string CreateDBResourcePoolRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void CreateDBResourcePoolRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string CreateDBResourcePoolRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void CreateDBResourcePoolRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long CreateDBResourcePoolRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDBResourcePoolRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/CreateDBResourcePoolResult.cc b/adb/src/model/CreateDBResourcePoolResult.cc new file mode 100644 index 000000000..c29ab7213 --- /dev/null +++ b/adb/src/model/CreateDBResourcePoolResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +CreateDBResourcePoolResult::CreateDBResourcePoolResult() : + ServiceResult() +{} + +CreateDBResourcePoolResult::CreateDBResourcePoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDBResourcePoolResult::~CreateDBResourcePoolResult() +{} + +void CreateDBResourcePoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/CreateElasticPlanRequest.cc b/adb/src/model/CreateElasticPlanRequest.cc new file mode 100644 index 000000000..56c180d6b --- /dev/null +++ b/adb/src/model/CreateElasticPlanRequest.cc @@ -0,0 +1,194 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::CreateElasticPlanRequest; + +CreateElasticPlanRequest::CreateElasticPlanRequest() : + RpcServiceRequest("adb", "2019-03-15", "CreateElasticPlan") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateElasticPlanRequest::~CreateElasticPlanRequest() +{} + +long CreateElasticPlanRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void CreateElasticPlanRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string CreateElasticPlanRequest::getElasticPlanTimeStart()const +{ + return elasticPlanTimeStart_; +} + +void CreateElasticPlanRequest::setElasticPlanTimeStart(const std::string& elasticPlanTimeStart) +{ + elasticPlanTimeStart_ = elasticPlanTimeStart; + setParameter("ElasticPlanTimeStart", elasticPlanTimeStart); +} + +std::string CreateElasticPlanRequest::getElasticPlanEndDay()const +{ + return elasticPlanEndDay_; +} + +void CreateElasticPlanRequest::setElasticPlanEndDay(const std::string& elasticPlanEndDay) +{ + elasticPlanEndDay_ = elasticPlanEndDay; + setParameter("ElasticPlanEndDay", elasticPlanEndDay); +} + +std::string CreateElasticPlanRequest::getElasticPlanWeeklyRepeat()const +{ + return elasticPlanWeeklyRepeat_; +} + +void CreateElasticPlanRequest::setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat) +{ + elasticPlanWeeklyRepeat_ = elasticPlanWeeklyRepeat; + setParameter("ElasticPlanWeeklyRepeat", elasticPlanWeeklyRepeat); +} + +std::string CreateElasticPlanRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateElasticPlanRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool CreateElasticPlanRequest::getElasticPlanEnable()const +{ + return elasticPlanEnable_; +} + +void CreateElasticPlanRequest::setElasticPlanEnable(bool elasticPlanEnable) +{ + elasticPlanEnable_ = elasticPlanEnable; + setParameter("ElasticPlanEnable", elasticPlanEnable ? "true" : "false"); +} + +std::string CreateElasticPlanRequest::getElasticPlanTimeEnd()const +{ + return elasticPlanTimeEnd_; +} + +void CreateElasticPlanRequest::setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd) +{ + elasticPlanTimeEnd_ = elasticPlanTimeEnd; + setParameter("ElasticPlanTimeEnd", elasticPlanTimeEnd); +} + +std::string CreateElasticPlanRequest::getElasticPlanStartDay()const +{ + return elasticPlanStartDay_; +} + +void CreateElasticPlanRequest::setElasticPlanStartDay(const std::string& elasticPlanStartDay) +{ + elasticPlanStartDay_ = elasticPlanStartDay; + setParameter("ElasticPlanStartDay", elasticPlanStartDay); +} + +std::string CreateElasticPlanRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void CreateElasticPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string CreateElasticPlanRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void CreateElasticPlanRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string CreateElasticPlanRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void CreateElasticPlanRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long CreateElasticPlanRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateElasticPlanRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateElasticPlanRequest::getElasticPlanName()const +{ + return elasticPlanName_; +} + +void CreateElasticPlanRequest::setElasticPlanName(const std::string& elasticPlanName) +{ + elasticPlanName_ = elasticPlanName; + setParameter("ElasticPlanName", elasticPlanName); +} + +std::string CreateElasticPlanRequest::getResourcePoolName()const +{ + return resourcePoolName_; +} + +void CreateElasticPlanRequest::setResourcePoolName(const std::string& resourcePoolName) +{ + resourcePoolName_ = resourcePoolName; + setParameter("ResourcePoolName", resourcePoolName); +} + +int CreateElasticPlanRequest::getElasticPlanNodeNum()const +{ + return elasticPlanNodeNum_; +} + +void CreateElasticPlanRequest::setElasticPlanNodeNum(int elasticPlanNodeNum) +{ + elasticPlanNodeNum_ = elasticPlanNodeNum; + setParameter("ElasticPlanNodeNum", std::to_string(elasticPlanNodeNum)); +} + diff --git a/adb/src/model/CreateElasticPlanResult.cc b/adb/src/model/CreateElasticPlanResult.cc new file mode 100644 index 000000000..501c4ffe2 --- /dev/null +++ b/adb/src/model/CreateElasticPlanResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +CreateElasticPlanResult::CreateElasticPlanResult() : + ServiceResult() +{} + +CreateElasticPlanResult::CreateElasticPlanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateElasticPlanResult::~CreateElasticPlanResult() +{} + +void CreateElasticPlanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/DeleteDBClusterResult.cc b/adb/src/model/DeleteDBClusterResult.cc index dc00a85c0..7a9b713f6 100644 --- a/adb/src/model/DeleteDBClusterResult.cc +++ b/adb/src/model/DeleteDBClusterResult.cc @@ -39,6 +39,20 @@ void DeleteDBClusterResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); + if(!value["TaskId"].isNull()) + taskId_ = std::stoi(value["TaskId"].asString()); + if(!value["DBClusterId"].isNull()) + dBClusterId_ = value["DBClusterId"].asString(); } +int DeleteDBClusterResult::getTaskId()const +{ + return taskId_; +} + +std::string DeleteDBClusterResult::getDBClusterId()const +{ + return dBClusterId_; +} + diff --git a/adb/src/model/DeleteDBResourcePoolRequest.cc b/adb/src/model/DeleteDBResourcePoolRequest.cc new file mode 100644 index 000000000..513d6fc0d --- /dev/null +++ b/adb/src/model/DeleteDBResourcePoolRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DeleteDBResourcePoolRequest; + +DeleteDBResourcePoolRequest::DeleteDBResourcePoolRequest() : + RpcServiceRequest("adb", "2019-03-15", "DeleteDBResourcePool") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDBResourcePoolRequest::~DeleteDBResourcePoolRequest() +{} + +std::string DeleteDBResourcePoolRequest::getPoolName()const +{ + return poolName_; +} + +void DeleteDBResourcePoolRequest::setPoolName(const std::string& poolName) +{ + poolName_ = poolName; + setParameter("PoolName", poolName); +} + +long DeleteDBResourcePoolRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteDBResourcePoolRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteDBResourcePoolRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteDBResourcePoolRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DeleteDBResourcePoolRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DeleteDBResourcePoolRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DeleteDBResourcePoolRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DeleteDBResourcePoolRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DeleteDBResourcePoolRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DeleteDBResourcePoolRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DeleteDBResourcePoolRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteDBResourcePoolRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/DeleteDBResourcePoolResult.cc b/adb/src/model/DeleteDBResourcePoolResult.cc new file mode 100644 index 000000000..931316e8a --- /dev/null +++ b/adb/src/model/DeleteDBResourcePoolResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DeleteDBResourcePoolResult::DeleteDBResourcePoolResult() : + ServiceResult() +{} + +DeleteDBResourcePoolResult::DeleteDBResourcePoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDBResourcePoolResult::~DeleteDBResourcePoolResult() +{} + +void DeleteDBResourcePoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/DeleteElasticPlanRequest.cc b/adb/src/model/DeleteElasticPlanRequest.cc new file mode 100644 index 000000000..46cbbef3a --- /dev/null +++ b/adb/src/model/DeleteElasticPlanRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DeleteElasticPlanRequest; + +DeleteElasticPlanRequest::DeleteElasticPlanRequest() : + RpcServiceRequest("adb", "2019-03-15", "DeleteElasticPlan") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteElasticPlanRequest::~DeleteElasticPlanRequest() +{} + +long DeleteElasticPlanRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DeleteElasticPlanRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DeleteElasticPlanRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DeleteElasticPlanRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DeleteElasticPlanRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DeleteElasticPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DeleteElasticPlanRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DeleteElasticPlanRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DeleteElasticPlanRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DeleteElasticPlanRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DeleteElasticPlanRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteElasticPlanRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DeleteElasticPlanRequest::getElasticPlanName()const +{ + return elasticPlanName_; +} + +void DeleteElasticPlanRequest::setElasticPlanName(const std::string& elasticPlanName) +{ + elasticPlanName_ = elasticPlanName; + setParameter("ElasticPlanName", elasticPlanName); +} + diff --git a/adb/src/model/DeleteElasticPlanResult.cc b/adb/src/model/DeleteElasticPlanResult.cc new file mode 100644 index 000000000..b6323e9d9 --- /dev/null +++ b/adb/src/model/DeleteElasticPlanResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DeleteElasticPlanResult::DeleteElasticPlanResult() : + ServiceResult() +{} + +DeleteElasticPlanResult::DeleteElasticPlanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteElasticPlanResult::~DeleteElasticPlanResult() +{} + +void DeleteElasticPlanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/DescribeAllAccountsRequest.cc b/adb/src/model/DescribeAllAccountsRequest.cc new file mode 100644 index 000000000..b6cd85c37 --- /dev/null +++ b/adb/src/model/DescribeAllAccountsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeAllAccountsRequest; + +DescribeAllAccountsRequest::DescribeAllAccountsRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeAllAccounts") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAllAccountsRequest::~DescribeAllAccountsRequest() +{} + +long DescribeAllAccountsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeAllAccountsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeAllAccountsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeAllAccountsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeAllAccountsRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeAllAccountsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeAllAccountsRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeAllAccountsRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeAllAccountsRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeAllAccountsRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeAllAccountsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeAllAccountsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/DescribeAllAccountsResult.cc b/adb/src/model/DescribeAllAccountsResult.cc new file mode 100644 index 000000000..4c4c95057 --- /dev/null +++ b/adb/src/model/DescribeAllAccountsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeAllAccountsResult::DescribeAllAccountsResult() : + ServiceResult() +{} + +DescribeAllAccountsResult::DescribeAllAccountsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAllAccountsResult::~DescribeAllAccountsResult() +{} + +void DescribeAllAccountsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allAccountListNode = value["AccountList"]["AccountInfo"]; + for (auto valueAccountListAccountInfo : allAccountListNode) + { + AccountInfo accountListObject; + if(!valueAccountListAccountInfo["User"].isNull()) + accountListObject.user = valueAccountListAccountInfo["User"].asString(); + accountList_.push_back(accountListObject); + } + +} + +std::vector DescribeAllAccountsResult::getAccountList()const +{ + return accountList_; +} + diff --git a/adb/src/model/DescribeAvailableResourceResult.cc b/adb/src/model/DescribeAvailableResourceResult.cc index 6a1dcf10c..11e564f14 100644 --- a/adb/src/model/DescribeAvailableResourceResult.cc +++ b/adb/src/model/DescribeAvailableResourceResult.cc @@ -45,24 +45,31 @@ void DescribeAvailableResourceResult::parse(const std::string &payload) AvailableZone availableZoneListObject; if(!valueAvailableZoneListAvailableZone["ZoneId"].isNull()) availableZoneListObject.zoneId = valueAvailableZoneListAvailableZone["ZoneId"].asString(); - auto allSupportedModeNode = allAvailableZoneListNode["SupportedMode"]["SupportedModeItem"]; - for (auto allAvailableZoneListNodeSupportedModeSupportedModeItem : allSupportedModeNode) + auto allSupportedModeNode = valueAvailableZoneListAvailableZone["SupportedMode"]["SupportedModeItem"]; + for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem : allSupportedModeNode) { AvailableZone::SupportedModeItem supportedModeObject; - if(!allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].isNull()) - supportedModeObject.mode = allAvailableZoneListNodeSupportedModeSupportedModeItem["Mode"].asString(); - auto allSupportedSerialListNode = allSupportedModeNode["SupportedSerialList"]["SupportedSerialListItem"]; - for (auto allSupportedModeNodeSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode) + if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem["Mode"].isNull()) + supportedModeObject.mode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem["Mode"].asString(); + auto allSupportedSerialListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItem["SupportedSerialList"]["SupportedSerialListItem"]; + for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem : allSupportedSerialListNode) { AvailableZone::SupportedModeItem::SupportedSerialListItem supportedSerialListObject; - if(!allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].isNull()) - supportedSerialListObject.serial = allSupportedModeNodeSupportedSerialListSupportedSerialListItem["Serial"].asString(); - auto allSupportedFlexibleResourceNode = allSupportedSerialListNode["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"]; - for (auto allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode) + if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["Serial"].isNull()) + supportedSerialListObject.serial = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["Serial"].asString(); + auto allSupportedFlexibleResourceNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["SupportedFlexibleResource"]["SupportedFlexibleResourceItem"]; + for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedFlexibleResourceSupportedFlexibleResourceItem : allSupportedFlexibleResourceNode) { AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedFlexibleResourceItem supportedFlexibleResourceObject; - if(!allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull()) - supportedFlexibleResourceObject.storageType = allSupportedSerialListNodeSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString(); + if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].isNull()) + supportedFlexibleResourceObject.storageType = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedFlexibleResourceSupportedFlexibleResourceItem["StorageType"].asString(); + auto supportedElasticIOResourceNode = value["SupportedElasticIOResource"]; + if(!supportedElasticIOResourceNode["MinCount"].isNull()) + supportedFlexibleResourceObject.supportedElasticIOResource.minCount = supportedElasticIOResourceNode["MinCount"].asString(); + if(!supportedElasticIOResourceNode["MaxCount"].isNull()) + supportedFlexibleResourceObject.supportedElasticIOResource.maxCount = supportedElasticIOResourceNode["MaxCount"].asString(); + if(!supportedElasticIOResourceNode["Step"].isNull()) + supportedFlexibleResourceObject.supportedElasticIOResource.step = supportedElasticIOResourceNode["Step"].asString(); auto allSupportedStorageResource = value["SupportedStorageResource"]["SupportedStorageResource"]; for (auto value : allSupportedStorageResource) supportedFlexibleResourceObject.supportedStorageResource.push_back(value.asString()); @@ -71,16 +78,16 @@ void DescribeAvailableResourceResult::parse(const std::string &payload) supportedFlexibleResourceObject.supportedComputeResource.push_back(value.asString()); supportedSerialListObject.supportedFlexibleResource.push_back(supportedFlexibleResourceObject); } - auto allSupportedInstanceClassListNode = allSupportedSerialListNode["SupportedInstanceClassList"]["SupportedInstanceClass"]; - for (auto allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode) + auto allSupportedInstanceClassListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItem["SupportedInstanceClassList"]["SupportedInstanceClass"]; + for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass : allSupportedInstanceClassListNode) { AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass supportedInstanceClassListObject; - if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull()) - supportedInstanceClassListObject.instanceClass = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString(); - if(!allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull()) - supportedInstanceClassListObject.tips = allSupportedSerialListNodeSupportedInstanceClassListSupportedInstanceClass["Tips"].asString(); - auto allSupportedNodeCountListNode = allSupportedInstanceClassListNode["SupportedNodeCountList"]["SupportedNodeCount"]; - for (auto allSupportedInstanceClassListNodeSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode) + if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].isNull()) + supportedInstanceClassListObject.instanceClass = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["InstanceClass"].asString(); + if(!valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["Tips"].isNull()) + supportedInstanceClassListObject.tips = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["Tips"].asString(); + auto allSupportedNodeCountListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["SupportedNodeCountList"]["SupportedNodeCount"]; + for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClassSupportedNodeCountListSupportedNodeCount : allSupportedNodeCountListNode) { AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedNodeCount supportedNodeCountListObject; auto nodeCountNode = value["NodeCount"]; @@ -95,8 +102,8 @@ void DescribeAvailableResourceResult::parse(const std::string &payload) supportedNodeCountListObject.storageSize.push_back(value.asString()); supportedInstanceClassListObject.supportedNodeCountList.push_back(supportedNodeCountListObject); } - auto allSupportedExecutorListNode = allSupportedInstanceClassListNode["SupportedExecutorList"]["SupportedExecutor"]; - for (auto allSupportedInstanceClassListNodeSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode) + auto allSupportedExecutorListNode = valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClass["SupportedExecutorList"]["SupportedExecutor"]; + for (auto valueAvailableZoneListAvailableZoneSupportedModeSupportedModeItemSupportedSerialListSupportedSerialListItemSupportedInstanceClassListSupportedInstanceClassSupportedExecutorListSupportedExecutor : allSupportedExecutorListNode) { AvailableZone::SupportedModeItem::SupportedSerialListItem::SupportedInstanceClass::SupportedExecutor supportedExecutorListObject; auto nodeCount1Node = value["NodeCount"]; diff --git a/adb/src/model/DescribeConnectionCountRecordsRequest.cc b/adb/src/model/DescribeConnectionCountRecordsRequest.cc new file mode 100644 index 000000000..891d899eb --- /dev/null +++ b/adb/src/model/DescribeConnectionCountRecordsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeConnectionCountRecordsRequest; + +DescribeConnectionCountRecordsRequest::DescribeConnectionCountRecordsRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeConnectionCountRecords") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeConnectionCountRecordsRequest::~DescribeConnectionCountRecordsRequest() +{} + +long DescribeConnectionCountRecordsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeConnectionCountRecordsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeConnectionCountRecordsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeConnectionCountRecordsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeConnectionCountRecordsRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeConnectionCountRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeConnectionCountRecordsRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeConnectionCountRecordsRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeConnectionCountRecordsRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeConnectionCountRecordsRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeConnectionCountRecordsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeConnectionCountRecordsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/DescribeConnectionCountRecordsResult.cc b/adb/src/model/DescribeConnectionCountRecordsResult.cc new file mode 100644 index 000000000..be0319bad --- /dev/null +++ b/adb/src/model/DescribeConnectionCountRecordsResult.cc @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeConnectionCountRecordsResult::DescribeConnectionCountRecordsResult() : + ServiceResult() +{} + +DescribeConnectionCountRecordsResult::DescribeConnectionCountRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeConnectionCountRecordsResult::~DescribeConnectionCountRecordsResult() +{} + +void DescribeConnectionCountRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allUserRecordsNode = value["UserRecords"]["Users"]; + for (auto valueUserRecordsUsers : allUserRecordsNode) + { + Users userRecordsObject; + if(!valueUserRecordsUsers["User"].isNull()) + userRecordsObject.user = valueUserRecordsUsers["User"].asString(); + if(!valueUserRecordsUsers["Count"].isNull()) + userRecordsObject.count = std::stol(valueUserRecordsUsers["Count"].asString()); + userRecords_.push_back(userRecordsObject); + } + auto allAccessIpRecordsNode = value["AccessIpRecords"]["AccessIps"]; + for (auto valueAccessIpRecordsAccessIps : allAccessIpRecordsNode) + { + AccessIps accessIpRecordsObject; + if(!valueAccessIpRecordsAccessIps["AccessIp"].isNull()) + accessIpRecordsObject.accessIp = valueAccessIpRecordsAccessIps["AccessIp"].asString(); + if(!valueAccessIpRecordsAccessIps["Count"].isNull()) + accessIpRecordsObject.count = std::stol(valueAccessIpRecordsAccessIps["Count"].asString()); + accessIpRecords_.push_back(accessIpRecordsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + if(!value["DBClusterId"].isNull()) + dBClusterId_ = value["DBClusterId"].asString(); + +} + +std::string DescribeConnectionCountRecordsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeConnectionCountRecordsResult::getUserRecords()const +{ + return userRecords_; +} + +std::string DescribeConnectionCountRecordsResult::getDBClusterId()const +{ + return dBClusterId_; +} + +std::vector DescribeConnectionCountRecordsResult::getAccessIpRecords()const +{ + return accessIpRecords_; +} + diff --git a/adb/src/model/DescribeDBClusterAttributeResult.cc b/adb/src/model/DescribeDBClusterAttributeResult.cc index 5b44da4af..732886031 100644 --- a/adb/src/model/DescribeDBClusterAttributeResult.cc +++ b/adb/src/model/DescribeDBClusterAttributeResult.cc @@ -111,14 +111,24 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload) itemsObject.mode = valueItemsDBCluster["Mode"].asString(); if(!valueItemsDBCluster["ResourceGroupId"].isNull()) itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString(); - auto allTagsNode = allItemsNode["Tags"]["Tag"]; - for (auto allItemsNodeTagsTag : allTagsNode) + if(!valueItemsDBCluster["ElasticIOResource"].isNull()) + itemsObject.elasticIOResource = std::stoi(valueItemsDBCluster["ElasticIOResource"].asString()); + if(!valueItemsDBCluster["EngineVersion"].isNull()) + itemsObject.engineVersion = valueItemsDBCluster["EngineVersion"].asString(); + if(!valueItemsDBCluster["UserENIStatus"].isNull()) + itemsObject.userENIStatus = valueItemsDBCluster["UserENIStatus"].asString() == "true"; + if(!valueItemsDBCluster["EnableSpark"].isNull()) + itemsObject.enableSpark = valueItemsDBCluster["EnableSpark"].asString() == "true"; + if(!valueItemsDBCluster["EnableAirflow"].isNull()) + itemsObject.enableAirflow = valueItemsDBCluster["EnableAirflow"].asString() == "true"; + auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"]; + for (auto valueItemsDBClusterTagsTag : allTagsNode) { DBCluster::Tag tagsObject; - if(!allItemsNodeTagsTag["Key"].isNull()) - tagsObject.key = allItemsNodeTagsTag["Key"].asString(); - if(!allItemsNodeTagsTag["Value"].isNull()) - tagsObject.value = allItemsNodeTagsTag["Value"].asString(); + if(!valueItemsDBClusterTagsTag["Key"].isNull()) + tagsObject.key = valueItemsDBClusterTagsTag["Key"].asString(); + if(!valueItemsDBClusterTagsTag["Value"].isNull()) + tagsObject.value = valueItemsDBClusterTagsTag["Value"].asString(); itemsObject.tags.push_back(tagsObject); } items_.push_back(itemsObject); diff --git a/adb/src/model/DescribeDBClusterPerformanceResult.cc b/adb/src/model/DescribeDBClusterPerformanceResult.cc index dbbd3e59e..4b6d58867 100644 --- a/adb/src/model/DescribeDBClusterPerformanceResult.cc +++ b/adb/src/model/DescribeDBClusterPerformanceResult.cc @@ -47,12 +47,12 @@ void DescribeDBClusterPerformanceResult::parse(const std::string &payload) performancesObject.key = valuePerformancesPerformanceItem["Key"].asString(); if(!valuePerformancesPerformanceItem["Unit"].isNull()) performancesObject.unit = valuePerformancesPerformanceItem["Unit"].asString(); - auto allSeriesNode = allPerformancesNode["Series"]["SeriesItem"]; - for (auto allPerformancesNodeSeriesSeriesItem : allSeriesNode) + auto allSeriesNode = valuePerformancesPerformanceItem["Series"]["SeriesItem"]; + for (auto valuePerformancesPerformanceItemSeriesSeriesItem : allSeriesNode) { PerformanceItem::SeriesItem seriesObject; - if(!allPerformancesNodeSeriesSeriesItem["Name"].isNull()) - seriesObject.name = allPerformancesNodeSeriesSeriesItem["Name"].asString(); + if(!valuePerformancesPerformanceItemSeriesSeriesItem["Name"].isNull()) + seriesObject.name = valuePerformancesPerformanceItemSeriesSeriesItem["Name"].asString(); auto allValues = value["Values"]["Values"]; for (auto value : allValues) seriesObject.values.push_back(value.asString()); diff --git a/adb/src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc b/adb/src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc new file mode 100644 index 000000000..f249e3db9 --- /dev/null +++ b/adb/src/model/DescribeDBClusterResourcePoolPerformanceRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeDBClusterResourcePoolPerformanceRequest; + +DescribeDBClusterResourcePoolPerformanceRequest::DescribeDBClusterResourcePoolPerformanceRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeDBClusterResourcePoolPerformance") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDBClusterResourcePoolPerformanceRequest::~DescribeDBClusterResourcePoolPerformanceRequest() +{} + +long DescribeDBClusterResourcePoolPerformanceRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getResourcePools()const +{ + return resourcePools_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setResourcePools(const std::string& resourcePools) +{ + resourcePools_ = resourcePools; + setParameter("ResourcePools", resourcePools); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getKey()const +{ + return key_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setKey(const std::string& key) +{ + key_ = key; + setParameter("Key", key); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +std::string DescribeDBClusterResourcePoolPerformanceRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeDBClusterResourcePoolPerformanceRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDBClusterResourcePoolPerformanceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/DescribeDBClusterResourcePoolPerformanceResult.cc b/adb/src/model/DescribeDBClusterResourcePoolPerformanceResult.cc new file mode 100644 index 000000000..b4a0e8634 --- /dev/null +++ b/adb/src/model/DescribeDBClusterResourcePoolPerformanceResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeDBClusterResourcePoolPerformanceResult::DescribeDBClusterResourcePoolPerformanceResult() : + ServiceResult() +{} + +DescribeDBClusterResourcePoolPerformanceResult::DescribeDBClusterResourcePoolPerformanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBClusterResourcePoolPerformanceResult::~DescribeDBClusterResourcePoolPerformanceResult() +{} + +void DescribeDBClusterResourcePoolPerformanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPerformancesNode = value["Performances"]["PerformanceItem"]; + for (auto valuePerformancesPerformanceItem : allPerformancesNode) + { + PerformanceItem performancesObject; + if(!valuePerformancesPerformanceItem["Key"].isNull()) + performancesObject.key = valuePerformancesPerformanceItem["Key"].asString(); + if(!valuePerformancesPerformanceItem["Unit"].isNull()) + performancesObject.unit = valuePerformancesPerformanceItem["Unit"].asString(); + auto allResourcePoolPerformancesNode = valuePerformancesPerformanceItem["ResourcePoolPerformances"]["ResourcePoolPerformancesItem"]; + for (auto valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem : allResourcePoolPerformancesNode) + { + PerformanceItem::ResourcePoolPerformancesItem resourcePoolPerformancesObject; + if(!valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem["ResourcePoolName"].isNull()) + resourcePoolPerformancesObject.resourcePoolName = valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem["ResourcePoolName"].asString(); + auto allResourcePoolSeriesNode = valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItem["ResourcePoolSeries"]["ResourcePoolSeriesItem"]; + for (auto valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItemResourcePoolSeriesResourcePoolSeriesItem : allResourcePoolSeriesNode) + { + PerformanceItem::ResourcePoolPerformancesItem::ResourcePoolSeriesItem resourcePoolSeriesObject; + if(!valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItemResourcePoolSeriesResourcePoolSeriesItem["Name"].isNull()) + resourcePoolSeriesObject.name = valuePerformancesPerformanceItemResourcePoolPerformancesResourcePoolPerformancesItemResourcePoolSeriesResourcePoolSeriesItem["Name"].asString(); + auto allValues = value["Values"]["Values"]; + for (auto value : allValues) + resourcePoolSeriesObject.values.push_back(value.asString()); + resourcePoolPerformancesObject.resourcePoolSeries.push_back(resourcePoolSeriesObject); + } + performancesObject.resourcePoolPerformances.push_back(resourcePoolPerformancesObject); + } + performances_.push_back(performancesObject); + } + if(!value["DBClusterId"].isNull()) + dBClusterId_ = value["DBClusterId"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeDBClusterResourcePoolPerformanceResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeDBClusterResourcePoolPerformanceResult::getDBClusterId()const +{ + return dBClusterId_; +} + +std::string DescribeDBClusterResourcePoolPerformanceResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeDBClusterResourcePoolPerformanceResult::getPerformances()const +{ + return performances_; +} + diff --git a/adb/src/model/DescribeDBClustersResult.cc b/adb/src/model/DescribeDBClustersResult.cc index 62c22754c..6b6c2404e 100644 --- a/adb/src/model/DescribeDBClustersResult.cc +++ b/adb/src/model/DescribeDBClustersResult.cc @@ -109,14 +109,16 @@ void DescribeDBClustersResult::parse(const std::string &payload) itemsObject.mode = valueItemsDBCluster["Mode"].asString(); if(!valueItemsDBCluster["ResourceGroupId"].isNull()) itemsObject.resourceGroupId = valueItemsDBCluster["ResourceGroupId"].asString(); - auto allTagsNode = allItemsNode["Tags"]["Tag"]; - for (auto allItemsNodeTagsTag : allTagsNode) + if(!valueItemsDBCluster["ElasticIOResource"].isNull()) + itemsObject.elasticIOResource = std::stoi(valueItemsDBCluster["ElasticIOResource"].asString()); + auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"]; + for (auto valueItemsDBClusterTagsTag : allTagsNode) { DBCluster::Tag tagsObject; - if(!allItemsNodeTagsTag["Key"].isNull()) - tagsObject.key = allItemsNodeTagsTag["Key"].asString(); - if(!allItemsNodeTagsTag["Value"].isNull()) - tagsObject.value = allItemsNodeTagsTag["Value"].asString(); + if(!valueItemsDBClusterTagsTag["Key"].isNull()) + tagsObject.key = valueItemsDBClusterTagsTag["Key"].asString(); + if(!valueItemsDBClusterTagsTag["Value"].isNull()) + tagsObject.value = valueItemsDBClusterTagsTag["Value"].asString(); itemsObject.tags.push_back(tagsObject); } items_.push_back(itemsObject); diff --git a/adb/src/model/DescribeDBResourcePoolRequest.cc b/adb/src/model/DescribeDBResourcePoolRequest.cc new file mode 100644 index 000000000..8065c0b87 --- /dev/null +++ b/adb/src/model/DescribeDBResourcePoolRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeDBResourcePoolRequest; + +DescribeDBResourcePoolRequest::DescribeDBResourcePoolRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeDBResourcePool") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDBResourcePoolRequest::~DescribeDBResourcePoolRequest() +{} + +std::string DescribeDBResourcePoolRequest::getPoolName()const +{ + return poolName_; +} + +void DescribeDBResourcePoolRequest::setPoolName(const std::string& poolName) +{ + poolName_ = poolName; + setParameter("PoolName", poolName); +} + +long DescribeDBResourcePoolRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeDBResourcePoolRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeDBResourcePoolRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeDBResourcePoolRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeDBResourcePoolRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeDBResourcePoolRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeDBResourcePoolRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeDBResourcePoolRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeDBResourcePoolRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeDBResourcePoolRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeDBResourcePoolRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDBResourcePoolRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/DescribeDBResourcePoolResult.cc b/adb/src/model/DescribeDBResourcePoolResult.cc new file mode 100644 index 000000000..9b4c95fa0 --- /dev/null +++ b/adb/src/model/DescribeDBResourcePoolResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeDBResourcePoolResult::DescribeDBResourcePoolResult() : + ServiceResult() +{} + +DescribeDBResourcePoolResult::DescribeDBResourcePoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBResourcePoolResult::~DescribeDBResourcePoolResult() +{} + +void DescribeDBResourcePoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPoolsInfoNode = value["PoolsInfo"]["PoolInfo"]; + for (auto valuePoolsInfoPoolInfo : allPoolsInfoNode) + { + PoolInfo poolsInfoObject; + if(!valuePoolsInfoPoolInfo["PoolName"].isNull()) + poolsInfoObject.poolName = valuePoolsInfoPoolInfo["PoolName"].asString(); + if(!valuePoolsInfoPoolInfo["QueryType"].isNull()) + poolsInfoObject.queryType = valuePoolsInfoPoolInfo["QueryType"].asString(); + if(!valuePoolsInfoPoolInfo["NodeNum"].isNull()) + poolsInfoObject.nodeNum = std::stoi(valuePoolsInfoPoolInfo["NodeNum"].asString()); + if(!valuePoolsInfoPoolInfo["PoolUsers"].isNull()) + poolsInfoObject.poolUsers = valuePoolsInfoPoolInfo["PoolUsers"].asString(); + if(!valuePoolsInfoPoolInfo["CreateTime"].isNull()) + poolsInfoObject.createTime = valuePoolsInfoPoolInfo["CreateTime"].asString(); + if(!valuePoolsInfoPoolInfo["UpdateTime"].isNull()) + poolsInfoObject.updateTime = valuePoolsInfoPoolInfo["UpdateTime"].asString(); + poolsInfo_.push_back(poolsInfoObject); + } + +} + +std::vector DescribeDBResourcePoolResult::getPoolsInfo()const +{ + return poolsInfo_; +} + diff --git a/adb/src/model/DescribeElasticDailyPlanRequest.cc b/adb/src/model/DescribeElasticDailyPlanRequest.cc new file mode 100644 index 000000000..dfc2311bf --- /dev/null +++ b/adb/src/model/DescribeElasticDailyPlanRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeElasticDailyPlanRequest; + +DescribeElasticDailyPlanRequest::DescribeElasticDailyPlanRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeElasticDailyPlan") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeElasticDailyPlanRequest::~DescribeElasticDailyPlanRequest() +{} + +long DescribeElasticDailyPlanRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeElasticDailyPlanRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeElasticDailyPlanRequest::getElasticDailyPlanStatusList()const +{ + return elasticDailyPlanStatusList_; +} + +void DescribeElasticDailyPlanRequest::setElasticDailyPlanStatusList(const std::string& elasticDailyPlanStatusList) +{ + elasticDailyPlanStatusList_ = elasticDailyPlanStatusList; + setParameter("ElasticDailyPlanStatusList", elasticDailyPlanStatusList); +} + +std::string DescribeElasticDailyPlanRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeElasticDailyPlanRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeElasticDailyPlanRequest::getElasticDailyPlanDay()const +{ + return elasticDailyPlanDay_; +} + +void DescribeElasticDailyPlanRequest::setElasticDailyPlanDay(const std::string& elasticDailyPlanDay) +{ + elasticDailyPlanDay_ = elasticDailyPlanDay; + setParameter("ElasticDailyPlanDay", elasticDailyPlanDay); +} + +std::string DescribeElasticDailyPlanRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeElasticDailyPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeElasticDailyPlanRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeElasticDailyPlanRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeElasticDailyPlanRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeElasticDailyPlanRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeElasticDailyPlanRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeElasticDailyPlanRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeElasticDailyPlanRequest::getElasticPlanName()const +{ + return elasticPlanName_; +} + +void DescribeElasticDailyPlanRequest::setElasticPlanName(const std::string& elasticPlanName) +{ + elasticPlanName_ = elasticPlanName; + setParameter("ElasticPlanName", elasticPlanName); +} + +std::string DescribeElasticDailyPlanRequest::getResourcePoolName()const +{ + return resourcePoolName_; +} + +void DescribeElasticDailyPlanRequest::setResourcePoolName(const std::string& resourcePoolName) +{ + resourcePoolName_ = resourcePoolName; + setParameter("ResourcePoolName", resourcePoolName); +} + diff --git a/adb/src/model/DescribeElasticDailyPlanResult.cc b/adb/src/model/DescribeElasticDailyPlanResult.cc new file mode 100644 index 000000000..38c05703b --- /dev/null +++ b/adb/src/model/DescribeElasticDailyPlanResult.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 +#include + +using namespace AlibabaCloud::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeElasticDailyPlanResult::DescribeElasticDailyPlanResult() : + ServiceResult() +{} + +DescribeElasticDailyPlanResult::DescribeElasticDailyPlanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeElasticDailyPlanResult::~DescribeElasticDailyPlanResult() +{} + +void DescribeElasticDailyPlanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allElasticDailyPlanListNode = value["ElasticDailyPlanList"]["ElasticDailyPlanInfo"]; + for (auto valueElasticDailyPlanListElasticDailyPlanInfo : allElasticDailyPlanListNode) + { + ElasticDailyPlanInfo elasticDailyPlanListObject; + if(!valueElasticDailyPlanListElasticDailyPlanInfo["PlanName"].isNull()) + elasticDailyPlanListObject.planName = valueElasticDailyPlanListElasticDailyPlanInfo["PlanName"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["ResourcePoolName"].isNull()) + elasticDailyPlanListObject.resourcePoolName = valueElasticDailyPlanListElasticDailyPlanInfo["ResourcePoolName"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["ElasticNodeNum"].isNull()) + elasticDailyPlanListObject.elasticNodeNum = std::stoi(valueElasticDailyPlanListElasticDailyPlanInfo["ElasticNodeNum"].asString()); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["PlanStartTs"].isNull()) + elasticDailyPlanListObject.planStartTs = valueElasticDailyPlanListElasticDailyPlanInfo["PlanStartTs"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["PlanEndTs"].isNull()) + elasticDailyPlanListObject.planEndTs = valueElasticDailyPlanListElasticDailyPlanInfo["PlanEndTs"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["StartTs"].isNull()) + elasticDailyPlanListObject.startTs = valueElasticDailyPlanListElasticDailyPlanInfo["StartTs"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["EndTs"].isNull()) + elasticDailyPlanListObject.endTs = valueElasticDailyPlanListElasticDailyPlanInfo["EndTs"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["Day"].isNull()) + elasticDailyPlanListObject.day = valueElasticDailyPlanListElasticDailyPlanInfo["Day"].asString(); + if(!valueElasticDailyPlanListElasticDailyPlanInfo["Status"].isNull()) + elasticDailyPlanListObject.status = std::stoi(valueElasticDailyPlanListElasticDailyPlanInfo["Status"].asString()); + elasticDailyPlanList_.push_back(elasticDailyPlanListObject); + } + +} + +std::vector DescribeElasticDailyPlanResult::getElasticDailyPlanList()const +{ + return elasticDailyPlanList_; +} + diff --git a/adb/src/model/DescribeElasticPlanRequest.cc b/adb/src/model/DescribeElasticPlanRequest.cc new file mode 100644 index 000000000..6187f50bb --- /dev/null +++ b/adb/src/model/DescribeElasticPlanRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeElasticPlanRequest; + +DescribeElasticPlanRequest::DescribeElasticPlanRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeElasticPlan") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeElasticPlanRequest::~DescribeElasticPlanRequest() +{} + +long DescribeElasticPlanRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeElasticPlanRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeElasticPlanRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeElasticPlanRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool DescribeElasticPlanRequest::getElasticPlanEnable()const +{ + return elasticPlanEnable_; +} + +void DescribeElasticPlanRequest::setElasticPlanEnable(bool elasticPlanEnable) +{ + elasticPlanEnable_ = elasticPlanEnable; + setParameter("ElasticPlanEnable", elasticPlanEnable ? "true" : "false"); +} + +std::string DescribeElasticPlanRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeElasticPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeElasticPlanRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeElasticPlanRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeElasticPlanRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeElasticPlanRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeElasticPlanRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeElasticPlanRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeElasticPlanRequest::getElasticPlanName()const +{ + return elasticPlanName_; +} + +void DescribeElasticPlanRequest::setElasticPlanName(const std::string& elasticPlanName) +{ + elasticPlanName_ = elasticPlanName; + setParameter("ElasticPlanName", elasticPlanName); +} + +std::string DescribeElasticPlanRequest::getResourcePoolName()const +{ + return resourcePoolName_; +} + +void DescribeElasticPlanRequest::setResourcePoolName(const std::string& resourcePoolName) +{ + resourcePoolName_ = resourcePoolName; + setParameter("ResourcePoolName", resourcePoolName); +} + diff --git a/adb/src/model/DescribeElasticPlanResult.cc b/adb/src/model/DescribeElasticPlanResult.cc new file mode 100644 index 000000000..59955a149 --- /dev/null +++ b/adb/src/model/DescribeElasticPlanResult.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 +#include + +using namespace AlibabaCloud::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeElasticPlanResult::DescribeElasticPlanResult() : + ServiceResult() +{} + +DescribeElasticPlanResult::DescribeElasticPlanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeElasticPlanResult::~DescribeElasticPlanResult() +{} + +void DescribeElasticPlanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allElasticPlanListNode = value["ElasticPlanList"]["ElasticPlanInfo"]; + for (auto valueElasticPlanListElasticPlanInfo : allElasticPlanListNode) + { + ElasticPlanInfo elasticPlanListObject; + if(!valueElasticPlanListElasticPlanInfo["PlanName"].isNull()) + elasticPlanListObject.planName = valueElasticPlanListElasticPlanInfo["PlanName"].asString(); + if(!valueElasticPlanListElasticPlanInfo["ResourcePoolName"].isNull()) + elasticPlanListObject.resourcePoolName = valueElasticPlanListElasticPlanInfo["ResourcePoolName"].asString(); + if(!valueElasticPlanListElasticPlanInfo["ElasticNodeNum"].isNull()) + elasticPlanListObject.elasticNodeNum = std::stoi(valueElasticPlanListElasticPlanInfo["ElasticNodeNum"].asString()); + if(!valueElasticPlanListElasticPlanInfo["StartTime"].isNull()) + elasticPlanListObject.startTime = valueElasticPlanListElasticPlanInfo["StartTime"].asString(); + if(!valueElasticPlanListElasticPlanInfo["EndTime"].isNull()) + elasticPlanListObject.endTime = valueElasticPlanListElasticPlanInfo["EndTime"].asString(); + if(!valueElasticPlanListElasticPlanInfo["WeeklyRepeat"].isNull()) + elasticPlanListObject.weeklyRepeat = valueElasticPlanListElasticPlanInfo["WeeklyRepeat"].asString(); + if(!valueElasticPlanListElasticPlanInfo["StartDay"].isNull()) + elasticPlanListObject.startDay = valueElasticPlanListElasticPlanInfo["StartDay"].asString(); + if(!valueElasticPlanListElasticPlanInfo["EndDay"].isNull()) + elasticPlanListObject.endDay = valueElasticPlanListElasticPlanInfo["EndDay"].asString(); + if(!valueElasticPlanListElasticPlanInfo["Enable"].isNull()) + elasticPlanListObject.enable = valueElasticPlanListElasticPlanInfo["Enable"].asString() == "true"; + elasticPlanList_.push_back(elasticPlanListObject); + } + +} + +std::vector DescribeElasticPlanResult::getElasticPlanList()const +{ + return elasticPlanList_; +} + diff --git a/adb/src/model/DescribeLoadTasksRecordsRequest.cc b/adb/src/model/DescribeLoadTasksRecordsRequest.cc new file mode 100644 index 000000000..2ab5f5983 --- /dev/null +++ b/adb/src/model/DescribeLoadTasksRecordsRequest.cc @@ -0,0 +1,183 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeLoadTasksRecordsRequest; + +DescribeLoadTasksRecordsRequest::DescribeLoadTasksRecordsRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeLoadTasksRecords") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeLoadTasksRecordsRequest::~DescribeLoadTasksRecordsRequest() +{} + +long DescribeLoadTasksRecordsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeLoadTasksRecordsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeLoadTasksRecordsRequest::getRange()const +{ + return range_; +} + +void DescribeLoadTasksRecordsRequest::setRange(const std::string& range) +{ + range_ = range; + setParameter("Range", range); +} + +std::string DescribeLoadTasksRecordsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeLoadTasksRecordsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +int DescribeLoadTasksRecordsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeLoadTasksRecordsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeLoadTasksRecordsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeLoadTasksRecordsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int DescribeLoadTasksRecordsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeLoadTasksRecordsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeLoadTasksRecordsRequest::getState()const +{ + return state_; +} + +void DescribeLoadTasksRecordsRequest::setState(const std::string& state) +{ + state_ = state; + setParameter("State", state); +} + +std::string DescribeLoadTasksRecordsRequest::getOrder()const +{ + return order_; +} + +void DescribeLoadTasksRecordsRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + +std::string DescribeLoadTasksRecordsRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeLoadTasksRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeLoadTasksRecordsRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeLoadTasksRecordsRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeLoadTasksRecordsRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeLoadTasksRecordsRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +std::string DescribeLoadTasksRecordsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeLoadTasksRecordsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeLoadTasksRecordsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeLoadTasksRecordsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeLoadTasksRecordsRequest::getDBName()const +{ + return dBName_; +} + +void DescribeLoadTasksRecordsRequest::setDBName(const std::string& dBName) +{ + dBName_ = dBName; + setParameter("DBName", dBName); +} + diff --git a/adb/src/model/DescribeLoadTasksRecordsResult.cc b/adb/src/model/DescribeLoadTasksRecordsResult.cc new file mode 100644 index 000000000..bc47fdc8c --- /dev/null +++ b/adb/src/model/DescribeLoadTasksRecordsResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeLoadTasksRecordsResult::DescribeLoadTasksRecordsResult() : + ServiceResult() +{} + +DescribeLoadTasksRecordsResult::DescribeLoadTasksRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLoadTasksRecordsResult::~DescribeLoadTasksRecordsResult() +{} + +void DescribeLoadTasksRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allLoadTasksRecordsNode = value["LoadTasksRecords"]["LoadTaskRecord"]; + for (auto valueLoadTasksRecordsLoadTaskRecord : allLoadTasksRecordsNode) + { + LoadTaskRecord loadTasksRecordsObject; + if(!valueLoadTasksRecordsLoadTaskRecord["ProcessRows"].isNull()) + loadTasksRecordsObject.processRows = std::stol(valueLoadTasksRecordsLoadTaskRecord["ProcessRows"].asString()); + if(!valueLoadTasksRecordsLoadTaskRecord["State"].isNull()) + loadTasksRecordsObject.state = valueLoadTasksRecordsLoadTaskRecord["State"].asString(); + if(!valueLoadTasksRecordsLoadTaskRecord["CreateTime"].isNull()) + loadTasksRecordsObject.createTime = valueLoadTasksRecordsLoadTaskRecord["CreateTime"].asString(); + if(!valueLoadTasksRecordsLoadTaskRecord["JobName"].isNull()) + loadTasksRecordsObject.jobName = valueLoadTasksRecordsLoadTaskRecord["JobName"].asString(); + if(!valueLoadTasksRecordsLoadTaskRecord["UpdateTime"].isNull()) + loadTasksRecordsObject.updateTime = valueLoadTasksRecordsLoadTaskRecord["UpdateTime"].asString(); + if(!valueLoadTasksRecordsLoadTaskRecord["DBName"].isNull()) + loadTasksRecordsObject.dBName = valueLoadTasksRecordsLoadTaskRecord["DBName"].asString(); + if(!valueLoadTasksRecordsLoadTaskRecord["ProcessID"].isNull()) + loadTasksRecordsObject.processID = valueLoadTasksRecordsLoadTaskRecord["ProcessID"].asString(); + if(!valueLoadTasksRecordsLoadTaskRecord["Sql"].isNull()) + loadTasksRecordsObject.sql = valueLoadTasksRecordsLoadTaskRecord["Sql"].asString(); + loadTasksRecords_.push_back(loadTasksRecordsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = value["PageSize"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = value["PageNumber"].asString(); + if(!value["DBClusterId"].isNull()) + dBClusterId_ = value["DBClusterId"].asString(); + +} + +std::string DescribeLoadTasksRecordsResult::getTotalCount()const +{ + return totalCount_; +} + +std::vector DescribeLoadTasksRecordsResult::getLoadTasksRecords()const +{ + return loadTasksRecords_; +} + +std::string DescribeLoadTasksRecordsResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeLoadTasksRecordsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeLoadTasksRecordsResult::getDBClusterId()const +{ + return dBClusterId_; +} + diff --git a/adb/src/model/DescribeRegionsResult.cc b/adb/src/model/DescribeRegionsResult.cc index a69542e6e..3f4ee91ec 100644 --- a/adb/src/model/DescribeRegionsResult.cc +++ b/adb/src/model/DescribeRegionsResult.cc @@ -49,16 +49,16 @@ void DescribeRegionsResult::parse(const std::string &payload) regionsObject.localName = valueRegionsRegion["LocalName"].asString(); if(!valueRegionsRegion["RegionEndpoint"].isNull()) regionsObject.regionEndpoint = valueRegionsRegion["RegionEndpoint"].asString(); - auto allZonesNode = allRegionsNode["Zones"]["Zone"]; - for (auto allRegionsNodeZonesZone : allZonesNode) + auto allZonesNode = valueRegionsRegion["Zones"]["Zone"]; + for (auto valueRegionsRegionZonesZone : allZonesNode) { Region::Zone zonesObject; - if(!allRegionsNodeZonesZone["ZoneId"].isNull()) - zonesObject.zoneId = allRegionsNodeZonesZone["ZoneId"].asString(); - if(!allRegionsNodeZonesZone["VpcEnabled"].isNull()) - zonesObject.vpcEnabled = allRegionsNodeZonesZone["VpcEnabled"].asString() == "true"; - if(!allRegionsNodeZonesZone["LocalName"].isNull()) - zonesObject.localName = allRegionsNodeZonesZone["LocalName"].asString(); + if(!valueRegionsRegionZonesZone["ZoneId"].isNull()) + zonesObject.zoneId = valueRegionsRegionZonesZone["ZoneId"].asString(); + if(!valueRegionsRegionZonesZone["VpcEnabled"].isNull()) + zonesObject.vpcEnabled = valueRegionsRegionZonesZone["VpcEnabled"].asString() == "true"; + if(!valueRegionsRegionZonesZone["LocalName"].isNull()) + zonesObject.localName = valueRegionsRegionZonesZone["LocalName"].asString(); regionsObject.zones.push_back(zonesObject); } regions_.push_back(regionsObject); diff --git a/adb/src/model/DescribeSQLPlanRequest.cc b/adb/src/model/DescribeSQLPlanRequest.cc new file mode 100644 index 000000000..e45aabdab --- /dev/null +++ b/adb/src/model/DescribeSQLPlanRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeSQLPlanRequest; + +DescribeSQLPlanRequest::DescribeSQLPlanRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeSQLPlan") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSQLPlanRequest::~DescribeSQLPlanRequest() +{} + +long DescribeSQLPlanRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSQLPlanRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSQLPlanRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSQLPlanRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeSQLPlanRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeSQLPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeSQLPlanRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeSQLPlanRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeSQLPlanRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeSQLPlanRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeSQLPlanRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeSQLPlanRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeSQLPlanRequest::getProcessId()const +{ + return processId_; +} + +void DescribeSQLPlanRequest::setProcessId(const std::string& processId) +{ + processId_ = processId; + setParameter("ProcessId", processId); +} + diff --git a/adb/src/model/DescribeSQLPlanResult.cc b/adb/src/model/DescribeSQLPlanResult.cc new file mode 100644 index 000000000..a500b4868 --- /dev/null +++ b/adb/src/model/DescribeSQLPlanResult.cc @@ -0,0 +1,130 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeSQLPlanResult::DescribeSQLPlanResult() : + ServiceResult() +{} + +DescribeSQLPlanResult::DescribeSQLPlanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLPlanResult::~DescribeSQLPlanResult() +{} + +void DescribeSQLPlanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStageListNode = value["StageList"]["SqlPlanStage"]; + for (auto valueStageListSqlPlanStage : allStageListNode) + { + SqlPlanStage stageListObject; + if(!valueStageListSqlPlanStage["StageId"].isNull()) + stageListObject.stageId = std::stoi(valueStageListSqlPlanStage["StageId"].asString()); + if(!valueStageListSqlPlanStage["State"].isNull()) + stageListObject.state = valueStageListSqlPlanStage["State"].asString(); + if(!valueStageListSqlPlanStage["OperatorCost"].isNull()) + stageListObject.operatorCost = std::stol(valueStageListSqlPlanStage["OperatorCost"].asString()); + if(!valueStageListSqlPlanStage["PeakMemory"].isNull()) + stageListObject.peakMemory = std::stol(valueStageListSqlPlanStage["PeakMemory"].asString()); + if(!valueStageListSqlPlanStage["CPUTimeMin"].isNull()) + stageListObject.cPUTimeMin = std::stol(valueStageListSqlPlanStage["CPUTimeMin"].asString()); + if(!valueStageListSqlPlanStage["CPUTimeMax"].isNull()) + stageListObject.cPUTimeMax = std::stol(valueStageListSqlPlanStage["CPUTimeMax"].asString()); + if(!valueStageListSqlPlanStage["CPUTimeAvg"].isNull()) + stageListObject.cPUTimeAvg = std::stol(valueStageListSqlPlanStage["CPUTimeAvg"].asString()); + if(!valueStageListSqlPlanStage["InputSizeMin"].isNull()) + stageListObject.inputSizeMin = std::stol(valueStageListSqlPlanStage["InputSizeMin"].asString()); + if(!valueStageListSqlPlanStage["InputSizeMax"].isNull()) + stageListObject.inputSizeMax = std::stol(valueStageListSqlPlanStage["InputSizeMax"].asString()); + if(!valueStageListSqlPlanStage["InputSizeAvg"].isNull()) + stageListObject.inputSizeAvg = std::stol(valueStageListSqlPlanStage["InputSizeAvg"].asString()); + if(!valueStageListSqlPlanStage["ScanSizeMin"].isNull()) + stageListObject.scanSizeMin = std::stol(valueStageListSqlPlanStage["ScanSizeMin"].asString()); + if(!valueStageListSqlPlanStage["ScanSizeMax"].isNull()) + stageListObject.scanSizeMax = std::stol(valueStageListSqlPlanStage["ScanSizeMax"].asString()); + if(!valueStageListSqlPlanStage["ScanSizeAvg"].isNull()) + stageListObject.scanSizeAvg = std::stol(valueStageListSqlPlanStage["ScanSizeAvg"].asString()); + if(!valueStageListSqlPlanStage["ScanTimeMin"].isNull()) + stageListObject.scanTimeMin = std::stol(valueStageListSqlPlanStage["ScanTimeMin"].asString()); + if(!valueStageListSqlPlanStage["ScanTimeMax"].isNull()) + stageListObject.scanTimeMax = std::stol(valueStageListSqlPlanStage["ScanTimeMax"].asString()); + if(!valueStageListSqlPlanStage["ScanTimeAvg"].isNull()) + stageListObject.scanTimeAvg = std::stol(valueStageListSqlPlanStage["ScanTimeAvg"].asString()); + stageList_.push_back(stageListObject); + } + auto detailNode = value["Detail"]; + if(!detailNode["SQL"].isNull()) + detail_.sQL = detailNode["SQL"].asString(); + if(!detailNode["State"].isNull()) + detail_.state = detailNode["State"].asString(); + if(!detailNode["User"].isNull()) + detail_.user = detailNode["User"].asString(); + if(!detailNode["ClientIP"].isNull()) + detail_.clientIP = detailNode["ClientIP"].asString(); + if(!detailNode["Database"].isNull()) + detail_.database = detailNode["Database"].asString(); + if(!detailNode["TotalStage"].isNull()) + detail_.totalStage = std::stol(detailNode["TotalStage"].asString()); + if(!detailNode["TotalTask"].isNull()) + detail_.totalTask = std::stol(detailNode["TotalTask"].asString()); + if(!detailNode["OutputRows"].isNull()) + detail_.outputRows = std::stol(detailNode["OutputRows"].asString()); + if(!detailNode["OutputSize"].isNull()) + detail_.outputSize = std::stol(detailNode["OutputSize"].asString()); + if(!detailNode["StartTime"].isNull()) + detail_.startTime = detailNode["StartTime"].asString(); + if(!detailNode["TotalTime"].isNull()) + detail_.totalTime = std::stol(detailNode["TotalTime"].asString()); + if(!detailNode["QueuedTime"].isNull()) + detail_.queuedTime = std::stol(detailNode["QueuedTime"].asString()); + if(!detailNode["PlanningTime"].isNull()) + detail_.planningTime = std::stol(detailNode["PlanningTime"].asString()); + if(!detailNode["CPUTime"].isNull()) + detail_.cPUTime = std::stol(detailNode["CPUTime"].asString()); + if(!detailNode["PeakMemory"].isNull()) + detail_.peakMemory = std::stol(detailNode["PeakMemory"].asString()); + if(!value["OriginInfo"].isNull()) + originInfo_ = value["OriginInfo"].asString(); + +} + +std::vector DescribeSQLPlanResult::getStageList()const +{ + return stageList_; +} + +std::string DescribeSQLPlanResult::getOriginInfo()const +{ + return originInfo_; +} + +DescribeSQLPlanResult::Detail DescribeSQLPlanResult::getDetail()const +{ + return detail_; +} + diff --git a/adb/src/model/DescribeSQLPlanTaskRequest.cc b/adb/src/model/DescribeSQLPlanTaskRequest.cc new file mode 100644 index 000000000..fa66cacbb --- /dev/null +++ b/adb/src/model/DescribeSQLPlanTaskRequest.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::Adb::Model::DescribeSQLPlanTaskRequest; + +DescribeSQLPlanTaskRequest::DescribeSQLPlanTaskRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeSQLPlanTask") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeSQLPlanTaskRequest::~DescribeSQLPlanTaskRequest() +{} + +long DescribeSQLPlanTaskRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeSQLPlanTaskRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string DescribeSQLPlanTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeSQLPlanTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string DescribeSQLPlanTaskRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeSQLPlanTaskRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeSQLPlanTaskRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeSQLPlanTaskRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeSQLPlanTaskRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeSQLPlanTaskRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeSQLPlanTaskRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeSQLPlanTaskRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeSQLPlanTaskRequest::getProcessId()const +{ + return processId_; +} + +void DescribeSQLPlanTaskRequest::setProcessId(const std::string& processId) +{ + processId_ = processId; + setParameter("ProcessId", processId); +} + +std::string DescribeSQLPlanTaskRequest::getStageId()const +{ + return stageId_; +} + +void DescribeSQLPlanTaskRequest::setStageId(const std::string& stageId) +{ + stageId_ = stageId; + setParameter("StageId", stageId); +} + diff --git a/adb/src/model/DescribeSQLPlanTaskResult.cc b/adb/src/model/DescribeSQLPlanTaskResult.cc new file mode 100644 index 000000000..8cefe816e --- /dev/null +++ b/adb/src/model/DescribeSQLPlanTaskResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeSQLPlanTaskResult::DescribeSQLPlanTaskResult() : + ServiceResult() +{} + +DescribeSQLPlanTaskResult::DescribeSQLPlanTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLPlanTaskResult::~DescribeSQLPlanTaskResult() +{} + +void DescribeSQLPlanTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTaskListNode = value["TaskList"]["SqlPlanTask"]; + for (auto valueTaskListSqlPlanTask : allTaskListNode) + { + SqlPlanTask taskListObject; + if(!valueTaskListSqlPlanTask["TaskId"].isNull()) + taskListObject.taskId = std::stoi(valueTaskListSqlPlanTask["TaskId"].asString()); + if(!valueTaskListSqlPlanTask["State"].isNull()) + taskListObject.state = valueTaskListSqlPlanTask["State"].asString(); + if(!valueTaskListSqlPlanTask["ElapsedTime"].isNull()) + taskListObject.elapsedTime = std::stol(valueTaskListSqlPlanTask["ElapsedTime"].asString()); + if(!valueTaskListSqlPlanTask["PeakMemory"].isNull()) + taskListObject.peakMemory = std::stol(valueTaskListSqlPlanTask["PeakMemory"].asString()); + if(!valueTaskListSqlPlanTask["OperatorCost"].isNull()) + taskListObject.operatorCost = std::stol(valueTaskListSqlPlanTask["OperatorCost"].asString()); + if(!valueTaskListSqlPlanTask["InputRows"].isNull()) + taskListObject.inputRows = std::stol(valueTaskListSqlPlanTask["InputRows"].asString()); + if(!valueTaskListSqlPlanTask["InputSize"].isNull()) + taskListObject.inputSize = std::stol(valueTaskListSqlPlanTask["InputSize"].asString()); + if(!valueTaskListSqlPlanTask["OutputRows"].isNull()) + taskListObject.outputRows = std::stol(valueTaskListSqlPlanTask["OutputRows"].asString()); + if(!valueTaskListSqlPlanTask["OutputSize"].isNull()) + taskListObject.outputSize = std::stol(valueTaskListSqlPlanTask["OutputSize"].asString()); + if(!valueTaskListSqlPlanTask["ScanRows"].isNull()) + taskListObject.scanRows = std::stol(valueTaskListSqlPlanTask["ScanRows"].asString()); + if(!valueTaskListSqlPlanTask["ScanSize"].isNull()) + taskListObject.scanSize = std::stol(valueTaskListSqlPlanTask["ScanSize"].asString()); + if(!valueTaskListSqlPlanTask["ScanCost"].isNull()) + taskListObject.scanCost = std::stol(valueTaskListSqlPlanTask["ScanCost"].asString()); + taskList_.push_back(taskListObject); + } + +} + +std::vector DescribeSQLPlanTaskResult::getTaskList()const +{ + return taskList_; +} + diff --git a/adb/src/model/DescribeSlowLogRecordsRequest.cc b/adb/src/model/DescribeSlowLogRecordsRequest.cc index 4f1964e52..0e56bee9c 100644 --- a/adb/src/model/DescribeSlowLogRecordsRequest.cc +++ b/adb/src/model/DescribeSlowLogRecordsRequest.cc @@ -38,6 +38,17 @@ void DescribeSlowLogRecordsRequest::setResourceOwnerId(long resourceOwnerId) setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); } +std::string DescribeSlowLogRecordsRequest::getRange()const +{ + return range_; +} + +void DescribeSlowLogRecordsRequest::setRange(const std::string& range) +{ + range_ = range; + setParameter("Range", range); +} + std::string DescribeSlowLogRecordsRequest::getStartTime()const { return startTime_; @@ -82,6 +93,28 @@ void DescribeSlowLogRecordsRequest::setPageSize(int pageSize) setParameter("PageSize", std::to_string(pageSize)); } +std::string DescribeSlowLogRecordsRequest::getState()const +{ + return state_; +} + +void DescribeSlowLogRecordsRequest::setState(const std::string& state) +{ + state_ = state; + setParameter("State", state); +} + +std::string DescribeSlowLogRecordsRequest::getOrder()const +{ + return order_; +} + +void DescribeSlowLogRecordsRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + std::string DescribeSlowLogRecordsRequest::getResourceOwnerAccount()const { return resourceOwnerAccount_; @@ -148,3 +181,14 @@ void DescribeSlowLogRecordsRequest::setDBName(const std::string& dBName) setParameter("DBName", dBName); } +std::string DescribeSlowLogRecordsRequest::getProcessID()const +{ + return processID_; +} + +void DescribeSlowLogRecordsRequest::setProcessID(const std::string& processID) +{ + processID_ = processID; + setParameter("ProcessID", processID); +} + diff --git a/adb/src/model/DescribeSlowLogRecordsResult.cc b/adb/src/model/DescribeSlowLogRecordsResult.cc index 34303a0cb..a686789dd 100644 --- a/adb/src/model/DescribeSlowLogRecordsResult.cc +++ b/adb/src/model/DescribeSlowLogRecordsResult.cc @@ -43,40 +43,50 @@ void DescribeSlowLogRecordsResult::parse(const std::string &payload) for (auto valueItemsSlowLogRecord : allItemsNode) { SlowLogRecord itemsObject; - if(!valueItemsSlowLogRecord["HostAddress"].isNull()) - itemsObject.hostAddress = valueItemsSlowLogRecord["HostAddress"].asString(); - if(!valueItemsSlowLogRecord["DBName"].isNull()) - itemsObject.dBName = valueItemsSlowLogRecord["DBName"].asString(); - if(!valueItemsSlowLogRecord["SQLText"].isNull()) - itemsObject.sQLText = valueItemsSlowLogRecord["SQLText"].asString(); - if(!valueItemsSlowLogRecord["QueryTime"].isNull()) - itemsObject.queryTime = std::stol(valueItemsSlowLogRecord["QueryTime"].asString()); - if(!valueItemsSlowLogRecord["ReturnRowCounts"].isNull()) - itemsObject.returnRowCounts = std::stol(valueItemsSlowLogRecord["ReturnRowCounts"].asString()); + if(!valueItemsSlowLogRecord["OutputSize"].isNull()) + itemsObject.outputSize = valueItemsSlowLogRecord["OutputSize"].asString(); + if(!valueItemsSlowLogRecord["UserName"].isNull()) + itemsObject.userName = valueItemsSlowLogRecord["UserName"].asString(); + if(!valueItemsSlowLogRecord["PeakMemoryUsage"].isNull()) + itemsObject.peakMemoryUsage = valueItemsSlowLogRecord["PeakMemoryUsage"].asString(); if(!valueItemsSlowLogRecord["ExecutionStartTime"].isNull()) itemsObject.executionStartTime = valueItemsSlowLogRecord["ExecutionStartTime"].asString(); if(!valueItemsSlowLogRecord["ParseRowCounts"].isNull()) itemsObject.parseRowCounts = std::stol(valueItemsSlowLogRecord["ParseRowCounts"].asString()); - if(!valueItemsSlowLogRecord["ProcessID"].isNull()) - itemsObject.processID = valueItemsSlowLogRecord["ProcessID"].asString(); - if(!valueItemsSlowLogRecord["UserName"].isNull()) - itemsObject.userName = valueItemsSlowLogRecord["UserName"].asString(); - if(!valueItemsSlowLogRecord["ScanSize"].isNull()) - itemsObject.scanSize = valueItemsSlowLogRecord["ScanSize"].asString(); - if(!valueItemsSlowLogRecord["PeakMemoryUsage"].isNull()) - itemsObject.peakMemoryUsage = valueItemsSlowLogRecord["PeakMemoryUsage"].asString(); - if(!valueItemsSlowLogRecord["QueueTime"].isNull()) - itemsObject.queueTime = std::stol(valueItemsSlowLogRecord["QueueTime"].asString()); + if(!valueItemsSlowLogRecord["QueryTime"].isNull()) + itemsObject.queryTime = std::stol(valueItemsSlowLogRecord["QueryTime"].asString()); + if(!valueItemsSlowLogRecord["ScanTime"].isNull()) + itemsObject.scanTime = std::stol(valueItemsSlowLogRecord["ScanTime"].asString()); + if(!valueItemsSlowLogRecord["HostAddress"].isNull()) + itemsObject.hostAddress = valueItemsSlowLogRecord["HostAddress"].asString(); + if(!valueItemsSlowLogRecord["SQLText"].isNull()) + itemsObject.sQLText = valueItemsSlowLogRecord["SQLText"].asString(); + if(!valueItemsSlowLogRecord["WallTime"].isNull()) + itemsObject.wallTime = std::stol(valueItemsSlowLogRecord["WallTime"].asString()); + if(!valueItemsSlowLogRecord["ScanRows"].isNull()) + itemsObject.scanRows = std::stol(valueItemsSlowLogRecord["ScanRows"].asString()); if(!valueItemsSlowLogRecord["State"].isNull()) itemsObject.state = valueItemsSlowLogRecord["State"].asString(); + if(!valueItemsSlowLogRecord["ReturnRowCounts"].isNull()) + itemsObject.returnRowCounts = std::stol(valueItemsSlowLogRecord["ReturnRowCounts"].asString()); + if(!valueItemsSlowLogRecord["PlanningTime"].isNull()) + itemsObject.planningTime = std::stol(valueItemsSlowLogRecord["PlanningTime"].asString()); + if(!valueItemsSlowLogRecord["DBName"].isNull()) + itemsObject.dBName = valueItemsSlowLogRecord["DBName"].asString(); + if(!valueItemsSlowLogRecord["QueueTime"].isNull()) + itemsObject.queueTime = std::stol(valueItemsSlowLogRecord["QueueTime"].asString()); + if(!valueItemsSlowLogRecord["ProcessID"].isNull()) + itemsObject.processID = valueItemsSlowLogRecord["ProcessID"].asString(); + if(!valueItemsSlowLogRecord["ScanSize"].isNull()) + itemsObject.scanSize = valueItemsSlowLogRecord["ScanSize"].asString(); items_.push_back(itemsObject); } if(!value["TotalCount"].isNull()) totalCount_ = value["TotalCount"].asString(); - if(!value["PageNumber"].isNull()) - pageNumber_ = value["PageNumber"].asString(); if(!value["PageSize"].isNull()) pageSize_ = value["PageSize"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = value["PageNumber"].asString(); if(!value["DBClusterId"].isNull()) dBClusterId_ = value["DBClusterId"].asString(); diff --git a/adb/src/model/DescribeSlowLogTrendResult.cc b/adb/src/model/DescribeSlowLogTrendResult.cc index fa2e12133..7f89d8929 100644 --- a/adb/src/model/DescribeSlowLogTrendResult.cc +++ b/adb/src/model/DescribeSlowLogTrendResult.cc @@ -47,14 +47,14 @@ void DescribeSlowLogTrendResult::parse(const std::string &payload) itemsObject.key = valueItemsSlowLogTrendItem["Key"].asString(); if(!valueItemsSlowLogTrendItem["Unit"].isNull()) itemsObject.unit = valueItemsSlowLogTrendItem["Unit"].asString(); - auto allSeriesNode = allItemsNode["Series"]["SeriesItem"]; - for (auto allItemsNodeSeriesSeriesItem : allSeriesNode) + auto allSeriesNode = valueItemsSlowLogTrendItem["Series"]["SeriesItem"]; + for (auto valueItemsSlowLogTrendItemSeriesSeriesItem : allSeriesNode) { SlowLogTrendItem::SeriesItem seriesObject; - if(!allItemsNodeSeriesSeriesItem["Name"].isNull()) - seriesObject.name = allItemsNodeSeriesSeriesItem["Name"].asString(); - if(!allItemsNodeSeriesSeriesItem["Values"].isNull()) - seriesObject.values = allItemsNodeSeriesSeriesItem["Values"].asString(); + if(!valueItemsSlowLogTrendItemSeriesSeriesItem["Name"].isNull()) + seriesObject.name = valueItemsSlowLogTrendItemSeriesSeriesItem["Name"].asString(); + if(!valueItemsSlowLogTrendItemSeriesSeriesItem["Values"].isNull()) + seriesObject.values = valueItemsSlowLogTrendItemSeriesSeriesItem["Values"].asString(); itemsObject.series.push_back(seriesObject); } items_.push_back(itemsObject); diff --git a/adb/src/model/DescribeTablePartitionDiagnoseResult.cc b/adb/src/model/DescribeTablePartitionDiagnoseResult.cc index 15e54b4bd..6eed49b06 100644 --- a/adb/src/model/DescribeTablePartitionDiagnoseResult.cc +++ b/adb/src/model/DescribeTablePartitionDiagnoseResult.cc @@ -43,28 +43,28 @@ void DescribeTablePartitionDiagnoseResult::parse(const std::string &payload) for (auto valueItemsTablePartitionDiagnose : allItemsNode) { TablePartitionDiagnose itemsObject; - if(!valueItemsTablePartitionDiagnose["SchemaName"].isNull()) - itemsObject.schemaName = valueItemsTablePartitionDiagnose["SchemaName"].asString(); if(!valueItemsTablePartitionDiagnose["TableName"].isNull()) itemsObject.tableName = valueItemsTablePartitionDiagnose["TableName"].asString(); if(!valueItemsTablePartitionDiagnose["PartitionNumber"].isNull()) itemsObject.partitionNumber = std::stoi(valueItemsTablePartitionDiagnose["PartitionNumber"].asString()); if(!valueItemsTablePartitionDiagnose["PartitionDetail"].isNull()) itemsObject.partitionDetail = valueItemsTablePartitionDiagnose["PartitionDetail"].asString(); + if(!valueItemsTablePartitionDiagnose["SchemaName"].isNull()) + itemsObject.schemaName = valueItemsTablePartitionDiagnose["SchemaName"].asString(); items_.push_back(itemsObject); } - if(!value["PageNumber"].isNull()) - pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["TotalCount"].isNull()) totalCount_ = std::stoi(value["TotalCount"].asString()); if(!value["PageSize"].isNull()) pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["PageNumber"].isNull()) + pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["DBClusterId"].isNull()) - dBClusterId_ = std::stoi(value["DBClusterId"].asString()); - if(!value["SuggestMinRecordsPerPartition"].isNull()) - suggestMinRecordsPerPartition_ = std::stol(value["SuggestMinRecordsPerPartition"].asString()); + dBClusterId_ = value["DBClusterId"].asString(); if(!value["SuggestMaxRecordsPerPartition"].isNull()) suggestMaxRecordsPerPartition_ = std::stol(value["SuggestMaxRecordsPerPartition"].asString()); + if(!value["SuggestMinRecordsPerPartition"].isNull()) + suggestMinRecordsPerPartition_ = std::stol(value["SuggestMinRecordsPerPartition"].asString()); } @@ -83,7 +83,7 @@ int DescribeTablePartitionDiagnoseResult::getPageNumber()const return pageNumber_; } -int DescribeTablePartitionDiagnoseResult::getDBClusterId()const +std::string DescribeTablePartitionDiagnoseResult::getDBClusterId()const { return dBClusterId_; } diff --git a/adb/src/model/DescribeTableStatisticsRequest.cc b/adb/src/model/DescribeTableStatisticsRequest.cc new file mode 100644 index 000000000..e1459a09e --- /dev/null +++ b/adb/src/model/DescribeTableStatisticsRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::DescribeTableStatisticsRequest; + +DescribeTableStatisticsRequest::DescribeTableStatisticsRequest() : + RpcServiceRequest("adb", "2019-03-15", "DescribeTableStatistics") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeTableStatisticsRequest::~DescribeTableStatisticsRequest() +{} + +long DescribeTableStatisticsRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void DescribeTableStatisticsRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int DescribeTableStatisticsRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeTableStatisticsRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeTableStatisticsRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void DescribeTableStatisticsRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +int DescribeTableStatisticsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTableStatisticsRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeTableStatisticsRequest::getOrder()const +{ + return order_; +} + +void DescribeTableStatisticsRequest::setOrder(const std::string& order) +{ + order_ = order; + setParameter("Order", order); +} + +std::string DescribeTableStatisticsRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeTableStatisticsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeTableStatisticsRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void DescribeTableStatisticsRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string DescribeTableStatisticsRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeTableStatisticsRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long DescribeTableStatisticsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeTableStatisticsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/DescribeTableStatisticsResult.cc b/adb/src/model/DescribeTableStatisticsResult.cc new file mode 100644 index 000000000..ab7592526 --- /dev/null +++ b/adb/src/model/DescribeTableStatisticsResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb; +using namespace AlibabaCloud::Adb::Model; + +DescribeTableStatisticsResult::DescribeTableStatisticsResult() : + ServiceResult() +{} + +DescribeTableStatisticsResult::DescribeTableStatisticsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTableStatisticsResult::~DescribeTableStatisticsResult() +{} + +void DescribeTableStatisticsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allItemsNode = value["Items"]["TableStatisticRecords"]; + for (auto valueItemsTableStatisticRecords : allItemsNode) + { + TableStatisticRecords itemsObject; + if(!valueItemsTableStatisticRecords["TableName"].isNull()) + itemsObject.tableName = valueItemsTableStatisticRecords["TableName"].asString(); + if(!valueItemsTableStatisticRecords["ColdDataSize"].isNull()) + itemsObject.coldDataSize = std::stol(valueItemsTableStatisticRecords["ColdDataSize"].asString()); + if(!valueItemsTableStatisticRecords["DataSize"].isNull()) + itemsObject.dataSize = std::stol(valueItemsTableStatisticRecords["DataSize"].asString()); + if(!valueItemsTableStatisticRecords["PrimaryKeyIndexSize"].isNull()) + itemsObject.primaryKeyIndexSize = std::stol(valueItemsTableStatisticRecords["PrimaryKeyIndexSize"].asString()); + if(!valueItemsTableStatisticRecords["IndexSize"].isNull()) + itemsObject.indexSize = std::stol(valueItemsTableStatisticRecords["IndexSize"].asString()); + if(!valueItemsTableStatisticRecords["RowCount"].isNull()) + itemsObject.rowCount = std::stol(valueItemsTableStatisticRecords["RowCount"].asString()); + if(!valueItemsTableStatisticRecords["PartitionCount"].isNull()) + itemsObject.partitionCount = std::stol(valueItemsTableStatisticRecords["PartitionCount"].asString()); + if(!valueItemsTableStatisticRecords["SchemaName"].isNull()) + itemsObject.schemaName = valueItemsTableStatisticRecords["SchemaName"].asString(); + items_.push_back(itemsObject); + } + if(!value["TotalCount"].isNull()) + totalCount_ = value["TotalCount"].asString(); + if(!value["PageSize"].isNull()) + pageSize_ = value["PageSize"].asString(); + if(!value["PageNumber"].isNull()) + pageNumber_ = value["PageNumber"].asString(); + if(!value["DBClusterId"].isNull()) + dBClusterId_ = value["DBClusterId"].asString(); + +} + +std::string DescribeTableStatisticsResult::getTotalCount()const +{ + return totalCount_; +} + +std::string DescribeTableStatisticsResult::getPageSize()const +{ + return pageSize_; +} + +std::string DescribeTableStatisticsResult::getPageNumber()const +{ + return pageNumber_; +} + +std::string DescribeTableStatisticsResult::getDBClusterId()const +{ + return dBClusterId_; +} + +std::vector DescribeTableStatisticsResult::getItems()const +{ + return items_; +} + diff --git a/adb/src/model/ModifyBackupPolicyRequest.cc b/adb/src/model/ModifyBackupPolicyRequest.cc index c4f677b98..97c6d112f 100644 --- a/adb/src/model/ModifyBackupPolicyRequest.cc +++ b/adb/src/model/ModifyBackupPolicyRequest.cc @@ -49,6 +49,17 @@ void ModifyBackupPolicyRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string ModifyBackupPolicyRequest::getEnableBackupLog()const +{ + return enableBackupLog_; +} + +void ModifyBackupPolicyRequest::setEnableBackupLog(const std::string& enableBackupLog) +{ + enableBackupLog_ = enableBackupLog; + setParameter("EnableBackupLog", enableBackupLog); +} + std::string ModifyBackupPolicyRequest::getPreferredBackupPeriod()const { return preferredBackupPeriod_; @@ -126,3 +137,14 @@ void ModifyBackupPolicyRequest::setBackupRetentionPeriod(const std::string& back setParameter("BackupRetentionPeriod", backupRetentionPeriod); } +int ModifyBackupPolicyRequest::getLogBackupRetentionPeriod()const +{ + return logBackupRetentionPeriod_; +} + +void ModifyBackupPolicyRequest::setLogBackupRetentionPeriod(int logBackupRetentionPeriod) +{ + logBackupRetentionPeriod_ = logBackupRetentionPeriod; + setParameter("LogBackupRetentionPeriod", std::to_string(logBackupRetentionPeriod)); +} + diff --git a/adb/src/model/ModifyDBClusterRequest.cc b/adb/src/model/ModifyDBClusterRequest.cc index 1e37a05ac..441355631 100644 --- a/adb/src/model/ModifyDBClusterRequest.cc +++ b/adb/src/model/ModifyDBClusterRequest.cc @@ -49,6 +49,17 @@ void ModifyDBClusterRequest::setAccessKeyId(const std::string& accessKeyId) setParameter("AccessKeyId", accessKeyId); } +std::string ModifyDBClusterRequest::getMode()const +{ + return mode_; +} + +void ModifyDBClusterRequest::setMode(const std::string& mode) +{ + mode_ = mode; + setParameter("Mode", mode); +} + std::string ModifyDBClusterRequest::getStorageResource()const { return storageResource_; @@ -82,6 +93,17 @@ void ModifyDBClusterRequest::setRegionId(const std::string& regionId) setParameter("RegionId", regionId); } +std::string ModifyDBClusterRequest::getDBClusterCategory()const +{ + return dBClusterCategory_; +} + +void ModifyDBClusterRequest::setDBClusterCategory(const std::string& dBClusterCategory) +{ + dBClusterCategory_ = dBClusterCategory; + setParameter("DBClusterCategory", dBClusterCategory); +} + std::string ModifyDBClusterRequest::getResourceOwnerAccount()const { return resourceOwnerAccount_; @@ -181,3 +203,14 @@ void ModifyDBClusterRequest::setComputeResource(const std::string& computeResour setParameter("ComputeResource", computeResource); } +int ModifyDBClusterRequest::getElasticIOResource()const +{ + return elasticIOResource_; +} + +void ModifyDBClusterRequest::setElasticIOResource(int elasticIOResource) +{ + elasticIOResource_ = elasticIOResource; + setParameter("ElasticIOResource", std::to_string(elasticIOResource)); +} + diff --git a/adb/src/model/ModifyDBClusterResourceGroupRequest.cc b/adb/src/model/ModifyDBClusterResourceGroupRequest.cc new file mode 100644 index 000000000..f6b45a9f6 --- /dev/null +++ b/adb/src/model/ModifyDBClusterResourceGroupRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::ModifyDBClusterResourceGroupRequest; + +ModifyDBClusterResourceGroupRequest::ModifyDBClusterResourceGroupRequest() : + RpcServiceRequest("adb", "2019-03-15", "ModifyDBClusterResourceGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDBClusterResourceGroupRequest::~ModifyDBClusterResourceGroupRequest() +{} + +long ModifyDBClusterResourceGroupRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyDBClusterResourceGroupRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyDBClusterResourceGroupRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyDBClusterResourceGroupRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyDBClusterResourceGroupRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ModifyDBClusterResourceGroupRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string ModifyDBClusterResourceGroupRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void ModifyDBClusterResourceGroupRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string ModifyDBClusterResourceGroupRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void ModifyDBClusterResourceGroupRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long ModifyDBClusterResourceGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDBClusterResourceGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyDBClusterResourceGroupRequest::getNewResourceGroupId()const +{ + return newResourceGroupId_; +} + +void ModifyDBClusterResourceGroupRequest::setNewResourceGroupId(const std::string& newResourceGroupId) +{ + newResourceGroupId_ = newResourceGroupId; + setParameter("NewResourceGroupId", newResourceGroupId); +} + diff --git a/adb/src/model/ModifyDBClusterResourceGroupResult.cc b/adb/src/model/ModifyDBClusterResourceGroupResult.cc new file mode 100644 index 000000000..46968f8d9 --- /dev/null +++ b/adb/src/model/ModifyDBClusterResourceGroupResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +ModifyDBClusterResourceGroupResult::ModifyDBClusterResourceGroupResult() : + ServiceResult() +{} + +ModifyDBClusterResourceGroupResult::ModifyDBClusterResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBClusterResourceGroupResult::~ModifyDBClusterResourceGroupResult() +{} + +void ModifyDBClusterResourceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/ModifyDBResourcePoolRequest.cc b/adb/src/model/ModifyDBResourcePoolRequest.cc new file mode 100644 index 000000000..739abcb56 --- /dev/null +++ b/adb/src/model/ModifyDBResourcePoolRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::ModifyDBResourcePoolRequest; + +ModifyDBResourcePoolRequest::ModifyDBResourcePoolRequest() : + RpcServiceRequest("adb", "2019-03-15", "ModifyDBResourcePool") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDBResourcePoolRequest::~ModifyDBResourcePoolRequest() +{} + +std::string ModifyDBResourcePoolRequest::getPoolName()const +{ + return poolName_; +} + +void ModifyDBResourcePoolRequest::setPoolName(const std::string& poolName) +{ + poolName_ = poolName; + setParameter("PoolName", poolName); +} + +long ModifyDBResourcePoolRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyDBResourcePoolRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +int ModifyDBResourcePoolRequest::getNodeNum()const +{ + return nodeNum_; +} + +void ModifyDBResourcePoolRequest::setNodeNum(int nodeNum) +{ + nodeNum_ = nodeNum; + setParameter("NodeNum", std::to_string(nodeNum)); +} + +std::string ModifyDBResourcePoolRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyDBResourcePoolRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string ModifyDBResourcePoolRequest::getQueryType()const +{ + return queryType_; +} + +void ModifyDBResourcePoolRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); +} + +std::string ModifyDBResourcePoolRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ModifyDBResourcePoolRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string ModifyDBResourcePoolRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void ModifyDBResourcePoolRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string ModifyDBResourcePoolRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void ModifyDBResourcePoolRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long ModifyDBResourcePoolRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDBResourcePoolRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/ModifyDBResourcePoolResult.cc b/adb/src/model/ModifyDBResourcePoolResult.cc new file mode 100644 index 000000000..eeb70fab0 --- /dev/null +++ b/adb/src/model/ModifyDBResourcePoolResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +ModifyDBResourcePoolResult::ModifyDBResourcePoolResult() : + ServiceResult() +{} + +ModifyDBResourcePoolResult::ModifyDBResourcePoolResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBResourcePoolResult::~ModifyDBResourcePoolResult() +{} + +void ModifyDBResourcePoolResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/ModifyElasticPlanRequest.cc b/adb/src/model/ModifyElasticPlanRequest.cc new file mode 100644 index 000000000..994db13f0 --- /dev/null +++ b/adb/src/model/ModifyElasticPlanRequest.cc @@ -0,0 +1,194 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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::Adb::Model::ModifyElasticPlanRequest; + +ModifyElasticPlanRequest::ModifyElasticPlanRequest() : + RpcServiceRequest("adb", "2019-03-15", "ModifyElasticPlan") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyElasticPlanRequest::~ModifyElasticPlanRequest() +{} + +long ModifyElasticPlanRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void ModifyElasticPlanRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string ModifyElasticPlanRequest::getElasticPlanTimeStart()const +{ + return elasticPlanTimeStart_; +} + +void ModifyElasticPlanRequest::setElasticPlanTimeStart(const std::string& elasticPlanTimeStart) +{ + elasticPlanTimeStart_ = elasticPlanTimeStart; + setParameter("ElasticPlanTimeStart", elasticPlanTimeStart); +} + +std::string ModifyElasticPlanRequest::getElasticPlanEndDay()const +{ + return elasticPlanEndDay_; +} + +void ModifyElasticPlanRequest::setElasticPlanEndDay(const std::string& elasticPlanEndDay) +{ + elasticPlanEndDay_ = elasticPlanEndDay; + setParameter("ElasticPlanEndDay", elasticPlanEndDay); +} + +std::string ModifyElasticPlanRequest::getElasticPlanWeeklyRepeat()const +{ + return elasticPlanWeeklyRepeat_; +} + +void ModifyElasticPlanRequest::setElasticPlanWeeklyRepeat(const std::string& elasticPlanWeeklyRepeat) +{ + elasticPlanWeeklyRepeat_ = elasticPlanWeeklyRepeat; + setParameter("ElasticPlanWeeklyRepeat", elasticPlanWeeklyRepeat); +} + +std::string ModifyElasticPlanRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void ModifyElasticPlanRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +bool ModifyElasticPlanRequest::getElasticPlanEnable()const +{ + return elasticPlanEnable_; +} + +void ModifyElasticPlanRequest::setElasticPlanEnable(bool elasticPlanEnable) +{ + elasticPlanEnable_ = elasticPlanEnable; + setParameter("ElasticPlanEnable", elasticPlanEnable ? "true" : "false"); +} + +std::string ModifyElasticPlanRequest::getElasticPlanTimeEnd()const +{ + return elasticPlanTimeEnd_; +} + +void ModifyElasticPlanRequest::setElasticPlanTimeEnd(const std::string& elasticPlanTimeEnd) +{ + elasticPlanTimeEnd_ = elasticPlanTimeEnd; + setParameter("ElasticPlanTimeEnd", elasticPlanTimeEnd); +} + +std::string ModifyElasticPlanRequest::getElasticPlanStartDay()const +{ + return elasticPlanStartDay_; +} + +void ModifyElasticPlanRequest::setElasticPlanStartDay(const std::string& elasticPlanStartDay) +{ + elasticPlanStartDay_ = elasticPlanStartDay; + setParameter("ElasticPlanStartDay", elasticPlanStartDay); +} + +std::string ModifyElasticPlanRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void ModifyElasticPlanRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string ModifyElasticPlanRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void ModifyElasticPlanRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string ModifyElasticPlanRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void ModifyElasticPlanRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long ModifyElasticPlanRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyElasticPlanRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyElasticPlanRequest::getElasticPlanName()const +{ + return elasticPlanName_; +} + +void ModifyElasticPlanRequest::setElasticPlanName(const std::string& elasticPlanName) +{ + elasticPlanName_ = elasticPlanName; + setParameter("ElasticPlanName", elasticPlanName); +} + +std::string ModifyElasticPlanRequest::getResourcePoolName()const +{ + return resourcePoolName_; +} + +void ModifyElasticPlanRequest::setResourcePoolName(const std::string& resourcePoolName) +{ + resourcePoolName_ = resourcePoolName; + setParameter("ResourcePoolName", resourcePoolName); +} + +int ModifyElasticPlanRequest::getElasticPlanNodeNum()const +{ + return elasticPlanNodeNum_; +} + +void ModifyElasticPlanRequest::setElasticPlanNodeNum(int elasticPlanNodeNum) +{ + elasticPlanNodeNum_ = elasticPlanNodeNum; + setParameter("ElasticPlanNodeNum", std::to_string(elasticPlanNodeNum)); +} + diff --git a/adb/src/model/ModifyElasticPlanResult.cc b/adb/src/model/ModifyElasticPlanResult.cc new file mode 100644 index 000000000..e973983d5 --- /dev/null +++ b/adb/src/model/ModifyElasticPlanResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +ModifyElasticPlanResult::ModifyElasticPlanResult() : + ServiceResult() +{} + +ModifyElasticPlanResult::ModifyElasticPlanResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyElasticPlanResult::~ModifyElasticPlanResult() +{} + +void ModifyElasticPlanResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/src/model/UnbindDBResourcePoolWithUserRequest.cc b/adb/src/model/UnbindDBResourcePoolWithUserRequest.cc new file mode 100644 index 000000000..f686dcdc3 --- /dev/null +++ b/adb/src/model/UnbindDBResourcePoolWithUserRequest.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::Adb::Model::UnbindDBResourcePoolWithUserRequest; + +UnbindDBResourcePoolWithUserRequest::UnbindDBResourcePoolWithUserRequest() : + RpcServiceRequest("adb", "2019-03-15", "UnbindDBResourcePoolWithUser") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindDBResourcePoolWithUserRequest::~UnbindDBResourcePoolWithUserRequest() +{} + +std::string UnbindDBResourcePoolWithUserRequest::getPoolName()const +{ + return poolName_; +} + +void UnbindDBResourcePoolWithUserRequest::setPoolName(const std::string& poolName) +{ + poolName_ = poolName; + setParameter("PoolName", poolName); +} + +long UnbindDBResourcePoolWithUserRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void UnbindDBResourcePoolWithUserRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string UnbindDBResourcePoolWithUserRequest::getPoolUser()const +{ + return poolUser_; +} + +void UnbindDBResourcePoolWithUserRequest::setPoolUser(const std::string& poolUser) +{ + poolUser_ = poolUser; + setParameter("PoolUser", poolUser); +} + +std::string UnbindDBResourcePoolWithUserRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void UnbindDBResourcePoolWithUserRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setParameter("AccessKeyId", accessKeyId); +} + +std::string UnbindDBResourcePoolWithUserRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void UnbindDBResourcePoolWithUserRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string UnbindDBResourcePoolWithUserRequest::getDBClusterId()const +{ + return dBClusterId_; +} + +void UnbindDBResourcePoolWithUserRequest::setDBClusterId(const std::string& dBClusterId) +{ + dBClusterId_ = dBClusterId; + setParameter("DBClusterId", dBClusterId); +} + +std::string UnbindDBResourcePoolWithUserRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void UnbindDBResourcePoolWithUserRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setParameter("OwnerAccount", ownerAccount); +} + +long UnbindDBResourcePoolWithUserRequest::getOwnerId()const +{ + return ownerId_; +} + +void UnbindDBResourcePoolWithUserRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/adb/src/model/UnbindDBResourcePoolWithUserResult.cc b/adb/src/model/UnbindDBResourcePoolWithUserResult.cc new file mode 100644 index 000000000..879e29a8d --- /dev/null +++ b/adb/src/model/UnbindDBResourcePoolWithUserResult.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::Adb; +using namespace AlibabaCloud::Adb::Model; + +UnbindDBResourcePoolWithUserResult::UnbindDBResourcePoolWithUserResult() : + ServiceResult() +{} + +UnbindDBResourcePoolWithUserResult::UnbindDBResourcePoolWithUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindDBResourcePoolWithUserResult::~UnbindDBResourcePoolWithUserResult() +{} + +void UnbindDBResourcePoolWithUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/adb/version-2019-03-15.xml b/adb/version-2019-03-15.xml new file mode 100644 index 000000000..ef5cc49f8 --- /dev/null +++ b/adb/version-2019-03-15.xml @@ -0,0 +1 @@ +