Update Open API.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2021-01-29 Version: patch
|
||||
- Update Open API.
|
||||
|
||||
2021-01-29 Version: patch
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
|
||||
@@ -41,8 +41,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/CheckDBNameAvailableResult.h
|
||||
include/alibabacloud/rds/model/CheckInstanceExistRequest.h
|
||||
include/alibabacloud/rds/model/CheckInstanceExistResult.h
|
||||
include/alibabacloud/rds/model/ClearDedicatedHostRequest.h
|
||||
include/alibabacloud/rds/model/ClearDedicatedHostResult.h
|
||||
include/alibabacloud/rds/model/CloneDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/CloneDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/CloneParameterGroupRequest.h
|
||||
@@ -63,12 +61,8 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/CreateDatabaseResult.h
|
||||
include/alibabacloud/rds/model/CreateDdrInstanceRequest.h
|
||||
include/alibabacloud/rds/model/CreateDdrInstanceResult.h
|
||||
include/alibabacloud/rds/model/CreateDedicatedHostRequest.h
|
||||
include/alibabacloud/rds/model/CreateDedicatedHostResult.h
|
||||
include/alibabacloud/rds/model/CreateDiagnosticReportRequest.h
|
||||
include/alibabacloud/rds/model/CreateDiagnosticReportResult.h
|
||||
include/alibabacloud/rds/model/CreateHostAccountRequest.h
|
||||
include/alibabacloud/rds/model/CreateHostAccountResult.h
|
||||
include/alibabacloud/rds/model/CreateMigrateTaskRequest.h
|
||||
include/alibabacloud/rds/model/CreateMigrateTaskResult.h
|
||||
include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerRequest.h
|
||||
@@ -179,12 +173,8 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeDTCSecurityIpHostsForSQLServerResult.h
|
||||
include/alibabacloud/rds/model/DescribeDatabasesRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDatabasesResult.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostAttributeRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostAttributeResult.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostGroupsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostGroupsResult.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostImageCategoriesRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostImageCategoriesResult.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeDedicatedHostsResult.h
|
||||
include/alibabacloud/rds/model/DescribeDetachedBackupsRequest.h
|
||||
@@ -197,8 +187,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeEventsResult.h
|
||||
include/alibabacloud/rds/model/DescribeHASwitchConfigRequest.h
|
||||
include/alibabacloud/rds/model/DescribeHASwitchConfigResult.h
|
||||
include/alibabacloud/rds/model/DescribeHostAccountsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeHostAccountsResult.h
|
||||
include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeRequest.h
|
||||
include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeResult.h
|
||||
include/alibabacloud/rds/model/DescribeInstanceCrossBackupPolicyRequest.h
|
||||
@@ -217,8 +205,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerResult.h
|
||||
include/alibabacloud/rds/model/DescribeModifyParameterLogRequest.h
|
||||
include/alibabacloud/rds/model/DescribeModifyParameterLogResult.h
|
||||
include/alibabacloud/rds/model/DescribeNextEventForSignRequest.h
|
||||
include/alibabacloud/rds/model/DescribeNextEventForSignResult.h
|
||||
include/alibabacloud/rds/model/DescribeOssDownloadsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeOssDownloadsResult.h
|
||||
include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerRequest.h
|
||||
@@ -259,8 +245,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeSQLReportsResult.h
|
||||
include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h
|
||||
include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h
|
||||
include/alibabacloud/rds/model/DescribeSignedEventActionsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeSignedEventActionsResult.h
|
||||
include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h
|
||||
include/alibabacloud/rds/model/DescribeSlowLogRecordsResult.h
|
||||
include/alibabacloud/rds/model/DescribeSlowLogsRequest.h
|
||||
@@ -271,8 +255,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/DescribeTasksResult.h
|
||||
include/alibabacloud/rds/model/DestroyDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/DestroyDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/GetDBInstanceTopologyRequest.h
|
||||
include/alibabacloud/rds/model/GetDBInstanceTopologyResult.h
|
||||
include/alibabacloud/rds/model/GetDbProxyInstanceSslRequest.h
|
||||
include/alibabacloud/rds/model/GetDbProxyInstanceSslResult.h
|
||||
include/alibabacloud/rds/model/GrantAccountPrivilegeRequest.h
|
||||
@@ -297,8 +279,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/rds/model/ModifyActionEventPolicyRequest.h
|
||||
include/alibabacloud/rds/model/ModifyActionEventPolicyResult.h
|
||||
include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h
|
||||
include/alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h
|
||||
include/alibabacloud/rds/model/ModifyBackupPolicyRequest.h
|
||||
include/alibabacloud/rds/model/ModifyBackupPolicyResult.h
|
||||
include/alibabacloud/rds/model/ModifyCollationTimeZoneRequest.h
|
||||
@@ -347,20 +327,12 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/ModifyDasInstanceConfigResult.h
|
||||
include/alibabacloud/rds/model/ModifyDbProxyInstanceSslRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDbProxyInstanceSslResult.h
|
||||
include/alibabacloud/rds/model/ModifyDedicatedHostAccountRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDedicatedHostAccountResult.h
|
||||
include/alibabacloud/rds/model/ModifyDedicatedHostAttributeRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDedicatedHostAttributeResult.h
|
||||
include/alibabacloud/rds/model/ModifyDedicatedHostGroupAttributeRequest.h
|
||||
include/alibabacloud/rds/model/ModifyDedicatedHostGroupAttributeResult.h
|
||||
include/alibabacloud/rds/model/ModifyHASwitchConfigRequest.h
|
||||
include/alibabacloud/rds/model/ModifyHASwitchConfigResult.h
|
||||
include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeRequest.h
|
||||
include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeResult.h
|
||||
include/alibabacloud/rds/model/ModifyInstanceCrossBackupPolicyRequest.h
|
||||
include/alibabacloud/rds/model/ModifyInstanceCrossBackupPolicyResult.h
|
||||
include/alibabacloud/rds/model/ModifyLicenseInfoRequest.h
|
||||
include/alibabacloud/rds/model/ModifyLicenseInfoResult.h
|
||||
include/alibabacloud/rds/model/ModifyParameterRequest.h
|
||||
include/alibabacloud/rds/model/ModifyParameterResult.h
|
||||
include/alibabacloud/rds/model/ModifyParameterGroupRequest.h
|
||||
@@ -395,20 +367,14 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/RemoveTagsFromResourceResult.h
|
||||
include/alibabacloud/rds/model/RenewInstanceRequest.h
|
||||
include/alibabacloud/rds/model/RenewInstanceResult.h
|
||||
include/alibabacloud/rds/model/ReplaceDedicatedHostRequest.h
|
||||
include/alibabacloud/rds/model/ReplaceDedicatedHostResult.h
|
||||
include/alibabacloud/rds/model/ResetAccountRequest.h
|
||||
include/alibabacloud/rds/model/ResetAccountResult.h
|
||||
include/alibabacloud/rds/model/ResetAccountForPGRequest.h
|
||||
include/alibabacloud/rds/model/ResetAccountForPGResult.h
|
||||
include/alibabacloud/rds/model/ResetAccountPasswordRequest.h
|
||||
include/alibabacloud/rds/model/ResetAccountPasswordResult.h
|
||||
include/alibabacloud/rds/model/ResetHostAccountPasswordRequest.h
|
||||
include/alibabacloud/rds/model/ResetHostAccountPasswordResult.h
|
||||
include/alibabacloud/rds/model/RestartDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/RestartDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/RestartDedicatedHostRequest.h
|
||||
include/alibabacloud/rds/model/RestartDedicatedHostResult.h
|
||||
include/alibabacloud/rds/model/RestoreDdrTableRequest.h
|
||||
include/alibabacloud/rds/model/RestoreDdrTableResult.h
|
||||
include/alibabacloud/rds/model/RestoreTableRequest.h
|
||||
@@ -417,8 +383,6 @@ set(rds_public_header_model
|
||||
include/alibabacloud/rds/model/RevokeAccountPrivilegeResult.h
|
||||
include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h
|
||||
include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h
|
||||
include/alibabacloud/rds/model/SignEventActionRequest.h
|
||||
include/alibabacloud/rds/model/SignEventActionResult.h
|
||||
include/alibabacloud/rds/model/StartDBInstanceRequest.h
|
||||
include/alibabacloud/rds/model/StartDBInstanceResult.h
|
||||
include/alibabacloud/rds/model/StopDBInstanceRequest.h
|
||||
@@ -468,8 +432,6 @@ set(rds_src
|
||||
src/model/CheckDBNameAvailableResult.cc
|
||||
src/model/CheckInstanceExistRequest.cc
|
||||
src/model/CheckInstanceExistResult.cc
|
||||
src/model/ClearDedicatedHostRequest.cc
|
||||
src/model/ClearDedicatedHostResult.cc
|
||||
src/model/CloneDBInstanceRequest.cc
|
||||
src/model/CloneDBInstanceResult.cc
|
||||
src/model/CloneParameterGroupRequest.cc
|
||||
@@ -490,12 +452,8 @@ set(rds_src
|
||||
src/model/CreateDatabaseResult.cc
|
||||
src/model/CreateDdrInstanceRequest.cc
|
||||
src/model/CreateDdrInstanceResult.cc
|
||||
src/model/CreateDedicatedHostRequest.cc
|
||||
src/model/CreateDedicatedHostResult.cc
|
||||
src/model/CreateDiagnosticReportRequest.cc
|
||||
src/model/CreateDiagnosticReportResult.cc
|
||||
src/model/CreateHostAccountRequest.cc
|
||||
src/model/CreateHostAccountResult.cc
|
||||
src/model/CreateMigrateTaskRequest.cc
|
||||
src/model/CreateMigrateTaskResult.cc
|
||||
src/model/CreateMigrateTaskForSQLServerRequest.cc
|
||||
@@ -606,12 +564,8 @@ set(rds_src
|
||||
src/model/DescribeDTCSecurityIpHostsForSQLServerResult.cc
|
||||
src/model/DescribeDatabasesRequest.cc
|
||||
src/model/DescribeDatabasesResult.cc
|
||||
src/model/DescribeDedicatedHostAttributeRequest.cc
|
||||
src/model/DescribeDedicatedHostAttributeResult.cc
|
||||
src/model/DescribeDedicatedHostGroupsRequest.cc
|
||||
src/model/DescribeDedicatedHostGroupsResult.cc
|
||||
src/model/DescribeDedicatedHostImageCategoriesRequest.cc
|
||||
src/model/DescribeDedicatedHostImageCategoriesResult.cc
|
||||
src/model/DescribeDedicatedHostsRequest.cc
|
||||
src/model/DescribeDedicatedHostsResult.cc
|
||||
src/model/DescribeDetachedBackupsRequest.cc
|
||||
@@ -624,8 +578,6 @@ set(rds_src
|
||||
src/model/DescribeEventsResult.cc
|
||||
src/model/DescribeHASwitchConfigRequest.cc
|
||||
src/model/DescribeHASwitchConfigResult.cc
|
||||
src/model/DescribeHostAccountsRequest.cc
|
||||
src/model/DescribeHostAccountsResult.cc
|
||||
src/model/DescribeInstanceAutoRenewalAttributeRequest.cc
|
||||
src/model/DescribeInstanceAutoRenewalAttributeResult.cc
|
||||
src/model/DescribeInstanceCrossBackupPolicyRequest.cc
|
||||
@@ -644,8 +596,6 @@ set(rds_src
|
||||
src/model/DescribeMigrateTasksForSQLServerResult.cc
|
||||
src/model/DescribeModifyParameterLogRequest.cc
|
||||
src/model/DescribeModifyParameterLogResult.cc
|
||||
src/model/DescribeNextEventForSignRequest.cc
|
||||
src/model/DescribeNextEventForSignResult.cc
|
||||
src/model/DescribeOssDownloadsRequest.cc
|
||||
src/model/DescribeOssDownloadsResult.cc
|
||||
src/model/DescribeOssDownloadsForSQLServerRequest.cc
|
||||
@@ -686,8 +636,6 @@ set(rds_src
|
||||
src/model/DescribeSQLReportsResult.cc
|
||||
src/model/DescribeSecurityGroupConfigurationRequest.cc
|
||||
src/model/DescribeSecurityGroupConfigurationResult.cc
|
||||
src/model/DescribeSignedEventActionsRequest.cc
|
||||
src/model/DescribeSignedEventActionsResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
src/model/DescribeSlowLogRecordsResult.cc
|
||||
src/model/DescribeSlowLogsRequest.cc
|
||||
@@ -698,8 +646,6 @@ set(rds_src
|
||||
src/model/DescribeTasksResult.cc
|
||||
src/model/DestroyDBInstanceRequest.cc
|
||||
src/model/DestroyDBInstanceResult.cc
|
||||
src/model/GetDBInstanceTopologyRequest.cc
|
||||
src/model/GetDBInstanceTopologyResult.cc
|
||||
src/model/GetDbProxyInstanceSslRequest.cc
|
||||
src/model/GetDbProxyInstanceSslResult.cc
|
||||
src/model/GrantAccountPrivilegeRequest.cc
|
||||
@@ -724,8 +670,6 @@ set(rds_src
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyActionEventPolicyRequest.cc
|
||||
src/model/ModifyActionEventPolicyResult.cc
|
||||
src/model/ModifyActionEventVerifyPolicyRequest.cc
|
||||
src/model/ModifyActionEventVerifyPolicyResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
src/model/ModifyBackupPolicyResult.cc
|
||||
src/model/ModifyCollationTimeZoneRequest.cc
|
||||
@@ -774,20 +718,12 @@ set(rds_src
|
||||
src/model/ModifyDasInstanceConfigResult.cc
|
||||
src/model/ModifyDbProxyInstanceSslRequest.cc
|
||||
src/model/ModifyDbProxyInstanceSslResult.cc
|
||||
src/model/ModifyDedicatedHostAccountRequest.cc
|
||||
src/model/ModifyDedicatedHostAccountResult.cc
|
||||
src/model/ModifyDedicatedHostAttributeRequest.cc
|
||||
src/model/ModifyDedicatedHostAttributeResult.cc
|
||||
src/model/ModifyDedicatedHostGroupAttributeRequest.cc
|
||||
src/model/ModifyDedicatedHostGroupAttributeResult.cc
|
||||
src/model/ModifyHASwitchConfigRequest.cc
|
||||
src/model/ModifyHASwitchConfigResult.cc
|
||||
src/model/ModifyInstanceAutoRenewalAttributeRequest.cc
|
||||
src/model/ModifyInstanceAutoRenewalAttributeResult.cc
|
||||
src/model/ModifyInstanceCrossBackupPolicyRequest.cc
|
||||
src/model/ModifyInstanceCrossBackupPolicyResult.cc
|
||||
src/model/ModifyLicenseInfoRequest.cc
|
||||
src/model/ModifyLicenseInfoResult.cc
|
||||
src/model/ModifyParameterRequest.cc
|
||||
src/model/ModifyParameterResult.cc
|
||||
src/model/ModifyParameterGroupRequest.cc
|
||||
@@ -822,20 +758,14 @@ set(rds_src
|
||||
src/model/RemoveTagsFromResourceResult.cc
|
||||
src/model/RenewInstanceRequest.cc
|
||||
src/model/RenewInstanceResult.cc
|
||||
src/model/ReplaceDedicatedHostRequest.cc
|
||||
src/model/ReplaceDedicatedHostResult.cc
|
||||
src/model/ResetAccountRequest.cc
|
||||
src/model/ResetAccountResult.cc
|
||||
src/model/ResetAccountForPGRequest.cc
|
||||
src/model/ResetAccountForPGResult.cc
|
||||
src/model/ResetAccountPasswordRequest.cc
|
||||
src/model/ResetAccountPasswordResult.cc
|
||||
src/model/ResetHostAccountPasswordRequest.cc
|
||||
src/model/ResetHostAccountPasswordResult.cc
|
||||
src/model/RestartDBInstanceRequest.cc
|
||||
src/model/RestartDBInstanceResult.cc
|
||||
src/model/RestartDedicatedHostRequest.cc
|
||||
src/model/RestartDedicatedHostResult.cc
|
||||
src/model/RestoreDdrTableRequest.cc
|
||||
src/model/RestoreDdrTableResult.cc
|
||||
src/model/RestoreTableRequest.cc
|
||||
@@ -844,8 +774,6 @@ set(rds_src
|
||||
src/model/RevokeAccountPrivilegeResult.cc
|
||||
src/model/RevokeOperatorPermissionRequest.cc
|
||||
src/model/RevokeOperatorPermissionResult.cc
|
||||
src/model/SignEventActionRequest.cc
|
||||
src/model/SignEventActionResult.cc
|
||||
src/model/StartDBInstanceRequest.cc
|
||||
src/model/StartDBInstanceResult.cc
|
||||
src/model/StopDBInstanceRequest.cc
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
#include "model/CheckDBNameAvailableResult.h"
|
||||
#include "model/CheckInstanceExistRequest.h"
|
||||
#include "model/CheckInstanceExistResult.h"
|
||||
#include "model/ClearDedicatedHostRequest.h"
|
||||
#include "model/ClearDedicatedHostResult.h"
|
||||
#include "model/CloneDBInstanceRequest.h"
|
||||
#include "model/CloneDBInstanceResult.h"
|
||||
#include "model/CloneParameterGroupRequest.h"
|
||||
@@ -64,12 +62,8 @@
|
||||
#include "model/CreateDatabaseResult.h"
|
||||
#include "model/CreateDdrInstanceRequest.h"
|
||||
#include "model/CreateDdrInstanceResult.h"
|
||||
#include "model/CreateDedicatedHostRequest.h"
|
||||
#include "model/CreateDedicatedHostResult.h"
|
||||
#include "model/CreateDiagnosticReportRequest.h"
|
||||
#include "model/CreateDiagnosticReportResult.h"
|
||||
#include "model/CreateHostAccountRequest.h"
|
||||
#include "model/CreateHostAccountResult.h"
|
||||
#include "model/CreateMigrateTaskRequest.h"
|
||||
#include "model/CreateMigrateTaskResult.h"
|
||||
#include "model/CreateMigrateTaskForSQLServerRequest.h"
|
||||
@@ -180,12 +174,8 @@
|
||||
#include "model/DescribeDTCSecurityIpHostsForSQLServerResult.h"
|
||||
#include "model/DescribeDatabasesRequest.h"
|
||||
#include "model/DescribeDatabasesResult.h"
|
||||
#include "model/DescribeDedicatedHostAttributeRequest.h"
|
||||
#include "model/DescribeDedicatedHostAttributeResult.h"
|
||||
#include "model/DescribeDedicatedHostGroupsRequest.h"
|
||||
#include "model/DescribeDedicatedHostGroupsResult.h"
|
||||
#include "model/DescribeDedicatedHostImageCategoriesRequest.h"
|
||||
#include "model/DescribeDedicatedHostImageCategoriesResult.h"
|
||||
#include "model/DescribeDedicatedHostsRequest.h"
|
||||
#include "model/DescribeDedicatedHostsResult.h"
|
||||
#include "model/DescribeDetachedBackupsRequest.h"
|
||||
@@ -198,8 +188,6 @@
|
||||
#include "model/DescribeEventsResult.h"
|
||||
#include "model/DescribeHASwitchConfigRequest.h"
|
||||
#include "model/DescribeHASwitchConfigResult.h"
|
||||
#include "model/DescribeHostAccountsRequest.h"
|
||||
#include "model/DescribeHostAccountsResult.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeRequest.h"
|
||||
#include "model/DescribeInstanceAutoRenewalAttributeResult.h"
|
||||
#include "model/DescribeInstanceCrossBackupPolicyRequest.h"
|
||||
@@ -218,8 +206,6 @@
|
||||
#include "model/DescribeMigrateTasksForSQLServerResult.h"
|
||||
#include "model/DescribeModifyParameterLogRequest.h"
|
||||
#include "model/DescribeModifyParameterLogResult.h"
|
||||
#include "model/DescribeNextEventForSignRequest.h"
|
||||
#include "model/DescribeNextEventForSignResult.h"
|
||||
#include "model/DescribeOssDownloadsRequest.h"
|
||||
#include "model/DescribeOssDownloadsResult.h"
|
||||
#include "model/DescribeOssDownloadsForSQLServerRequest.h"
|
||||
@@ -260,8 +246,6 @@
|
||||
#include "model/DescribeSQLReportsResult.h"
|
||||
#include "model/DescribeSecurityGroupConfigurationRequest.h"
|
||||
#include "model/DescribeSecurityGroupConfigurationResult.h"
|
||||
#include "model/DescribeSignedEventActionsRequest.h"
|
||||
#include "model/DescribeSignedEventActionsResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
#include "model/DescribeSlowLogRecordsResult.h"
|
||||
#include "model/DescribeSlowLogsRequest.h"
|
||||
@@ -272,8 +256,6 @@
|
||||
#include "model/DescribeTasksResult.h"
|
||||
#include "model/DestroyDBInstanceRequest.h"
|
||||
#include "model/DestroyDBInstanceResult.h"
|
||||
#include "model/GetDBInstanceTopologyRequest.h"
|
||||
#include "model/GetDBInstanceTopologyResult.h"
|
||||
#include "model/GetDbProxyInstanceSslRequest.h"
|
||||
#include "model/GetDbProxyInstanceSslResult.h"
|
||||
#include "model/GrantAccountPrivilegeRequest.h"
|
||||
@@ -298,8 +280,6 @@
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyActionEventPolicyRequest.h"
|
||||
#include "model/ModifyActionEventPolicyResult.h"
|
||||
#include "model/ModifyActionEventVerifyPolicyRequest.h"
|
||||
#include "model/ModifyActionEventVerifyPolicyResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
#include "model/ModifyBackupPolicyResult.h"
|
||||
#include "model/ModifyCollationTimeZoneRequest.h"
|
||||
@@ -348,20 +328,12 @@
|
||||
#include "model/ModifyDasInstanceConfigResult.h"
|
||||
#include "model/ModifyDbProxyInstanceSslRequest.h"
|
||||
#include "model/ModifyDbProxyInstanceSslResult.h"
|
||||
#include "model/ModifyDedicatedHostAccountRequest.h"
|
||||
#include "model/ModifyDedicatedHostAccountResult.h"
|
||||
#include "model/ModifyDedicatedHostAttributeRequest.h"
|
||||
#include "model/ModifyDedicatedHostAttributeResult.h"
|
||||
#include "model/ModifyDedicatedHostGroupAttributeRequest.h"
|
||||
#include "model/ModifyDedicatedHostGroupAttributeResult.h"
|
||||
#include "model/ModifyHASwitchConfigRequest.h"
|
||||
#include "model/ModifyHASwitchConfigResult.h"
|
||||
#include "model/ModifyInstanceAutoRenewalAttributeRequest.h"
|
||||
#include "model/ModifyInstanceAutoRenewalAttributeResult.h"
|
||||
#include "model/ModifyInstanceCrossBackupPolicyRequest.h"
|
||||
#include "model/ModifyInstanceCrossBackupPolicyResult.h"
|
||||
#include "model/ModifyLicenseInfoRequest.h"
|
||||
#include "model/ModifyLicenseInfoResult.h"
|
||||
#include "model/ModifyParameterRequest.h"
|
||||
#include "model/ModifyParameterResult.h"
|
||||
#include "model/ModifyParameterGroupRequest.h"
|
||||
@@ -396,20 +368,14 @@
|
||||
#include "model/RemoveTagsFromResourceResult.h"
|
||||
#include "model/RenewInstanceRequest.h"
|
||||
#include "model/RenewInstanceResult.h"
|
||||
#include "model/ReplaceDedicatedHostRequest.h"
|
||||
#include "model/ReplaceDedicatedHostResult.h"
|
||||
#include "model/ResetAccountRequest.h"
|
||||
#include "model/ResetAccountResult.h"
|
||||
#include "model/ResetAccountForPGRequest.h"
|
||||
#include "model/ResetAccountForPGResult.h"
|
||||
#include "model/ResetAccountPasswordRequest.h"
|
||||
#include "model/ResetAccountPasswordResult.h"
|
||||
#include "model/ResetHostAccountPasswordRequest.h"
|
||||
#include "model/ResetHostAccountPasswordResult.h"
|
||||
#include "model/RestartDBInstanceRequest.h"
|
||||
#include "model/RestartDBInstanceResult.h"
|
||||
#include "model/RestartDedicatedHostRequest.h"
|
||||
#include "model/RestartDedicatedHostResult.h"
|
||||
#include "model/RestoreDdrTableRequest.h"
|
||||
#include "model/RestoreDdrTableResult.h"
|
||||
#include "model/RestoreTableRequest.h"
|
||||
@@ -418,8 +384,6 @@
|
||||
#include "model/RevokeAccountPrivilegeResult.h"
|
||||
#include "model/RevokeOperatorPermissionRequest.h"
|
||||
#include "model/RevokeOperatorPermissionResult.h"
|
||||
#include "model/SignEventActionRequest.h"
|
||||
#include "model/SignEventActionResult.h"
|
||||
#include "model/StartDBInstanceRequest.h"
|
||||
#include "model/StartDBInstanceResult.h"
|
||||
#include "model/StopDBInstanceRequest.h"
|
||||
@@ -485,9 +449,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CheckInstanceExistResult> CheckInstanceExistOutcome;
|
||||
typedef std::future<CheckInstanceExistOutcome> CheckInstanceExistOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CheckInstanceExistRequest&, const CheckInstanceExistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckInstanceExistAsyncHandler;
|
||||
typedef Outcome<Error, Model::ClearDedicatedHostResult> ClearDedicatedHostOutcome;
|
||||
typedef std::future<ClearDedicatedHostOutcome> ClearDedicatedHostOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ClearDedicatedHostRequest&, const ClearDedicatedHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ClearDedicatedHostAsyncHandler;
|
||||
typedef Outcome<Error, Model::CloneDBInstanceResult> CloneDBInstanceOutcome;
|
||||
typedef std::future<CloneDBInstanceOutcome> CloneDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CloneDBInstanceRequest&, const CloneDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloneDBInstanceAsyncHandler;
|
||||
@@ -518,15 +479,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateDdrInstanceResult> CreateDdrInstanceOutcome;
|
||||
typedef std::future<CreateDdrInstanceOutcome> CreateDdrInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateDdrInstanceRequest&, const CreateDdrInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDdrInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDedicatedHostResult> CreateDedicatedHostOutcome;
|
||||
typedef std::future<CreateDedicatedHostOutcome> CreateDedicatedHostOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateDedicatedHostRequest&, const CreateDedicatedHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDedicatedHostAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDiagnosticReportResult> CreateDiagnosticReportOutcome;
|
||||
typedef std::future<CreateDiagnosticReportOutcome> CreateDiagnosticReportOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateDiagnosticReportRequest&, const CreateDiagnosticReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDiagnosticReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateHostAccountResult> CreateHostAccountOutcome;
|
||||
typedef std::future<CreateHostAccountOutcome> CreateHostAccountOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateHostAccountRequest&, const CreateHostAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateHostAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMigrateTaskResult> CreateMigrateTaskOutcome;
|
||||
typedef std::future<CreateMigrateTaskOutcome> CreateMigrateTaskOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::CreateMigrateTaskRequest&, const CreateMigrateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrateTaskAsyncHandler;
|
||||
@@ -692,15 +647,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDatabasesResult> DescribeDatabasesOutcome;
|
||||
typedef std::future<DescribeDatabasesOutcome> DescribeDatabasesOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeDatabasesRequest&, const DescribeDatabasesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDatabasesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDedicatedHostAttributeResult> DescribeDedicatedHostAttributeOutcome;
|
||||
typedef std::future<DescribeDedicatedHostAttributeOutcome> DescribeDedicatedHostAttributeOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeDedicatedHostAttributeRequest&, const DescribeDedicatedHostAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDedicatedHostGroupsResult> DescribeDedicatedHostGroupsOutcome;
|
||||
typedef std::future<DescribeDedicatedHostGroupsOutcome> DescribeDedicatedHostGroupsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeDedicatedHostGroupsRequest&, const DescribeDedicatedHostGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDedicatedHostImageCategoriesResult> DescribeDedicatedHostImageCategoriesOutcome;
|
||||
typedef std::future<DescribeDedicatedHostImageCategoriesOutcome> DescribeDedicatedHostImageCategoriesOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeDedicatedHostImageCategoriesRequest&, const DescribeDedicatedHostImageCategoriesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostImageCategoriesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDedicatedHostsResult> DescribeDedicatedHostsOutcome;
|
||||
typedef std::future<DescribeDedicatedHostsOutcome> DescribeDedicatedHostsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeDedicatedHostsRequest&, const DescribeDedicatedHostsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDedicatedHostsAsyncHandler;
|
||||
@@ -719,9 +668,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeHASwitchConfigResult> DescribeHASwitchConfigOutcome;
|
||||
typedef std::future<DescribeHASwitchConfigOutcome> DescribeHASwitchConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeHASwitchConfigRequest&, const DescribeHASwitchConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHASwitchConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeHostAccountsResult> DescribeHostAccountsOutcome;
|
||||
typedef std::future<DescribeHostAccountsOutcome> DescribeHostAccountsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeHostAccountsRequest&, const DescribeHostAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHostAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInstanceAutoRenewalAttributeResult> DescribeInstanceAutoRenewalAttributeOutcome;
|
||||
typedef std::future<DescribeInstanceAutoRenewalAttributeOutcome> DescribeInstanceAutoRenewalAttributeOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeInstanceAutoRenewalAttributeRequest&, const DescribeInstanceAutoRenewalAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceAutoRenewalAttributeAsyncHandler;
|
||||
@@ -749,9 +695,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeModifyParameterLogResult> DescribeModifyParameterLogOutcome;
|
||||
typedef std::future<DescribeModifyParameterLogOutcome> DescribeModifyParameterLogOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeModifyParameterLogRequest&, const DescribeModifyParameterLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModifyParameterLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNextEventForSignResult> DescribeNextEventForSignOutcome;
|
||||
typedef std::future<DescribeNextEventForSignOutcome> DescribeNextEventForSignOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeNextEventForSignRequest&, const DescribeNextEventForSignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNextEventForSignAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOssDownloadsResult> DescribeOssDownloadsOutcome;
|
||||
typedef std::future<DescribeOssDownloadsOutcome> DescribeOssDownloadsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeOssDownloadsRequest&, const DescribeOssDownloadsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssDownloadsAsyncHandler;
|
||||
@@ -812,9 +755,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSecurityGroupConfigurationResult> DescribeSecurityGroupConfigurationOutcome;
|
||||
typedef std::future<DescribeSecurityGroupConfigurationOutcome> DescribeSecurityGroupConfigurationOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeSecurityGroupConfigurationRequest&, const DescribeSecurityGroupConfigurationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSecurityGroupConfigurationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSignedEventActionsResult> DescribeSignedEventActionsOutcome;
|
||||
typedef std::future<DescribeSignedEventActionsOutcome> DescribeSignedEventActionsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeSignedEventActionsRequest&, const DescribeSignedEventActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSignedEventActionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSlowLogRecordsResult> DescribeSlowLogRecordsOutcome;
|
||||
typedef std::future<DescribeSlowLogRecordsOutcome> DescribeSlowLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DescribeSlowLogRecordsRequest&, const DescribeSlowLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogRecordsAsyncHandler;
|
||||
@@ -830,9 +770,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DestroyDBInstanceResult> DestroyDBInstanceOutcome;
|
||||
typedef std::future<DestroyDBInstanceOutcome> DestroyDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::DestroyDBInstanceRequest&, const DestroyDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DestroyDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDBInstanceTopologyResult> GetDBInstanceTopologyOutcome;
|
||||
typedef std::future<GetDBInstanceTopologyOutcome> GetDBInstanceTopologyOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::GetDBInstanceTopologyRequest&, const GetDBInstanceTopologyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDBInstanceTopologyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDbProxyInstanceSslResult> GetDbProxyInstanceSslOutcome;
|
||||
typedef std::future<GetDbProxyInstanceSslOutcome> GetDbProxyInstanceSslOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::GetDbProxyInstanceSslRequest&, const GetDbProxyInstanceSslOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDbProxyInstanceSslAsyncHandler;
|
||||
@@ -869,9 +806,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyActionEventPolicyResult> ModifyActionEventPolicyOutcome;
|
||||
typedef std::future<ModifyActionEventPolicyOutcome> ModifyActionEventPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyActionEventPolicyRequest&, const ModifyActionEventPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyActionEventPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyActionEventVerifyPolicyResult> ModifyActionEventVerifyPolicyOutcome;
|
||||
typedef std::future<ModifyActionEventVerifyPolicyOutcome> ModifyActionEventVerifyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyActionEventVerifyPolicyRequest&, const ModifyActionEventVerifyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyActionEventVerifyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyBackupPolicyResult> ModifyBackupPolicyOutcome;
|
||||
typedef std::future<ModifyBackupPolicyOutcome> ModifyBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyBackupPolicyRequest&, const ModifyBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPolicyAsyncHandler;
|
||||
@@ -944,15 +878,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDbProxyInstanceSslResult> ModifyDbProxyInstanceSslOutcome;
|
||||
typedef std::future<ModifyDbProxyInstanceSslOutcome> ModifyDbProxyInstanceSslOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyDbProxyInstanceSslRequest&, const ModifyDbProxyInstanceSslOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDbProxyInstanceSslAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDedicatedHostAccountResult> ModifyDedicatedHostAccountOutcome;
|
||||
typedef std::future<ModifyDedicatedHostAccountOutcome> ModifyDedicatedHostAccountOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyDedicatedHostAccountRequest&, const ModifyDedicatedHostAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDedicatedHostAttributeResult> ModifyDedicatedHostAttributeOutcome;
|
||||
typedef std::future<ModifyDedicatedHostAttributeOutcome> ModifyDedicatedHostAttributeOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyDedicatedHostAttributeRequest&, const ModifyDedicatedHostAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDedicatedHostGroupAttributeResult> ModifyDedicatedHostGroupAttributeOutcome;
|
||||
typedef std::future<ModifyDedicatedHostGroupAttributeOutcome> ModifyDedicatedHostGroupAttributeOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyDedicatedHostGroupAttributeRequest&, const ModifyDedicatedHostGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDedicatedHostGroupAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyHASwitchConfigResult> ModifyHASwitchConfigOutcome;
|
||||
typedef std::future<ModifyHASwitchConfigOutcome> ModifyHASwitchConfigOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyHASwitchConfigRequest&, const ModifyHASwitchConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyHASwitchConfigAsyncHandler;
|
||||
@@ -962,9 +887,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyInstanceCrossBackupPolicyResult> ModifyInstanceCrossBackupPolicyOutcome;
|
||||
typedef std::future<ModifyInstanceCrossBackupPolicyOutcome> ModifyInstanceCrossBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyInstanceCrossBackupPolicyRequest&, const ModifyInstanceCrossBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyInstanceCrossBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyLicenseInfoResult> ModifyLicenseInfoOutcome;
|
||||
typedef std::future<ModifyLicenseInfoOutcome> ModifyLicenseInfoOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyLicenseInfoRequest&, const ModifyLicenseInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyLicenseInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyParameterResult> ModifyParameterOutcome;
|
||||
typedef std::future<ModifyParameterOutcome> ModifyParameterOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ModifyParameterRequest&, const ModifyParameterOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyParameterAsyncHandler;
|
||||
@@ -1016,9 +938,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RenewInstanceResult> RenewInstanceOutcome;
|
||||
typedef std::future<RenewInstanceOutcome> RenewInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::RenewInstanceRequest&, const RenewInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReplaceDedicatedHostResult> ReplaceDedicatedHostOutcome;
|
||||
typedef std::future<ReplaceDedicatedHostOutcome> ReplaceDedicatedHostOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ReplaceDedicatedHostRequest&, const ReplaceDedicatedHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReplaceDedicatedHostAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetAccountResult> ResetAccountOutcome;
|
||||
typedef std::future<ResetAccountOutcome> ResetAccountOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ResetAccountRequest&, const ResetAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAccountAsyncHandler;
|
||||
@@ -1028,15 +947,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResetAccountPasswordResult> ResetAccountPasswordOutcome;
|
||||
typedef std::future<ResetAccountPasswordOutcome> ResetAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ResetAccountPasswordRequest&, const ResetAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetHostAccountPasswordResult> ResetHostAccountPasswordOutcome;
|
||||
typedef std::future<ResetHostAccountPasswordOutcome> ResetHostAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::ResetHostAccountPasswordRequest&, const ResetHostAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetHostAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDBInstanceResult> RestartDBInstanceOutcome;
|
||||
typedef std::future<RestartDBInstanceOutcome> RestartDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::RestartDBInstanceRequest&, const RestartDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDedicatedHostResult> RestartDedicatedHostOutcome;
|
||||
typedef std::future<RestartDedicatedHostOutcome> RestartDedicatedHostOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::RestartDedicatedHostRequest&, const RestartDedicatedHostOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDedicatedHostAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestoreDdrTableResult> RestoreDdrTableOutcome;
|
||||
typedef std::future<RestoreDdrTableOutcome> RestoreDdrTableOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::RestoreDdrTableRequest&, const RestoreDdrTableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestoreDdrTableAsyncHandler;
|
||||
@@ -1049,9 +962,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RevokeOperatorPermissionResult> RevokeOperatorPermissionOutcome;
|
||||
typedef std::future<RevokeOperatorPermissionOutcome> RevokeOperatorPermissionOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::RevokeOperatorPermissionRequest&, const RevokeOperatorPermissionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RevokeOperatorPermissionAsyncHandler;
|
||||
typedef Outcome<Error, Model::SignEventActionResult> SignEventActionOutcome;
|
||||
typedef std::future<SignEventActionOutcome> SignEventActionOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::SignEventActionRequest&, const SignEventActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SignEventActionAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartDBInstanceResult> StartDBInstanceOutcome;
|
||||
typedef std::future<StartDBInstanceOutcome> StartDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const RdsClient*, const Model::StartDBInstanceRequest&, const StartDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartDBInstanceAsyncHandler;
|
||||
@@ -1126,9 +1036,6 @@ namespace AlibabaCloud
|
||||
CheckInstanceExistOutcome checkInstanceExist(const Model::CheckInstanceExistRequest &request)const;
|
||||
void checkInstanceExistAsync(const Model::CheckInstanceExistRequest& request, const CheckInstanceExistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckInstanceExistOutcomeCallable checkInstanceExistCallable(const Model::CheckInstanceExistRequest& request) const;
|
||||
ClearDedicatedHostOutcome clearDedicatedHost(const Model::ClearDedicatedHostRequest &request)const;
|
||||
void clearDedicatedHostAsync(const Model::ClearDedicatedHostRequest& request, const ClearDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ClearDedicatedHostOutcomeCallable clearDedicatedHostCallable(const Model::ClearDedicatedHostRequest& request) const;
|
||||
CloneDBInstanceOutcome cloneDBInstance(const Model::CloneDBInstanceRequest &request)const;
|
||||
void cloneDBInstanceAsync(const Model::CloneDBInstanceRequest& request, const CloneDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CloneDBInstanceOutcomeCallable cloneDBInstanceCallable(const Model::CloneDBInstanceRequest& request) const;
|
||||
@@ -1159,15 +1066,9 @@ namespace AlibabaCloud
|
||||
CreateDdrInstanceOutcome createDdrInstance(const Model::CreateDdrInstanceRequest &request)const;
|
||||
void createDdrInstanceAsync(const Model::CreateDdrInstanceRequest& request, const CreateDdrInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDdrInstanceOutcomeCallable createDdrInstanceCallable(const Model::CreateDdrInstanceRequest& request) const;
|
||||
CreateDedicatedHostOutcome createDedicatedHost(const Model::CreateDedicatedHostRequest &request)const;
|
||||
void createDedicatedHostAsync(const Model::CreateDedicatedHostRequest& request, const CreateDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDedicatedHostOutcomeCallable createDedicatedHostCallable(const Model::CreateDedicatedHostRequest& request) const;
|
||||
CreateDiagnosticReportOutcome createDiagnosticReport(const Model::CreateDiagnosticReportRequest &request)const;
|
||||
void createDiagnosticReportAsync(const Model::CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDiagnosticReportOutcomeCallable createDiagnosticReportCallable(const Model::CreateDiagnosticReportRequest& request) const;
|
||||
CreateHostAccountOutcome createHostAccount(const Model::CreateHostAccountRequest &request)const;
|
||||
void createHostAccountAsync(const Model::CreateHostAccountRequest& request, const CreateHostAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateHostAccountOutcomeCallable createHostAccountCallable(const Model::CreateHostAccountRequest& request) const;
|
||||
CreateMigrateTaskOutcome createMigrateTask(const Model::CreateMigrateTaskRequest &request)const;
|
||||
void createMigrateTaskAsync(const Model::CreateMigrateTaskRequest& request, const CreateMigrateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMigrateTaskOutcomeCallable createMigrateTaskCallable(const Model::CreateMigrateTaskRequest& request) const;
|
||||
@@ -1333,15 +1234,9 @@ namespace AlibabaCloud
|
||||
DescribeDatabasesOutcome describeDatabases(const Model::DescribeDatabasesRequest &request)const;
|
||||
void describeDatabasesAsync(const Model::DescribeDatabasesRequest& request, const DescribeDatabasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDatabasesOutcomeCallable describeDatabasesCallable(const Model::DescribeDatabasesRequest& request) const;
|
||||
DescribeDedicatedHostAttributeOutcome describeDedicatedHostAttribute(const Model::DescribeDedicatedHostAttributeRequest &request)const;
|
||||
void describeDedicatedHostAttributeAsync(const Model::DescribeDedicatedHostAttributeRequest& request, const DescribeDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDedicatedHostAttributeOutcomeCallable describeDedicatedHostAttributeCallable(const Model::DescribeDedicatedHostAttributeRequest& request) const;
|
||||
DescribeDedicatedHostGroupsOutcome describeDedicatedHostGroups(const Model::DescribeDedicatedHostGroupsRequest &request)const;
|
||||
void describeDedicatedHostGroupsAsync(const Model::DescribeDedicatedHostGroupsRequest& request, const DescribeDedicatedHostGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDedicatedHostGroupsOutcomeCallable describeDedicatedHostGroupsCallable(const Model::DescribeDedicatedHostGroupsRequest& request) const;
|
||||
DescribeDedicatedHostImageCategoriesOutcome describeDedicatedHostImageCategories(const Model::DescribeDedicatedHostImageCategoriesRequest &request)const;
|
||||
void describeDedicatedHostImageCategoriesAsync(const Model::DescribeDedicatedHostImageCategoriesRequest& request, const DescribeDedicatedHostImageCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDedicatedHostImageCategoriesOutcomeCallable describeDedicatedHostImageCategoriesCallable(const Model::DescribeDedicatedHostImageCategoriesRequest& request) const;
|
||||
DescribeDedicatedHostsOutcome describeDedicatedHosts(const Model::DescribeDedicatedHostsRequest &request)const;
|
||||
void describeDedicatedHostsAsync(const Model::DescribeDedicatedHostsRequest& request, const DescribeDedicatedHostsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDedicatedHostsOutcomeCallable describeDedicatedHostsCallable(const Model::DescribeDedicatedHostsRequest& request) const;
|
||||
@@ -1360,9 +1255,6 @@ namespace AlibabaCloud
|
||||
DescribeHASwitchConfigOutcome describeHASwitchConfig(const Model::DescribeHASwitchConfigRequest &request)const;
|
||||
void describeHASwitchConfigAsync(const Model::DescribeHASwitchConfigRequest& request, const DescribeHASwitchConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHASwitchConfigOutcomeCallable describeHASwitchConfigCallable(const Model::DescribeHASwitchConfigRequest& request) const;
|
||||
DescribeHostAccountsOutcome describeHostAccounts(const Model::DescribeHostAccountsRequest &request)const;
|
||||
void describeHostAccountsAsync(const Model::DescribeHostAccountsRequest& request, const DescribeHostAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeHostAccountsOutcomeCallable describeHostAccountsCallable(const Model::DescribeHostAccountsRequest& request) const;
|
||||
DescribeInstanceAutoRenewalAttributeOutcome describeInstanceAutoRenewalAttribute(const Model::DescribeInstanceAutoRenewalAttributeRequest &request)const;
|
||||
void describeInstanceAutoRenewalAttributeAsync(const Model::DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInstanceAutoRenewalAttributeOutcomeCallable describeInstanceAutoRenewalAttributeCallable(const Model::DescribeInstanceAutoRenewalAttributeRequest& request) const;
|
||||
@@ -1390,9 +1282,6 @@ namespace AlibabaCloud
|
||||
DescribeModifyParameterLogOutcome describeModifyParameterLog(const Model::DescribeModifyParameterLogRequest &request)const;
|
||||
void describeModifyParameterLogAsync(const Model::DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeModifyParameterLogOutcomeCallable describeModifyParameterLogCallable(const Model::DescribeModifyParameterLogRequest& request) const;
|
||||
DescribeNextEventForSignOutcome describeNextEventForSign(const Model::DescribeNextEventForSignRequest &request)const;
|
||||
void describeNextEventForSignAsync(const Model::DescribeNextEventForSignRequest& request, const DescribeNextEventForSignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNextEventForSignOutcomeCallable describeNextEventForSignCallable(const Model::DescribeNextEventForSignRequest& request) const;
|
||||
DescribeOssDownloadsOutcome describeOssDownloads(const Model::DescribeOssDownloadsRequest &request)const;
|
||||
void describeOssDownloadsAsync(const Model::DescribeOssDownloadsRequest& request, const DescribeOssDownloadsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOssDownloadsOutcomeCallable describeOssDownloadsCallable(const Model::DescribeOssDownloadsRequest& request) const;
|
||||
@@ -1453,9 +1342,6 @@ namespace AlibabaCloud
|
||||
DescribeSecurityGroupConfigurationOutcome describeSecurityGroupConfiguration(const Model::DescribeSecurityGroupConfigurationRequest &request)const;
|
||||
void describeSecurityGroupConfigurationAsync(const Model::DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSecurityGroupConfigurationOutcomeCallable describeSecurityGroupConfigurationCallable(const Model::DescribeSecurityGroupConfigurationRequest& request) const;
|
||||
DescribeSignedEventActionsOutcome describeSignedEventActions(const Model::DescribeSignedEventActionsRequest &request)const;
|
||||
void describeSignedEventActionsAsync(const Model::DescribeSignedEventActionsRequest& request, const DescribeSignedEventActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSignedEventActionsOutcomeCallable describeSignedEventActionsCallable(const Model::DescribeSignedEventActionsRequest& request) const;
|
||||
DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const;
|
||||
void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const;
|
||||
@@ -1471,9 +1357,6 @@ namespace AlibabaCloud
|
||||
DestroyDBInstanceOutcome destroyDBInstance(const Model::DestroyDBInstanceRequest &request)const;
|
||||
void destroyDBInstanceAsync(const Model::DestroyDBInstanceRequest& request, const DestroyDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DestroyDBInstanceOutcomeCallable destroyDBInstanceCallable(const Model::DestroyDBInstanceRequest& request) const;
|
||||
GetDBInstanceTopologyOutcome getDBInstanceTopology(const Model::GetDBInstanceTopologyRequest &request)const;
|
||||
void getDBInstanceTopologyAsync(const Model::GetDBInstanceTopologyRequest& request, const GetDBInstanceTopologyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDBInstanceTopologyOutcomeCallable getDBInstanceTopologyCallable(const Model::GetDBInstanceTopologyRequest& request) const;
|
||||
GetDbProxyInstanceSslOutcome getDbProxyInstanceSsl(const Model::GetDbProxyInstanceSslRequest &request)const;
|
||||
void getDbProxyInstanceSslAsync(const Model::GetDbProxyInstanceSslRequest& request, const GetDbProxyInstanceSslAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDbProxyInstanceSslOutcomeCallable getDbProxyInstanceSslCallable(const Model::GetDbProxyInstanceSslRequest& request) const;
|
||||
@@ -1510,9 +1393,6 @@ namespace AlibabaCloud
|
||||
ModifyActionEventPolicyOutcome modifyActionEventPolicy(const Model::ModifyActionEventPolicyRequest &request)const;
|
||||
void modifyActionEventPolicyAsync(const Model::ModifyActionEventPolicyRequest& request, const ModifyActionEventPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyActionEventPolicyOutcomeCallable modifyActionEventPolicyCallable(const Model::ModifyActionEventPolicyRequest& request) const;
|
||||
ModifyActionEventVerifyPolicyOutcome modifyActionEventVerifyPolicy(const Model::ModifyActionEventVerifyPolicyRequest &request)const;
|
||||
void modifyActionEventVerifyPolicyAsync(const Model::ModifyActionEventVerifyPolicyRequest& request, const ModifyActionEventVerifyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyActionEventVerifyPolicyOutcomeCallable modifyActionEventVerifyPolicyCallable(const Model::ModifyActionEventVerifyPolicyRequest& request) const;
|
||||
ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const;
|
||||
void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const;
|
||||
@@ -1585,15 +1465,6 @@ namespace AlibabaCloud
|
||||
ModifyDbProxyInstanceSslOutcome modifyDbProxyInstanceSsl(const Model::ModifyDbProxyInstanceSslRequest &request)const;
|
||||
void modifyDbProxyInstanceSslAsync(const Model::ModifyDbProxyInstanceSslRequest& request, const ModifyDbProxyInstanceSslAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDbProxyInstanceSslOutcomeCallable modifyDbProxyInstanceSslCallable(const Model::ModifyDbProxyInstanceSslRequest& request) const;
|
||||
ModifyDedicatedHostAccountOutcome modifyDedicatedHostAccount(const Model::ModifyDedicatedHostAccountRequest &request)const;
|
||||
void modifyDedicatedHostAccountAsync(const Model::ModifyDedicatedHostAccountRequest& request, const ModifyDedicatedHostAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDedicatedHostAccountOutcomeCallable modifyDedicatedHostAccountCallable(const Model::ModifyDedicatedHostAccountRequest& request) const;
|
||||
ModifyDedicatedHostAttributeOutcome modifyDedicatedHostAttribute(const Model::ModifyDedicatedHostAttributeRequest &request)const;
|
||||
void modifyDedicatedHostAttributeAsync(const Model::ModifyDedicatedHostAttributeRequest& request, const ModifyDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDedicatedHostAttributeOutcomeCallable modifyDedicatedHostAttributeCallable(const Model::ModifyDedicatedHostAttributeRequest& request) const;
|
||||
ModifyDedicatedHostGroupAttributeOutcome modifyDedicatedHostGroupAttribute(const Model::ModifyDedicatedHostGroupAttributeRequest &request)const;
|
||||
void modifyDedicatedHostGroupAttributeAsync(const Model::ModifyDedicatedHostGroupAttributeRequest& request, const ModifyDedicatedHostGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDedicatedHostGroupAttributeOutcomeCallable modifyDedicatedHostGroupAttributeCallable(const Model::ModifyDedicatedHostGroupAttributeRequest& request) const;
|
||||
ModifyHASwitchConfigOutcome modifyHASwitchConfig(const Model::ModifyHASwitchConfigRequest &request)const;
|
||||
void modifyHASwitchConfigAsync(const Model::ModifyHASwitchConfigRequest& request, const ModifyHASwitchConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyHASwitchConfigOutcomeCallable modifyHASwitchConfigCallable(const Model::ModifyHASwitchConfigRequest& request) const;
|
||||
@@ -1603,9 +1474,6 @@ namespace AlibabaCloud
|
||||
ModifyInstanceCrossBackupPolicyOutcome modifyInstanceCrossBackupPolicy(const Model::ModifyInstanceCrossBackupPolicyRequest &request)const;
|
||||
void modifyInstanceCrossBackupPolicyAsync(const Model::ModifyInstanceCrossBackupPolicyRequest& request, const ModifyInstanceCrossBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyInstanceCrossBackupPolicyOutcomeCallable modifyInstanceCrossBackupPolicyCallable(const Model::ModifyInstanceCrossBackupPolicyRequest& request) const;
|
||||
ModifyLicenseInfoOutcome modifyLicenseInfo(const Model::ModifyLicenseInfoRequest &request)const;
|
||||
void modifyLicenseInfoAsync(const Model::ModifyLicenseInfoRequest& request, const ModifyLicenseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyLicenseInfoOutcomeCallable modifyLicenseInfoCallable(const Model::ModifyLicenseInfoRequest& request) const;
|
||||
ModifyParameterOutcome modifyParameter(const Model::ModifyParameterRequest &request)const;
|
||||
void modifyParameterAsync(const Model::ModifyParameterRequest& request, const ModifyParameterAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyParameterOutcomeCallable modifyParameterCallable(const Model::ModifyParameterRequest& request) const;
|
||||
@@ -1657,9 +1525,6 @@ namespace AlibabaCloud
|
||||
RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const;
|
||||
void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const;
|
||||
ReplaceDedicatedHostOutcome replaceDedicatedHost(const Model::ReplaceDedicatedHostRequest &request)const;
|
||||
void replaceDedicatedHostAsync(const Model::ReplaceDedicatedHostRequest& request, const ReplaceDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReplaceDedicatedHostOutcomeCallable replaceDedicatedHostCallable(const Model::ReplaceDedicatedHostRequest& request) const;
|
||||
ResetAccountOutcome resetAccount(const Model::ResetAccountRequest &request)const;
|
||||
void resetAccountAsync(const Model::ResetAccountRequest& request, const ResetAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAccountOutcomeCallable resetAccountCallable(const Model::ResetAccountRequest& request) const;
|
||||
@@ -1669,15 +1534,9 @@ namespace AlibabaCloud
|
||||
ResetAccountPasswordOutcome resetAccountPassword(const Model::ResetAccountPasswordRequest &request)const;
|
||||
void resetAccountPasswordAsync(const Model::ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetAccountPasswordOutcomeCallable resetAccountPasswordCallable(const Model::ResetAccountPasswordRequest& request) const;
|
||||
ResetHostAccountPasswordOutcome resetHostAccountPassword(const Model::ResetHostAccountPasswordRequest &request)const;
|
||||
void resetHostAccountPasswordAsync(const Model::ResetHostAccountPasswordRequest& request, const ResetHostAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetHostAccountPasswordOutcomeCallable resetHostAccountPasswordCallable(const Model::ResetHostAccountPasswordRequest& request) const;
|
||||
RestartDBInstanceOutcome restartDBInstance(const Model::RestartDBInstanceRequest &request)const;
|
||||
void restartDBInstanceAsync(const Model::RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDBInstanceOutcomeCallable restartDBInstanceCallable(const Model::RestartDBInstanceRequest& request) const;
|
||||
RestartDedicatedHostOutcome restartDedicatedHost(const Model::RestartDedicatedHostRequest &request)const;
|
||||
void restartDedicatedHostAsync(const Model::RestartDedicatedHostRequest& request, const RestartDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDedicatedHostOutcomeCallable restartDedicatedHostCallable(const Model::RestartDedicatedHostRequest& request) const;
|
||||
RestoreDdrTableOutcome restoreDdrTable(const Model::RestoreDdrTableRequest &request)const;
|
||||
void restoreDdrTableAsync(const Model::RestoreDdrTableRequest& request, const RestoreDdrTableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestoreDdrTableOutcomeCallable restoreDdrTableCallable(const Model::RestoreDdrTableRequest& request) const;
|
||||
@@ -1690,9 +1549,6 @@ namespace AlibabaCloud
|
||||
RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const;
|
||||
void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RevokeOperatorPermissionOutcomeCallable revokeOperatorPermissionCallable(const Model::RevokeOperatorPermissionRequest& request) const;
|
||||
SignEventActionOutcome signEventAction(const Model::SignEventActionRequest &request)const;
|
||||
void signEventActionAsync(const Model::SignEventActionRequest& request, const SignEventActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SignEventActionOutcomeCallable signEventActionCallable(const Model::SignEventActionRequest& request) const;
|
||||
StartDBInstanceOutcome startDBInstance(const Model::StartDBInstanceRequest &request)const;
|
||||
void startDBInstanceAsync(const Model::StartDBInstanceRequest& request, const StartDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartDBInstanceOutcomeCallable startDBInstanceCallable(const Model::StartDBInstanceRequest& request) const;
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CLEARDEDICATEDHOSTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CLEARDEDICATEDHOSTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ClearDedicatedHostRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ClearDedicatedHostRequest();
|
||||
~ClearDedicatedHostRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFailoverMode()const;
|
||||
void setFailoverMode(const std::string& failoverMode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string failoverMode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CLEARDEDICATEDHOSTREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CLEARDEDICATEDHOSTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CLEARDEDICATEDHOSTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ClearDedicatedHostResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ClearDedicatedHostResult();
|
||||
explicit ClearDedicatedHostResult(const std::string &payload);
|
||||
~ClearDedicatedHostResult();
|
||||
std::string getDedicatedHostId()const;
|
||||
std::string getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dedicatedHostId_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CLEARDEDICATEDHOSTRESULT_H_
|
||||
@@ -1,90 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RDS_MODEL_CREATEDEDICATEDHOSTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDedicatedHostRequest();
|
||||
~CreateDedicatedHostRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
void setDedicatedHostGroupId(const std::string& dedicatedHostGroupId);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
std::string getHostClass()const;
|
||||
void setHostClass(const std::string& hostClass);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUsedTime()const;
|
||||
void setUsedTime(const std::string& usedTime);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getAutoRenew()const;
|
||||
void setAutoRenew(const std::string& autoRenew);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string hostName_;
|
||||
std::string regionId_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string period_;
|
||||
std::string hostClass_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string usedTime_;
|
||||
std::string vSwitchId_;
|
||||
std::string autoRenew_;
|
||||
std::string zoneId_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTREQUEST_H_
|
||||
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateDedicatedHostResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DedicateHostListItem
|
||||
{
|
||||
std::string dedicatedHostId;
|
||||
};
|
||||
|
||||
|
||||
CreateDedicatedHostResult();
|
||||
explicit CreateDedicatedHostResult(const std::string &payload);
|
||||
~CreateDedicatedHostResult();
|
||||
std::vector<DedicateHostListItem> getDedicateHostList()const;
|
||||
long getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DedicateHostListItem> dedicateHostList_;
|
||||
long orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEDEDICATEDHOSTRESULT_H_
|
||||
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateHostAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateHostAccountRequest();
|
||||
~CreateHostAccountRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccountType()const;
|
||||
void setAccountType(const std::string& accountType);
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string accountType_;
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT CreateHostAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateHostAccountResult();
|
||||
explicit CreateHostAccountResult(const std::string &payload);
|
||||
~CreateHostAccountResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_CREATEHOSTACCOUNTRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDedicatedHostAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDedicatedHostAttributeRequest();
|
||||
~DescribeDedicatedHostAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
void setDedicatedHostGroupId(const std::string& dedicatedHostGroupId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
@@ -1,113 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDedicatedHostAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeDedicatedHostAttributeResult();
|
||||
explicit DescribeDedicatedHostAttributeResult(const std::string &payload);
|
||||
~DescribeDedicatedHostAttributeResult();
|
||||
std::string getCPUAllocationRatio()const;
|
||||
std::string getDiskAllocationRatio()const;
|
||||
std::string getDedicatedHostId()const;
|
||||
int getInstanceNumber()const;
|
||||
std::string getCreatedTime()const;
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
std::string getAutoRenew()const;
|
||||
std::string getImageCategory()const;
|
||||
int getHostStorage()const;
|
||||
int getInstanceNumberSlave()const;
|
||||
std::string getOpenPermission()const;
|
||||
std::string getHostType()const;
|
||||
std::string getExpiredTime()const;
|
||||
int getHostMem()const;
|
||||
std::string getHostStatus()const;
|
||||
std::string getMemoryUsed()const;
|
||||
std::string getCpuUsed()const;
|
||||
std::string getHostName()const;
|
||||
int getInstanceNumberROSlave()const;
|
||||
std::string getAllocationStatus()const;
|
||||
std::string getZoneId()const;
|
||||
std::string getMemAllocationRatio()const;
|
||||
std::string getVPCId()const;
|
||||
int getInstanceNumberROMaster()const;
|
||||
std::string getVSwitchId()const;
|
||||
int getInstanceNumberMaster()const;
|
||||
std::string getStorageUsed()const;
|
||||
std::string getHostClass()const;
|
||||
int getHostCPU()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getIPAddress()const;
|
||||
std::string getAccountName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string cPUAllocationRatio_;
|
||||
std::string diskAllocationRatio_;
|
||||
std::string dedicatedHostId_;
|
||||
int instanceNumber_;
|
||||
std::string createdTime_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string autoRenew_;
|
||||
std::string imageCategory_;
|
||||
int hostStorage_;
|
||||
int instanceNumberSlave_;
|
||||
std::string openPermission_;
|
||||
std::string hostType_;
|
||||
std::string expiredTime_;
|
||||
int hostMem_;
|
||||
std::string hostStatus_;
|
||||
std::string memoryUsed_;
|
||||
std::string cpuUsed_;
|
||||
std::string hostName_;
|
||||
int instanceNumberROSlave_;
|
||||
std::string allocationStatus_;
|
||||
std::string zoneId_;
|
||||
std::string memAllocationRatio_;
|
||||
std::string vPCId_;
|
||||
int instanceNumberROMaster_;
|
||||
std::string vSwitchId_;
|
||||
int instanceNumberMaster_;
|
||||
std::string storageUsed_;
|
||||
std::string hostClass_;
|
||||
int hostCPU_;
|
||||
std::string regionId_;
|
||||
std::string iPAddress_;
|
||||
std::string accountName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTIMAGECATEGORIESREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTIMAGECATEGORIESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDedicatedHostImageCategoriesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDedicatedHostImageCategoriesRequest();
|
||||
~DescribeDedicatedHostImageCategoriesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getHostGroup()const;
|
||||
void setHostGroup(const std::string& hostGroup);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string hostGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTIMAGECATEGORIESREQUEST_H_
|
||||
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTIMAGECATEGORIESRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTIMAGECATEGORIESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeDedicatedHostImageCategoriesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ImagesItem
|
||||
{
|
||||
std::string imageName;
|
||||
std::string imageCode;
|
||||
};
|
||||
|
||||
|
||||
DescribeDedicatedHostImageCategoriesResult();
|
||||
explicit DescribeDedicatedHostImageCategoriesResult(const std::string &payload);
|
||||
~DescribeDedicatedHostImageCategoriesResult();
|
||||
std::vector<ImagesItem> getImages()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ImagesItem> images_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDEDICATEDHOSTIMAGECATEGORIESRESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeHostAccountsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeHostAccountsRequest();
|
||||
~DescribeHostAccountsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSREQUEST_H_
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeHostAccountsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct AccountsItem
|
||||
{
|
||||
std::string accountDescription;
|
||||
std::string accountStatus;
|
||||
std::string dBInstanceId;
|
||||
std::string accountType;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeHostAccountsResult();
|
||||
explicit DescribeHostAccountsResult(const std::string &payload);
|
||||
~DescribeHostAccountsResult();
|
||||
std::vector<AccountsItem> getAccounts()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<AccountsItem> accounts_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEHOSTACCOUNTSRESULT_H_
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeNextEventForSignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeNextEventForSignRequest();
|
||||
~DescribeNextEventForSignRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNREQUEST_H_
|
||||
@@ -1,56 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeNextEventForSignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EventItemsItem
|
||||
{
|
||||
int eventId;
|
||||
std::string eventContent;
|
||||
};
|
||||
|
||||
|
||||
DescribeNextEventForSignResult();
|
||||
explicit DescribeNextEventForSignResult(const std::string &payload);
|
||||
~DescribeNextEventForSignResult();
|
||||
std::vector<EventItemsItem> getEventItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<EventItemsItem> eventItems_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBENEXTEVENTFORSIGNRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeSignedEventActionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSignedEventActionsRequest();
|
||||
~DescribeSignedEventActionsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getBeginEventId()const;
|
||||
void setBeginEventId(int beginEventId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int beginEventId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSREQUEST_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT DescribeSignedEventActionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct EventItemsItem
|
||||
{
|
||||
int eventId;
|
||||
std::string eventContent;
|
||||
std::string eventSig;
|
||||
std::string eventRcpt;
|
||||
};
|
||||
|
||||
|
||||
DescribeSignedEventActionsResult();
|
||||
explicit DescribeSignedEventActionsResult(const std::string &payload);
|
||||
~DescribeSignedEventActionsResult();
|
||||
std::vector<EventItemsItem> getEventItems()const;
|
||||
int getPageRecordCount()const;
|
||||
bool getToEnd()const;
|
||||
bool getFromBegin()const;
|
||||
int getNextPageEventId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<EventItemsItem> eventItems_;
|
||||
int pageRecordCount_;
|
||||
bool toEnd_;
|
||||
bool fromBegin_;
|
||||
int nextPageEventId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESIGNEDEVENTACTIONSRESULT_H_
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_GETDBINSTANCETOPOLOGYREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_GETDBINSTANCETOPOLOGYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT GetDBInstanceTopologyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDBInstanceTopologyRequest();
|
||||
~GetDBInstanceTopologyRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_GETDBINSTANCETOPOLOGYREQUEST_H_
|
||||
@@ -1,74 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_GETDBINSTANCETOPOLOGYRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_GETDBINSTANCETOPOLOGYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT GetDBInstanceTopologyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Connection
|
||||
{
|
||||
std::string zoneId;
|
||||
std::string connectionString;
|
||||
std::string netType;
|
||||
};
|
||||
struct Node
|
||||
{
|
||||
std::string role;
|
||||
std::string dedicatedHostId;
|
||||
std::string zoneId;
|
||||
std::string dedicatedHostGroupId;
|
||||
};
|
||||
std::vector<Connection> connections;
|
||||
std::vector<Node> nodes;
|
||||
std::string dBInstanceName;
|
||||
};
|
||||
|
||||
|
||||
GetDBInstanceTopologyResult();
|
||||
explicit GetDBInstanceTopologyResult(const std::string &payload);
|
||||
~GetDBInstanceTopologyResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_GETDBINSTANCETOPOLOGYRESULT_H_
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyActionEventVerifyPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyActionEventVerifyPolicyRequest();
|
||||
~ModifyActionEventVerifyPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUserPublicKey()const;
|
||||
void setUserPublicKey(const std::string& userPublicKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string userPublicKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyActionEventVerifyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyActionEventVerifyPolicyResult();
|
||||
explicit ModifyActionEventVerifyPolicyResult(const std::string &payload);
|
||||
~ModifyActionEventVerifyPolicyResult();
|
||||
std::string getRegionId()const;
|
||||
std::string getServerPublicKey()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string serverPublicKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYACTIONEVENTVERIFYPOLICYRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDedicatedHostAccountRequest();
|
||||
~ModifyDedicatedHostAccountRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTACCOUNTREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostAccountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDedicatedHostAccountResult();
|
||||
explicit ModifyDedicatedHostAccountResult(const std::string &payload);
|
||||
~ModifyDedicatedHostAccountResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTACCOUNTRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDedicatedHostAttributeRequest();
|
||||
~ModifyDedicatedHostAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getHostName()const;
|
||||
void setHostName(const std::string& hostName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAllocationStatus()const;
|
||||
void setAllocationStatus(const std::string& allocationStatus);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string hostName_;
|
||||
std::string regionId_;
|
||||
std::string allocationStatus_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTEREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDedicatedHostAttributeResult();
|
||||
explicit ModifyDedicatedHostAttributeResult(const std::string &payload);
|
||||
~ModifyDedicatedHostAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTATTRIBUTERESULT_H_
|
||||
@@ -1,81 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_RDS_MODEL_MODIFYDEDICATEDHOSTGROUPATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTGROUPATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostGroupAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDedicatedHostGroupAttributeRequest();
|
||||
~ModifyDedicatedHostGroupAttributeRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getCpuAllocationRatio()const;
|
||||
void setCpuAllocationRatio(int cpuAllocationRatio);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDedicatedHostGroupId()const;
|
||||
void setDedicatedHostGroupId(const std::string& dedicatedHostGroupId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
int getDiskAllocationRatio()const;
|
||||
void setDiskAllocationRatio(int diskAllocationRatio);
|
||||
int getMemAllocationRatio()const;
|
||||
void setMemAllocationRatio(int memAllocationRatio);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getHostReplacePolicy()const;
|
||||
void setHostReplacePolicy(const std::string& hostReplacePolicy);
|
||||
std::string getDedicatedHostGroupDesc()const;
|
||||
void setDedicatedHostGroupDesc(const std::string& dedicatedHostGroupDesc);
|
||||
std::string getAllocationPolicy()const;
|
||||
void setAllocationPolicy(const std::string& allocationPolicy);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int cpuAllocationRatio_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dedicatedHostGroupId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int diskAllocationRatio_;
|
||||
int memAllocationRatio_;
|
||||
long ownerId_;
|
||||
std::string hostReplacePolicy_;
|
||||
std::string dedicatedHostGroupDesc_;
|
||||
std::string allocationPolicy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTGROUPATTRIBUTEREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTGROUPATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTGROUPATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyDedicatedHostGroupAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDedicatedHostGroupAttributeResult();
|
||||
explicit ModifyDedicatedHostGroupAttributeResult(const std::string &payload);
|
||||
~ModifyDedicatedHostGroupAttributeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDEDICATEDHOSTGROUPATTRIBUTERESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYLICENSEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYLICENSEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyLicenseInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyLicenseInfoRequest();
|
||||
~ModifyLicenseInfoRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getLicense()const;
|
||||
void setLicense(const std::string& license);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string clientToken_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string license_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYLICENSEINFOREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYLICENSEINFORESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_MODIFYLICENSEINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ModifyLicenseInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyLicenseInfoResult();
|
||||
explicit ModifyLicenseInfoResult(const std::string &payload);
|
||||
~ModifyLicenseInfoResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYLICENSEINFORESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_REPLACEDEDICATEDHOSTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_REPLACEDEDICATEDHOSTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ReplaceDedicatedHostRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReplaceDedicatedHostRequest();
|
||||
~ReplaceDedicatedHostRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFailoverMode()const;
|
||||
void setFailoverMode(const std::string& failoverMode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string failoverMode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_REPLACEDEDICATEDHOSTREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_REPLACEDEDICATEDHOSTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_REPLACEDEDICATEDHOSTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ReplaceDedicatedHostResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ReplaceDedicatedHostResult();
|
||||
explicit ReplaceDedicatedHostResult(const std::string &payload);
|
||||
~ReplaceDedicatedHostResult();
|
||||
std::string getDedicatedHostId()const;
|
||||
int getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dedicatedHostId_;
|
||||
int taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_REPLACEDEDICATEDHOSTRESULT_H_
|
||||
@@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ResetHostAccountPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetHostAccountPasswordRequest();
|
||||
~ResetHostAccountPasswordRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDREQUEST_H_
|
||||
@@ -1,49 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT ResetHostAccountPasswordResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResetHostAccountPasswordResult();
|
||||
explicit ResetHostAccountPasswordResult(const std::string &payload);
|
||||
~ResetHostAccountPasswordResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RESETHOSTACCOUNTPASSWORDRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RESTARTDEDICATEDHOSTREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RESTARTDEDICATEDHOSTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT RestartDedicatedHostRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RestartDedicatedHostRequest();
|
||||
~RestartDedicatedHostRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDedicatedHostId()const;
|
||||
void setDedicatedHostId(const std::string& dedicatedHostId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getFailoverMode()const;
|
||||
void setFailoverMode(const std::string& failoverMode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dedicatedHostId_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string failoverMode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RESTARTDEDICATEDHOSTREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_RESTARTDEDICATEDHOSTRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_RESTARTDEDICATEDHOSTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT RestartDedicatedHostResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RestartDedicatedHostResult();
|
||||
explicit RestartDedicatedHostResult(const std::string &payload);
|
||||
~RestartDedicatedHostResult();
|
||||
std::string getDedicatedHostId()const;
|
||||
int getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dedicatedHostId_;
|
||||
int taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_RESTARTDEDICATEDHOSTRESULT_H_
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT SignEventActionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SignEventActionRequest();
|
||||
~SignEventActionRequest();
|
||||
|
||||
int getEventId()const;
|
||||
void setEventId(int eventId);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getEventSig()const;
|
||||
void setEventSig(const std::string& eventSig);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int eventId_;
|
||||
long resourceOwnerId_;
|
||||
std::string eventSig_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONREQUEST_H_
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONRESULT_H_
|
||||
#define ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rds/RdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RDS_EXPORT SignEventActionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SignEventActionResult();
|
||||
explicit SignEventActionResult(const std::string &payload);
|
||||
~SignEventActionResult();
|
||||
std::string getEventId()const;
|
||||
std::string getEventRcpt()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string eventId_;
|
||||
std::string eventRcpt_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RDS_MODEL_SIGNEVENTACTIONRESULT_H_
|
||||
@@ -411,42 +411,6 @@ RdsClient::CheckInstanceExistOutcomeCallable RdsClient::checkInstanceExistCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ClearDedicatedHostOutcome RdsClient::clearDedicatedHost(const ClearDedicatedHostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ClearDedicatedHostOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ClearDedicatedHostOutcome(ClearDedicatedHostResult(outcome.result()));
|
||||
else
|
||||
return ClearDedicatedHostOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::clearDedicatedHostAsync(const ClearDedicatedHostRequest& request, const ClearDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, clearDedicatedHost(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ClearDedicatedHostOutcomeCallable RdsClient::clearDedicatedHostCallable(const ClearDedicatedHostRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ClearDedicatedHostOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->clearDedicatedHost(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::CloneDBInstanceOutcome RdsClient::cloneDBInstance(const CloneDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,42 +771,6 @@ RdsClient::CreateDdrInstanceOutcomeCallable RdsClient::createDdrInstanceCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::CreateDedicatedHostOutcome RdsClient::createDedicatedHost(const CreateDedicatedHostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateDedicatedHostOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateDedicatedHostOutcome(CreateDedicatedHostResult(outcome.result()));
|
||||
else
|
||||
return CreateDedicatedHostOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::createDedicatedHostAsync(const CreateDedicatedHostRequest& request, const CreateDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createDedicatedHost(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::CreateDedicatedHostOutcomeCallable RdsClient::createDedicatedHostCallable(const CreateDedicatedHostRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateDedicatedHostOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createDedicatedHost(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::CreateDiagnosticReportOutcome RdsClient::createDiagnosticReport(const CreateDiagnosticReportRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -879,42 +807,6 @@ RdsClient::CreateDiagnosticReportOutcomeCallable RdsClient::createDiagnosticRepo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::CreateHostAccountOutcome RdsClient::createHostAccount(const CreateHostAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateHostAccountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateHostAccountOutcome(CreateHostAccountResult(outcome.result()));
|
||||
else
|
||||
return CreateHostAccountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::createHostAccountAsync(const CreateHostAccountRequest& request, const CreateHostAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createHostAccount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::CreateHostAccountOutcomeCallable RdsClient::createHostAccountCallable(const CreateHostAccountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateHostAccountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createHostAccount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::CreateMigrateTaskOutcome RdsClient::createMigrateTask(const CreateMigrateTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2895,42 +2787,6 @@ RdsClient::DescribeDatabasesOutcomeCallable RdsClient::describeDatabasesCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeDedicatedHostAttributeOutcome RdsClient::describeDedicatedHostAttribute(const DescribeDedicatedHostAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDedicatedHostAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDedicatedHostAttributeOutcome(DescribeDedicatedHostAttributeResult(outcome.result()));
|
||||
else
|
||||
return DescribeDedicatedHostAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::describeDedicatedHostAttributeAsync(const DescribeDedicatedHostAttributeRequest& request, const DescribeDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDedicatedHostAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::DescribeDedicatedHostAttributeOutcomeCallable RdsClient::describeDedicatedHostAttributeCallable(const DescribeDedicatedHostAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDedicatedHostAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDedicatedHostAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeDedicatedHostGroupsOutcome RdsClient::describeDedicatedHostGroups(const DescribeDedicatedHostGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2967,42 +2823,6 @@ RdsClient::DescribeDedicatedHostGroupsOutcomeCallable RdsClient::describeDedicat
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeDedicatedHostImageCategoriesOutcome RdsClient::describeDedicatedHostImageCategories(const DescribeDedicatedHostImageCategoriesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDedicatedHostImageCategoriesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDedicatedHostImageCategoriesOutcome(DescribeDedicatedHostImageCategoriesResult(outcome.result()));
|
||||
else
|
||||
return DescribeDedicatedHostImageCategoriesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::describeDedicatedHostImageCategoriesAsync(const DescribeDedicatedHostImageCategoriesRequest& request, const DescribeDedicatedHostImageCategoriesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDedicatedHostImageCategories(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::DescribeDedicatedHostImageCategoriesOutcomeCallable RdsClient::describeDedicatedHostImageCategoriesCallable(const DescribeDedicatedHostImageCategoriesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDedicatedHostImageCategoriesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDedicatedHostImageCategories(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeDedicatedHostsOutcome RdsClient::describeDedicatedHosts(const DescribeDedicatedHostsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3219,42 +3039,6 @@ RdsClient::DescribeHASwitchConfigOutcomeCallable RdsClient::describeHASwitchConf
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeHostAccountsOutcome RdsClient::describeHostAccounts(const DescribeHostAccountsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeHostAccountsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeHostAccountsOutcome(DescribeHostAccountsResult(outcome.result()));
|
||||
else
|
||||
return DescribeHostAccountsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::describeHostAccountsAsync(const DescribeHostAccountsRequest& request, const DescribeHostAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeHostAccounts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::DescribeHostAccountsOutcomeCallable RdsClient::describeHostAccountsCallable(const DescribeHostAccountsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeHostAccountsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeHostAccounts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeInstanceAutoRenewalAttributeOutcome RdsClient::describeInstanceAutoRenewalAttribute(const DescribeInstanceAutoRenewalAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3579,42 +3363,6 @@ RdsClient::DescribeModifyParameterLogOutcomeCallable RdsClient::describeModifyPa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeNextEventForSignOutcome RdsClient::describeNextEventForSign(const DescribeNextEventForSignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeNextEventForSignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeNextEventForSignOutcome(DescribeNextEventForSignResult(outcome.result()));
|
||||
else
|
||||
return DescribeNextEventForSignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::describeNextEventForSignAsync(const DescribeNextEventForSignRequest& request, const DescribeNextEventForSignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeNextEventForSign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::DescribeNextEventForSignOutcomeCallable RdsClient::describeNextEventForSignCallable(const DescribeNextEventForSignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeNextEventForSignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeNextEventForSign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeOssDownloadsOutcome RdsClient::describeOssDownloads(const DescribeOssDownloadsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4335,42 +4083,6 @@ RdsClient::DescribeSecurityGroupConfigurationOutcomeCallable RdsClient::describe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeSignedEventActionsOutcome RdsClient::describeSignedEventActions(const DescribeSignedEventActionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSignedEventActionsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSignedEventActionsOutcome(DescribeSignedEventActionsResult(outcome.result()));
|
||||
else
|
||||
return DescribeSignedEventActionsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::describeSignedEventActionsAsync(const DescribeSignedEventActionsRequest& request, const DescribeSignedEventActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSignedEventActions(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::DescribeSignedEventActionsOutcomeCallable RdsClient::describeSignedEventActionsCallable(const DescribeSignedEventActionsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSignedEventActionsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSignedEventActions(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::DescribeSlowLogRecordsOutcome RdsClient::describeSlowLogRecords(const DescribeSlowLogRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4551,42 +4263,6 @@ RdsClient::DestroyDBInstanceOutcomeCallable RdsClient::destroyDBInstanceCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::GetDBInstanceTopologyOutcome RdsClient::getDBInstanceTopology(const GetDBInstanceTopologyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDBInstanceTopologyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDBInstanceTopologyOutcome(GetDBInstanceTopologyResult(outcome.result()));
|
||||
else
|
||||
return GetDBInstanceTopologyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::getDBInstanceTopologyAsync(const GetDBInstanceTopologyRequest& request, const GetDBInstanceTopologyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDBInstanceTopology(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::GetDBInstanceTopologyOutcomeCallable RdsClient::getDBInstanceTopologyCallable(const GetDBInstanceTopologyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDBInstanceTopologyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDBInstanceTopology(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::GetDbProxyInstanceSslOutcome RdsClient::getDbProxyInstanceSsl(const GetDbProxyInstanceSslRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5019,42 +4695,6 @@ RdsClient::ModifyActionEventPolicyOutcomeCallable RdsClient::modifyActionEventPo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyActionEventVerifyPolicyOutcome RdsClient::modifyActionEventVerifyPolicy(const ModifyActionEventVerifyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyActionEventVerifyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyActionEventVerifyPolicyOutcome(ModifyActionEventVerifyPolicyResult(outcome.result()));
|
||||
else
|
||||
return ModifyActionEventVerifyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::modifyActionEventVerifyPolicyAsync(const ModifyActionEventVerifyPolicyRequest& request, const ModifyActionEventVerifyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyActionEventVerifyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ModifyActionEventVerifyPolicyOutcomeCallable RdsClient::modifyActionEventVerifyPolicyCallable(const ModifyActionEventVerifyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyActionEventVerifyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyActionEventVerifyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyBackupPolicyOutcome RdsClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5919,114 +5559,6 @@ RdsClient::ModifyDbProxyInstanceSslOutcomeCallable RdsClient::modifyDbProxyInsta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyDedicatedHostAccountOutcome RdsClient::modifyDedicatedHostAccount(const ModifyDedicatedHostAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDedicatedHostAccountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDedicatedHostAccountOutcome(ModifyDedicatedHostAccountResult(outcome.result()));
|
||||
else
|
||||
return ModifyDedicatedHostAccountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::modifyDedicatedHostAccountAsync(const ModifyDedicatedHostAccountRequest& request, const ModifyDedicatedHostAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDedicatedHostAccount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ModifyDedicatedHostAccountOutcomeCallable RdsClient::modifyDedicatedHostAccountCallable(const ModifyDedicatedHostAccountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostAccountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDedicatedHostAccount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyDedicatedHostAttributeOutcome RdsClient::modifyDedicatedHostAttribute(const ModifyDedicatedHostAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDedicatedHostAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDedicatedHostAttributeOutcome(ModifyDedicatedHostAttributeResult(outcome.result()));
|
||||
else
|
||||
return ModifyDedicatedHostAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::modifyDedicatedHostAttributeAsync(const ModifyDedicatedHostAttributeRequest& request, const ModifyDedicatedHostAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDedicatedHostAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ModifyDedicatedHostAttributeOutcomeCallable RdsClient::modifyDedicatedHostAttributeCallable(const ModifyDedicatedHostAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDedicatedHostAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyDedicatedHostGroupAttributeOutcome RdsClient::modifyDedicatedHostGroupAttribute(const ModifyDedicatedHostGroupAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDedicatedHostGroupAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDedicatedHostGroupAttributeOutcome(ModifyDedicatedHostGroupAttributeResult(outcome.result()));
|
||||
else
|
||||
return ModifyDedicatedHostGroupAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::modifyDedicatedHostGroupAttributeAsync(const ModifyDedicatedHostGroupAttributeRequest& request, const ModifyDedicatedHostGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDedicatedHostGroupAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ModifyDedicatedHostGroupAttributeOutcomeCallable RdsClient::modifyDedicatedHostGroupAttributeCallable(const ModifyDedicatedHostGroupAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDedicatedHostGroupAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDedicatedHostGroupAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyHASwitchConfigOutcome RdsClient::modifyHASwitchConfig(const ModifyHASwitchConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6135,42 +5667,6 @@ RdsClient::ModifyInstanceCrossBackupPolicyOutcomeCallable RdsClient::modifyInsta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyLicenseInfoOutcome RdsClient::modifyLicenseInfo(const ModifyLicenseInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyLicenseInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyLicenseInfoOutcome(ModifyLicenseInfoResult(outcome.result()));
|
||||
else
|
||||
return ModifyLicenseInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::modifyLicenseInfoAsync(const ModifyLicenseInfoRequest& request, const ModifyLicenseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyLicenseInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ModifyLicenseInfoOutcomeCallable RdsClient::modifyLicenseInfoCallable(const ModifyLicenseInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyLicenseInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyLicenseInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ModifyParameterOutcome RdsClient::modifyParameter(const ModifyParameterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6783,42 +6279,6 @@ RdsClient::RenewInstanceOutcomeCallable RdsClient::renewInstanceCallable(const R
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ReplaceDedicatedHostOutcome RdsClient::replaceDedicatedHost(const ReplaceDedicatedHostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ReplaceDedicatedHostOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ReplaceDedicatedHostOutcome(ReplaceDedicatedHostResult(outcome.result()));
|
||||
else
|
||||
return ReplaceDedicatedHostOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::replaceDedicatedHostAsync(const ReplaceDedicatedHostRequest& request, const ReplaceDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, replaceDedicatedHost(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ReplaceDedicatedHostOutcomeCallable RdsClient::replaceDedicatedHostCallable(const ReplaceDedicatedHostRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ReplaceDedicatedHostOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->replaceDedicatedHost(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ResetAccountOutcome RdsClient::resetAccount(const ResetAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6927,42 +6387,6 @@ RdsClient::ResetAccountPasswordOutcomeCallable RdsClient::resetAccountPasswordCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::ResetHostAccountPasswordOutcome RdsClient::resetHostAccountPassword(const ResetHostAccountPasswordRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ResetHostAccountPasswordOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ResetHostAccountPasswordOutcome(ResetHostAccountPasswordResult(outcome.result()));
|
||||
else
|
||||
return ResetHostAccountPasswordOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::resetHostAccountPasswordAsync(const ResetHostAccountPasswordRequest& request, const ResetHostAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, resetHostAccountPassword(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::ResetHostAccountPasswordOutcomeCallable RdsClient::resetHostAccountPasswordCallable(const ResetHostAccountPasswordRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ResetHostAccountPasswordOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->resetHostAccountPassword(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::RestartDBInstanceOutcome RdsClient::restartDBInstance(const RestartDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6999,42 +6423,6 @@ RdsClient::RestartDBInstanceOutcomeCallable RdsClient::restartDBInstanceCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::RestartDedicatedHostOutcome RdsClient::restartDedicatedHost(const RestartDedicatedHostRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartDedicatedHostOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartDedicatedHostOutcome(RestartDedicatedHostResult(outcome.result()));
|
||||
else
|
||||
return RestartDedicatedHostOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::restartDedicatedHostAsync(const RestartDedicatedHostRequest& request, const RestartDedicatedHostAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartDedicatedHost(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::RestartDedicatedHostOutcomeCallable RdsClient::restartDedicatedHostCallable(const RestartDedicatedHostRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartDedicatedHostOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartDedicatedHost(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::RestoreDdrTableOutcome RdsClient::restoreDdrTable(const RestoreDdrTableRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7179,42 +6567,6 @@ RdsClient::RevokeOperatorPermissionOutcomeCallable RdsClient::revokeOperatorPerm
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::SignEventActionOutcome RdsClient::signEventAction(const SignEventActionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SignEventActionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SignEventActionOutcome(SignEventActionResult(outcome.result()));
|
||||
else
|
||||
return SignEventActionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RdsClient::signEventActionAsync(const SignEventActionRequest& request, const SignEventActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, signEventAction(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RdsClient::SignEventActionOutcomeCallable RdsClient::signEventActionCallable(const SignEventActionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SignEventActionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->signEventAction(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RdsClient::StartDBInstanceOutcome RdsClient::startDBInstance(const StartDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ClearDedicatedHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ClearDedicatedHostRequest;
|
||||
|
||||
ClearDedicatedHostRequest::ClearDedicatedHostRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ClearDedicatedHost")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ClearDedicatedHostRequest::~ClearDedicatedHostRequest()
|
||||
{}
|
||||
|
||||
long ClearDedicatedHostRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostRequest::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setDedicatedHostId(const std::string& dedicatedHostId)
|
||||
{
|
||||
dedicatedHostId_ = dedicatedHostId;
|
||||
setParameter("DedicatedHostId", dedicatedHostId);
|
||||
}
|
||||
|
||||
long ClearDedicatedHostRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostRequest::getFailoverMode()const
|
||||
{
|
||||
return failoverMode_;
|
||||
}
|
||||
|
||||
void ClearDedicatedHostRequest::setFailoverMode(const std::string& failoverMode)
|
||||
{
|
||||
failoverMode_ = failoverMode;
|
||||
setParameter("FailoverMode", failoverMode);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ClearDedicatedHostResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ClearDedicatedHostResult::ClearDedicatedHostResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ClearDedicatedHostResult::ClearDedicatedHostResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ClearDedicatedHostResult::~ClearDedicatedHostResult()
|
||||
{}
|
||||
|
||||
void ClearDedicatedHostResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = value["TaskId"].asString();
|
||||
if(!value["DedicatedHostId"].isNull())
|
||||
dedicatedHostId_ = value["DedicatedHostId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostResult::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
std::string ClearDedicatedHostResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
@@ -1,194 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/CreateDedicatedHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::CreateDedicatedHostRequest;
|
||||
|
||||
CreateDedicatedHostRequest::CreateDedicatedHostRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "CreateDedicatedHost")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDedicatedHostRequest::~CreateDedicatedHostRequest()
|
||||
{}
|
||||
|
||||
long CreateDedicatedHostRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getHostName()const
|
||||
{
|
||||
return hostName_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setHostName(const std::string& hostName)
|
||||
{
|
||||
hostName_ = hostName;
|
||||
setParameter("HostName", hostName);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getDedicatedHostGroupId()const
|
||||
{
|
||||
return dedicatedHostGroupId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setDedicatedHostGroupId(const std::string& dedicatedHostGroupId)
|
||||
{
|
||||
dedicatedHostGroupId_ = dedicatedHostGroupId;
|
||||
setParameter("DedicatedHostGroupId", dedicatedHostGroupId);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getHostClass()const
|
||||
{
|
||||
return hostClass_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setHostClass(const std::string& hostClass)
|
||||
{
|
||||
hostClass_ = hostClass;
|
||||
setParameter("HostClass", hostClass);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateDedicatedHostRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getUsedTime()const
|
||||
{
|
||||
return usedTime_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setUsedTime(const std::string& usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setParameter("UsedTime", usedTime);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setAutoRenew(const std::string& autoRenew)
|
||||
{
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter("AutoRenew", autoRenew);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
}
|
||||
|
||||
std::string CreateDedicatedHostRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
void CreateDedicatedHostRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
}
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/CreateDedicatedHostResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
CreateDedicatedHostResult::CreateDedicatedHostResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateDedicatedHostResult::CreateDedicatedHostResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateDedicatedHostResult::~CreateDedicatedHostResult()
|
||||
{}
|
||||
|
||||
void CreateDedicatedHostResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDedicateHostListNode = value["DedicateHostList"]["DedicateHostListItem"];
|
||||
for (auto valueDedicateHostListDedicateHostListItem : allDedicateHostListNode)
|
||||
{
|
||||
DedicateHostListItem dedicateHostListObject;
|
||||
if(!valueDedicateHostListDedicateHostListItem["DedicatedHostId"].isNull())
|
||||
dedicateHostListObject.dedicatedHostId = valueDedicateHostListDedicateHostListItem["DedicatedHostId"].asString();
|
||||
dedicateHostList_.push_back(dedicateHostListObject);
|
||||
}
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = std::stol(value["OrderId"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<CreateDedicatedHostResult::DedicateHostListItem> CreateDedicatedHostResult::getDedicateHostList()const
|
||||
{
|
||||
return dedicateHostList_;
|
||||
}
|
||||
|
||||
long CreateDedicatedHostResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
@@ -1,139 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/CreateHostAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::CreateHostAccountRequest;
|
||||
|
||||
CreateHostAccountRequest::CreateHostAccountRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "CreateHostAccount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateHostAccountRequest::~CreateHostAccountRequest()
|
||||
{}
|
||||
|
||||
long CreateHostAccountRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getAccountType()const
|
||||
{
|
||||
return accountType_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setAccountType(const std::string& accountType)
|
||||
{
|
||||
accountType_ = accountType;
|
||||
setParameter("AccountType", accountType);
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getAccountDescription()const
|
||||
{
|
||||
return accountDescription_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setAccountDescription(const std::string& accountDescription)
|
||||
{
|
||||
accountDescription_ = accountDescription;
|
||||
setParameter("AccountDescription", accountDescription);
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long CreateHostAccountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateHostAccountRequest::getAccountPassword()const
|
||||
{
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
void CreateHostAccountRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/CreateHostAccountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
CreateHostAccountResult::CreateHostAccountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateHostAccountResult::CreateHostAccountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateHostAccountResult::~CreateHostAccountResult()
|
||||
{}
|
||||
|
||||
void CreateHostAccountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeDedicatedHostAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeDedicatedHostAttributeRequest;
|
||||
|
||||
DescribeDedicatedHostAttributeRequest::DescribeDedicatedHostAttributeRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeDedicatedHostAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDedicatedHostAttributeRequest::~DescribeDedicatedHostAttributeRequest()
|
||||
{}
|
||||
|
||||
long DescribeDedicatedHostAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeRequest::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setDedicatedHostId(const std::string& dedicatedHostId)
|
||||
{
|
||||
dedicatedHostId_ = dedicatedHostId;
|
||||
setParameter("DedicatedHostId", dedicatedHostId);
|
||||
}
|
||||
|
||||
long DescribeDedicatedHostAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeRequest::getDedicatedHostGroupId()const
|
||||
{
|
||||
return dedicatedHostGroupId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostAttributeRequest::setDedicatedHostGroupId(const std::string& dedicatedHostGroupId)
|
||||
{
|
||||
dedicatedHostGroupId_ = dedicatedHostGroupId;
|
||||
setParameter("DedicatedHostGroupId", dedicatedHostGroupId);
|
||||
}
|
||||
|
||||
@@ -1,268 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeDedicatedHostAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeDedicatedHostAttributeResult::DescribeDedicatedHostAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDedicatedHostAttributeResult::DescribeDedicatedHostAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDedicatedHostAttributeResult::~DescribeDedicatedHostAttributeResult()
|
||||
{}
|
||||
|
||||
void DescribeDedicatedHostAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DedicatedHostGroupId"].isNull())
|
||||
dedicatedHostGroupId_ = value["DedicatedHostGroupId"].asString();
|
||||
if(!value["DedicatedHostId"].isNull())
|
||||
dedicatedHostId_ = value["DedicatedHostId"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ZoneId"].isNull())
|
||||
zoneId_ = value["ZoneId"].asString();
|
||||
if(!value["VPCId"].isNull())
|
||||
vPCId_ = value["VPCId"].asString();
|
||||
if(!value["VSwitchId"].isNull())
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
if(!value["IPAddress"].isNull())
|
||||
iPAddress_ = value["IPAddress"].asString();
|
||||
if(!value["HostName"].isNull())
|
||||
hostName_ = value["HostName"].asString();
|
||||
if(!value["HostStatus"].isNull())
|
||||
hostStatus_ = value["HostStatus"].asString();
|
||||
if(!value["HostClass"].isNull())
|
||||
hostClass_ = value["HostClass"].asString();
|
||||
if(!value["HostCPU"].isNull())
|
||||
hostCPU_ = std::stoi(value["HostCPU"].asString());
|
||||
if(!value["HostMem"].isNull())
|
||||
hostMem_ = std::stoi(value["HostMem"].asString());
|
||||
if(!value["HostStorage"].isNull())
|
||||
hostStorage_ = std::stoi(value["HostStorage"].asString());
|
||||
if(!value["CPUAllocationRatio"].isNull())
|
||||
cPUAllocationRatio_ = value["CPUAllocationRatio"].asString();
|
||||
if(!value["MemAllocationRatio"].isNull())
|
||||
memAllocationRatio_ = value["MemAllocationRatio"].asString();
|
||||
if(!value["DiskAllocationRatio"].isNull())
|
||||
diskAllocationRatio_ = value["DiskAllocationRatio"].asString();
|
||||
if(!value["InstanceNumber"].isNull())
|
||||
instanceNumber_ = std::stoi(value["InstanceNumber"].asString());
|
||||
if(!value["InstanceNumberMaster"].isNull())
|
||||
instanceNumberMaster_ = std::stoi(value["InstanceNumberMaster"].asString());
|
||||
if(!value["InstanceNumberSlave"].isNull())
|
||||
instanceNumberSlave_ = std::stoi(value["InstanceNumberSlave"].asString());
|
||||
if(!value["InstanceNumberROMaster"].isNull())
|
||||
instanceNumberROMaster_ = std::stoi(value["InstanceNumberROMaster"].asString());
|
||||
if(!value["InstanceNumberROSlave"].isNull())
|
||||
instanceNumberROSlave_ = std::stoi(value["InstanceNumberROSlave"].asString());
|
||||
if(!value["CreatedTime"].isNull())
|
||||
createdTime_ = value["CreatedTime"].asString();
|
||||
if(!value["ExpiredTime"].isNull())
|
||||
expiredTime_ = value["ExpiredTime"].asString();
|
||||
if(!value["AutoRenew"].isNull())
|
||||
autoRenew_ = value["AutoRenew"].asString();
|
||||
if(!value["AllocationStatus"].isNull())
|
||||
allocationStatus_ = value["AllocationStatus"].asString();
|
||||
if(!value["CpuUsed"].isNull())
|
||||
cpuUsed_ = value["CpuUsed"].asString();
|
||||
if(!value["MemoryUsed"].isNull())
|
||||
memoryUsed_ = value["MemoryUsed"].asString();
|
||||
if(!value["StorageUsed"].isNull())
|
||||
storageUsed_ = value["StorageUsed"].asString();
|
||||
if(!value["HostType"].isNull())
|
||||
hostType_ = value["HostType"].asString();
|
||||
if(!value["AccountName"].isNull())
|
||||
accountName_ = value["AccountName"].asString();
|
||||
if(!value["OpenPermission"].isNull())
|
||||
openPermission_ = value["OpenPermission"].asString();
|
||||
if(!value["ImageCategory"].isNull())
|
||||
imageCategory_ = value["ImageCategory"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getCPUAllocationRatio()const
|
||||
{
|
||||
return cPUAllocationRatio_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getDiskAllocationRatio()const
|
||||
{
|
||||
return diskAllocationRatio_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getInstanceNumber()const
|
||||
{
|
||||
return instanceNumber_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getCreatedTime()const
|
||||
{
|
||||
return createdTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getDedicatedHostGroupId()const
|
||||
{
|
||||
return dedicatedHostGroupId_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getAutoRenew()const
|
||||
{
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getImageCategory()const
|
||||
{
|
||||
return imageCategory_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getHostStorage()const
|
||||
{
|
||||
return hostStorage_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getInstanceNumberSlave()const
|
||||
{
|
||||
return instanceNumberSlave_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getOpenPermission()const
|
||||
{
|
||||
return openPermission_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getHostType()const
|
||||
{
|
||||
return hostType_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getExpiredTime()const
|
||||
{
|
||||
return expiredTime_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getHostMem()const
|
||||
{
|
||||
return hostMem_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getHostStatus()const
|
||||
{
|
||||
return hostStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getMemoryUsed()const
|
||||
{
|
||||
return memoryUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getCpuUsed()const
|
||||
{
|
||||
return cpuUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getHostName()const
|
||||
{
|
||||
return hostName_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getInstanceNumberROSlave()const
|
||||
{
|
||||
return instanceNumberROSlave_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getAllocationStatus()const
|
||||
{
|
||||
return allocationStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getMemAllocationRatio()const
|
||||
{
|
||||
return memAllocationRatio_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getInstanceNumberROMaster()const
|
||||
{
|
||||
return instanceNumberROMaster_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getInstanceNumberMaster()const
|
||||
{
|
||||
return instanceNumberMaster_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getStorageUsed()const
|
||||
{
|
||||
return storageUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getHostClass()const
|
||||
{
|
||||
return hostClass_;
|
||||
}
|
||||
|
||||
int DescribeDedicatedHostAttributeResult::getHostCPU()const
|
||||
{
|
||||
return hostCPU_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getIPAddress()const
|
||||
{
|
||||
return iPAddress_;
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostAttributeResult::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeDedicatedHostImageCategoriesRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeDedicatedHostImageCategoriesRequest;
|
||||
|
||||
DescribeDedicatedHostImageCategoriesRequest::DescribeDedicatedHostImageCategoriesRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeDedicatedHostImageCategories")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDedicatedHostImageCategoriesRequest::~DescribeDedicatedHostImageCategoriesRequest()
|
||||
{}
|
||||
|
||||
long DescribeDedicatedHostImageCategoriesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostImageCategoriesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DescribeDedicatedHostImageCategoriesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostImageCategoriesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostImageCategoriesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDedicatedHostImageCategoriesRequest::getHostGroup()const
|
||||
{
|
||||
return hostGroup_;
|
||||
}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesRequest::setHostGroup(const std::string& hostGroup)
|
||||
{
|
||||
hostGroup_ = hostGroup;
|
||||
setParameter("HostGroup", hostGroup);
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeDedicatedHostImageCategoriesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeDedicatedHostImageCategoriesResult::DescribeDedicatedHostImageCategoriesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDedicatedHostImageCategoriesResult::DescribeDedicatedHostImageCategoriesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDedicatedHostImageCategoriesResult::~DescribeDedicatedHostImageCategoriesResult()
|
||||
{}
|
||||
|
||||
void DescribeDedicatedHostImageCategoriesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allImagesNode = value["Images"]["ImagesItem"];
|
||||
for (auto valueImagesImagesItem : allImagesNode)
|
||||
{
|
||||
ImagesItem imagesObject;
|
||||
if(!valueImagesImagesItem["ImageName"].isNull())
|
||||
imagesObject.imageName = valueImagesImagesItem["ImageName"].asString();
|
||||
if(!valueImagesImagesItem["ImageCode"].isNull())
|
||||
imagesObject.imageCode = valueImagesImagesItem["ImageCode"].asString();
|
||||
images_.push_back(imagesObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeDedicatedHostImageCategoriesResult::ImagesItem> DescribeDedicatedHostImageCategoriesResult::getImages()const
|
||||
{
|
||||
return images_;
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeHostAccountsRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeHostAccountsRequest;
|
||||
|
||||
DescribeHostAccountsRequest::DescribeHostAccountsRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeHostAccounts")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeHostAccountsRequest::~DescribeHostAccountsRequest()
|
||||
{}
|
||||
|
||||
long DescribeHostAccountsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeHostAccountsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHostAccountsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeHostAccountsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeHostAccountsRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void DescribeHostAccountsRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long DescribeHostAccountsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeHostAccountsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeHostAccountsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeHostAccountsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeHostAccountsRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeHostAccountsRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeHostAccountsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeHostAccountsResult::DescribeHostAccountsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeHostAccountsResult::DescribeHostAccountsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeHostAccountsResult::~DescribeHostAccountsResult()
|
||||
{}
|
||||
|
||||
void DescribeHostAccountsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAccountsNode = value["Accounts"]["AccountsItem"];
|
||||
for (auto valueAccountsAccountsItem : allAccountsNode)
|
||||
{
|
||||
AccountsItem accountsObject;
|
||||
if(!valueAccountsAccountsItem["AccountName"].isNull())
|
||||
accountsObject.accountName = valueAccountsAccountsItem["AccountName"].asString();
|
||||
if(!valueAccountsAccountsItem["AccountType"].isNull())
|
||||
accountsObject.accountType = valueAccountsAccountsItem["AccountType"].asString();
|
||||
if(!valueAccountsAccountsItem["AccountDescription"].isNull())
|
||||
accountsObject.accountDescription = valueAccountsAccountsItem["AccountDescription"].asString();
|
||||
if(!valueAccountsAccountsItem["AccountStatus"].isNull())
|
||||
accountsObject.accountStatus = valueAccountsAccountsItem["AccountStatus"].asString();
|
||||
if(!valueAccountsAccountsItem["DBInstanceId"].isNull())
|
||||
accountsObject.dBInstanceId = valueAccountsAccountsItem["DBInstanceId"].asString();
|
||||
accounts_.push_back(accountsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeHostAccountsResult::AccountsItem> DescribeHostAccountsResult::getAccounts()const
|
||||
{
|
||||
return accounts_;
|
||||
}
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeNextEventForSignRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeNextEventForSignRequest;
|
||||
|
||||
DescribeNextEventForSignRequest::DescribeNextEventForSignRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeNextEventForSign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeNextEventForSignRequest::~DescribeNextEventForSignRequest()
|
||||
{}
|
||||
|
||||
long DescribeNextEventForSignRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeNextEventForSignRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeNextEventForSignRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeNextEventForSignRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DescribeNextEventForSignRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeNextEventForSignRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeNextEventForSignRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeNextEventForSignRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeNextEventForSignRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeNextEventForSignRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeNextEventForSignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeNextEventForSignResult::DescribeNextEventForSignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeNextEventForSignResult::DescribeNextEventForSignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeNextEventForSignResult::~DescribeNextEventForSignResult()
|
||||
{}
|
||||
|
||||
void DescribeNextEventForSignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEventItemsNode = value["EventItems"]["EventItemsItem"];
|
||||
for (auto valueEventItemsEventItemsItem : allEventItemsNode)
|
||||
{
|
||||
EventItemsItem eventItemsObject;
|
||||
if(!valueEventItemsEventItemsItem["EventId"].isNull())
|
||||
eventItemsObject.eventId = std::stoi(valueEventItemsEventItemsItem["EventId"].asString());
|
||||
if(!valueEventItemsEventItemsItem["EventContent"].isNull())
|
||||
eventItemsObject.eventContent = valueEventItemsEventItemsItem["EventContent"].asString();
|
||||
eventItems_.push_back(eventItemsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeNextEventForSignResult::EventItemsItem> DescribeNextEventForSignResult::getEventItems()const
|
||||
{
|
||||
return eventItems_;
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeSignedEventActionsRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::DescribeSignedEventActionsRequest;
|
||||
|
||||
DescribeSignedEventActionsRequest::DescribeSignedEventActionsRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "DescribeSignedEventActions")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSignedEventActionsRequest::~DescribeSignedEventActionsRequest()
|
||||
{}
|
||||
|
||||
long DescribeSignedEventActionsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeSignedEventActionsRequest::getBeginEventId()const
|
||||
{
|
||||
return beginEventId_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setBeginEventId(int beginEventId)
|
||||
{
|
||||
beginEventId_ = beginEventId;
|
||||
setParameter("BeginEventId", std::to_string(beginEventId));
|
||||
}
|
||||
|
||||
std::string DescribeSignedEventActionsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long DescribeSignedEventActionsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSignedEventActionsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSignedEventActionsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
int DescribeSignedEventActionsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeSignedEventActionsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/DescribeSignedEventActionsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
DescribeSignedEventActionsResult::DescribeSignedEventActionsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSignedEventActionsResult::DescribeSignedEventActionsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSignedEventActionsResult::~DescribeSignedEventActionsResult()
|
||||
{}
|
||||
|
||||
void DescribeSignedEventActionsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEventItemsNode = value["EventItems"]["EventItemsItem"];
|
||||
for (auto valueEventItemsEventItemsItem : allEventItemsNode)
|
||||
{
|
||||
EventItemsItem eventItemsObject;
|
||||
if(!valueEventItemsEventItemsItem["EventId"].isNull())
|
||||
eventItemsObject.eventId = std::stoi(valueEventItemsEventItemsItem["EventId"].asString());
|
||||
if(!valueEventItemsEventItemsItem["EventContent"].isNull())
|
||||
eventItemsObject.eventContent = valueEventItemsEventItemsItem["EventContent"].asString();
|
||||
if(!valueEventItemsEventItemsItem["EventSig"].isNull())
|
||||
eventItemsObject.eventSig = valueEventItemsEventItemsItem["EventSig"].asString();
|
||||
if(!valueEventItemsEventItemsItem["EventRcpt"].isNull())
|
||||
eventItemsObject.eventRcpt = valueEventItemsEventItemsItem["EventRcpt"].asString();
|
||||
eventItems_.push_back(eventItemsObject);
|
||||
}
|
||||
if(!value["NextPageEventId"].isNull())
|
||||
nextPageEventId_ = std::stoi(value["NextPageEventId"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["FromBegin"].isNull())
|
||||
fromBegin_ = value["FromBegin"].asString() == "true";
|
||||
if(!value["ToEnd"].isNull())
|
||||
toEnd_ = value["ToEnd"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeSignedEventActionsResult::EventItemsItem> DescribeSignedEventActionsResult::getEventItems()const
|
||||
{
|
||||
return eventItems_;
|
||||
}
|
||||
|
||||
int DescribeSignedEventActionsResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
bool DescribeSignedEventActionsResult::getToEnd()const
|
||||
{
|
||||
return toEnd_;
|
||||
}
|
||||
|
||||
bool DescribeSignedEventActionsResult::getFromBegin()const
|
||||
{
|
||||
return fromBegin_;
|
||||
}
|
||||
|
||||
int DescribeSignedEventActionsResult::getNextPageEventId()const
|
||||
{
|
||||
return nextPageEventId_;
|
||||
}
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/GetDBInstanceTopologyRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::GetDBInstanceTopologyRequest;
|
||||
|
||||
GetDBInstanceTopologyRequest::GetDBInstanceTopologyRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "GetDBInstanceTopology")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDBInstanceTopologyRequest::~GetDBInstanceTopologyRequest()
|
||||
{}
|
||||
|
||||
std::string GetDBInstanceTopologyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetDBInstanceTopologyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetDBInstanceTopologyRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void GetDBInstanceTopologyRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/GetDBInstanceTopologyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
GetDBInstanceTopologyResult::GetDBInstanceTopologyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDBInstanceTopologyResult::GetDBInstanceTopologyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDBInstanceTopologyResult::~GetDBInstanceTopologyResult()
|
||||
{}
|
||||
|
||||
void GetDBInstanceTopologyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["DBInstanceName"].isNull())
|
||||
data_.dBInstanceName = dataNode["DBInstanceName"].asString();
|
||||
auto allConnectionsNode = dataNode["Connections"]["Connection"];
|
||||
for (auto dataNodeConnectionsConnection : allConnectionsNode)
|
||||
{
|
||||
Data::Connection connectionObject;
|
||||
if(!dataNodeConnectionsConnection["ConnectionString"].isNull())
|
||||
connectionObject.connectionString = dataNodeConnectionsConnection["ConnectionString"].asString();
|
||||
if(!dataNodeConnectionsConnection["NetType"].isNull())
|
||||
connectionObject.netType = dataNodeConnectionsConnection["NetType"].asString();
|
||||
if(!dataNodeConnectionsConnection["ZoneId"].isNull())
|
||||
connectionObject.zoneId = dataNodeConnectionsConnection["ZoneId"].asString();
|
||||
data_.connections.push_back(connectionObject);
|
||||
}
|
||||
auto allNodesNode = dataNode["Nodes"]["Node"];
|
||||
for (auto dataNodeNodesNode : allNodesNode)
|
||||
{
|
||||
Data::Node nodeObject;
|
||||
if(!dataNodeNodesNode["DedicatedHostGroupId"].isNull())
|
||||
nodeObject.dedicatedHostGroupId = dataNodeNodesNode["DedicatedHostGroupId"].asString();
|
||||
if(!dataNodeNodesNode["DedicatedHostId"].isNull())
|
||||
nodeObject.dedicatedHostId = dataNodeNodesNode["DedicatedHostId"].asString();
|
||||
if(!dataNodeNodesNode["Role"].isNull())
|
||||
nodeObject.role = dataNodeNodesNode["Role"].asString();
|
||||
if(!dataNodeNodesNode["ZoneId"].isNull())
|
||||
nodeObject.zoneId = dataNodeNodesNode["ZoneId"].asString();
|
||||
data_.nodes.push_back(nodeObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDBInstanceTopologyResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetDBInstanceTopologyResult::Data GetDBInstanceTopologyResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetDBInstanceTopologyResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyActionEventVerifyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ModifyActionEventVerifyPolicyRequest;
|
||||
|
||||
ModifyActionEventVerifyPolicyRequest::ModifyActionEventVerifyPolicyRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ModifyActionEventVerifyPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyActionEventVerifyPolicyRequest::~ModifyActionEventVerifyPolicyRequest()
|
||||
{}
|
||||
|
||||
long ModifyActionEventVerifyPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyActionEventVerifyPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyActionEventVerifyPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyActionEventVerifyPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ModifyActionEventVerifyPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyActionEventVerifyPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyActionEventVerifyPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyActionEventVerifyPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyActionEventVerifyPolicyRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyActionEventVerifyPolicyRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyActionEventVerifyPolicyRequest::getUserPublicKey()const
|
||||
{
|
||||
return userPublicKey_;
|
||||
}
|
||||
|
||||
void ModifyActionEventVerifyPolicyRequest::setUserPublicKey(const std::string& userPublicKey)
|
||||
{
|
||||
userPublicKey_ = userPublicKey;
|
||||
setParameter("UserPublicKey", userPublicKey);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyActionEventVerifyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ModifyActionEventVerifyPolicyResult::ModifyActionEventVerifyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyActionEventVerifyPolicyResult::ModifyActionEventVerifyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyActionEventVerifyPolicyResult::~ModifyActionEventVerifyPolicyResult()
|
||||
{}
|
||||
|
||||
void ModifyActionEventVerifyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["ServerPublicKey"].isNull())
|
||||
serverPublicKey_ = value["ServerPublicKey"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyActionEventVerifyPolicyResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string ModifyActionEventVerifyPolicyResult::getServerPublicKey()const
|
||||
{
|
||||
return serverPublicKey_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ModifyDedicatedHostAccountRequest;
|
||||
|
||||
ModifyDedicatedHostAccountRequest::ModifyDedicatedHostAccountRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ModifyDedicatedHostAccount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostAccountRequest::~ModifyDedicatedHostAccountRequest()
|
||||
{}
|
||||
|
||||
long ModifyDedicatedHostAccountRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAccountRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAccountRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAccountRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAccountRequest::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setDedicatedHostId(const std::string& dedicatedHostId)
|
||||
{
|
||||
dedicatedHostId_ = dedicatedHostId;
|
||||
setParameter("DedicatedHostId", dedicatedHostId);
|
||||
}
|
||||
|
||||
long ModifyDedicatedHostAccountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAccountRequest::getAccountPassword()const
|
||||
{
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAccountRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostAccountResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ModifyDedicatedHostAccountResult::ModifyDedicatedHostAccountResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDedicatedHostAccountResult::ModifyDedicatedHostAccountResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostAccountResult::~ModifyDedicatedHostAccountResult()
|
||||
{}
|
||||
|
||||
void ModifyDedicatedHostAccountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ModifyDedicatedHostAttributeRequest;
|
||||
|
||||
ModifyDedicatedHostAttributeRequest::ModifyDedicatedHostAttributeRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ModifyDedicatedHostAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostAttributeRequest::~ModifyDedicatedHostAttributeRequest()
|
||||
{}
|
||||
|
||||
long ModifyDedicatedHostAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAttributeRequest::getHostName()const
|
||||
{
|
||||
return hostName_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setHostName(const std::string& hostName)
|
||||
{
|
||||
hostName_ = hostName;
|
||||
setParameter("HostName", hostName);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAttributeRequest::getAllocationStatus()const
|
||||
{
|
||||
return allocationStatus_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setAllocationStatus(const std::string& allocationStatus)
|
||||
{
|
||||
allocationStatus_ = allocationStatus;
|
||||
setParameter("AllocationStatus", allocationStatus);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostAttributeRequest::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setDedicatedHostId(const std::string& dedicatedHostId)
|
||||
{
|
||||
dedicatedHostId_ = dedicatedHostId;
|
||||
setParameter("DedicatedHostId", dedicatedHostId);
|
||||
}
|
||||
|
||||
long ModifyDedicatedHostAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ModifyDedicatedHostAttributeResult::ModifyDedicatedHostAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDedicatedHostAttributeResult::ModifyDedicatedHostAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostAttributeResult::~ModifyDedicatedHostAttributeResult()
|
||||
{}
|
||||
|
||||
void ModifyDedicatedHostAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,161 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostGroupAttributeRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ModifyDedicatedHostGroupAttributeRequest;
|
||||
|
||||
ModifyDedicatedHostGroupAttributeRequest::ModifyDedicatedHostGroupAttributeRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ModifyDedicatedHostGroupAttribute")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostGroupAttributeRequest::~ModifyDedicatedHostGroupAttributeRequest()
|
||||
{}
|
||||
|
||||
long ModifyDedicatedHostGroupAttributeRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int ModifyDedicatedHostGroupAttributeRequest::getCpuAllocationRatio()const
|
||||
{
|
||||
return cpuAllocationRatio_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setCpuAllocationRatio(int cpuAllocationRatio)
|
||||
{
|
||||
cpuAllocationRatio_ = cpuAllocationRatio;
|
||||
setParameter("CpuAllocationRatio", std::to_string(cpuAllocationRatio));
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getDedicatedHostGroupId()const
|
||||
{
|
||||
return dedicatedHostGroupId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setDedicatedHostGroupId(const std::string& dedicatedHostGroupId)
|
||||
{
|
||||
dedicatedHostGroupId_ = dedicatedHostGroupId;
|
||||
setParameter("DedicatedHostGroupId", dedicatedHostGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int ModifyDedicatedHostGroupAttributeRequest::getDiskAllocationRatio()const
|
||||
{
|
||||
return diskAllocationRatio_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setDiskAllocationRatio(int diskAllocationRatio)
|
||||
{
|
||||
diskAllocationRatio_ = diskAllocationRatio;
|
||||
setParameter("DiskAllocationRatio", std::to_string(diskAllocationRatio));
|
||||
}
|
||||
|
||||
int ModifyDedicatedHostGroupAttributeRequest::getMemAllocationRatio()const
|
||||
{
|
||||
return memAllocationRatio_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setMemAllocationRatio(int memAllocationRatio)
|
||||
{
|
||||
memAllocationRatio_ = memAllocationRatio;
|
||||
setParameter("MemAllocationRatio", std::to_string(memAllocationRatio));
|
||||
}
|
||||
|
||||
long ModifyDedicatedHostGroupAttributeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getHostReplacePolicy()const
|
||||
{
|
||||
return hostReplacePolicy_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setHostReplacePolicy(const std::string& hostReplacePolicy)
|
||||
{
|
||||
hostReplacePolicy_ = hostReplacePolicy;
|
||||
setParameter("HostReplacePolicy", hostReplacePolicy);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getDedicatedHostGroupDesc()const
|
||||
{
|
||||
return dedicatedHostGroupDesc_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setDedicatedHostGroupDesc(const std::string& dedicatedHostGroupDesc)
|
||||
{
|
||||
dedicatedHostGroupDesc_ = dedicatedHostGroupDesc;
|
||||
setParameter("DedicatedHostGroupDesc", dedicatedHostGroupDesc);
|
||||
}
|
||||
|
||||
std::string ModifyDedicatedHostGroupAttributeRequest::getAllocationPolicy()const
|
||||
{
|
||||
return allocationPolicy_;
|
||||
}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeRequest::setAllocationPolicy(const std::string& allocationPolicy)
|
||||
{
|
||||
allocationPolicy_ = allocationPolicy;
|
||||
setParameter("AllocationPolicy", allocationPolicy);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyDedicatedHostGroupAttributeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ModifyDedicatedHostGroupAttributeResult::ModifyDedicatedHostGroupAttributeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDedicatedHostGroupAttributeResult::ModifyDedicatedHostGroupAttributeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDedicatedHostGroupAttributeResult::~ModifyDedicatedHostGroupAttributeResult()
|
||||
{}
|
||||
|
||||
void ModifyDedicatedHostGroupAttributeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyLicenseInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ModifyLicenseInfoRequest;
|
||||
|
||||
ModifyLicenseInfoRequest::ModifyLicenseInfoRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ModifyLicenseInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyLicenseInfoRequest::~ModifyLicenseInfoRequest()
|
||||
{}
|
||||
|
||||
long ModifyLicenseInfoRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyLicenseInfoRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyLicenseInfoRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long ModifyLicenseInfoRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyLicenseInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyLicenseInfoRequest::getLicense()const
|
||||
{
|
||||
return license_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setLicense(const std::string& license)
|
||||
{
|
||||
license_ = license;
|
||||
setParameter("License", license);
|
||||
}
|
||||
|
||||
std::string ModifyLicenseInfoRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void ModifyLicenseInfoRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ModifyLicenseInfoResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ModifyLicenseInfoResult::ModifyLicenseInfoResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyLicenseInfoResult::ModifyLicenseInfoResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyLicenseInfoResult::~ModifyLicenseInfoResult()
|
||||
{}
|
||||
|
||||
void ModifyLicenseInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ReplaceDedicatedHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ReplaceDedicatedHostRequest;
|
||||
|
||||
ReplaceDedicatedHostRequest::ReplaceDedicatedHostRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ReplaceDedicatedHost")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReplaceDedicatedHostRequest::~ReplaceDedicatedHostRequest()
|
||||
{}
|
||||
|
||||
long ReplaceDedicatedHostRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ReplaceDedicatedHostRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ReplaceDedicatedHostRequest::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setDedicatedHostId(const std::string& dedicatedHostId)
|
||||
{
|
||||
dedicatedHostId_ = dedicatedHostId;
|
||||
setParameter("DedicatedHostId", dedicatedHostId);
|
||||
}
|
||||
|
||||
long ReplaceDedicatedHostRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReplaceDedicatedHostRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReplaceDedicatedHostRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string ReplaceDedicatedHostRequest::getFailoverMode()const
|
||||
{
|
||||
return failoverMode_;
|
||||
}
|
||||
|
||||
void ReplaceDedicatedHostRequest::setFailoverMode(const std::string& failoverMode)
|
||||
{
|
||||
failoverMode_ = failoverMode;
|
||||
setParameter("FailoverMode", failoverMode);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ReplaceDedicatedHostResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ReplaceDedicatedHostResult::ReplaceDedicatedHostResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ReplaceDedicatedHostResult::ReplaceDedicatedHostResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ReplaceDedicatedHostResult::~ReplaceDedicatedHostResult()
|
||||
{}
|
||||
|
||||
void ReplaceDedicatedHostResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stoi(value["TaskId"].asString());
|
||||
if(!value["DedicatedHostId"].isNull())
|
||||
dedicatedHostId_ = value["DedicatedHostId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ReplaceDedicatedHostResult::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
int ReplaceDedicatedHostResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ResetHostAccountPasswordRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::ResetHostAccountPasswordRequest;
|
||||
|
||||
ResetHostAccountPasswordRequest::ResetHostAccountPasswordRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "ResetHostAccountPassword")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ResetHostAccountPasswordRequest::~ResetHostAccountPasswordRequest()
|
||||
{}
|
||||
|
||||
long ResetHostAccountPasswordRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ResetHostAccountPasswordRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
std::string ResetHostAccountPasswordRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ResetHostAccountPasswordRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string ResetHostAccountPasswordRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string ResetHostAccountPasswordRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long ResetHostAccountPasswordRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ResetHostAccountPasswordRequest::getAccountPassword()const
|
||||
{
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
void ResetHostAccountPasswordRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/ResetHostAccountPasswordResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
ResetHostAccountPasswordResult::ResetHostAccountPasswordResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ResetHostAccountPasswordResult::ResetHostAccountPasswordResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ResetHostAccountPasswordResult::~ResetHostAccountPasswordResult()
|
||||
{}
|
||||
|
||||
void ResetHostAccountPasswordResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/RestartDedicatedHostRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::RestartDedicatedHostRequest;
|
||||
|
||||
RestartDedicatedHostRequest::RestartDedicatedHostRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "RestartDedicatedHost")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RestartDedicatedHostRequest::~RestartDedicatedHostRequest()
|
||||
{}
|
||||
|
||||
long RestartDedicatedHostRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string RestartDedicatedHostRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string RestartDedicatedHostRequest::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setDedicatedHostId(const std::string& dedicatedHostId)
|
||||
{
|
||||
dedicatedHostId_ = dedicatedHostId;
|
||||
setParameter("DedicatedHostId", dedicatedHostId);
|
||||
}
|
||||
|
||||
long RestartDedicatedHostRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RestartDedicatedHostRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string RestartDedicatedHostRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string RestartDedicatedHostRequest::getFailoverMode()const
|
||||
{
|
||||
return failoverMode_;
|
||||
}
|
||||
|
||||
void RestartDedicatedHostRequest::setFailoverMode(const std::string& failoverMode)
|
||||
{
|
||||
failoverMode_ = failoverMode;
|
||||
setParameter("FailoverMode", failoverMode);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/RestartDedicatedHostResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
RestartDedicatedHostResult::RestartDedicatedHostResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
RestartDedicatedHostResult::RestartDedicatedHostResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
RestartDedicatedHostResult::~RestartDedicatedHostResult()
|
||||
{}
|
||||
|
||||
void RestartDedicatedHostResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskId"].isNull())
|
||||
taskId_ = std::stoi(value["TaskId"].asString());
|
||||
if(!value["DedicatedHostId"].isNull())
|
||||
dedicatedHostId_ = value["DedicatedHostId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string RestartDedicatedHostResult::getDedicatedHostId()const
|
||||
{
|
||||
return dedicatedHostId_;
|
||||
}
|
||||
|
||||
int RestartDedicatedHostResult::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
@@ -1,106 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/SignEventActionRequest.h>
|
||||
|
||||
using AlibabaCloud::Rds::Model::SignEventActionRequest;
|
||||
|
||||
SignEventActionRequest::SignEventActionRequest() :
|
||||
RpcServiceRequest("rds", "2014-08-15", "SignEventAction")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SignEventActionRequest::~SignEventActionRequest()
|
||||
{}
|
||||
|
||||
int SignEventActionRequest::getEventId()const
|
||||
{
|
||||
return eventId_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setEventId(int eventId)
|
||||
{
|
||||
eventId_ = eventId;
|
||||
setParameter("EventId", std::to_string(eventId));
|
||||
}
|
||||
|
||||
long SignEventActionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SignEventActionRequest::getEventSig()const
|
||||
{
|
||||
return eventSig_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setEventSig(const std::string& eventSig)
|
||||
{
|
||||
eventSig_ = eventSig;
|
||||
setParameter("EventSig", eventSig);
|
||||
}
|
||||
|
||||
std::string SignEventActionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long SignEventActionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SignEventActionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SignEventActionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void SignEventActionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rds/model/SignEventActionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rds;
|
||||
using namespace AlibabaCloud::Rds::Model;
|
||||
|
||||
SignEventActionResult::SignEventActionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SignEventActionResult::SignEventActionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SignEventActionResult::~SignEventActionResult()
|
||||
{}
|
||||
|
||||
void SignEventActionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["EventId"].isNull())
|
||||
eventId_ = value["EventId"].asString();
|
||||
if(!value["EventRcpt"].isNull())
|
||||
eventRcpt_ = value["EventRcpt"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SignEventActionResult::getEventId()const
|
||||
{
|
||||
return eventId_;
|
||||
}
|
||||
|
||||
std::string SignEventActionResult::getEventRcpt()const
|
||||
{
|
||||
return eventRcpt_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user