From 67bc9aa0c6419c67f43105a2f941fe3e26d944e0 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 28 May 2019 11:57:53 +0800 Subject: [PATCH] =?UTF-8?q?RDS=20SDK=20Auto=20Released=20By=20tangtai,Vers?= =?UTF-8?q?ion=EF=BC=9A1.36.35?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sdk-team --- CHANGELOG | 3 + VERSION | 2 +- rds/CMakeLists.txt | 228 +- rds/include/alibabacloud/rds/RdsClient.h | 1220 +- rds/include/alibabacloud/rds/RdsExport.h | 62 +- .../rds/model/AddTagsToResourceRequest.h | 88 +- .../rds/model/AddTagsToResourceResult.h | 96 +- ...AllocateInstancePrivateConnectionRequest.h | 88 +- .../AllocateInstancePrivateConnectionResult.h | 96 +- .../AllocateInstancePublicConnectionRequest.h | 88 +- .../AllocateInstancePublicConnectionResult.h | 96 +- .../AllocateInstanceVpcNetworkTypeRequest.h | 88 +- .../AllocateInstanceVpcNetworkTypeResult.h | 96 +- ...ocateReadWriteSplittingConnectionRequest.h | 88 +- ...locateReadWriteSplittingConnectionResult.h | 96 +- .../model/CalculateDBInstanceWeightRequest.h | 88 +- .../model/CalculateDBInstanceWeightResult.h | 96 +- .../rds/model/CancelImportRequest.h | 88 +- .../rds/model/CancelImportResult.h | 96 +- .../model/CheckAccountNameAvailableRequest.h | 88 +- .../model/CheckAccountNameAvailableResult.h | 96 +- .../rds/model/CheckInstanceExistRequest.h | 88 +- .../rds/model/CheckInstanceExistResult.h | 96 +- .../model/CheckRecoveryConditionsRequest.h | 88 +- .../rds/model/CheckRecoveryConditionsResult.h | 96 +- .../rds/model/CheckResourceRequest.h | 88 +- .../rds/model/CheckResourceResult.h | 96 +- .../rds/model/CloneDBInstanceRequest.h | 88 +- .../rds/model/CloneDBInstanceResult.h | 96 +- .../CopyDatabaseBetweenInstancesRequest.h | 88 +- .../CopyDatabaseBetweenInstancesResult.h | 96 +- .../rds/model/CopyDatabaseRequest.h | 88 +- .../rds/model/CopyDatabaseResult.h | 96 +- .../rds/model/CreateAccountRequest.h | 88 +- .../rds/model/CreateAccountResult.h | 96 +- .../rds/model/CreateBackupRequest.h | 88 +- .../rds/model/CreateBackupResult.h | 96 +- .../model/CreateDBInstanceReplicaRequest.h | 88 +- .../rds/model/CreateDBInstanceReplicaResult.h | 96 +- .../rds/model/CreateDBInstanceRequest.h | 97 +- .../rds/model/CreateDBInstanceResult.h | 96 +- .../rds/model/CreateDatabaseRequest.h | 88 +- .../rds/model/CreateDatabaseResult.h | 96 +- .../rds/model/CreateDiagnosticReportRequest.h | 88 +- .../rds/model/CreateDiagnosticReportResult.h | 96 +- .../CreateMigrateTaskForSQLServerRequest.h | 88 +- .../CreateMigrateTaskForSQLServerResult.h | 96 +- .../rds/model/CreateMigrateTaskRequest.h | 88 +- .../rds/model/CreateMigrateTaskResult.h | 96 +- .../model/CreateOnlineDatabaseTaskRequest.h | 88 +- .../model/CreateOnlineDatabaseTaskResult.h | 96 +- .../model/CreateReadOnlyDBInstanceRequest.h | 88 +- .../model/CreateReadOnlyDBInstanceResult.h | 96 +- .../rds/model/CreateTempDBInstanceRequest.h | 88 +- .../rds/model/CreateTempDBInstanceResult.h | 96 +- .../rds/model/DeleteAccountRequest.h | 88 +- .../rds/model/DeleteAccountResult.h | 96 +- .../rds/model/DeleteBackupRequest.h | 88 +- .../rds/model/DeleteBackupResult.h | 96 +- .../rds/model/DeleteDBInstanceRequest.h | 88 +- .../rds/model/DeleteDBInstanceResult.h | 96 +- .../rds/model/DeleteDatabaseRequest.h | 88 +- .../rds/model/DeleteDatabaseResult.h | 96 +- .../model/DescibeImportsFromDatabaseRequest.h | 88 +- .../model/DescibeImportsFromDatabaseResult.h | 96 +- .../rds/model/DescribeAccountsRequest.h | 88 +- .../rds/model/DescribeAccountsResult.h | 96 +- .../DescribeAvailableInstanceClassRequest.h | 88 +- .../DescribeAvailableInstanceClassResult.h | 96 +- .../model/DescribeAvailableResourceRequest.h | 88 +- .../model/DescribeAvailableResourceResult.h | 96 +- .../rds/model/DescribeBackupDatabaseRequest.h | 88 +- .../rds/model/DescribeBackupDatabaseResult.h | 96 +- .../rds/model/DescribeBackupPolicyRequest.h | 88 +- .../rds/model/DescribeBackupPolicyResult.h | 96 +- .../rds/model/DescribeBackupTasksRequest.h | 88 +- .../rds/model/DescribeBackupTasksResult.h | 96 +- .../rds/model/DescribeBackupsRequest.h | 88 +- .../rds/model/DescribeBackupsResult.h | 96 +- .../rds/model/DescribeBinlogFilesRequest.h | 88 +- .../rds/model/DescribeBinlogFilesResult.h | 96 +- .../model/DescribeCharacterSetNameRequest.h | 88 +- .../model/DescribeCharacterSetNameResult.h | 96 +- .../DescribeCloudDbExpertServiceRequest.h | 88 +- .../DescribeCloudDbExpertServiceResult.h | 96 +- .../model/DescribeCollationTimeZonesRequest.h | 88 +- .../model/DescribeCollationTimeZonesResult.h | 96 +- .../DescribeDBInstanceAttributeRequest.h | 88 +- .../model/DescribeDBInstanceAttributeResult.h | 96 +- .../model/DescribeDBInstanceByTagsRequest.h | 88 +- .../model/DescribeDBInstanceByTagsResult.h | 96 +- .../model/DescribeDBInstanceHAConfigRequest.h | 88 +- .../model/DescribeDBInstanceHAConfigResult.h | 96 +- .../DescribeDBInstanceIPArrayListRequest.h | 88 +- .../DescribeDBInstanceIPArrayListResult.h | 96 +- .../model/DescribeDBInstanceMonitorRequest.h | 88 +- .../model/DescribeDBInstanceMonitorResult.h | 96 +- .../model/DescribeDBInstanceNetInfoRequest.h | 88 +- .../model/DescribeDBInstanceNetInfoResult.h | 96 +- .../DescribeDBInstancePerformanceRequest.h | 88 +- .../DescribeDBInstancePerformanceResult.h | 96 +- ...cribeDBInstanceProxyConfigurationRequest.h | 88 +- ...scribeDBInstanceProxyConfigurationResult.h | 96 +- .../rds/model/DescribeDBInstanceSSLRequest.h | 88 +- .../rds/model/DescribeDBInstanceSSLResult.h | 96 +- .../rds/model/DescribeDBInstanceTDERequest.h | 88 +- .../rds/model/DescribeDBInstanceTDEResult.h | 96 +- .../model/DescribeDBInstancesAsCsvRequest.h | 88 +- .../model/DescribeDBInstancesAsCsvResult.h | 96 +- .../DescribeDBInstancesByExpireTimeRequest.h | 88 +- .../DescribeDBInstancesByExpireTimeResult.h | 96 +- .../DescribeDBInstancesByPerformanceRequest.h | 151 +- .../DescribeDBInstancesByPerformanceResult.h | 96 +- .../rds/model/DescribeDBInstancesRequest.h | 88 +- .../rds/model/DescribeDBInstancesResult.h | 96 +- .../rds/model/DescribeDatabasesRequest.h | 88 +- .../rds/model/DescribeDatabasesResult.h | 96 +- .../DescribeDiagnosticReportListRequest.h | 88 +- .../DescribeDiagnosticReportListResult.h | 96 +- .../rds/model/DescribeErrorLogsRequest.h | 88 +- .../rds/model/DescribeErrorLogsResult.h | 96 +- ...cribeInstanceAutoRenewalAttributeRequest.h | 88 +- ...scribeInstanceAutoRenewalAttributeResult.h | 96 +- .../DescribeInstanceVpcMigrateInfoRequest.h | 88 +- .../DescribeInstanceVpcMigrateInfoResult.h | 96 +- .../rds/model/DescribeLogBackupFilesRequest.h | 88 +- .../rds/model/DescribeLogBackupFilesResult.h | 96 +- .../rds/model/DescribeMetaListRequest.h | 88 +- .../rds/model/DescribeMetaListResult.h | 96 +- .../DescribeMigrateTasksForSQLServerRequest.h | 88 +- .../DescribeMigrateTasksForSQLServerResult.h | 96 +- .../rds/model/DescribeMigrateTasksRequest.h | 88 +- .../rds/model/DescribeMigrateTasksResult.h | 96 +- .../model/DescribeModifyParameterLogRequest.h | 88 +- .../model/DescribeModifyParameterLogResult.h | 96 +- .../DescribeOssDownloadsForSQLServerRequest.h | 88 +- .../DescribeOssDownloadsForSQLServerResult.h | 96 +- .../rds/model/DescribeOssDownloadsRequest.h | 88 +- .../rds/model/DescribeOssDownloadsResult.h | 96 +- .../model/DescribeParameterTemplatesRequest.h | 88 +- .../model/DescribeParameterTemplatesResult.h | 96 +- .../rds/model/DescribeParametersRequest.h | 88 +- .../rds/model/DescribeParametersResult.h | 96 +- .../rds/model/DescribePriceRequest.h | 88 +- .../rds/model/DescribePriceResult.h | 96 +- .../DescribeProxyFunctionSupportRequest.h | 88 +- .../DescribeProxyFunctionSupportResult.h | 96 +- .../DescribeReadDBInstanceDelayRequest.h | 88 +- .../model/DescribeReadDBInstanceDelayResult.h | 96 +- .../rds/model/DescribeRegionsRequest.h | 88 +- .../rds/model/DescribeRegionsResult.h | 96 +- .../rds/model/DescribeRenewalPriceRequest.h | 88 +- .../rds/model/DescribeRenewalPriceResult.h | 96 +- .../rds/model/DescribeResourceUsageRequest.h | 88 +- .../rds/model/DescribeResourceUsageResult.h | 96 +- .../rds/model/DescribeSQLLogFilesRequest.h | 88 +- .../rds/model/DescribeSQLLogFilesResult.h | 96 +- .../rds/model/DescribeSQLLogRecordsRequest.h | 88 +- .../rds/model/DescribeSQLLogRecordsResult.h | 96 +- .../model/DescribeSQLLogReportListRequest.h | 88 +- .../model/DescribeSQLLogReportListResult.h | 96 +- .../rds/model/DescribeSQLLogReportsRequest.h | 88 +- .../rds/model/DescribeSQLLogReportsResult.h | 96 +- .../rds/model/DescribeSQLReportsRequest.h | 88 +- .../rds/model/DescribeSQLReportsResult.h | 96 +- ...escribeSecurityGroupConfigurationRequest.h | 88 +- ...DescribeSecurityGroupConfigurationResult.h | 96 +- .../rds/model/DescribeSlowLogRecordsRequest.h | 88 +- .../rds/model/DescribeSlowLogRecordsResult.h | 96 +- .../rds/model/DescribeSlowLogsRequest.h | 88 +- .../rds/model/DescribeSlowLogsResult.h | 96 +- .../rds/model/DescribeTagsRequest.h | 88 +- .../rds/model/DescribeTagsResult.h | 96 +- .../rds/model/DescribeTaskInfoRequest.h | 88 +- .../rds/model/DescribeTaskInfoResult.h | 96 +- .../rds/model/DescribeTasksRequest.h | 88 +- .../rds/model/DescribeTasksResult.h | 96 +- .../rds/model/DescribeTemplatesListRequest.h | 88 +- .../rds/model/DescribeTemplatesListResult.h | 96 +- .../model/EvaluateSupportByokShowRequest.h | 81 + .../rds/model/EvaluateSupportByokShowResult.h | 53 + .../rds/model/GrantAccountPrivilegeRequest.h | 88 +- .../rds/model/GrantAccountPrivilegeResult.h | 96 +- .../model/GrantOperatorPermissionRequest.h | 88 +- .../rds/model/GrantOperatorPermissionResult.h | 96 +- .../rds/model/ImportDataForSQLServerRequest.h | 88 +- .../rds/model/ImportDataForSQLServerResult.h | 96 +- .../ImportDatabaseBetweenInstancesRequest.h | 88 +- .../ImportDatabaseBetweenInstancesResult.h | 96 +- .../rds/model/MigrateSecurityIPModeRequest.h | 88 +- .../rds/model/MigrateSecurityIPModeResult.h | 96 +- .../rds/model/MigrateToOtherRegionRequest.h | 88 +- .../rds/model/MigrateToOtherRegionResult.h | 96 +- .../rds/model/MigrateToOtherZoneRequest.h | 88 +- .../rds/model/MigrateToOtherZoneResult.h | 96 +- .../model/ModifyAccountDescriptionRequest.h | 88 +- .../model/ModifyAccountDescriptionResult.h | 96 +- .../rds/model/ModifyBackupPolicyRequest.h | 88 +- .../rds/model/ModifyBackupPolicyResult.h | 96 +- .../model/ModifyCollationTimeZoneRequest.h | 88 +- .../rds/model/ModifyCollationTimeZoneResult.h | 96 +- .../rds/model/ModifyDBDescriptionRequest.h | 88 +- .../rds/model/ModifyDBDescriptionResult.h | 96 +- .../ModifyDBInstanceConnectionModeRequest.h | 88 +- .../ModifyDBInstanceConnectionModeResult.h | 96 +- .../ModifyDBInstanceConnectionStringRequest.h | 88 +- .../ModifyDBInstanceConnectionStringResult.h | 96 +- .../ModifyDBInstanceDescriptionRequest.h | 88 +- .../model/ModifyDBInstanceDescriptionResult.h | 96 +- .../model/ModifyDBInstanceHAConfigRequest.h | 88 +- .../model/ModifyDBInstanceHAConfigResult.h | 96 +- .../ModifyDBInstanceMaintainTimeRequest.h | 88 +- .../ModifyDBInstanceMaintainTimeResult.h | 96 +- .../model/ModifyDBInstanceMonitorRequest.h | 88 +- .../rds/model/ModifyDBInstanceMonitorResult.h | 96 +- ...ModifyDBInstanceNetworkExpireTimeRequest.h | 88 +- .../ModifyDBInstanceNetworkExpireTimeResult.h | 96 +- .../ModifyDBInstanceNetworkTypeRequest.h | 88 +- .../model/ModifyDBInstanceNetworkTypeResult.h | 96 +- ...odifyDBInstanceProxyConfigurationRequest.h | 88 +- ...ModifyDBInstanceProxyConfigurationResult.h | 96 +- .../rds/model/ModifyDBInstanceSSLRequest.h | 88 +- .../rds/model/ModifyDBInstanceSSLResult.h | 96 +- .../rds/model/ModifyDBInstanceSpecRequest.h | 88 +- .../rds/model/ModifyDBInstanceSpecResult.h | 96 +- .../rds/model/ModifyDBInstanceTDERequest.h | 88 +- .../rds/model/ModifyDBInstanceTDEResult.h | 96 +- ...odifyInstanceAutoRenewalAttributeRequest.h | 88 +- ...ModifyInstanceAutoRenewalAttributeResult.h | 96 +- .../model/ModifyMySQLDBInstanceDelayRequest.h | 88 +- .../model/ModifyMySQLDBInstanceDelayResult.h | 96 +- .../rds/model/ModifyParameterRequest.h | 88 +- .../rds/model/ModifyParameterResult.h | 96 +- ...odifyReadWriteSplittingConnectionRequest.h | 88 +- ...ModifyReadWriteSplittingConnectionResult.h | 96 +- ...donlyInstanceDelayReplicationTimeRequest.h | 88 +- ...adonlyInstanceDelayReplicationTimeResult.h | 96 +- .../model/ModifyReplicaDescriptionRequest.h | 88 +- .../model/ModifyReplicaDescriptionResult.h | 96 +- .../rds/model/ModifyResourceGroupRequest.h | 88 +- .../rds/model/ModifyResourceGroupResult.h | 96 +- .../model/ModifySQLCollectorPolicyRequest.h | 88 +- .../model/ModifySQLCollectorPolicyResult.h | 96 +- .../ModifySecurityGroupConfigurationRequest.h | 88 +- .../ModifySecurityGroupConfigurationResult.h | 96 +- .../rds/model/ModifySecurityIpsRequest.h | 88 +- .../rds/model/ModifySecurityIpsResult.h | 96 +- .../rds/model/PurgeDBInstanceLogRequest.h | 88 +- .../rds/model/PurgeDBInstanceLogResult.h | 96 +- .../rds/model/RecoveryDBInstanceRequest.h | 88 +- .../rds/model/RecoveryDBInstanceResult.h | 96 +- .../ReleaseInstancePublicConnectionRequest.h | 88 +- .../ReleaseInstancePublicConnectionResult.h | 96 +- ...leaseReadWriteSplittingConnectionRequest.h | 88 +- ...eleaseReadWriteSplittingConnectionResult.h | 96 +- .../rds/model/RemoveTagsFromResourceRequest.h | 88 +- .../rds/model/RemoveTagsFromResourceResult.h | 96 +- .../rds/model/RenewInstanceRequest.h | 88 +- .../rds/model/RenewInstanceResult.h | 96 +- .../RequestServiceOfCloudDBExpertRequest.h | 88 +- .../RequestServiceOfCloudDBExpertResult.h | 96 +- .../rds/model/ResetAccountForPGRequest.h | 88 +- .../rds/model/ResetAccountForPGResult.h | 96 +- .../rds/model/ResetAccountPasswordRequest.h | 88 +- .../rds/model/ResetAccountPasswordResult.h | 96 +- .../rds/model/ResetAccountRequest.h | 88 +- .../rds/model/ResetAccountResult.h | 96 +- .../rds/model/RestartDBInstanceRequest.h | 88 +- .../rds/model/RestartDBInstanceResult.h | 96 +- .../rds/model/RestoreDBInstanceRequest.h | 88 +- .../rds/model/RestoreDBInstanceResult.h | 96 +- .../rds/model/RestoreTableRequest.h | 88 +- .../rds/model/RestoreTableResult.h | 96 +- .../rds/model/RevokeAccountPrivilegeRequest.h | 88 +- .../rds/model/RevokeAccountPrivilegeResult.h | 96 +- .../model/RevokeOperatorPermissionRequest.h | 88 +- .../model/RevokeOperatorPermissionResult.h | 96 +- .../rds/model/SwitchDBInstanceHARequest.h | 88 +- .../rds/model/SwitchDBInstanceHAResult.h | 96 +- .../model/SwitchDBInstanceNetTypeRequest.h | 88 +- .../rds/model/SwitchDBInstanceNetTypeResult.h | 96 +- .../rds/model/SwitchDBInstanceVpcRequest.h | 88 +- .../rds/model/SwitchDBInstanceVpcResult.h | 96 +- .../UpgradeDBInstanceEngineVersionRequest.h | 88 +- .../UpgradeDBInstanceEngineVersionResult.h | 96 +- .../UpgradeDBInstanceKernelVersionRequest.h | 88 +- .../UpgradeDBInstanceKernelVersionResult.h | 96 +- rds/src/RdsClient.cc | 10220 ++++++++-------- rds/src/model/AddTagsToResourceRequest.cc | 54 +- rds/src/model/AddTagsToResourceResult.cc | 90 +- ...llocateInstancePrivateConnectionRequest.cc | 54 +- ...AllocateInstancePrivateConnectionResult.cc | 90 +- ...AllocateInstancePublicConnectionRequest.cc | 54 +- .../AllocateInstancePublicConnectionResult.cc | 90 +- .../AllocateInstanceVpcNetworkTypeRequest.cc | 54 +- .../AllocateInstanceVpcNetworkTypeResult.cc | 90 +- ...cateReadWriteSplittingConnectionRequest.cc | 54 +- ...ocateReadWriteSplittingConnectionResult.cc | 90 +- .../model/CalculateDBInstanceWeightRequest.cc | 54 +- .../model/CalculateDBInstanceWeightResult.cc | 90 +- rds/src/model/CancelImportRequest.cc | 54 +- rds/src/model/CancelImportResult.cc | 90 +- .../model/CheckAccountNameAvailableRequest.cc | 54 +- .../model/CheckAccountNameAvailableResult.cc | 90 +- rds/src/model/CheckInstanceExistRequest.cc | 54 +- rds/src/model/CheckInstanceExistResult.cc | 90 +- .../model/CheckRecoveryConditionsRequest.cc | 54 +- .../model/CheckRecoveryConditionsResult.cc | 90 +- rds/src/model/CheckResourceRequest.cc | 54 +- rds/src/model/CheckResourceResult.cc | 90 +- rds/src/model/CloneDBInstanceRequest.cc | 54 +- rds/src/model/CloneDBInstanceResult.cc | 90 +- .../CopyDatabaseBetweenInstancesRequest.cc | 54 +- .../CopyDatabaseBetweenInstancesResult.cc | 90 +- rds/src/model/CopyDatabaseRequest.cc | 54 +- rds/src/model/CopyDatabaseResult.cc | 90 +- rds/src/model/CreateAccountRequest.cc | 54 +- rds/src/model/CreateAccountResult.cc | 90 +- rds/src/model/CreateBackupRequest.cc | 54 +- rds/src/model/CreateBackupResult.cc | 90 +- .../model/CreateDBInstanceReplicaRequest.cc | 54 +- .../model/CreateDBInstanceReplicaResult.cc | 90 +- rds/src/model/CreateDBInstanceRequest.cc | 87 +- rds/src/model/CreateDBInstanceResult.cc | 90 +- rds/src/model/CreateDatabaseRequest.cc | 54 +- rds/src/model/CreateDatabaseResult.cc | 90 +- .../model/CreateDiagnosticReportRequest.cc | 54 +- rds/src/model/CreateDiagnosticReportResult.cc | 90 +- .../CreateMigrateTaskForSQLServerRequest.cc | 54 +- .../CreateMigrateTaskForSQLServerResult.cc | 90 +- rds/src/model/CreateMigrateTaskRequest.cc | 54 +- rds/src/model/CreateMigrateTaskResult.cc | 90 +- .../model/CreateOnlineDatabaseTaskRequest.cc | 54 +- .../model/CreateOnlineDatabaseTaskResult.cc | 90 +- .../model/CreateReadOnlyDBInstanceRequest.cc | 54 +- .../model/CreateReadOnlyDBInstanceResult.cc | 90 +- rds/src/model/CreateTempDBInstanceRequest.cc | 54 +- rds/src/model/CreateTempDBInstanceResult.cc | 90 +- rds/src/model/DeleteAccountRequest.cc | 54 +- rds/src/model/DeleteAccountResult.cc | 90 +- rds/src/model/DeleteBackupRequest.cc | 54 +- rds/src/model/DeleteBackupResult.cc | 90 +- rds/src/model/DeleteDBInstanceRequest.cc | 54 +- rds/src/model/DeleteDBInstanceResult.cc | 90 +- rds/src/model/DeleteDatabaseRequest.cc | 54 +- rds/src/model/DeleteDatabaseResult.cc | 90 +- .../DescibeImportsFromDatabaseRequest.cc | 54 +- .../model/DescibeImportsFromDatabaseResult.cc | 90 +- rds/src/model/DescribeAccountsRequest.cc | 54 +- rds/src/model/DescribeAccountsResult.cc | 90 +- .../DescribeAvailableInstanceClassRequest.cc | 54 +- .../DescribeAvailableInstanceClassResult.cc | 90 +- .../model/DescribeAvailableResourceRequest.cc | 54 +- .../model/DescribeAvailableResourceResult.cc | 90 +- .../model/DescribeBackupDatabaseRequest.cc | 54 +- rds/src/model/DescribeBackupDatabaseResult.cc | 90 +- rds/src/model/DescribeBackupPolicyRequest.cc | 54 +- rds/src/model/DescribeBackupPolicyResult.cc | 90 +- rds/src/model/DescribeBackupTasksRequest.cc | 54 +- rds/src/model/DescribeBackupTasksResult.cc | 90 +- rds/src/model/DescribeBackupsRequest.cc | 54 +- rds/src/model/DescribeBackupsResult.cc | 90 +- rds/src/model/DescribeBinlogFilesRequest.cc | 54 +- rds/src/model/DescribeBinlogFilesResult.cc | 90 +- .../model/DescribeCharacterSetNameRequest.cc | 54 +- .../model/DescribeCharacterSetNameResult.cc | 90 +- .../DescribeCloudDbExpertServiceRequest.cc | 54 +- .../DescribeCloudDbExpertServiceResult.cc | 90 +- .../DescribeCollationTimeZonesRequest.cc | 54 +- .../model/DescribeCollationTimeZonesResult.cc | 90 +- .../DescribeDBInstanceAttributeRequest.cc | 54 +- .../DescribeDBInstanceAttributeResult.cc | 90 +- .../model/DescribeDBInstanceByTagsRequest.cc | 54 +- .../model/DescribeDBInstanceByTagsResult.cc | 90 +- .../DescribeDBInstanceHAConfigRequest.cc | 54 +- .../model/DescribeDBInstanceHAConfigResult.cc | 90 +- .../DescribeDBInstanceIPArrayListRequest.cc | 54 +- .../DescribeDBInstanceIPArrayListResult.cc | 90 +- .../model/DescribeDBInstanceMonitorRequest.cc | 54 +- .../model/DescribeDBInstanceMonitorResult.cc | 90 +- .../model/DescribeDBInstanceNetInfoRequest.cc | 54 +- .../model/DescribeDBInstanceNetInfoResult.cc | 90 +- .../DescribeDBInstancePerformanceRequest.cc | 54 +- .../DescribeDBInstancePerformanceResult.cc | 90 +- ...ribeDBInstanceProxyConfigurationRequest.cc | 54 +- ...cribeDBInstanceProxyConfigurationResult.cc | 90 +- rds/src/model/DescribeDBInstanceSSLRequest.cc | 54 +- rds/src/model/DescribeDBInstanceSSLResult.cc | 90 +- rds/src/model/DescribeDBInstanceTDERequest.cc | 54 +- rds/src/model/DescribeDBInstanceTDEResult.cc | 90 +- .../model/DescribeDBInstancesAsCsvRequest.cc | 54 +- .../model/DescribeDBInstancesAsCsvResult.cc | 90 +- .../DescribeDBInstancesByExpireTimeRequest.cc | 54 +- .../DescribeDBInstancesByExpireTimeResult.cc | 90 +- ...DescribeDBInstancesByPerformanceRequest.cc | 273 +- .../DescribeDBInstancesByPerformanceResult.cc | 90 +- rds/src/model/DescribeDBInstancesRequest.cc | 54 +- rds/src/model/DescribeDBInstancesResult.cc | 90 +- rds/src/model/DescribeDatabasesRequest.cc | 54 +- rds/src/model/DescribeDatabasesResult.cc | 90 +- .../DescribeDiagnosticReportListRequest.cc | 54 +- .../DescribeDiagnosticReportListResult.cc | 90 +- rds/src/model/DescribeErrorLogsRequest.cc | 54 +- rds/src/model/DescribeErrorLogsResult.cc | 90 +- ...ribeInstanceAutoRenewalAttributeRequest.cc | 54 +- ...cribeInstanceAutoRenewalAttributeResult.cc | 90 +- .../DescribeInstanceVpcMigrateInfoRequest.cc | 54 +- .../DescribeInstanceVpcMigrateInfoResult.cc | 90 +- .../model/DescribeLogBackupFilesRequest.cc | 54 +- rds/src/model/DescribeLogBackupFilesResult.cc | 90 +- rds/src/model/DescribeMetaListRequest.cc | 54 +- rds/src/model/DescribeMetaListResult.cc | 90 +- ...DescribeMigrateTasksForSQLServerRequest.cc | 54 +- .../DescribeMigrateTasksForSQLServerResult.cc | 90 +- rds/src/model/DescribeMigrateTasksRequest.cc | 54 +- rds/src/model/DescribeMigrateTasksResult.cc | 90 +- .../DescribeModifyParameterLogRequest.cc | 54 +- .../model/DescribeModifyParameterLogResult.cc | 90 +- ...DescribeOssDownloadsForSQLServerRequest.cc | 54 +- .../DescribeOssDownloadsForSQLServerResult.cc | 90 +- rds/src/model/DescribeOssDownloadsRequest.cc | 54 +- rds/src/model/DescribeOssDownloadsResult.cc | 90 +- .../DescribeParameterTemplatesRequest.cc | 54 +- .../model/DescribeParameterTemplatesResult.cc | 90 +- rds/src/model/DescribeParametersRequest.cc | 54 +- rds/src/model/DescribeParametersResult.cc | 90 +- rds/src/model/DescribePriceRequest.cc | 54 +- rds/src/model/DescribePriceResult.cc | 90 +- .../DescribeProxyFunctionSupportRequest.cc | 54 +- .../DescribeProxyFunctionSupportResult.cc | 90 +- .../DescribeReadDBInstanceDelayRequest.cc | 54 +- .../DescribeReadDBInstanceDelayResult.cc | 90 +- rds/src/model/DescribeRegionsRequest.cc | 54 +- rds/src/model/DescribeRegionsResult.cc | 90 +- rds/src/model/DescribeRenewalPriceRequest.cc | 54 +- rds/src/model/DescribeRenewalPriceResult.cc | 90 +- rds/src/model/DescribeResourceUsageRequest.cc | 54 +- rds/src/model/DescribeResourceUsageResult.cc | 90 +- rds/src/model/DescribeSQLLogFilesRequest.cc | 54 +- rds/src/model/DescribeSQLLogFilesResult.cc | 90 +- rds/src/model/DescribeSQLLogRecordsRequest.cc | 54 +- rds/src/model/DescribeSQLLogRecordsResult.cc | 90 +- .../model/DescribeSQLLogReportListRequest.cc | 54 +- .../model/DescribeSQLLogReportListResult.cc | 90 +- rds/src/model/DescribeSQLLogReportsRequest.cc | 54 +- rds/src/model/DescribeSQLLogReportsResult.cc | 90 +- rds/src/model/DescribeSQLReportsRequest.cc | 54 +- rds/src/model/DescribeSQLReportsResult.cc | 90 +- ...scribeSecurityGroupConfigurationRequest.cc | 54 +- ...escribeSecurityGroupConfigurationResult.cc | 90 +- .../model/DescribeSlowLogRecordsRequest.cc | 54 +- rds/src/model/DescribeSlowLogRecordsResult.cc | 90 +- rds/src/model/DescribeSlowLogsRequest.cc | 54 +- rds/src/model/DescribeSlowLogsResult.cc | 90 +- rds/src/model/DescribeTagsRequest.cc | 54 +- rds/src/model/DescribeTagsResult.cc | 90 +- rds/src/model/DescribeTaskInfoRequest.cc | 54 +- rds/src/model/DescribeTaskInfoResult.cc | 90 +- rds/src/model/DescribeTasksRequest.cc | 54 +- rds/src/model/DescribeTasksResult.cc | 90 +- rds/src/model/DescribeTemplatesListRequest.cc | 54 +- rds/src/model/DescribeTemplatesListResult.cc | 90 +- .../model/EvaluateSupportByokShowRequest.cc | 159 + .../model/EvaluateSupportByokShowResult.cc | 59 + rds/src/model/GrantAccountPrivilegeRequest.cc | 54 +- rds/src/model/GrantAccountPrivilegeResult.cc | 90 +- .../model/GrantOperatorPermissionRequest.cc | 54 +- .../model/GrantOperatorPermissionResult.cc | 90 +- .../model/ImportDataForSQLServerRequest.cc | 54 +- rds/src/model/ImportDataForSQLServerResult.cc | 90 +- .../ImportDatabaseBetweenInstancesRequest.cc | 54 +- .../ImportDatabaseBetweenInstancesResult.cc | 90 +- rds/src/model/MigrateSecurityIPModeRequest.cc | 54 +- rds/src/model/MigrateSecurityIPModeResult.cc | 90 +- rds/src/model/MigrateToOtherRegionRequest.cc | 54 +- rds/src/model/MigrateToOtherRegionResult.cc | 90 +- rds/src/model/MigrateToOtherZoneRequest.cc | 54 +- rds/src/model/MigrateToOtherZoneResult.cc | 90 +- .../model/ModifyAccountDescriptionRequest.cc | 54 +- .../model/ModifyAccountDescriptionResult.cc | 90 +- rds/src/model/ModifyBackupPolicyRequest.cc | 54 +- rds/src/model/ModifyBackupPolicyResult.cc | 90 +- .../model/ModifyCollationTimeZoneRequest.cc | 54 +- .../model/ModifyCollationTimeZoneResult.cc | 90 +- rds/src/model/ModifyDBDescriptionRequest.cc | 54 +- rds/src/model/ModifyDBDescriptionResult.cc | 90 +- .../ModifyDBInstanceConnectionModeRequest.cc | 54 +- .../ModifyDBInstanceConnectionModeResult.cc | 90 +- ...ModifyDBInstanceConnectionStringRequest.cc | 54 +- .../ModifyDBInstanceConnectionStringResult.cc | 90 +- .../ModifyDBInstanceDescriptionRequest.cc | 54 +- .../ModifyDBInstanceDescriptionResult.cc | 90 +- .../model/ModifyDBInstanceHAConfigRequest.cc | 54 +- .../model/ModifyDBInstanceHAConfigResult.cc | 90 +- .../ModifyDBInstanceMaintainTimeRequest.cc | 54 +- .../ModifyDBInstanceMaintainTimeResult.cc | 90 +- .../model/ModifyDBInstanceMonitorRequest.cc | 54 +- .../model/ModifyDBInstanceMonitorResult.cc | 90 +- ...odifyDBInstanceNetworkExpireTimeRequest.cc | 54 +- ...ModifyDBInstanceNetworkExpireTimeResult.cc | 90 +- .../ModifyDBInstanceNetworkTypeRequest.cc | 54 +- .../ModifyDBInstanceNetworkTypeResult.cc | 90 +- ...difyDBInstanceProxyConfigurationRequest.cc | 54 +- ...odifyDBInstanceProxyConfigurationResult.cc | 90 +- rds/src/model/ModifyDBInstanceSSLRequest.cc | 54 +- rds/src/model/ModifyDBInstanceSSLResult.cc | 90 +- rds/src/model/ModifyDBInstanceSpecRequest.cc | 54 +- rds/src/model/ModifyDBInstanceSpecResult.cc | 90 +- rds/src/model/ModifyDBInstanceTDERequest.cc | 54 +- rds/src/model/ModifyDBInstanceTDEResult.cc | 90 +- ...difyInstanceAutoRenewalAttributeRequest.cc | 54 +- ...odifyInstanceAutoRenewalAttributeResult.cc | 90 +- .../ModifyMySQLDBInstanceDelayRequest.cc | 54 +- .../model/ModifyMySQLDBInstanceDelayResult.cc | 90 +- rds/src/model/ModifyParameterRequest.cc | 54 +- rds/src/model/ModifyParameterResult.cc | 90 +- ...difyReadWriteSplittingConnectionRequest.cc | 54 +- ...odifyReadWriteSplittingConnectionResult.cc | 90 +- ...onlyInstanceDelayReplicationTimeRequest.cc | 54 +- ...donlyInstanceDelayReplicationTimeResult.cc | 90 +- .../model/ModifyReplicaDescriptionRequest.cc | 54 +- .../model/ModifyReplicaDescriptionResult.cc | 90 +- rds/src/model/ModifyResourceGroupRequest.cc | 54 +- rds/src/model/ModifyResourceGroupResult.cc | 90 +- .../model/ModifySQLCollectorPolicyRequest.cc | 54 +- .../model/ModifySQLCollectorPolicyResult.cc | 90 +- ...ModifySecurityGroupConfigurationRequest.cc | 54 +- .../ModifySecurityGroupConfigurationResult.cc | 90 +- rds/src/model/ModifySecurityIpsRequest.cc | 54 +- rds/src/model/ModifySecurityIpsResult.cc | 90 +- rds/src/model/PurgeDBInstanceLogRequest.cc | 54 +- rds/src/model/PurgeDBInstanceLogResult.cc | 90 +- rds/src/model/RecoveryDBInstanceRequest.cc | 54 +- rds/src/model/RecoveryDBInstanceResult.cc | 90 +- .../ReleaseInstancePublicConnectionRequest.cc | 54 +- .../ReleaseInstancePublicConnectionResult.cc | 90 +- ...easeReadWriteSplittingConnectionRequest.cc | 54 +- ...leaseReadWriteSplittingConnectionResult.cc | 90 +- .../model/RemoveTagsFromResourceRequest.cc | 54 +- rds/src/model/RemoveTagsFromResourceResult.cc | 90 +- rds/src/model/RenewInstanceRequest.cc | 54 +- rds/src/model/RenewInstanceResult.cc | 90 +- .../RequestServiceOfCloudDBExpertRequest.cc | 54 +- .../RequestServiceOfCloudDBExpertResult.cc | 90 +- rds/src/model/ResetAccountForPGRequest.cc | 54 +- rds/src/model/ResetAccountForPGResult.cc | 90 +- rds/src/model/ResetAccountPasswordRequest.cc | 54 +- rds/src/model/ResetAccountPasswordResult.cc | 90 +- rds/src/model/ResetAccountRequest.cc | 54 +- rds/src/model/ResetAccountResult.cc | 90 +- rds/src/model/RestartDBInstanceRequest.cc | 54 +- rds/src/model/RestartDBInstanceResult.cc | 90 +- rds/src/model/RestoreDBInstanceRequest.cc | 54 +- rds/src/model/RestoreDBInstanceResult.cc | 90 +- rds/src/model/RestoreTableRequest.cc | 54 +- rds/src/model/RestoreTableResult.cc | 90 +- .../model/RevokeAccountPrivilegeRequest.cc | 54 +- rds/src/model/RevokeAccountPrivilegeResult.cc | 90 +- .../model/RevokeOperatorPermissionRequest.cc | 54 +- .../model/RevokeOperatorPermissionResult.cc | 90 +- rds/src/model/SwitchDBInstanceHARequest.cc | 54 +- rds/src/model/SwitchDBInstanceHAResult.cc | 90 +- .../model/SwitchDBInstanceNetTypeRequest.cc | 54 +- .../model/SwitchDBInstanceNetTypeResult.cc | 90 +- rds/src/model/SwitchDBInstanceVpcRequest.cc | 54 +- rds/src/model/SwitchDBInstanceVpcResult.cc | 90 +- .../UpgradeDBInstanceEngineVersionRequest.cc | 54 +- .../UpgradeDBInstanceEngineVersionResult.cc | 90 +- .../UpgradeDBInstanceKernelVersionRequest.cc | 54 +- .../UpgradeDBInstanceKernelVersionResult.cc | 90 +- 570 files changed, 29429 insertions(+), 28902 deletions(-) create mode 100644 rds/include/alibabacloud/rds/model/EvaluateSupportByokShowRequest.h create mode 100644 rds/include/alibabacloud/rds/model/EvaluateSupportByokShowResult.h create mode 100644 rds/src/model/EvaluateSupportByokShowRequest.cc create mode 100644 rds/src/model/EvaluateSupportByokShowResult.cc diff --git a/CHANGELOG b/CHANGELOG index 23a4395de..57752dae8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-05-28 Version: 1.36.35 +1, CreateDBInstance now support autoRenew + 2019-05-27 Version: 1.36.34 1, Support video transcode. diff --git a/VERSION b/VERSION index 4c78f68ca..ec6785136 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.34 \ No newline at end of file +1.36.35 \ No newline at end of file diff --git a/rds/CMakeLists.txt b/rds/CMakeLists.txt index d508e7383..4d77efa94 100644 --- a/rds/CMakeLists.txt +++ b/rds/CMakeLists.txt @@ -1,82 +1,154 @@ -# -# Copyright 2009-2017 Alibaba Cloud All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) - +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + set(rds_public_header include/alibabacloud/rds/RdsClient.h - include/alibabacloud/rds/RdsExport.h ) - -set(rds_public_header_model ) - + include/alibabacloud/rds/RdsExport.h ) + +set(rds_public_header_model + include/alibabacloud/rds/model/DescribeReadDBInstanceDelayRequest.h + include/alibabacloud/rds/model/DescribeReadDBInstanceDelayResult.h + include/alibabacloud/rds/model/SwitchDBInstanceVpcRequest.h + include/alibabacloud/rds/model/SwitchDBInstanceVpcResult.h + include/alibabacloud/rds/model/DescribeAvailableInstanceClassRequest.h + include/alibabacloud/rds/model/DescribeAvailableInstanceClassResult.h + include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertRequest.h + include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertResult.h + include/alibabacloud/rds/model/MigrateSecurityIPModeRequest.h + include/alibabacloud/rds/model/MigrateSecurityIPModeResult.h + include/alibabacloud/rds/model/DescribeProxyFunctionSupportRequest.h + include/alibabacloud/rds/model/DescribeProxyFunctionSupportResult.h + include/alibabacloud/rds/model/DescribeCloudDbExpertServiceRequest.h + include/alibabacloud/rds/model/DescribeCloudDbExpertServiceResult.h + include/alibabacloud/rds/model/DescribeMetaListRequest.h + include/alibabacloud/rds/model/DescribeMetaListResult.h + include/alibabacloud/rds/model/EvaluateSupportByokShowRequest.h + include/alibabacloud/rds/model/EvaluateSupportByokShowResult.h + include/alibabacloud/rds/model/CheckInstanceExistRequest.h + include/alibabacloud/rds/model/CheckInstanceExistResult.h + include/alibabacloud/rds/model/MigrateToOtherRegionRequest.h + include/alibabacloud/rds/model/MigrateToOtherRegionResult.h + include/alibabacloud/rds/model/RestoreTableRequest.h + include/alibabacloud/rds/model/RestoreTableResult.h + include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoRequest.h + include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoResult.h + include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeRequest.h + include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeResult.h + include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayRequest.h + include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayResult.h + include/alibabacloud/rds/model/DescribeCollationTimeZonesRequest.h + include/alibabacloud/rds/model/DescribeCollationTimeZonesResult.h + include/alibabacloud/rds/model/DescribeTemplatesListRequest.h + include/alibabacloud/rds/model/DescribeTemplatesListResult.h + include/alibabacloud/rds/model/DescribeLogBackupFilesRequest.h + include/alibabacloud/rds/model/DescribeLogBackupFilesResult.h ) + set(rds_src - src/RdsClient.cc ) - -add_library(rds ${LIB_TYPE} - ${rds_public_header} - ${rds_public_header_model} - ${rds_src}) - -set_target_properties(rds - PROPERTIES - LINKER_LANGUAGE CXX - ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib - LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib - RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin - OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}rds - ) - -if(${LIB_TYPE} STREQUAL "SHARED") - set_target_properties(rds - PROPERTIES - DEFINE_SYMBOL ALIBABACLOUD_RDS_LIBRARY) -endif() - -target_include_directories(rds - PRIVATE include - ${CMAKE_SOURCE_DIR}/core/include - ) -target_link_libraries(rds - core) - -if(CMAKE_HOST_WIN32) - ExternalProject_Get_Property(jsoncpp INSTALL_DIR) - set(jsoncpp_install_dir ${INSTALL_DIR}) - add_dependencies(rds - jsoncpp) - target_include_directories(rds - PRIVATE ${jsoncpp_install_dir}/include) - target_link_libraries(rds - ${jsoncpp_install_dir}/lib/jsoncpp.lib) - set_target_properties(rds - PROPERTIES - COMPILE_OPTIONS "/bigobj") -else() - target_include_directories(rds - PRIVATE /usr/include/jsoncpp) - target_link_libraries(rds - jsoncpp) -endif() - -install(FILES ${rds_public_header} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/rds) -install(FILES ${rds_public_header_model} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/rds/model) -install(TARGETS rds - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + src/RdsClient.cc + src/model/DescribeReadDBInstanceDelayRequest.cc + src/model/DescribeReadDBInstanceDelayResult.cc + src/model/SwitchDBInstanceVpcRequest.cc + src/model/SwitchDBInstanceVpcResult.cc + src/model/DescribeAvailableInstanceClassRequest.cc + src/model/DescribeAvailableInstanceClassResult.cc + src/model/RequestServiceOfCloudDBExpertRequest.cc + src/model/RequestServiceOfCloudDBExpertResult.cc + src/model/MigrateSecurityIPModeRequest.cc + src/model/MigrateSecurityIPModeResult.cc + src/model/DescribeProxyFunctionSupportRequest.cc + src/model/DescribeProxyFunctionSupportResult.cc + src/model/DescribeCloudDbExpertServiceRequest.cc + src/model/DescribeCloudDbExpertServiceResult.cc + src/model/DescribeMetaListRequest.cc + src/model/DescribeMetaListResult.cc + src/model/EvaluateSupportByokShowRequest.cc + src/model/EvaluateSupportByokShowResult.cc + src/model/CheckInstanceExistRequest.cc + src/model/CheckInstanceExistResult.cc + src/model/MigrateToOtherRegionRequest.cc + src/model/MigrateToOtherRegionResult.cc + src/model/RestoreTableRequest.cc + src/model/RestoreTableResult.cc + src/model/DescribeInstanceVpcMigrateInfoRequest.cc + src/model/DescribeInstanceVpcMigrateInfoResult.cc + src/model/AllocateInstanceVpcNetworkTypeRequest.cc + src/model/AllocateInstanceVpcNetworkTypeResult.cc + src/model/ModifyMySQLDBInstanceDelayRequest.cc + src/model/ModifyMySQLDBInstanceDelayResult.cc + src/model/DescribeCollationTimeZonesRequest.cc + src/model/DescribeCollationTimeZonesResult.cc + src/model/DescribeTemplatesListRequest.cc + src/model/DescribeTemplatesListResult.cc + src/model/DescribeLogBackupFilesRequest.cc + src/model/DescribeLogBackupFilesResult.cc ) + +add_library(rds ${LIB_TYPE} + ${rds_public_header} + ${rds_public_header_model} + ${rds_src}) + +set_target_properties(rds + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}rds + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(rds + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_RDS_LIBRARY) +endif() + +target_include_directories(rds + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(rds + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(rds + jsoncpp) + target_include_directories(rds + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(rds + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(rds + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(rds + PRIVATE /usr/include/jsoncpp) + target_link_libraries(rds + jsoncpp) +endif() + +install(FILES ${rds_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/rds) +install(FILES ${rds_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/rds/model) +install(TARGETS rds + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/RdsClient.h b/rds/include/alibabacloud/rds/RdsClient.h index c2db3ef55..58ebd4464 100644 --- a/rds/include/alibabacloud/rds/RdsClient.h +++ b/rds/include/alibabacloud/rds/RdsClient.h @@ -1,27 +1,27 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_RDSCLIENT_H_ -#define ALIBABACLOUD_RDS_RDSCLIENT_H_ - -#include -#include -#include -#include -#include "RdsExport.h" +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RDSCLIENT_H_ +#define ALIBABACLOUD_RDS_RDSCLIENT_H_ + +#include +#include +#include +#include +#include "RdsExport.h" #include "model/CreateMigrateTaskRequest.h" #include "model/CreateMigrateTaskResult.h" #include "model/CheckRecoveryConditionsRequest.h" @@ -214,6 +214,8 @@ #include "model/AllocateReadWriteSplittingConnectionResult.h" #include "model/DescribeCloudDbExpertServiceRequest.h" #include "model/DescribeCloudDbExpertServiceResult.h" +#include "model/EvaluateSupportByokShowRequest.h" +#include "model/EvaluateSupportByokShowResult.h" #include "model/ReleaseInstancePublicConnectionRequest.h" #include "model/ReleaseInstancePublicConnectionResult.h" #include "model/CalculateDBInstanceWeightRequest.h" @@ -302,865 +304,871 @@ #include "model/SwitchDBInstanceHAResult.h" #include "model/ResetAccountForPGRequest.h" #include "model/ResetAccountForPGResult.h" - - -namespace AlibabaCloud -{ - namespace Rds - { - class ALIBABACLOUD_RDS_EXPORT RdsClient : public RpcServiceClient - { - public: - typedef Outcome CreateMigrateTaskOutcome; - typedef std::future CreateMigrateTaskOutcomeCallable; + + +namespace AlibabaCloud +{ + namespace Rds + { + class ALIBABACLOUD_RDS_EXPORT RdsClient : public RpcServiceClient + { + public: + typedef Outcome CreateMigrateTaskOutcome; + typedef std::future CreateMigrateTaskOutcomeCallable; typedef std::function&)> CreateMigrateTaskAsyncHandler; - typedef Outcome CheckRecoveryConditionsOutcome; - typedef std::future CheckRecoveryConditionsOutcomeCallable; + typedef Outcome CheckRecoveryConditionsOutcome; + typedef std::future CheckRecoveryConditionsOutcomeCallable; typedef std::function&)> CheckRecoveryConditionsAsyncHandler; - typedef Outcome DeleteBackupOutcome; - typedef std::future DeleteBackupOutcomeCallable; + typedef Outcome DeleteBackupOutcome; + typedef std::future DeleteBackupOutcomeCallable; typedef std::function&)> DeleteBackupAsyncHandler; - typedef Outcome DescribeDatabasesOutcome; - typedef std::future DescribeDatabasesOutcomeCallable; + typedef Outcome DescribeDatabasesOutcome; + typedef std::future DescribeDatabasesOutcomeCallable; typedef std::function&)> DescribeDatabasesAsyncHandler; - typedef Outcome DescribeDBInstancesByExpireTimeOutcome; - typedef std::future DescribeDBInstancesByExpireTimeOutcomeCallable; + typedef Outcome DescribeDBInstancesByExpireTimeOutcome; + typedef std::future DescribeDBInstancesByExpireTimeOutcomeCallable; typedef std::function&)> DescribeDBInstancesByExpireTimeAsyncHandler; - typedef Outcome SwitchDBInstanceNetTypeOutcome; - typedef std::future SwitchDBInstanceNetTypeOutcomeCallable; + typedef Outcome SwitchDBInstanceNetTypeOutcome; + typedef std::future SwitchDBInstanceNetTypeOutcomeCallable; typedef std::function&)> SwitchDBInstanceNetTypeAsyncHandler; - typedef Outcome DescribeDBInstanceMonitorOutcome; - typedef std::future DescribeDBInstanceMonitorOutcomeCallable; + typedef Outcome DescribeDBInstanceMonitorOutcome; + typedef std::future DescribeDBInstanceMonitorOutcomeCallable; typedef std::function&)> DescribeDBInstanceMonitorAsyncHandler; - typedef Outcome DescribeDBInstanceHAConfigOutcome; - typedef std::future DescribeDBInstanceHAConfigOutcomeCallable; + typedef Outcome DescribeDBInstanceHAConfigOutcome; + typedef std::future DescribeDBInstanceHAConfigOutcomeCallable; typedef std::function&)> DescribeDBInstanceHAConfigAsyncHandler; - typedef Outcome CreateReadOnlyDBInstanceOutcome; - typedef std::future CreateReadOnlyDBInstanceOutcomeCallable; + typedef Outcome CreateReadOnlyDBInstanceOutcome; + typedef std::future CreateReadOnlyDBInstanceOutcomeCallable; typedef std::function&)> CreateReadOnlyDBInstanceAsyncHandler; - typedef Outcome ModifyAccountDescriptionOutcome; - typedef std::future ModifyAccountDescriptionOutcomeCallable; + typedef Outcome ModifyAccountDescriptionOutcome; + typedef std::future ModifyAccountDescriptionOutcomeCallable; typedef std::function&)> ModifyAccountDescriptionAsyncHandler; - typedef Outcome MigrateToOtherRegionOutcome; - typedef std::future MigrateToOtherRegionOutcomeCallable; + typedef Outcome MigrateToOtherRegionOutcome; + typedef std::future MigrateToOtherRegionOutcomeCallable; typedef std::function&)> MigrateToOtherRegionAsyncHandler; - typedef Outcome DescribeOssDownloadsOutcome; - typedef std::future DescribeOssDownloadsOutcomeCallable; + typedef Outcome DescribeOssDownloadsOutcome; + typedef std::future DescribeOssDownloadsOutcomeCallable; typedef std::function&)> DescribeOssDownloadsAsyncHandler; - typedef Outcome ModifyParameterOutcome; - typedef std::future ModifyParameterOutcomeCallable; + typedef Outcome ModifyParameterOutcome; + typedef std::future ModifyParameterOutcomeCallable; typedef std::function&)> ModifyParameterAsyncHandler; - typedef Outcome UpgradeDBInstanceEngineVersionOutcome; - typedef std::future UpgradeDBInstanceEngineVersionOutcomeCallable; + typedef Outcome UpgradeDBInstanceEngineVersionOutcome; + typedef std::future UpgradeDBInstanceEngineVersionOutcomeCallable; typedef std::function&)> UpgradeDBInstanceEngineVersionAsyncHandler; - typedef Outcome ModifyDBInstanceConnectionStringOutcome; - typedef std::future ModifyDBInstanceConnectionStringOutcomeCallable; + typedef Outcome ModifyDBInstanceConnectionStringOutcome; + typedef std::future ModifyDBInstanceConnectionStringOutcomeCallable; typedef std::function&)> ModifyDBInstanceConnectionStringAsyncHandler; - typedef Outcome CheckAccountNameAvailableOutcome; - typedef std::future CheckAccountNameAvailableOutcomeCallable; + typedef Outcome CheckAccountNameAvailableOutcome; + typedef std::future CheckAccountNameAvailableOutcomeCallable; typedef std::function&)> CheckAccountNameAvailableAsyncHandler; - typedef Outcome RestartDBInstanceOutcome; - typedef std::future RestartDBInstanceOutcomeCallable; + typedef Outcome RestartDBInstanceOutcome; + typedef std::future RestartDBInstanceOutcomeCallable; typedef std::function&)> RestartDBInstanceAsyncHandler; - typedef Outcome DescribeTemplatesListOutcome; - typedef std::future DescribeTemplatesListOutcomeCallable; + typedef Outcome DescribeTemplatesListOutcome; + typedef std::future DescribeTemplatesListOutcomeCallable; typedef std::function&)> DescribeTemplatesListAsyncHandler; - typedef Outcome ImportDataForSQLServerOutcome; - typedef std::future ImportDataForSQLServerOutcomeCallable; + typedef Outcome ImportDataForSQLServerOutcome; + typedef std::future ImportDataForSQLServerOutcomeCallable; typedef std::function&)> ImportDataForSQLServerAsyncHandler; - typedef Outcome ModifySecurityGroupConfigurationOutcome; - typedef std::future ModifySecurityGroupConfigurationOutcomeCallable; + typedef Outcome ModifySecurityGroupConfigurationOutcome; + typedef std::future ModifySecurityGroupConfigurationOutcomeCallable; typedef std::function&)> ModifySecurityGroupConfigurationAsyncHandler; - typedef Outcome DescribeTagsOutcome; - typedef std::future DescribeTagsOutcomeCallable; + typedef Outcome DescribeTagsOutcome; + typedef std::future DescribeTagsOutcomeCallable; typedef std::function&)> DescribeTagsAsyncHandler; - typedef Outcome CheckResourceOutcome; - typedef std::future CheckResourceOutcomeCallable; + typedef Outcome CheckResourceOutcome; + typedef std::future CheckResourceOutcomeCallable; typedef std::function&)> CheckResourceAsyncHandler; - typedef Outcome DescribeCharacterSetNameOutcome; - typedef std::future DescribeCharacterSetNameOutcomeCallable; + typedef Outcome DescribeCharacterSetNameOutcome; + typedef std::future DescribeCharacterSetNameOutcomeCallable; typedef std::function&)> DescribeCharacterSetNameAsyncHandler; - typedef Outcome DescribeMigrateTasksOutcome; - typedef std::future DescribeMigrateTasksOutcomeCallable; + typedef Outcome DescribeMigrateTasksOutcome; + typedef std::future DescribeMigrateTasksOutcomeCallable; typedef std::function&)> DescribeMigrateTasksAsyncHandler; - typedef Outcome ModifyDBInstanceNetworkExpireTimeOutcome; - typedef std::future ModifyDBInstanceNetworkExpireTimeOutcomeCallable; + typedef Outcome ModifyDBInstanceNetworkExpireTimeOutcome; + typedef std::future ModifyDBInstanceNetworkExpireTimeOutcomeCallable; typedef std::function&)> ModifyDBInstanceNetworkExpireTimeAsyncHandler; - typedef Outcome CreateAccountOutcome; - typedef std::future CreateAccountOutcomeCallable; + typedef Outcome CreateAccountOutcome; + typedef std::future CreateAccountOutcomeCallable; typedef std::function&)> CreateAccountAsyncHandler; - typedef Outcome DescribeModifyParameterLogOutcome; - typedef std::future DescribeModifyParameterLogOutcomeCallable; + typedef Outcome DescribeModifyParameterLogOutcome; + typedef std::future DescribeModifyParameterLogOutcomeCallable; typedef std::function&)> DescribeModifyParameterLogAsyncHandler; - typedef Outcome RecoveryDBInstanceOutcome; - typedef std::future RecoveryDBInstanceOutcomeCallable; + typedef Outcome RecoveryDBInstanceOutcome; + typedef std::future RecoveryDBInstanceOutcomeCallable; typedef std::function&)> RecoveryDBInstanceAsyncHandler; - typedef Outcome ModifyDBDescriptionOutcome; - typedef std::future ModifyDBDescriptionOutcomeCallable; + typedef Outcome ModifyDBDescriptionOutcome; + typedef std::future ModifyDBDescriptionOutcomeCallable; typedef std::function&)> ModifyDBDescriptionAsyncHandler; - typedef Outcome ImportDatabaseBetweenInstancesOutcome; - typedef std::future ImportDatabaseBetweenInstancesOutcomeCallable; + typedef Outcome ImportDatabaseBetweenInstancesOutcome; + typedef std::future ImportDatabaseBetweenInstancesOutcomeCallable; typedef std::function&)> ImportDatabaseBetweenInstancesAsyncHandler; - typedef Outcome RenewInstanceOutcome; - typedef std::future RenewInstanceOutcomeCallable; + typedef Outcome RenewInstanceOutcome; + typedef std::future RenewInstanceOutcomeCallable; typedef std::function&)> RenewInstanceAsyncHandler; - typedef Outcome ModifyDBInstanceMonitorOutcome; - typedef std::future ModifyDBInstanceMonitorOutcomeCallable; + typedef Outcome ModifyDBInstanceMonitorOutcome; + typedef std::future ModifyDBInstanceMonitorOutcomeCallable; typedef std::function&)> ModifyDBInstanceMonitorAsyncHandler; - typedef Outcome DescribeSQLLogFilesOutcome; - typedef std::future DescribeSQLLogFilesOutcomeCallable; + typedef Outcome DescribeSQLLogFilesOutcome; + typedef std::future DescribeSQLLogFilesOutcomeCallable; typedef std::function&)> DescribeSQLLogFilesAsyncHandler; - typedef Outcome CancelImportOutcome; - typedef std::future CancelImportOutcomeCallable; + typedef Outcome CancelImportOutcome; + typedef std::future CancelImportOutcomeCallable; typedef std::function&)> CancelImportAsyncHandler; - typedef Outcome ModifyReplicaDescriptionOutcome; - typedef std::future ModifyReplicaDescriptionOutcomeCallable; + typedef Outcome ModifyReplicaDescriptionOutcome; + typedef std::future ModifyReplicaDescriptionOutcomeCallable; typedef std::function&)> ModifyReplicaDescriptionAsyncHandler; - typedef Outcome ModifyBackupPolicyOutcome; - typedef std::future ModifyBackupPolicyOutcomeCallable; + typedef Outcome ModifyBackupPolicyOutcome; + typedef std::future ModifyBackupPolicyOutcomeCallable; typedef std::function&)> ModifyBackupPolicyAsyncHandler; - typedef Outcome DescribeSecurityGroupConfigurationOutcome; - typedef std::future DescribeSecurityGroupConfigurationOutcomeCallable; + typedef Outcome DescribeSecurityGroupConfigurationOutcome; + typedef std::future DescribeSecurityGroupConfigurationOutcomeCallable; typedef std::function&)> DescribeSecurityGroupConfigurationAsyncHandler; - typedef Outcome DescribeParametersOutcome; - typedef std::future DescribeParametersOutcomeCallable; + typedef Outcome DescribeParametersOutcome; + typedef std::future DescribeParametersOutcomeCallable; typedef std::function&)> DescribeParametersAsyncHandler; - typedef Outcome AddTagsToResourceOutcome; - typedef std::future AddTagsToResourceOutcomeCallable; + typedef Outcome AddTagsToResourceOutcome; + typedef std::future AddTagsToResourceOutcomeCallable; typedef std::function&)> AddTagsToResourceAsyncHandler; - typedef Outcome DescribeBinlogFilesOutcome; - typedef std::future DescribeBinlogFilesOutcomeCallable; + typedef Outcome DescribeBinlogFilesOutcome; + typedef std::future DescribeBinlogFilesOutcomeCallable; typedef std::function&)> DescribeBinlogFilesAsyncHandler; - typedef Outcome DescribeDBInstanceProxyConfigurationOutcome; - typedef std::future DescribeDBInstanceProxyConfigurationOutcomeCallable; + typedef Outcome DescribeDBInstanceProxyConfigurationOutcome; + typedef std::future DescribeDBInstanceProxyConfigurationOutcomeCallable; typedef std::function&)> DescribeDBInstanceProxyConfigurationAsyncHandler; - typedef Outcome CreateDiagnosticReportOutcome; - typedef std::future CreateDiagnosticReportOutcomeCallable; + typedef Outcome CreateDiagnosticReportOutcome; + typedef std::future CreateDiagnosticReportOutcomeCallable; typedef std::function&)> CreateDiagnosticReportAsyncHandler; - typedef Outcome DescribeSQLLogReportListOutcome; - typedef std::future DescribeSQLLogReportListOutcomeCallable; + typedef Outcome DescribeSQLLogReportListOutcome; + typedef std::future DescribeSQLLogReportListOutcomeCallable; typedef std::function&)> DescribeSQLLogReportListAsyncHandler; - typedef Outcome DescribeReadDBInstanceDelayOutcome; - typedef std::future DescribeReadDBInstanceDelayOutcomeCallable; + typedef Outcome DescribeReadDBInstanceDelayOutcome; + typedef std::future DescribeReadDBInstanceDelayOutcomeCallable; typedef std::function&)> DescribeReadDBInstanceDelayAsyncHandler; - typedef Outcome CloneDBInstanceOutcome; - typedef std::future CloneDBInstanceOutcomeCallable; + typedef Outcome CloneDBInstanceOutcome; + typedef std::future CloneDBInstanceOutcomeCallable; typedef std::function&)> CloneDBInstanceAsyncHandler; - typedef Outcome DescribeTasksOutcome; - typedef std::future DescribeTasksOutcomeCallable; + typedef Outcome DescribeTasksOutcome; + typedef std::future DescribeTasksOutcomeCallable; typedef std::function&)> DescribeTasksAsyncHandler; - typedef Outcome DescribeRenewalPriceOutcome; - typedef std::future DescribeRenewalPriceOutcomeCallable; + typedef Outcome DescribeRenewalPriceOutcome; + typedef std::future DescribeRenewalPriceOutcomeCallable; typedef std::function&)> DescribeRenewalPriceAsyncHandler; - typedef Outcome AllocateInstancePublicConnectionOutcome; - typedef std::future AllocateInstancePublicConnectionOutcomeCallable; + typedef Outcome AllocateInstancePublicConnectionOutcome; + typedef std::future AllocateInstancePublicConnectionOutcomeCallable; typedef std::function&)> AllocateInstancePublicConnectionAsyncHandler; - typedef Outcome DescribeDBInstanceAttributeOutcome; - typedef std::future DescribeDBInstanceAttributeOutcomeCallable; + typedef Outcome DescribeDBInstanceAttributeOutcome; + typedef std::future DescribeDBInstanceAttributeOutcomeCallable; typedef std::function&)> DescribeDBInstanceAttributeAsyncHandler; - typedef Outcome CheckInstanceExistOutcome; - typedef std::future CheckInstanceExistOutcomeCallable; + typedef Outcome CheckInstanceExistOutcome; + typedef std::future CheckInstanceExistOutcomeCallable; typedef std::function&)> CheckInstanceExistAsyncHandler; - typedef Outcome CreateTempDBInstanceOutcome; - typedef std::future CreateTempDBInstanceOutcomeCallable; + typedef Outcome CreateTempDBInstanceOutcome; + typedef std::future CreateTempDBInstanceOutcomeCallable; typedef std::function&)> CreateTempDBInstanceAsyncHandler; - typedef Outcome ModifyInstanceAutoRenewalAttributeOutcome; - typedef std::future ModifyInstanceAutoRenewalAttributeOutcomeCallable; + typedef Outcome ModifyInstanceAutoRenewalAttributeOutcome; + typedef std::future ModifyInstanceAutoRenewalAttributeOutcomeCallable; typedef std::function&)> ModifyInstanceAutoRenewalAttributeAsyncHandler; - typedef Outcome ModifySQLCollectorPolicyOutcome; - typedef std::future ModifySQLCollectorPolicyOutcomeCallable; + typedef Outcome ModifySQLCollectorPolicyOutcome; + typedef std::future ModifySQLCollectorPolicyOutcomeCallable; typedef std::function&)> ModifySQLCollectorPolicyAsyncHandler; - typedef Outcome AllocateInstanceVpcNetworkTypeOutcome; - typedef std::future AllocateInstanceVpcNetworkTypeOutcomeCallable; + typedef Outcome AllocateInstanceVpcNetworkTypeOutcome; + typedef std::future AllocateInstanceVpcNetworkTypeOutcomeCallable; typedef std::function&)> AllocateInstanceVpcNetworkTypeAsyncHandler; - typedef Outcome DescribeBackupsOutcome; - typedef std::future DescribeBackupsOutcomeCallable; + typedef Outcome DescribeBackupsOutcome; + typedef std::future DescribeBackupsOutcomeCallable; typedef std::function&)> DescribeBackupsAsyncHandler; - typedef Outcome CreateDatabaseOutcome; - typedef std::future CreateDatabaseOutcomeCallable; + typedef Outcome CreateDatabaseOutcome; + typedef std::future CreateDatabaseOutcomeCallable; typedef std::function&)> CreateDatabaseAsyncHandler; - typedef Outcome DescribeCollationTimeZonesOutcome; - typedef std::future DescribeCollationTimeZonesOutcomeCallable; + typedef Outcome DescribeCollationTimeZonesOutcome; + typedef std::future DescribeCollationTimeZonesOutcomeCallable; typedef std::function&)> DescribeCollationTimeZonesAsyncHandler; - typedef Outcome DeleteDBInstanceOutcome; - typedef std::future DeleteDBInstanceOutcomeCallable; + typedef Outcome DeleteDBInstanceOutcome; + typedef std::future DeleteDBInstanceOutcomeCallable; typedef std::function&)> DeleteDBInstanceAsyncHandler; - typedef Outcome ModifyReadonlyInstanceDelayReplicationTimeOutcome; - typedef std::future ModifyReadonlyInstanceDelayReplicationTimeOutcomeCallable; + typedef Outcome ModifyReadonlyInstanceDelayReplicationTimeOutcome; + typedef std::future ModifyReadonlyInstanceDelayReplicationTimeOutcomeCallable; typedef std::function&)> ModifyReadonlyInstanceDelayReplicationTimeAsyncHandler; - typedef Outcome DescribeInstanceAutoRenewalAttributeOutcome; - typedef std::future DescribeInstanceAutoRenewalAttributeOutcomeCallable; + typedef Outcome DescribeInstanceAutoRenewalAttributeOutcome; + typedef std::future DescribeInstanceAutoRenewalAttributeOutcomeCallable; typedef std::function&)> DescribeInstanceAutoRenewalAttributeAsyncHandler; - typedef Outcome SwitchDBInstanceVpcOutcome; - typedef std::future SwitchDBInstanceVpcOutcomeCallable; + typedef Outcome SwitchDBInstanceVpcOutcome; + typedef std::future SwitchDBInstanceVpcOutcomeCallable; typedef std::function&)> SwitchDBInstanceVpcAsyncHandler; - typedef Outcome RestoreDBInstanceOutcome; - typedef std::future RestoreDBInstanceOutcomeCallable; + typedef Outcome RestoreDBInstanceOutcome; + typedef std::future RestoreDBInstanceOutcomeCallable; typedef std::function&)> RestoreDBInstanceAsyncHandler; - typedef Outcome RevokeOperatorPermissionOutcome; - typedef std::future RevokeOperatorPermissionOutcomeCallable; + typedef Outcome RevokeOperatorPermissionOutcome; + typedef std::future RevokeOperatorPermissionOutcomeCallable; typedef std::function&)> RevokeOperatorPermissionAsyncHandler; - typedef Outcome ModifyDBInstanceSpecOutcome; - typedef std::future ModifyDBInstanceSpecOutcomeCallable; + typedef Outcome ModifyDBInstanceSpecOutcome; + typedef std::future ModifyDBInstanceSpecOutcomeCallable; typedef std::function&)> ModifyDBInstanceSpecAsyncHandler; - typedef Outcome DescribeDiagnosticReportListOutcome; - typedef std::future DescribeDiagnosticReportListOutcomeCallable; + typedef Outcome DescribeDiagnosticReportListOutcome; + typedef std::future DescribeDiagnosticReportListOutcomeCallable; typedef std::function&)> DescribeDiagnosticReportListAsyncHandler; - typedef Outcome MigrateSecurityIPModeOutcome; - typedef std::future MigrateSecurityIPModeOutcomeCallable; + typedef Outcome MigrateSecurityIPModeOutcome; + typedef std::future MigrateSecurityIPModeOutcomeCallable; typedef std::function&)> MigrateSecurityIPModeAsyncHandler; - typedef Outcome RemoveTagsFromResourceOutcome; - typedef std::future RemoveTagsFromResourceOutcomeCallable; + typedef Outcome RemoveTagsFromResourceOutcome; + typedef std::future RemoveTagsFromResourceOutcomeCallable; typedef std::function&)> RemoveTagsFromResourceAsyncHandler; - typedef Outcome DescribeSQLLogRecordsOutcome; - typedef std::future DescribeSQLLogRecordsOutcomeCallable; + typedef Outcome DescribeSQLLogRecordsOutcome; + typedef std::future DescribeSQLLogRecordsOutcomeCallable; typedef std::function&)> DescribeSQLLogRecordsAsyncHandler; - typedef Outcome ModifySecurityIpsOutcome; - typedef std::future ModifySecurityIpsOutcomeCallable; + typedef Outcome ModifySecurityIpsOutcome; + typedef std::future ModifySecurityIpsOutcomeCallable; typedef std::function&)> ModifySecurityIpsAsyncHandler; - typedef Outcome DescribeMigrateTasksForSQLServerOutcome; - typedef std::future DescribeMigrateTasksForSQLServerOutcomeCallable; + typedef Outcome DescribeMigrateTasksForSQLServerOutcome; + typedef std::future DescribeMigrateTasksForSQLServerOutcomeCallable; typedef std::function&)> DescribeMigrateTasksForSQLServerAsyncHandler; - typedef Outcome RestoreTableOutcome; - typedef std::future RestoreTableOutcomeCallable; + typedef Outcome RestoreTableOutcome; + typedef std::future RestoreTableOutcomeCallable; typedef std::function&)> RestoreTableAsyncHandler; - typedef Outcome CreateOnlineDatabaseTaskOutcome; - typedef std::future CreateOnlineDatabaseTaskOutcomeCallable; + typedef Outcome CreateOnlineDatabaseTaskOutcome; + typedef std::future CreateOnlineDatabaseTaskOutcomeCallable; typedef std::function&)> CreateOnlineDatabaseTaskAsyncHandler; - typedef Outcome GrantAccountPrivilegeOutcome; - typedef std::future GrantAccountPrivilegeOutcomeCallable; + typedef Outcome GrantAccountPrivilegeOutcome; + typedef std::future GrantAccountPrivilegeOutcomeCallable; typedef std::function&)> GrantAccountPrivilegeAsyncHandler; - typedef Outcome GrantOperatorPermissionOutcome; - typedef std::future GrantOperatorPermissionOutcomeCallable; + typedef Outcome GrantOperatorPermissionOutcome; + typedef std::future GrantOperatorPermissionOutcomeCallable; typedef std::function&)> GrantOperatorPermissionAsyncHandler; - typedef Outcome ModifyDBInstanceTDEOutcome; - typedef std::future ModifyDBInstanceTDEOutcomeCallable; + typedef Outcome ModifyDBInstanceTDEOutcome; + typedef std::future ModifyDBInstanceTDEOutcomeCallable; typedef std::function&)> ModifyDBInstanceTDEAsyncHandler; - typedef Outcome DescribeDBInstancePerformanceOutcome; - typedef std::future DescribeDBInstancePerformanceOutcomeCallable; + typedef Outcome DescribeDBInstancePerformanceOutcome; + typedef std::future DescribeDBInstancePerformanceOutcomeCallable; typedef std::function&)> DescribeDBInstancePerformanceAsyncHandler; - typedef Outcome DescribeDBInstancesOutcome; - typedef std::future DescribeDBInstancesOutcomeCallable; + typedef Outcome DescribeDBInstancesOutcome; + typedef std::future DescribeDBInstancesOutcomeCallable; typedef std::function&)> DescribeDBInstancesAsyncHandler; - typedef Outcome RequestServiceOfCloudDBExpertOutcome; - typedef std::future RequestServiceOfCloudDBExpertOutcomeCallable; + typedef Outcome RequestServiceOfCloudDBExpertOutcome; + typedef std::future RequestServiceOfCloudDBExpertOutcomeCallable; typedef std::function&)> RequestServiceOfCloudDBExpertAsyncHandler; - typedef Outcome DescribeBackupDatabaseOutcome; - typedef std::future DescribeBackupDatabaseOutcomeCallable; + typedef Outcome DescribeBackupDatabaseOutcome; + typedef std::future DescribeBackupDatabaseOutcomeCallable; typedef std::function&)> DescribeBackupDatabaseAsyncHandler; - typedef Outcome CreateDBInstanceReplicaOutcome; - typedef std::future CreateDBInstanceReplicaOutcomeCallable; + typedef Outcome CreateDBInstanceReplicaOutcome; + typedef std::future CreateDBInstanceReplicaOutcomeCallable; typedef std::function&)> CreateDBInstanceReplicaAsyncHandler; - typedef Outcome AllocateInstancePrivateConnectionOutcome; - typedef std::future AllocateInstancePrivateConnectionOutcomeCallable; + typedef Outcome AllocateInstancePrivateConnectionOutcome; + typedef std::future AllocateInstancePrivateConnectionOutcomeCallable; typedef std::function&)> AllocateInstancePrivateConnectionAsyncHandler; - typedef Outcome RevokeAccountPrivilegeOutcome; - typedef std::future RevokeAccountPrivilegeOutcomeCallable; + typedef Outcome RevokeAccountPrivilegeOutcome; + typedef std::future RevokeAccountPrivilegeOutcomeCallable; typedef std::function&)> RevokeAccountPrivilegeAsyncHandler; - typedef Outcome DescribeParameterTemplatesOutcome; - typedef std::future DescribeParameterTemplatesOutcomeCallable; + typedef Outcome DescribeParameterTemplatesOutcome; + typedef std::future DescribeParameterTemplatesOutcomeCallable; typedef std::function&)> DescribeParameterTemplatesAsyncHandler; - typedef Outcome DescibeImportsFromDatabaseOutcome; - typedef std::future DescibeImportsFromDatabaseOutcomeCallable; + typedef Outcome DescibeImportsFromDatabaseOutcome; + typedef std::future DescibeImportsFromDatabaseOutcomeCallable; typedef std::function&)> DescibeImportsFromDatabaseAsyncHandler; - typedef Outcome CopyDatabaseBetweenInstancesOutcome; - typedef std::future CopyDatabaseBetweenInstancesOutcomeCallable; + typedef Outcome CopyDatabaseBetweenInstancesOutcome; + typedef std::future CopyDatabaseBetweenInstancesOutcomeCallable; typedef std::function&)> CopyDatabaseBetweenInstancesAsyncHandler; - typedef Outcome DescribeInstanceVpcMigrateInfoOutcome; - typedef std::future DescribeInstanceVpcMigrateInfoOutcomeCallable; + typedef Outcome DescribeInstanceVpcMigrateInfoOutcome; + typedef std::future DescribeInstanceVpcMigrateInfoOutcomeCallable; typedef std::function&)> DescribeInstanceVpcMigrateInfoAsyncHandler; - typedef Outcome CopyDatabaseOutcome; - typedef std::future CopyDatabaseOutcomeCallable; + typedef Outcome CopyDatabaseOutcome; + typedef std::future CopyDatabaseOutcomeCallable; typedef std::function&)> CopyDatabaseAsyncHandler; - typedef Outcome CreateDBInstanceOutcome; - typedef std::future CreateDBInstanceOutcomeCallable; + typedef Outcome CreateDBInstanceOutcome; + typedef std::future CreateDBInstanceOutcomeCallable; typedef std::function&)> CreateDBInstanceAsyncHandler; - typedef Outcome ModifyDBInstanceSSLOutcome; - typedef std::future ModifyDBInstanceSSLOutcomeCallable; + typedef Outcome ModifyDBInstanceSSLOutcome; + typedef std::future ModifyDBInstanceSSLOutcomeCallable; typedef std::function&)> ModifyDBInstanceSSLAsyncHandler; - typedef Outcome DescribeDBInstanceTDEOutcome; - typedef std::future DescribeDBInstanceTDEOutcomeCallable; + typedef Outcome DescribeDBInstanceTDEOutcome; + typedef std::future DescribeDBInstanceTDEOutcomeCallable; typedef std::function&)> DescribeDBInstanceTDEAsyncHandler; - typedef Outcome DescribeSQLLogReportsOutcome; - typedef std::future DescribeSQLLogReportsOutcomeCallable; + typedef Outcome DescribeSQLLogReportsOutcome; + typedef std::future DescribeSQLLogReportsOutcomeCallable; typedef std::function&)> DescribeSQLLogReportsAsyncHandler; - typedef Outcome ModifyDBInstanceConnectionModeOutcome; - typedef std::future ModifyDBInstanceConnectionModeOutcomeCallable; + typedef Outcome ModifyDBInstanceConnectionModeOutcome; + typedef std::future ModifyDBInstanceConnectionModeOutcomeCallable; typedef std::function&)> ModifyDBInstanceConnectionModeAsyncHandler; - typedef Outcome DescribeDBInstanceNetInfoOutcome; - typedef std::future DescribeDBInstanceNetInfoOutcomeCallable; + typedef Outcome DescribeDBInstanceNetInfoOutcome; + typedef std::future DescribeDBInstanceNetInfoOutcomeCallable; typedef std::function&)> DescribeDBInstanceNetInfoAsyncHandler; - typedef Outcome DescribeAvailableResourceOutcome; - typedef std::future DescribeAvailableResourceOutcomeCallable; + typedef Outcome DescribeAvailableResourceOutcome; + typedef std::future DescribeAvailableResourceOutcomeCallable; typedef std::function&)> DescribeAvailableResourceAsyncHandler; - typedef Outcome AllocateReadWriteSplittingConnectionOutcome; - typedef std::future AllocateReadWriteSplittingConnectionOutcomeCallable; + typedef Outcome AllocateReadWriteSplittingConnectionOutcome; + typedef std::future AllocateReadWriteSplittingConnectionOutcomeCallable; typedef std::function&)> AllocateReadWriteSplittingConnectionAsyncHandler; - typedef Outcome DescribeCloudDbExpertServiceOutcome; - typedef std::future DescribeCloudDbExpertServiceOutcomeCallable; + typedef Outcome DescribeCloudDbExpertServiceOutcome; + typedef std::future DescribeCloudDbExpertServiceOutcomeCallable; typedef std::function&)> DescribeCloudDbExpertServiceAsyncHandler; - typedef Outcome ReleaseInstancePublicConnectionOutcome; - typedef std::future ReleaseInstancePublicConnectionOutcomeCallable; + typedef Outcome EvaluateSupportByokShowOutcome; + typedef std::future EvaluateSupportByokShowOutcomeCallable; + typedef std::function&)> EvaluateSupportByokShowAsyncHandler; + typedef Outcome ReleaseInstancePublicConnectionOutcome; + typedef std::future ReleaseInstancePublicConnectionOutcomeCallable; typedef std::function&)> ReleaseInstancePublicConnectionAsyncHandler; - typedef Outcome CalculateDBInstanceWeightOutcome; - typedef std::future CalculateDBInstanceWeightOutcomeCallable; + typedef Outcome CalculateDBInstanceWeightOutcome; + typedef std::future CalculateDBInstanceWeightOutcomeCallable; typedef std::function&)> CalculateDBInstanceWeightAsyncHandler; - typedef Outcome ModifyDBInstanceNetworkTypeOutcome; - typedef std::future ModifyDBInstanceNetworkTypeOutcomeCallable; + typedef Outcome ModifyDBInstanceNetworkTypeOutcome; + typedef std::future ModifyDBInstanceNetworkTypeOutcomeCallable; typedef std::function&)> ModifyDBInstanceNetworkTypeAsyncHandler; - typedef Outcome DescribeSlowLogsOutcome; - typedef std::future DescribeSlowLogsOutcomeCallable; + typedef Outcome DescribeSlowLogsOutcome; + typedef std::future DescribeSlowLogsOutcomeCallable; typedef std::function&)> DescribeSlowLogsAsyncHandler; - typedef Outcome CreateBackupOutcome; - typedef std::future CreateBackupOutcomeCallable; + typedef Outcome CreateBackupOutcome; + typedef std::future CreateBackupOutcomeCallable; typedef std::function&)> CreateBackupAsyncHandler; - typedef Outcome ModifyReadWriteSplittingConnectionOutcome; - typedef std::future ModifyReadWriteSplittingConnectionOutcomeCallable; + typedef Outcome ModifyReadWriteSplittingConnectionOutcome; + typedef std::future ModifyReadWriteSplittingConnectionOutcomeCallable; typedef std::function&)> ModifyReadWriteSplittingConnectionAsyncHandler; - typedef Outcome ModifyDBInstanceMaintainTimeOutcome; - typedef std::future ModifyDBInstanceMaintainTimeOutcomeCallable; + typedef Outcome ModifyDBInstanceMaintainTimeOutcome; + typedef std::future ModifyDBInstanceMaintainTimeOutcomeCallable; typedef std::function&)> ModifyDBInstanceMaintainTimeAsyncHandler; - typedef Outcome ModifyDBInstanceDescriptionOutcome; - typedef std::future ModifyDBInstanceDescriptionOutcomeCallable; + typedef Outcome ModifyDBInstanceDescriptionOutcome; + typedef std::future ModifyDBInstanceDescriptionOutcomeCallable; typedef std::function&)> ModifyDBInstanceDescriptionAsyncHandler; - typedef Outcome ModifyResourceGroupOutcome; - typedef std::future ModifyResourceGroupOutcomeCallable; + typedef Outcome ModifyResourceGroupOutcome; + typedef std::future ModifyResourceGroupOutcomeCallable; typedef std::function&)> ModifyResourceGroupAsyncHandler; - typedef Outcome DescribeProxyFunctionSupportOutcome; - typedef std::future DescribeProxyFunctionSupportOutcomeCallable; + typedef Outcome DescribeProxyFunctionSupportOutcome; + typedef std::future DescribeProxyFunctionSupportOutcomeCallable; typedef std::function&)> DescribeProxyFunctionSupportAsyncHandler; - typedef Outcome DescribeOssDownloadsForSQLServerOutcome; - typedef std::future DescribeOssDownloadsForSQLServerOutcomeCallable; + typedef Outcome DescribeOssDownloadsForSQLServerOutcome; + typedef std::future DescribeOssDownloadsForSQLServerOutcomeCallable; typedef std::function&)> DescribeOssDownloadsForSQLServerAsyncHandler; - typedef Outcome ResetAccountOutcome; - typedef std::future ResetAccountOutcomeCallable; + typedef Outcome ResetAccountOutcome; + typedef std::future ResetAccountOutcomeCallable; typedef std::function&)> ResetAccountAsyncHandler; - typedef Outcome DescribeResourceUsageOutcome; - typedef std::future DescribeResourceUsageOutcomeCallable; + typedef Outcome DescribeResourceUsageOutcome; + typedef std::future DescribeResourceUsageOutcomeCallable; typedef std::function&)> DescribeResourceUsageAsyncHandler; - typedef Outcome PurgeDBInstanceLogOutcome; - typedef std::future PurgeDBInstanceLogOutcomeCallable; + typedef Outcome PurgeDBInstanceLogOutcome; + typedef std::future PurgeDBInstanceLogOutcomeCallable; typedef std::function&)> PurgeDBInstanceLogAsyncHandler; - typedef Outcome DescribeTaskInfoOutcome; - typedef std::future DescribeTaskInfoOutcomeCallable; + typedef Outcome DescribeTaskInfoOutcome; + typedef std::future DescribeTaskInfoOutcomeCallable; typedef std::function&)> DescribeTaskInfoAsyncHandler; - typedef Outcome UpgradeDBInstanceKernelVersionOutcome; - typedef std::future UpgradeDBInstanceKernelVersionOutcomeCallable; + typedef Outcome UpgradeDBInstanceKernelVersionOutcome; + typedef std::future UpgradeDBInstanceKernelVersionOutcomeCallable; typedef std::function&)> UpgradeDBInstanceKernelVersionAsyncHandler; - typedef Outcome ModifyMySQLDBInstanceDelayOutcome; - typedef std::future ModifyMySQLDBInstanceDelayOutcomeCallable; + typedef Outcome ModifyMySQLDBInstanceDelayOutcome; + typedef std::future ModifyMySQLDBInstanceDelayOutcomeCallable; typedef std::function&)> ModifyMySQLDBInstanceDelayAsyncHandler; - typedef Outcome DescribeRegionsOutcome; - typedef std::future DescribeRegionsOutcomeCallable; + typedef Outcome DescribeRegionsOutcome; + typedef std::future DescribeRegionsOutcomeCallable; typedef std::function&)> DescribeRegionsAsyncHandler; - typedef Outcome MigrateToOtherZoneOutcome; - typedef std::future MigrateToOtherZoneOutcomeCallable; + typedef Outcome MigrateToOtherZoneOutcome; + typedef std::future MigrateToOtherZoneOutcomeCallable; typedef std::function&)> MigrateToOtherZoneAsyncHandler; - typedef Outcome DeleteAccountOutcome; - typedef std::future DeleteAccountOutcomeCallable; + typedef Outcome DeleteAccountOutcome; + typedef std::future DeleteAccountOutcomeCallable; typedef std::function&)> DeleteAccountAsyncHandler; - typedef Outcome DescribeSlowLogRecordsOutcome; - typedef std::future DescribeSlowLogRecordsOutcomeCallable; + typedef Outcome DescribeSlowLogRecordsOutcome; + typedef std::future DescribeSlowLogRecordsOutcomeCallable; typedef std::function&)> DescribeSlowLogRecordsAsyncHandler; - typedef Outcome ReleaseReadWriteSplittingConnectionOutcome; - typedef std::future ReleaseReadWriteSplittingConnectionOutcomeCallable; + typedef Outcome ReleaseReadWriteSplittingConnectionOutcome; + typedef std::future ReleaseReadWriteSplittingConnectionOutcomeCallable; typedef std::function&)> ReleaseReadWriteSplittingConnectionAsyncHandler; - typedef Outcome DescribeLogBackupFilesOutcome; - typedef std::future DescribeLogBackupFilesOutcomeCallable; + typedef Outcome DescribeLogBackupFilesOutcome; + typedef std::future DescribeLogBackupFilesOutcomeCallable; typedef std::function&)> DescribeLogBackupFilesAsyncHandler; - typedef Outcome DescribeAvailableInstanceClassOutcome; - typedef std::future DescribeAvailableInstanceClassOutcomeCallable; + typedef Outcome DescribeAvailableInstanceClassOutcome; + typedef std::future DescribeAvailableInstanceClassOutcomeCallable; typedef std::function&)> DescribeAvailableInstanceClassAsyncHandler; - typedef Outcome DescribeErrorLogsOutcome; - typedef std::future DescribeErrorLogsOutcomeCallable; + typedef Outcome DescribeErrorLogsOutcome; + typedef std::future DescribeErrorLogsOutcomeCallable; typedef std::function&)> DescribeErrorLogsAsyncHandler; - typedef Outcome ModifyDBInstanceHAConfigOutcome; - typedef std::future ModifyDBInstanceHAConfigOutcomeCallable; + typedef Outcome ModifyDBInstanceHAConfigOutcome; + typedef std::future ModifyDBInstanceHAConfigOutcomeCallable; typedef std::function&)> ModifyDBInstanceHAConfigAsyncHandler; - typedef Outcome DescribeDBInstancesAsCsvOutcome; - typedef std::future DescribeDBInstancesAsCsvOutcomeCallable; + typedef Outcome DescribeDBInstancesAsCsvOutcome; + typedef std::future DescribeDBInstancesAsCsvOutcomeCallable; typedef std::function&)> DescribeDBInstancesAsCsvAsyncHandler; - typedef Outcome ResetAccountPasswordOutcome; - typedef std::future ResetAccountPasswordOutcomeCallable; + typedef Outcome ResetAccountPasswordOutcome; + typedef std::future ResetAccountPasswordOutcomeCallable; typedef std::function&)> ResetAccountPasswordAsyncHandler; - typedef Outcome ModifyDBInstanceProxyConfigurationOutcome; - typedef std::future ModifyDBInstanceProxyConfigurationOutcomeCallable; + typedef Outcome ModifyDBInstanceProxyConfigurationOutcome; + typedef std::future ModifyDBInstanceProxyConfigurationOutcomeCallable; typedef std::function&)> ModifyDBInstanceProxyConfigurationAsyncHandler; - typedef Outcome DescribePriceOutcome; - typedef std::future DescribePriceOutcomeCallable; + typedef Outcome DescribePriceOutcome; + typedef std::future DescribePriceOutcomeCallable; typedef std::function&)> DescribePriceAsyncHandler; - typedef Outcome DescribeAccountsOutcome; - typedef std::future DescribeAccountsOutcomeCallable; + typedef Outcome DescribeAccountsOutcome; + typedef std::future DescribeAccountsOutcomeCallable; typedef std::function&)> DescribeAccountsAsyncHandler; - typedef Outcome DescribeDBInstanceByTagsOutcome; - typedef std::future DescribeDBInstanceByTagsOutcomeCallable; + typedef Outcome DescribeDBInstanceByTagsOutcome; + typedef std::future DescribeDBInstanceByTagsOutcomeCallable; typedef std::function&)> DescribeDBInstanceByTagsAsyncHandler; - typedef Outcome DescribeMetaListOutcome; - typedef std::future DescribeMetaListOutcomeCallable; + typedef Outcome DescribeMetaListOutcome; + typedef std::future DescribeMetaListOutcomeCallable; typedef std::function&)> DescribeMetaListAsyncHandler; - typedef Outcome DescribeDBInstanceSSLOutcome; - typedef std::future DescribeDBInstanceSSLOutcomeCallable; + typedef Outcome DescribeDBInstanceSSLOutcome; + typedef std::future DescribeDBInstanceSSLOutcomeCallable; typedef std::function&)> DescribeDBInstanceSSLAsyncHandler; - typedef Outcome DescribeDBInstancesByPerformanceOutcome; - typedef std::future DescribeDBInstancesByPerformanceOutcomeCallable; + typedef Outcome DescribeDBInstancesByPerformanceOutcome; + typedef std::future DescribeDBInstancesByPerformanceOutcomeCallable; typedef std::function&)> DescribeDBInstancesByPerformanceAsyncHandler; - typedef Outcome DescribeSQLReportsOutcome; - typedef std::future DescribeSQLReportsOutcomeCallable; + typedef Outcome DescribeSQLReportsOutcome; + typedef std::future DescribeSQLReportsOutcomeCallable; typedef std::function&)> DescribeSQLReportsAsyncHandler; - typedef Outcome DescribeBackupTasksOutcome; - typedef std::future DescribeBackupTasksOutcomeCallable; + typedef Outcome DescribeBackupTasksOutcome; + typedef std::future DescribeBackupTasksOutcomeCallable; typedef std::function&)> DescribeBackupTasksAsyncHandler; - typedef Outcome DeleteDatabaseOutcome; - typedef std::future DeleteDatabaseOutcomeCallable; + typedef Outcome DeleteDatabaseOutcome; + typedef std::future DeleteDatabaseOutcomeCallable; typedef std::function&)> DeleteDatabaseAsyncHandler; - typedef Outcome ModifyCollationTimeZoneOutcome; - typedef std::future ModifyCollationTimeZoneOutcomeCallable; + typedef Outcome ModifyCollationTimeZoneOutcome; + typedef std::future ModifyCollationTimeZoneOutcomeCallable; typedef std::function&)> ModifyCollationTimeZoneAsyncHandler; - typedef Outcome DescribeBackupPolicyOutcome; - typedef std::future DescribeBackupPolicyOutcomeCallable; + typedef Outcome DescribeBackupPolicyOutcome; + typedef std::future DescribeBackupPolicyOutcomeCallable; typedef std::function&)> DescribeBackupPolicyAsyncHandler; - typedef Outcome CreateMigrateTaskForSQLServerOutcome; - typedef std::future CreateMigrateTaskForSQLServerOutcomeCallable; + typedef Outcome CreateMigrateTaskForSQLServerOutcome; + typedef std::future CreateMigrateTaskForSQLServerOutcomeCallable; typedef std::function&)> CreateMigrateTaskForSQLServerAsyncHandler; - typedef Outcome DescribeDBInstanceIPArrayListOutcome; - typedef std::future DescribeDBInstanceIPArrayListOutcomeCallable; + typedef Outcome DescribeDBInstanceIPArrayListOutcome; + typedef std::future DescribeDBInstanceIPArrayListOutcomeCallable; typedef std::function&)> DescribeDBInstanceIPArrayListAsyncHandler; - typedef Outcome SwitchDBInstanceHAOutcome; - typedef std::future SwitchDBInstanceHAOutcomeCallable; + typedef Outcome SwitchDBInstanceHAOutcome; + typedef std::future SwitchDBInstanceHAOutcomeCallable; typedef std::function&)> SwitchDBInstanceHAAsyncHandler; - typedef Outcome ResetAccountForPGOutcome; - typedef std::future ResetAccountForPGOutcomeCallable; + typedef Outcome ResetAccountForPGOutcome; + typedef std::future ResetAccountForPGOutcomeCallable; typedef std::function&)> ResetAccountForPGAsyncHandler; - - RdsClient(const Credentials &credentials, const ClientConfiguration &configuration); - RdsClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); - RdsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); - ~RdsClient(); - CreateMigrateTaskOutcome createMigrateTask(const Model::CreateMigrateTaskRequest &request)const; - void createMigrateTaskAsync(const Model::CreateMigrateTaskRequest& request, const CreateMigrateTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + + RdsClient(const Credentials &credentials, const ClientConfiguration &configuration); + RdsClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + RdsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~RdsClient(); + CreateMigrateTaskOutcome createMigrateTask(const Model::CreateMigrateTaskRequest &request)const; + void createMigrateTaskAsync(const Model::CreateMigrateTaskRequest& request, const CreateMigrateTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMigrateTaskOutcomeCallable createMigrateTaskCallable(const Model::CreateMigrateTaskRequest& request) const; - CheckRecoveryConditionsOutcome checkRecoveryConditions(const Model::CheckRecoveryConditionsRequest &request)const; - void checkRecoveryConditionsAsync(const Model::CheckRecoveryConditionsRequest& request, const CheckRecoveryConditionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckRecoveryConditionsOutcome checkRecoveryConditions(const Model::CheckRecoveryConditionsRequest &request)const; + void checkRecoveryConditionsAsync(const Model::CheckRecoveryConditionsRequest& request, const CheckRecoveryConditionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CheckRecoveryConditionsOutcomeCallable checkRecoveryConditionsCallable(const Model::CheckRecoveryConditionsRequest& request) const; - DeleteBackupOutcome deleteBackup(const Model::DeleteBackupRequest &request)const; - void deleteBackupAsync(const Model::DeleteBackupRequest& request, const DeleteBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteBackupOutcome deleteBackup(const Model::DeleteBackupRequest &request)const; + void deleteBackupAsync(const Model::DeleteBackupRequest& request, const DeleteBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteBackupOutcomeCallable deleteBackupCallable(const Model::DeleteBackupRequest& request) const; - DescribeDatabasesOutcome describeDatabases(const Model::DescribeDatabasesRequest &request)const; - void describeDatabasesAsync(const Model::DescribeDatabasesRequest& request, const DescribeDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDatabasesOutcome describeDatabases(const Model::DescribeDatabasesRequest &request)const; + void describeDatabasesAsync(const Model::DescribeDatabasesRequest& request, const DescribeDatabasesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDatabasesOutcomeCallable describeDatabasesCallable(const Model::DescribeDatabasesRequest& request) const; - DescribeDBInstancesByExpireTimeOutcome describeDBInstancesByExpireTime(const Model::DescribeDBInstancesByExpireTimeRequest &request)const; - void describeDBInstancesByExpireTimeAsync(const Model::DescribeDBInstancesByExpireTimeRequest& request, const DescribeDBInstancesByExpireTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstancesByExpireTimeOutcome describeDBInstancesByExpireTime(const Model::DescribeDBInstancesByExpireTimeRequest &request)const; + void describeDBInstancesByExpireTimeAsync(const Model::DescribeDBInstancesByExpireTimeRequest& request, const DescribeDBInstancesByExpireTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstancesByExpireTimeOutcomeCallable describeDBInstancesByExpireTimeCallable(const Model::DescribeDBInstancesByExpireTimeRequest& request) const; - SwitchDBInstanceNetTypeOutcome switchDBInstanceNetType(const Model::SwitchDBInstanceNetTypeRequest &request)const; - void switchDBInstanceNetTypeAsync(const Model::SwitchDBInstanceNetTypeRequest& request, const SwitchDBInstanceNetTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SwitchDBInstanceNetTypeOutcome switchDBInstanceNetType(const Model::SwitchDBInstanceNetTypeRequest &request)const; + void switchDBInstanceNetTypeAsync(const Model::SwitchDBInstanceNetTypeRequest& request, const SwitchDBInstanceNetTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SwitchDBInstanceNetTypeOutcomeCallable switchDBInstanceNetTypeCallable(const Model::SwitchDBInstanceNetTypeRequest& request) const; - DescribeDBInstanceMonitorOutcome describeDBInstanceMonitor(const Model::DescribeDBInstanceMonitorRequest &request)const; - void describeDBInstanceMonitorAsync(const Model::DescribeDBInstanceMonitorRequest& request, const DescribeDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceMonitorOutcome describeDBInstanceMonitor(const Model::DescribeDBInstanceMonitorRequest &request)const; + void describeDBInstanceMonitorAsync(const Model::DescribeDBInstanceMonitorRequest& request, const DescribeDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceMonitorOutcomeCallable describeDBInstanceMonitorCallable(const Model::DescribeDBInstanceMonitorRequest& request) const; - DescribeDBInstanceHAConfigOutcome describeDBInstanceHAConfig(const Model::DescribeDBInstanceHAConfigRequest &request)const; - void describeDBInstanceHAConfigAsync(const Model::DescribeDBInstanceHAConfigRequest& request, const DescribeDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceHAConfigOutcome describeDBInstanceHAConfig(const Model::DescribeDBInstanceHAConfigRequest &request)const; + void describeDBInstanceHAConfigAsync(const Model::DescribeDBInstanceHAConfigRequest& request, const DescribeDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceHAConfigOutcomeCallable describeDBInstanceHAConfigCallable(const Model::DescribeDBInstanceHAConfigRequest& request) const; - CreateReadOnlyDBInstanceOutcome createReadOnlyDBInstance(const Model::CreateReadOnlyDBInstanceRequest &request)const; - void createReadOnlyDBInstanceAsync(const Model::CreateReadOnlyDBInstanceRequest& request, const CreateReadOnlyDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateReadOnlyDBInstanceOutcome createReadOnlyDBInstance(const Model::CreateReadOnlyDBInstanceRequest &request)const; + void createReadOnlyDBInstanceAsync(const Model::CreateReadOnlyDBInstanceRequest& request, const CreateReadOnlyDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateReadOnlyDBInstanceOutcomeCallable createReadOnlyDBInstanceCallable(const Model::CreateReadOnlyDBInstanceRequest& request) const; - ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const; - void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const; + void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& request) const; - MigrateToOtherRegionOutcome migrateToOtherRegion(const Model::MigrateToOtherRegionRequest &request)const; - void migrateToOtherRegionAsync(const Model::MigrateToOtherRegionRequest& request, const MigrateToOtherRegionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MigrateToOtherRegionOutcome migrateToOtherRegion(const Model::MigrateToOtherRegionRequest &request)const; + void migrateToOtherRegionAsync(const Model::MigrateToOtherRegionRequest& request, const MigrateToOtherRegionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; MigrateToOtherRegionOutcomeCallable migrateToOtherRegionCallable(const Model::MigrateToOtherRegionRequest& request) const; - DescribeOssDownloadsOutcome describeOssDownloads(const Model::DescribeOssDownloadsRequest &request)const; - void describeOssDownloadsAsync(const Model::DescribeOssDownloadsRequest& request, const DescribeOssDownloadsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssDownloadsOutcome describeOssDownloads(const Model::DescribeOssDownloadsRequest &request)const; + void describeOssDownloadsAsync(const Model::DescribeOssDownloadsRequest& request, const DescribeOssDownloadsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeOssDownloadsOutcomeCallable describeOssDownloadsCallable(const Model::DescribeOssDownloadsRequest& request) const; - ModifyParameterOutcome modifyParameter(const Model::ModifyParameterRequest &request)const; - void modifyParameterAsync(const Model::ModifyParameterRequest& request, const ModifyParameterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyParameterOutcome modifyParameter(const Model::ModifyParameterRequest &request)const; + void modifyParameterAsync(const Model::ModifyParameterRequest& request, const ModifyParameterAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyParameterOutcomeCallable modifyParameterCallable(const Model::ModifyParameterRequest& request) const; - UpgradeDBInstanceEngineVersionOutcome upgradeDBInstanceEngineVersion(const Model::UpgradeDBInstanceEngineVersionRequest &request)const; - void upgradeDBInstanceEngineVersionAsync(const Model::UpgradeDBInstanceEngineVersionRequest& request, const UpgradeDBInstanceEngineVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpgradeDBInstanceEngineVersionOutcome upgradeDBInstanceEngineVersion(const Model::UpgradeDBInstanceEngineVersionRequest &request)const; + void upgradeDBInstanceEngineVersionAsync(const Model::UpgradeDBInstanceEngineVersionRequest& request, const UpgradeDBInstanceEngineVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpgradeDBInstanceEngineVersionOutcomeCallable upgradeDBInstanceEngineVersionCallable(const Model::UpgradeDBInstanceEngineVersionRequest& request) const; - ModifyDBInstanceConnectionStringOutcome modifyDBInstanceConnectionString(const Model::ModifyDBInstanceConnectionStringRequest &request)const; - void modifyDBInstanceConnectionStringAsync(const Model::ModifyDBInstanceConnectionStringRequest& request, const ModifyDBInstanceConnectionStringAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceConnectionStringOutcome modifyDBInstanceConnectionString(const Model::ModifyDBInstanceConnectionStringRequest &request)const; + void modifyDBInstanceConnectionStringAsync(const Model::ModifyDBInstanceConnectionStringRequest& request, const ModifyDBInstanceConnectionStringAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceConnectionStringOutcomeCallable modifyDBInstanceConnectionStringCallable(const Model::ModifyDBInstanceConnectionStringRequest& request) const; - CheckAccountNameAvailableOutcome checkAccountNameAvailable(const Model::CheckAccountNameAvailableRequest &request)const; - void checkAccountNameAvailableAsync(const Model::CheckAccountNameAvailableRequest& request, const CheckAccountNameAvailableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckAccountNameAvailableOutcome checkAccountNameAvailable(const Model::CheckAccountNameAvailableRequest &request)const; + void checkAccountNameAvailableAsync(const Model::CheckAccountNameAvailableRequest& request, const CheckAccountNameAvailableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CheckAccountNameAvailableOutcomeCallable checkAccountNameAvailableCallable(const Model::CheckAccountNameAvailableRequest& request) const; - RestartDBInstanceOutcome restartDBInstance(const Model::RestartDBInstanceRequest &request)const; - void restartDBInstanceAsync(const Model::RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RestartDBInstanceOutcome restartDBInstance(const Model::RestartDBInstanceRequest &request)const; + void restartDBInstanceAsync(const Model::RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RestartDBInstanceOutcomeCallable restartDBInstanceCallable(const Model::RestartDBInstanceRequest& request) const; - DescribeTemplatesListOutcome describeTemplatesList(const Model::DescribeTemplatesListRequest &request)const; - void describeTemplatesListAsync(const Model::DescribeTemplatesListRequest& request, const DescribeTemplatesListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTemplatesListOutcome describeTemplatesList(const Model::DescribeTemplatesListRequest &request)const; + void describeTemplatesListAsync(const Model::DescribeTemplatesListRequest& request, const DescribeTemplatesListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTemplatesListOutcomeCallable describeTemplatesListCallable(const Model::DescribeTemplatesListRequest& request) const; - ImportDataForSQLServerOutcome importDataForSQLServer(const Model::ImportDataForSQLServerRequest &request)const; - void importDataForSQLServerAsync(const Model::ImportDataForSQLServerRequest& request, const ImportDataForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportDataForSQLServerOutcome importDataForSQLServer(const Model::ImportDataForSQLServerRequest &request)const; + void importDataForSQLServerAsync(const Model::ImportDataForSQLServerRequest& request, const ImportDataForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ImportDataForSQLServerOutcomeCallable importDataForSQLServerCallable(const Model::ImportDataForSQLServerRequest& request) const; - ModifySecurityGroupConfigurationOutcome modifySecurityGroupConfiguration(const Model::ModifySecurityGroupConfigurationRequest &request)const; - void modifySecurityGroupConfigurationAsync(const Model::ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySecurityGroupConfigurationOutcome modifySecurityGroupConfiguration(const Model::ModifySecurityGroupConfigurationRequest &request)const; + void modifySecurityGroupConfigurationAsync(const Model::ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifySecurityGroupConfigurationOutcomeCallable modifySecurityGroupConfigurationCallable(const Model::ModifySecurityGroupConfigurationRequest& request) const; - DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const; - void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const; + void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTagsOutcomeCallable describeTagsCallable(const Model::DescribeTagsRequest& request) const; - CheckResourceOutcome checkResource(const Model::CheckResourceRequest &request)const; - void checkResourceAsync(const Model::CheckResourceRequest& request, const CheckResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckResourceOutcome checkResource(const Model::CheckResourceRequest &request)const; + void checkResourceAsync(const Model::CheckResourceRequest& request, const CheckResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CheckResourceOutcomeCallable checkResourceCallable(const Model::CheckResourceRequest& request) const; - DescribeCharacterSetNameOutcome describeCharacterSetName(const Model::DescribeCharacterSetNameRequest &request)const; - void describeCharacterSetNameAsync(const Model::DescribeCharacterSetNameRequest& request, const DescribeCharacterSetNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCharacterSetNameOutcome describeCharacterSetName(const Model::DescribeCharacterSetNameRequest &request)const; + void describeCharacterSetNameAsync(const Model::DescribeCharacterSetNameRequest& request, const DescribeCharacterSetNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCharacterSetNameOutcomeCallable describeCharacterSetNameCallable(const Model::DescribeCharacterSetNameRequest& request) const; - DescribeMigrateTasksOutcome describeMigrateTasks(const Model::DescribeMigrateTasksRequest &request)const; - void describeMigrateTasksAsync(const Model::DescribeMigrateTasksRequest& request, const DescribeMigrateTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMigrateTasksOutcome describeMigrateTasks(const Model::DescribeMigrateTasksRequest &request)const; + void describeMigrateTasksAsync(const Model::DescribeMigrateTasksRequest& request, const DescribeMigrateTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeMigrateTasksOutcomeCallable describeMigrateTasksCallable(const Model::DescribeMigrateTasksRequest& request) const; - ModifyDBInstanceNetworkExpireTimeOutcome modifyDBInstanceNetworkExpireTime(const Model::ModifyDBInstanceNetworkExpireTimeRequest &request)const; - void modifyDBInstanceNetworkExpireTimeAsync(const Model::ModifyDBInstanceNetworkExpireTimeRequest& request, const ModifyDBInstanceNetworkExpireTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceNetworkExpireTimeOutcome modifyDBInstanceNetworkExpireTime(const Model::ModifyDBInstanceNetworkExpireTimeRequest &request)const; + void modifyDBInstanceNetworkExpireTimeAsync(const Model::ModifyDBInstanceNetworkExpireTimeRequest& request, const ModifyDBInstanceNetworkExpireTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceNetworkExpireTimeOutcomeCallable modifyDBInstanceNetworkExpireTimeCallable(const Model::ModifyDBInstanceNetworkExpireTimeRequest& request) const; - CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const; - void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const; + void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const; - DescribeModifyParameterLogOutcome describeModifyParameterLog(const Model::DescribeModifyParameterLogRequest &request)const; - void describeModifyParameterLogAsync(const Model::DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeModifyParameterLogOutcome describeModifyParameterLog(const Model::DescribeModifyParameterLogRequest &request)const; + void describeModifyParameterLogAsync(const Model::DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeModifyParameterLogOutcomeCallable describeModifyParameterLogCallable(const Model::DescribeModifyParameterLogRequest& request) const; - RecoveryDBInstanceOutcome recoveryDBInstance(const Model::RecoveryDBInstanceRequest &request)const; - void recoveryDBInstanceAsync(const Model::RecoveryDBInstanceRequest& request, const RecoveryDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RecoveryDBInstanceOutcome recoveryDBInstance(const Model::RecoveryDBInstanceRequest &request)const; + void recoveryDBInstanceAsync(const Model::RecoveryDBInstanceRequest& request, const RecoveryDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RecoveryDBInstanceOutcomeCallable recoveryDBInstanceCallable(const Model::RecoveryDBInstanceRequest& request) const; - ModifyDBDescriptionOutcome modifyDBDescription(const Model::ModifyDBDescriptionRequest &request)const; - void modifyDBDescriptionAsync(const Model::ModifyDBDescriptionRequest& request, const ModifyDBDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBDescriptionOutcome modifyDBDescription(const Model::ModifyDBDescriptionRequest &request)const; + void modifyDBDescriptionAsync(const Model::ModifyDBDescriptionRequest& request, const ModifyDBDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBDescriptionOutcomeCallable modifyDBDescriptionCallable(const Model::ModifyDBDescriptionRequest& request) const; - ImportDatabaseBetweenInstancesOutcome importDatabaseBetweenInstances(const Model::ImportDatabaseBetweenInstancesRequest &request)const; - void importDatabaseBetweenInstancesAsync(const Model::ImportDatabaseBetweenInstancesRequest& request, const ImportDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportDatabaseBetweenInstancesOutcome importDatabaseBetweenInstances(const Model::ImportDatabaseBetweenInstancesRequest &request)const; + void importDatabaseBetweenInstancesAsync(const Model::ImportDatabaseBetweenInstancesRequest& request, const ImportDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ImportDatabaseBetweenInstancesOutcomeCallable importDatabaseBetweenInstancesCallable(const Model::ImportDatabaseBetweenInstancesRequest& request) const; - RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const; - void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RenewInstanceOutcome renewInstance(const Model::RenewInstanceRequest &request)const; + void renewInstanceAsync(const Model::RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RenewInstanceOutcomeCallable renewInstanceCallable(const Model::RenewInstanceRequest& request) const; - ModifyDBInstanceMonitorOutcome modifyDBInstanceMonitor(const Model::ModifyDBInstanceMonitorRequest &request)const; - void modifyDBInstanceMonitorAsync(const Model::ModifyDBInstanceMonitorRequest& request, const ModifyDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceMonitorOutcome modifyDBInstanceMonitor(const Model::ModifyDBInstanceMonitorRequest &request)const; + void modifyDBInstanceMonitorAsync(const Model::ModifyDBInstanceMonitorRequest& request, const ModifyDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceMonitorOutcomeCallable modifyDBInstanceMonitorCallable(const Model::ModifyDBInstanceMonitorRequest& request) const; - DescribeSQLLogFilesOutcome describeSQLLogFiles(const Model::DescribeSQLLogFilesRequest &request)const; - void describeSQLLogFilesAsync(const Model::DescribeSQLLogFilesRequest& request, const DescribeSQLLogFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLLogFilesOutcome describeSQLLogFiles(const Model::DescribeSQLLogFilesRequest &request)const; + void describeSQLLogFilesAsync(const Model::DescribeSQLLogFilesRequest& request, const DescribeSQLLogFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSQLLogFilesOutcomeCallable describeSQLLogFilesCallable(const Model::DescribeSQLLogFilesRequest& request) const; - CancelImportOutcome cancelImport(const Model::CancelImportRequest &request)const; - void cancelImportAsync(const Model::CancelImportRequest& request, const CancelImportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CancelImportOutcome cancelImport(const Model::CancelImportRequest &request)const; + void cancelImportAsync(const Model::CancelImportRequest& request, const CancelImportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CancelImportOutcomeCallable cancelImportCallable(const Model::CancelImportRequest& request) const; - ModifyReplicaDescriptionOutcome modifyReplicaDescription(const Model::ModifyReplicaDescriptionRequest &request)const; - void modifyReplicaDescriptionAsync(const Model::ModifyReplicaDescriptionRequest& request, const ModifyReplicaDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyReplicaDescriptionOutcome modifyReplicaDescription(const Model::ModifyReplicaDescriptionRequest &request)const; + void modifyReplicaDescriptionAsync(const Model::ModifyReplicaDescriptionRequest& request, const ModifyReplicaDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyReplicaDescriptionOutcomeCallable modifyReplicaDescriptionCallable(const Model::ModifyReplicaDescriptionRequest& request) const; - ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const; - void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const; + void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const; - DescribeSecurityGroupConfigurationOutcome describeSecurityGroupConfiguration(const Model::DescribeSecurityGroupConfigurationRequest &request)const; - void describeSecurityGroupConfigurationAsync(const Model::DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSecurityGroupConfigurationOutcome describeSecurityGroupConfiguration(const Model::DescribeSecurityGroupConfigurationRequest &request)const; + void describeSecurityGroupConfigurationAsync(const Model::DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSecurityGroupConfigurationOutcomeCallable describeSecurityGroupConfigurationCallable(const Model::DescribeSecurityGroupConfigurationRequest& request) const; - DescribeParametersOutcome describeParameters(const Model::DescribeParametersRequest &request)const; - void describeParametersAsync(const Model::DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeParametersOutcome describeParameters(const Model::DescribeParametersRequest &request)const; + void describeParametersAsync(const Model::DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeParametersOutcomeCallable describeParametersCallable(const Model::DescribeParametersRequest& request) const; - AddTagsToResourceOutcome addTagsToResource(const Model::AddTagsToResourceRequest &request)const; - void addTagsToResourceAsync(const Model::AddTagsToResourceRequest& request, const AddTagsToResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddTagsToResourceOutcome addTagsToResource(const Model::AddTagsToResourceRequest &request)const; + void addTagsToResourceAsync(const Model::AddTagsToResourceRequest& request, const AddTagsToResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AddTagsToResourceOutcomeCallable addTagsToResourceCallable(const Model::AddTagsToResourceRequest& request) const; - DescribeBinlogFilesOutcome describeBinlogFiles(const Model::DescribeBinlogFilesRequest &request)const; - void describeBinlogFilesAsync(const Model::DescribeBinlogFilesRequest& request, const DescribeBinlogFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBinlogFilesOutcome describeBinlogFiles(const Model::DescribeBinlogFilesRequest &request)const; + void describeBinlogFilesAsync(const Model::DescribeBinlogFilesRequest& request, const DescribeBinlogFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBinlogFilesOutcomeCallable describeBinlogFilesCallable(const Model::DescribeBinlogFilesRequest& request) const; - DescribeDBInstanceProxyConfigurationOutcome describeDBInstanceProxyConfiguration(const Model::DescribeDBInstanceProxyConfigurationRequest &request)const; - void describeDBInstanceProxyConfigurationAsync(const Model::DescribeDBInstanceProxyConfigurationRequest& request, const DescribeDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceProxyConfigurationOutcome describeDBInstanceProxyConfiguration(const Model::DescribeDBInstanceProxyConfigurationRequest &request)const; + void describeDBInstanceProxyConfigurationAsync(const Model::DescribeDBInstanceProxyConfigurationRequest& request, const DescribeDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceProxyConfigurationOutcomeCallable describeDBInstanceProxyConfigurationCallable(const Model::DescribeDBInstanceProxyConfigurationRequest& request) const; - CreateDiagnosticReportOutcome createDiagnosticReport(const Model::CreateDiagnosticReportRequest &request)const; - void createDiagnosticReportAsync(const Model::CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDiagnosticReportOutcome createDiagnosticReport(const Model::CreateDiagnosticReportRequest &request)const; + void createDiagnosticReportAsync(const Model::CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDiagnosticReportOutcomeCallable createDiagnosticReportCallable(const Model::CreateDiagnosticReportRequest& request) const; - DescribeSQLLogReportListOutcome describeSQLLogReportList(const Model::DescribeSQLLogReportListRequest &request)const; - void describeSQLLogReportListAsync(const Model::DescribeSQLLogReportListRequest& request, const DescribeSQLLogReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLLogReportListOutcome describeSQLLogReportList(const Model::DescribeSQLLogReportListRequest &request)const; + void describeSQLLogReportListAsync(const Model::DescribeSQLLogReportListRequest& request, const DescribeSQLLogReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSQLLogReportListOutcomeCallable describeSQLLogReportListCallable(const Model::DescribeSQLLogReportListRequest& request) const; - DescribeReadDBInstanceDelayOutcome describeReadDBInstanceDelay(const Model::DescribeReadDBInstanceDelayRequest &request)const; - void describeReadDBInstanceDelayAsync(const Model::DescribeReadDBInstanceDelayRequest& request, const DescribeReadDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeReadDBInstanceDelayOutcome describeReadDBInstanceDelay(const Model::DescribeReadDBInstanceDelayRequest &request)const; + void describeReadDBInstanceDelayAsync(const Model::DescribeReadDBInstanceDelayRequest& request, const DescribeReadDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeReadDBInstanceDelayOutcomeCallable describeReadDBInstanceDelayCallable(const Model::DescribeReadDBInstanceDelayRequest& request) const; - CloneDBInstanceOutcome cloneDBInstance(const Model::CloneDBInstanceRequest &request)const; - void cloneDBInstanceAsync(const Model::CloneDBInstanceRequest& request, const CloneDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CloneDBInstanceOutcome cloneDBInstance(const Model::CloneDBInstanceRequest &request)const; + void cloneDBInstanceAsync(const Model::CloneDBInstanceRequest& request, const CloneDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CloneDBInstanceOutcomeCallable cloneDBInstanceCallable(const Model::CloneDBInstanceRequest& request) const; - DescribeTasksOutcome describeTasks(const Model::DescribeTasksRequest &request)const; - void describeTasksAsync(const Model::DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTasksOutcome describeTasks(const Model::DescribeTasksRequest &request)const; + void describeTasksAsync(const Model::DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTasksOutcomeCallable describeTasksCallable(const Model::DescribeTasksRequest& request) const; - DescribeRenewalPriceOutcome describeRenewalPrice(const Model::DescribeRenewalPriceRequest &request)const; - void describeRenewalPriceAsync(const Model::DescribeRenewalPriceRequest& request, const DescribeRenewalPriceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRenewalPriceOutcome describeRenewalPrice(const Model::DescribeRenewalPriceRequest &request)const; + void describeRenewalPriceAsync(const Model::DescribeRenewalPriceRequest& request, const DescribeRenewalPriceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRenewalPriceOutcomeCallable describeRenewalPriceCallable(const Model::DescribeRenewalPriceRequest& request) const; - AllocateInstancePublicConnectionOutcome allocateInstancePublicConnection(const Model::AllocateInstancePublicConnectionRequest &request)const; - void allocateInstancePublicConnectionAsync(const Model::AllocateInstancePublicConnectionRequest& request, const AllocateInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllocateInstancePublicConnectionOutcome allocateInstancePublicConnection(const Model::AllocateInstancePublicConnectionRequest &request)const; + void allocateInstancePublicConnectionAsync(const Model::AllocateInstancePublicConnectionRequest& request, const AllocateInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllocateInstancePublicConnectionOutcomeCallable allocateInstancePublicConnectionCallable(const Model::AllocateInstancePublicConnectionRequest& request) const; - DescribeDBInstanceAttributeOutcome describeDBInstanceAttribute(const Model::DescribeDBInstanceAttributeRequest &request)const; - void describeDBInstanceAttributeAsync(const Model::DescribeDBInstanceAttributeRequest& request, const DescribeDBInstanceAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceAttributeOutcome describeDBInstanceAttribute(const Model::DescribeDBInstanceAttributeRequest &request)const; + void describeDBInstanceAttributeAsync(const Model::DescribeDBInstanceAttributeRequest& request, const DescribeDBInstanceAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceAttributeOutcomeCallable describeDBInstanceAttributeCallable(const Model::DescribeDBInstanceAttributeRequest& request) const; - CheckInstanceExistOutcome checkInstanceExist(const Model::CheckInstanceExistRequest &request)const; - void checkInstanceExistAsync(const Model::CheckInstanceExistRequest& request, const CheckInstanceExistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CheckInstanceExistOutcome checkInstanceExist(const Model::CheckInstanceExistRequest &request)const; + void checkInstanceExistAsync(const Model::CheckInstanceExistRequest& request, const CheckInstanceExistAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CheckInstanceExistOutcomeCallable checkInstanceExistCallable(const Model::CheckInstanceExistRequest& request) const; - CreateTempDBInstanceOutcome createTempDBInstance(const Model::CreateTempDBInstanceRequest &request)const; - void createTempDBInstanceAsync(const Model::CreateTempDBInstanceRequest& request, const CreateTempDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTempDBInstanceOutcome createTempDBInstance(const Model::CreateTempDBInstanceRequest &request)const; + void createTempDBInstanceAsync(const Model::CreateTempDBInstanceRequest& request, const CreateTempDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateTempDBInstanceOutcomeCallable createTempDBInstanceCallable(const Model::CreateTempDBInstanceRequest& request) const; - ModifyInstanceAutoRenewalAttributeOutcome modifyInstanceAutoRenewalAttribute(const Model::ModifyInstanceAutoRenewalAttributeRequest &request)const; - void modifyInstanceAutoRenewalAttributeAsync(const Model::ModifyInstanceAutoRenewalAttributeRequest& request, const ModifyInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyInstanceAutoRenewalAttributeOutcome modifyInstanceAutoRenewalAttribute(const Model::ModifyInstanceAutoRenewalAttributeRequest &request)const; + void modifyInstanceAutoRenewalAttributeAsync(const Model::ModifyInstanceAutoRenewalAttributeRequest& request, const ModifyInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceAutoRenewalAttributeOutcomeCallable modifyInstanceAutoRenewalAttributeCallable(const Model::ModifyInstanceAutoRenewalAttributeRequest& request) const; - ModifySQLCollectorPolicyOutcome modifySQLCollectorPolicy(const Model::ModifySQLCollectorPolicyRequest &request)const; - void modifySQLCollectorPolicyAsync(const Model::ModifySQLCollectorPolicyRequest& request, const ModifySQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySQLCollectorPolicyOutcome modifySQLCollectorPolicy(const Model::ModifySQLCollectorPolicyRequest &request)const; + void modifySQLCollectorPolicyAsync(const Model::ModifySQLCollectorPolicyRequest& request, const ModifySQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifySQLCollectorPolicyOutcomeCallable modifySQLCollectorPolicyCallable(const Model::ModifySQLCollectorPolicyRequest& request) const; - AllocateInstanceVpcNetworkTypeOutcome allocateInstanceVpcNetworkType(const Model::AllocateInstanceVpcNetworkTypeRequest &request)const; - void allocateInstanceVpcNetworkTypeAsync(const Model::AllocateInstanceVpcNetworkTypeRequest& request, const AllocateInstanceVpcNetworkTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllocateInstanceVpcNetworkTypeOutcome allocateInstanceVpcNetworkType(const Model::AllocateInstanceVpcNetworkTypeRequest &request)const; + void allocateInstanceVpcNetworkTypeAsync(const Model::AllocateInstanceVpcNetworkTypeRequest& request, const AllocateInstanceVpcNetworkTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllocateInstanceVpcNetworkTypeOutcomeCallable allocateInstanceVpcNetworkTypeCallable(const Model::AllocateInstanceVpcNetworkTypeRequest& request) const; - DescribeBackupsOutcome describeBackups(const Model::DescribeBackupsRequest &request)const; - void describeBackupsAsync(const Model::DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupsOutcome describeBackups(const Model::DescribeBackupsRequest &request)const; + void describeBackupsAsync(const Model::DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupsOutcomeCallable describeBackupsCallable(const Model::DescribeBackupsRequest& request) const; - CreateDatabaseOutcome createDatabase(const Model::CreateDatabaseRequest &request)const; - void createDatabaseAsync(const Model::CreateDatabaseRequest& request, const CreateDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDatabaseOutcome createDatabase(const Model::CreateDatabaseRequest &request)const; + void createDatabaseAsync(const Model::CreateDatabaseRequest& request, const CreateDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDatabaseOutcomeCallable createDatabaseCallable(const Model::CreateDatabaseRequest& request) const; - DescribeCollationTimeZonesOutcome describeCollationTimeZones(const Model::DescribeCollationTimeZonesRequest &request)const; - void describeCollationTimeZonesAsync(const Model::DescribeCollationTimeZonesRequest& request, const DescribeCollationTimeZonesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCollationTimeZonesOutcome describeCollationTimeZones(const Model::DescribeCollationTimeZonesRequest &request)const; + void describeCollationTimeZonesAsync(const Model::DescribeCollationTimeZonesRequest& request, const DescribeCollationTimeZonesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCollationTimeZonesOutcomeCallable describeCollationTimeZonesCallable(const Model::DescribeCollationTimeZonesRequest& request) const; - DeleteDBInstanceOutcome deleteDBInstance(const Model::DeleteDBInstanceRequest &request)const; - void deleteDBInstanceAsync(const Model::DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDBInstanceOutcome deleteDBInstance(const Model::DeleteDBInstanceRequest &request)const; + void deleteDBInstanceAsync(const Model::DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDBInstanceOutcomeCallable deleteDBInstanceCallable(const Model::DeleteDBInstanceRequest& request) const; - ModifyReadonlyInstanceDelayReplicationTimeOutcome modifyReadonlyInstanceDelayReplicationTime(const Model::ModifyReadonlyInstanceDelayReplicationTimeRequest &request)const; - void modifyReadonlyInstanceDelayReplicationTimeAsync(const Model::ModifyReadonlyInstanceDelayReplicationTimeRequest& request, const ModifyReadonlyInstanceDelayReplicationTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyReadonlyInstanceDelayReplicationTimeOutcome modifyReadonlyInstanceDelayReplicationTime(const Model::ModifyReadonlyInstanceDelayReplicationTimeRequest &request)const; + void modifyReadonlyInstanceDelayReplicationTimeAsync(const Model::ModifyReadonlyInstanceDelayReplicationTimeRequest& request, const ModifyReadonlyInstanceDelayReplicationTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyReadonlyInstanceDelayReplicationTimeOutcomeCallable modifyReadonlyInstanceDelayReplicationTimeCallable(const Model::ModifyReadonlyInstanceDelayReplicationTimeRequest& request) const; - DescribeInstanceAutoRenewalAttributeOutcome describeInstanceAutoRenewalAttribute(const Model::DescribeInstanceAutoRenewalAttributeRequest &request)const; - void describeInstanceAutoRenewalAttributeAsync(const Model::DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeInstanceAutoRenewalAttributeOutcome describeInstanceAutoRenewalAttribute(const Model::DescribeInstanceAutoRenewalAttributeRequest &request)const; + void describeInstanceAutoRenewalAttributeAsync(const Model::DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceAutoRenewalAttributeOutcomeCallable describeInstanceAutoRenewalAttributeCallable(const Model::DescribeInstanceAutoRenewalAttributeRequest& request) const; - SwitchDBInstanceVpcOutcome switchDBInstanceVpc(const Model::SwitchDBInstanceVpcRequest &request)const; - void switchDBInstanceVpcAsync(const Model::SwitchDBInstanceVpcRequest& request, const SwitchDBInstanceVpcAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SwitchDBInstanceVpcOutcome switchDBInstanceVpc(const Model::SwitchDBInstanceVpcRequest &request)const; + void switchDBInstanceVpcAsync(const Model::SwitchDBInstanceVpcRequest& request, const SwitchDBInstanceVpcAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SwitchDBInstanceVpcOutcomeCallable switchDBInstanceVpcCallable(const Model::SwitchDBInstanceVpcRequest& request) const; - RestoreDBInstanceOutcome restoreDBInstance(const Model::RestoreDBInstanceRequest &request)const; - void restoreDBInstanceAsync(const Model::RestoreDBInstanceRequest& request, const RestoreDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RestoreDBInstanceOutcome restoreDBInstance(const Model::RestoreDBInstanceRequest &request)const; + void restoreDBInstanceAsync(const Model::RestoreDBInstanceRequest& request, const RestoreDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RestoreDBInstanceOutcomeCallable restoreDBInstanceCallable(const Model::RestoreDBInstanceRequest& request) const; - RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const; - void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeOperatorPermissionOutcome revokeOperatorPermission(const Model::RevokeOperatorPermissionRequest &request)const; + void revokeOperatorPermissionAsync(const Model::RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RevokeOperatorPermissionOutcomeCallable revokeOperatorPermissionCallable(const Model::RevokeOperatorPermissionRequest& request) const; - ModifyDBInstanceSpecOutcome modifyDBInstanceSpec(const Model::ModifyDBInstanceSpecRequest &request)const; - void modifyDBInstanceSpecAsync(const Model::ModifyDBInstanceSpecRequest& request, const ModifyDBInstanceSpecAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceSpecOutcome modifyDBInstanceSpec(const Model::ModifyDBInstanceSpecRequest &request)const; + void modifyDBInstanceSpecAsync(const Model::ModifyDBInstanceSpecRequest& request, const ModifyDBInstanceSpecAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceSpecOutcomeCallable modifyDBInstanceSpecCallable(const Model::ModifyDBInstanceSpecRequest& request) const; - DescribeDiagnosticReportListOutcome describeDiagnosticReportList(const Model::DescribeDiagnosticReportListRequest &request)const; - void describeDiagnosticReportListAsync(const Model::DescribeDiagnosticReportListRequest& request, const DescribeDiagnosticReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDiagnosticReportListOutcome describeDiagnosticReportList(const Model::DescribeDiagnosticReportListRequest &request)const; + void describeDiagnosticReportListAsync(const Model::DescribeDiagnosticReportListRequest& request, const DescribeDiagnosticReportListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDiagnosticReportListOutcomeCallable describeDiagnosticReportListCallable(const Model::DescribeDiagnosticReportListRequest& request) const; - MigrateSecurityIPModeOutcome migrateSecurityIPMode(const Model::MigrateSecurityIPModeRequest &request)const; - void migrateSecurityIPModeAsync(const Model::MigrateSecurityIPModeRequest& request, const MigrateSecurityIPModeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MigrateSecurityIPModeOutcome migrateSecurityIPMode(const Model::MigrateSecurityIPModeRequest &request)const; + void migrateSecurityIPModeAsync(const Model::MigrateSecurityIPModeRequest& request, const MigrateSecurityIPModeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; MigrateSecurityIPModeOutcomeCallable migrateSecurityIPModeCallable(const Model::MigrateSecurityIPModeRequest& request) const; - RemoveTagsFromResourceOutcome removeTagsFromResource(const Model::RemoveTagsFromResourceRequest &request)const; - void removeTagsFromResourceAsync(const Model::RemoveTagsFromResourceRequest& request, const RemoveTagsFromResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveTagsFromResourceOutcome removeTagsFromResource(const Model::RemoveTagsFromResourceRequest &request)const; + void removeTagsFromResourceAsync(const Model::RemoveTagsFromResourceRequest& request, const RemoveTagsFromResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RemoveTagsFromResourceOutcomeCallable removeTagsFromResourceCallable(const Model::RemoveTagsFromResourceRequest& request) const; - DescribeSQLLogRecordsOutcome describeSQLLogRecords(const Model::DescribeSQLLogRecordsRequest &request)const; - void describeSQLLogRecordsAsync(const Model::DescribeSQLLogRecordsRequest& request, const DescribeSQLLogRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLLogRecordsOutcome describeSQLLogRecords(const Model::DescribeSQLLogRecordsRequest &request)const; + void describeSQLLogRecordsAsync(const Model::DescribeSQLLogRecordsRequest& request, const DescribeSQLLogRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSQLLogRecordsOutcomeCallable describeSQLLogRecordsCallable(const Model::DescribeSQLLogRecordsRequest& request) const; - ModifySecurityIpsOutcome modifySecurityIps(const Model::ModifySecurityIpsRequest &request)const; - void modifySecurityIpsAsync(const Model::ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifySecurityIpsOutcome modifySecurityIps(const Model::ModifySecurityIpsRequest &request)const; + void modifySecurityIpsAsync(const Model::ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifySecurityIpsOutcomeCallable modifySecurityIpsCallable(const Model::ModifySecurityIpsRequest& request) const; - DescribeMigrateTasksForSQLServerOutcome describeMigrateTasksForSQLServer(const Model::DescribeMigrateTasksForSQLServerRequest &request)const; - void describeMigrateTasksForSQLServerAsync(const Model::DescribeMigrateTasksForSQLServerRequest& request, const DescribeMigrateTasksForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMigrateTasksForSQLServerOutcome describeMigrateTasksForSQLServer(const Model::DescribeMigrateTasksForSQLServerRequest &request)const; + void describeMigrateTasksForSQLServerAsync(const Model::DescribeMigrateTasksForSQLServerRequest& request, const DescribeMigrateTasksForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeMigrateTasksForSQLServerOutcomeCallable describeMigrateTasksForSQLServerCallable(const Model::DescribeMigrateTasksForSQLServerRequest& request) const; - RestoreTableOutcome restoreTable(const Model::RestoreTableRequest &request)const; - void restoreTableAsync(const Model::RestoreTableRequest& request, const RestoreTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RestoreTableOutcome restoreTable(const Model::RestoreTableRequest &request)const; + void restoreTableAsync(const Model::RestoreTableRequest& request, const RestoreTableAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RestoreTableOutcomeCallable restoreTableCallable(const Model::RestoreTableRequest& request) const; - CreateOnlineDatabaseTaskOutcome createOnlineDatabaseTask(const Model::CreateOnlineDatabaseTaskRequest &request)const; - void createOnlineDatabaseTaskAsync(const Model::CreateOnlineDatabaseTaskRequest& request, const CreateOnlineDatabaseTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOnlineDatabaseTaskOutcome createOnlineDatabaseTask(const Model::CreateOnlineDatabaseTaskRequest &request)const; + void createOnlineDatabaseTaskAsync(const Model::CreateOnlineDatabaseTaskRequest& request, const CreateOnlineDatabaseTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateOnlineDatabaseTaskOutcomeCallable createOnlineDatabaseTaskCallable(const Model::CreateOnlineDatabaseTaskRequest& request) const; - GrantAccountPrivilegeOutcome grantAccountPrivilege(const Model::GrantAccountPrivilegeRequest &request)const; - void grantAccountPrivilegeAsync(const Model::GrantAccountPrivilegeRequest& request, const GrantAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GrantAccountPrivilegeOutcome grantAccountPrivilege(const Model::GrantAccountPrivilegeRequest &request)const; + void grantAccountPrivilegeAsync(const Model::GrantAccountPrivilegeRequest& request, const GrantAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GrantAccountPrivilegeOutcomeCallable grantAccountPrivilegeCallable(const Model::GrantAccountPrivilegeRequest& request) const; - GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const; - void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GrantOperatorPermissionOutcome grantOperatorPermission(const Model::GrantOperatorPermissionRequest &request)const; + void grantOperatorPermissionAsync(const Model::GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GrantOperatorPermissionOutcomeCallable grantOperatorPermissionCallable(const Model::GrantOperatorPermissionRequest& request) const; - ModifyDBInstanceTDEOutcome modifyDBInstanceTDE(const Model::ModifyDBInstanceTDERequest &request)const; - void modifyDBInstanceTDEAsync(const Model::ModifyDBInstanceTDERequest& request, const ModifyDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceTDEOutcome modifyDBInstanceTDE(const Model::ModifyDBInstanceTDERequest &request)const; + void modifyDBInstanceTDEAsync(const Model::ModifyDBInstanceTDERequest& request, const ModifyDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceTDEOutcomeCallable modifyDBInstanceTDECallable(const Model::ModifyDBInstanceTDERequest& request) const; - DescribeDBInstancePerformanceOutcome describeDBInstancePerformance(const Model::DescribeDBInstancePerformanceRequest &request)const; - void describeDBInstancePerformanceAsync(const Model::DescribeDBInstancePerformanceRequest& request, const DescribeDBInstancePerformanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstancePerformanceOutcome describeDBInstancePerformance(const Model::DescribeDBInstancePerformanceRequest &request)const; + void describeDBInstancePerformanceAsync(const Model::DescribeDBInstancePerformanceRequest& request, const DescribeDBInstancePerformanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstancePerformanceOutcomeCallable describeDBInstancePerformanceCallable(const Model::DescribeDBInstancePerformanceRequest& request) const; - DescribeDBInstancesOutcome describeDBInstances(const Model::DescribeDBInstancesRequest &request)const; - void describeDBInstancesAsync(const Model::DescribeDBInstancesRequest& request, const DescribeDBInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstancesOutcome describeDBInstances(const Model::DescribeDBInstancesRequest &request)const; + void describeDBInstancesAsync(const Model::DescribeDBInstancesRequest& request, const DescribeDBInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstancesOutcomeCallable describeDBInstancesCallable(const Model::DescribeDBInstancesRequest& request) const; - RequestServiceOfCloudDBExpertOutcome requestServiceOfCloudDBExpert(const Model::RequestServiceOfCloudDBExpertRequest &request)const; - void requestServiceOfCloudDBExpertAsync(const Model::RequestServiceOfCloudDBExpertRequest& request, const RequestServiceOfCloudDBExpertAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RequestServiceOfCloudDBExpertOutcome requestServiceOfCloudDBExpert(const Model::RequestServiceOfCloudDBExpertRequest &request)const; + void requestServiceOfCloudDBExpertAsync(const Model::RequestServiceOfCloudDBExpertRequest& request, const RequestServiceOfCloudDBExpertAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RequestServiceOfCloudDBExpertOutcomeCallable requestServiceOfCloudDBExpertCallable(const Model::RequestServiceOfCloudDBExpertRequest& request) const; - DescribeBackupDatabaseOutcome describeBackupDatabase(const Model::DescribeBackupDatabaseRequest &request)const; - void describeBackupDatabaseAsync(const Model::DescribeBackupDatabaseRequest& request, const DescribeBackupDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupDatabaseOutcome describeBackupDatabase(const Model::DescribeBackupDatabaseRequest &request)const; + void describeBackupDatabaseAsync(const Model::DescribeBackupDatabaseRequest& request, const DescribeBackupDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupDatabaseOutcomeCallable describeBackupDatabaseCallable(const Model::DescribeBackupDatabaseRequest& request) const; - CreateDBInstanceReplicaOutcome createDBInstanceReplica(const Model::CreateDBInstanceReplicaRequest &request)const; - void createDBInstanceReplicaAsync(const Model::CreateDBInstanceReplicaRequest& request, const CreateDBInstanceReplicaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDBInstanceReplicaOutcome createDBInstanceReplica(const Model::CreateDBInstanceReplicaRequest &request)const; + void createDBInstanceReplicaAsync(const Model::CreateDBInstanceReplicaRequest& request, const CreateDBInstanceReplicaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDBInstanceReplicaOutcomeCallable createDBInstanceReplicaCallable(const Model::CreateDBInstanceReplicaRequest& request) const; - AllocateInstancePrivateConnectionOutcome allocateInstancePrivateConnection(const Model::AllocateInstancePrivateConnectionRequest &request)const; - void allocateInstancePrivateConnectionAsync(const Model::AllocateInstancePrivateConnectionRequest& request, const AllocateInstancePrivateConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllocateInstancePrivateConnectionOutcome allocateInstancePrivateConnection(const Model::AllocateInstancePrivateConnectionRequest &request)const; + void allocateInstancePrivateConnectionAsync(const Model::AllocateInstancePrivateConnectionRequest& request, const AllocateInstancePrivateConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllocateInstancePrivateConnectionOutcomeCallable allocateInstancePrivateConnectionCallable(const Model::AllocateInstancePrivateConnectionRequest& request) const; - RevokeAccountPrivilegeOutcome revokeAccountPrivilege(const Model::RevokeAccountPrivilegeRequest &request)const; - void revokeAccountPrivilegeAsync(const Model::RevokeAccountPrivilegeRequest& request, const RevokeAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RevokeAccountPrivilegeOutcome revokeAccountPrivilege(const Model::RevokeAccountPrivilegeRequest &request)const; + void revokeAccountPrivilegeAsync(const Model::RevokeAccountPrivilegeRequest& request, const RevokeAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RevokeAccountPrivilegeOutcomeCallable revokeAccountPrivilegeCallable(const Model::RevokeAccountPrivilegeRequest& request) const; - DescribeParameterTemplatesOutcome describeParameterTemplates(const Model::DescribeParameterTemplatesRequest &request)const; - void describeParameterTemplatesAsync(const Model::DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeParameterTemplatesOutcome describeParameterTemplates(const Model::DescribeParameterTemplatesRequest &request)const; + void describeParameterTemplatesAsync(const Model::DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeParameterTemplatesOutcomeCallable describeParameterTemplatesCallable(const Model::DescribeParameterTemplatesRequest& request) const; - DescibeImportsFromDatabaseOutcome descibeImportsFromDatabase(const Model::DescibeImportsFromDatabaseRequest &request)const; - void descibeImportsFromDatabaseAsync(const Model::DescibeImportsFromDatabaseRequest& request, const DescibeImportsFromDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescibeImportsFromDatabaseOutcome descibeImportsFromDatabase(const Model::DescibeImportsFromDatabaseRequest &request)const; + void descibeImportsFromDatabaseAsync(const Model::DescibeImportsFromDatabaseRequest& request, const DescibeImportsFromDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescibeImportsFromDatabaseOutcomeCallable descibeImportsFromDatabaseCallable(const Model::DescibeImportsFromDatabaseRequest& request) const; - CopyDatabaseBetweenInstancesOutcome copyDatabaseBetweenInstances(const Model::CopyDatabaseBetweenInstancesRequest &request)const; - void copyDatabaseBetweenInstancesAsync(const Model::CopyDatabaseBetweenInstancesRequest& request, const CopyDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyDatabaseBetweenInstancesOutcome copyDatabaseBetweenInstances(const Model::CopyDatabaseBetweenInstancesRequest &request)const; + void copyDatabaseBetweenInstancesAsync(const Model::CopyDatabaseBetweenInstancesRequest& request, const CopyDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CopyDatabaseBetweenInstancesOutcomeCallable copyDatabaseBetweenInstancesCallable(const Model::CopyDatabaseBetweenInstancesRequest& request) const; - DescribeInstanceVpcMigrateInfoOutcome describeInstanceVpcMigrateInfo(const Model::DescribeInstanceVpcMigrateInfoRequest &request)const; - void describeInstanceVpcMigrateInfoAsync(const Model::DescribeInstanceVpcMigrateInfoRequest& request, const DescribeInstanceVpcMigrateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeInstanceVpcMigrateInfoOutcome describeInstanceVpcMigrateInfo(const Model::DescribeInstanceVpcMigrateInfoRequest &request)const; + void describeInstanceVpcMigrateInfoAsync(const Model::DescribeInstanceVpcMigrateInfoRequest& request, const DescribeInstanceVpcMigrateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeInstanceVpcMigrateInfoOutcomeCallable describeInstanceVpcMigrateInfoCallable(const Model::DescribeInstanceVpcMigrateInfoRequest& request) const; - CopyDatabaseOutcome copyDatabase(const Model::CopyDatabaseRequest &request)const; - void copyDatabaseAsync(const Model::CopyDatabaseRequest& request, const CopyDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CopyDatabaseOutcome copyDatabase(const Model::CopyDatabaseRequest &request)const; + void copyDatabaseAsync(const Model::CopyDatabaseRequest& request, const CopyDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CopyDatabaseOutcomeCallable copyDatabaseCallable(const Model::CopyDatabaseRequest& request) const; - CreateDBInstanceOutcome createDBInstance(const Model::CreateDBInstanceRequest &request)const; - void createDBInstanceAsync(const Model::CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDBInstanceOutcome createDBInstance(const Model::CreateDBInstanceRequest &request)const; + void createDBInstanceAsync(const Model::CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDBInstanceOutcomeCallable createDBInstanceCallable(const Model::CreateDBInstanceRequest& request) const; - ModifyDBInstanceSSLOutcome modifyDBInstanceSSL(const Model::ModifyDBInstanceSSLRequest &request)const; - void modifyDBInstanceSSLAsync(const Model::ModifyDBInstanceSSLRequest& request, const ModifyDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceSSLOutcome modifyDBInstanceSSL(const Model::ModifyDBInstanceSSLRequest &request)const; + void modifyDBInstanceSSLAsync(const Model::ModifyDBInstanceSSLRequest& request, const ModifyDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceSSLOutcomeCallable modifyDBInstanceSSLCallable(const Model::ModifyDBInstanceSSLRequest& request) const; - DescribeDBInstanceTDEOutcome describeDBInstanceTDE(const Model::DescribeDBInstanceTDERequest &request)const; - void describeDBInstanceTDEAsync(const Model::DescribeDBInstanceTDERequest& request, const DescribeDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceTDEOutcome describeDBInstanceTDE(const Model::DescribeDBInstanceTDERequest &request)const; + void describeDBInstanceTDEAsync(const Model::DescribeDBInstanceTDERequest& request, const DescribeDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceTDEOutcomeCallable describeDBInstanceTDECallable(const Model::DescribeDBInstanceTDERequest& request) const; - DescribeSQLLogReportsOutcome describeSQLLogReports(const Model::DescribeSQLLogReportsRequest &request)const; - void describeSQLLogReportsAsync(const Model::DescribeSQLLogReportsRequest& request, const DescribeSQLLogReportsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLLogReportsOutcome describeSQLLogReports(const Model::DescribeSQLLogReportsRequest &request)const; + void describeSQLLogReportsAsync(const Model::DescribeSQLLogReportsRequest& request, const DescribeSQLLogReportsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSQLLogReportsOutcomeCallable describeSQLLogReportsCallable(const Model::DescribeSQLLogReportsRequest& request) const; - ModifyDBInstanceConnectionModeOutcome modifyDBInstanceConnectionMode(const Model::ModifyDBInstanceConnectionModeRequest &request)const; - void modifyDBInstanceConnectionModeAsync(const Model::ModifyDBInstanceConnectionModeRequest& request, const ModifyDBInstanceConnectionModeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceConnectionModeOutcome modifyDBInstanceConnectionMode(const Model::ModifyDBInstanceConnectionModeRequest &request)const; + void modifyDBInstanceConnectionModeAsync(const Model::ModifyDBInstanceConnectionModeRequest& request, const ModifyDBInstanceConnectionModeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceConnectionModeOutcomeCallable modifyDBInstanceConnectionModeCallable(const Model::ModifyDBInstanceConnectionModeRequest& request) const; - DescribeDBInstanceNetInfoOutcome describeDBInstanceNetInfo(const Model::DescribeDBInstanceNetInfoRequest &request)const; - void describeDBInstanceNetInfoAsync(const Model::DescribeDBInstanceNetInfoRequest& request, const DescribeDBInstanceNetInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceNetInfoOutcome describeDBInstanceNetInfo(const Model::DescribeDBInstanceNetInfoRequest &request)const; + void describeDBInstanceNetInfoAsync(const Model::DescribeDBInstanceNetInfoRequest& request, const DescribeDBInstanceNetInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceNetInfoOutcomeCallable describeDBInstanceNetInfoCallable(const Model::DescribeDBInstanceNetInfoRequest& request) const; - DescribeAvailableResourceOutcome describeAvailableResource(const Model::DescribeAvailableResourceRequest &request)const; - void describeAvailableResourceAsync(const Model::DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAvailableResourceOutcome describeAvailableResource(const Model::DescribeAvailableResourceRequest &request)const; + void describeAvailableResourceAsync(const Model::DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAvailableResourceOutcomeCallable describeAvailableResourceCallable(const Model::DescribeAvailableResourceRequest& request) const; - AllocateReadWriteSplittingConnectionOutcome allocateReadWriteSplittingConnection(const Model::AllocateReadWriteSplittingConnectionRequest &request)const; - void allocateReadWriteSplittingConnectionAsync(const Model::AllocateReadWriteSplittingConnectionRequest& request, const AllocateReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AllocateReadWriteSplittingConnectionOutcome allocateReadWriteSplittingConnection(const Model::AllocateReadWriteSplittingConnectionRequest &request)const; + void allocateReadWriteSplittingConnectionAsync(const Model::AllocateReadWriteSplittingConnectionRequest& request, const AllocateReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; AllocateReadWriteSplittingConnectionOutcomeCallable allocateReadWriteSplittingConnectionCallable(const Model::AllocateReadWriteSplittingConnectionRequest& request) const; - DescribeCloudDbExpertServiceOutcome describeCloudDbExpertService(const Model::DescribeCloudDbExpertServiceRequest &request)const; - void describeCloudDbExpertServiceAsync(const Model::DescribeCloudDbExpertServiceRequest& request, const DescribeCloudDbExpertServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeCloudDbExpertServiceOutcome describeCloudDbExpertService(const Model::DescribeCloudDbExpertServiceRequest &request)const; + void describeCloudDbExpertServiceAsync(const Model::DescribeCloudDbExpertServiceRequest& request, const DescribeCloudDbExpertServiceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeCloudDbExpertServiceOutcomeCallable describeCloudDbExpertServiceCallable(const Model::DescribeCloudDbExpertServiceRequest& request) const; - ReleaseInstancePublicConnectionOutcome releaseInstancePublicConnection(const Model::ReleaseInstancePublicConnectionRequest &request)const; - void releaseInstancePublicConnectionAsync(const Model::ReleaseInstancePublicConnectionRequest& request, const ReleaseInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EvaluateSupportByokShowOutcome evaluateSupportByokShow(const Model::EvaluateSupportByokShowRequest &request)const; + void evaluateSupportByokShowAsync(const Model::EvaluateSupportByokShowRequest& request, const EvaluateSupportByokShowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + EvaluateSupportByokShowOutcomeCallable evaluateSupportByokShowCallable(const Model::EvaluateSupportByokShowRequest& request) const; + ReleaseInstancePublicConnectionOutcome releaseInstancePublicConnection(const Model::ReleaseInstancePublicConnectionRequest &request)const; + void releaseInstancePublicConnectionAsync(const Model::ReleaseInstancePublicConnectionRequest& request, const ReleaseInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReleaseInstancePublicConnectionOutcomeCallable releaseInstancePublicConnectionCallable(const Model::ReleaseInstancePublicConnectionRequest& request) const; - CalculateDBInstanceWeightOutcome calculateDBInstanceWeight(const Model::CalculateDBInstanceWeightRequest &request)const; - void calculateDBInstanceWeightAsync(const Model::CalculateDBInstanceWeightRequest& request, const CalculateDBInstanceWeightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CalculateDBInstanceWeightOutcome calculateDBInstanceWeight(const Model::CalculateDBInstanceWeightRequest &request)const; + void calculateDBInstanceWeightAsync(const Model::CalculateDBInstanceWeightRequest& request, const CalculateDBInstanceWeightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CalculateDBInstanceWeightOutcomeCallable calculateDBInstanceWeightCallable(const Model::CalculateDBInstanceWeightRequest& request) const; - ModifyDBInstanceNetworkTypeOutcome modifyDBInstanceNetworkType(const Model::ModifyDBInstanceNetworkTypeRequest &request)const; - void modifyDBInstanceNetworkTypeAsync(const Model::ModifyDBInstanceNetworkTypeRequest& request, const ModifyDBInstanceNetworkTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceNetworkTypeOutcome modifyDBInstanceNetworkType(const Model::ModifyDBInstanceNetworkTypeRequest &request)const; + void modifyDBInstanceNetworkTypeAsync(const Model::ModifyDBInstanceNetworkTypeRequest& request, const ModifyDBInstanceNetworkTypeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceNetworkTypeOutcomeCallable modifyDBInstanceNetworkTypeCallable(const Model::ModifyDBInstanceNetworkTypeRequest& request) const; - DescribeSlowLogsOutcome describeSlowLogs(const Model::DescribeSlowLogsRequest &request)const; - void describeSlowLogsAsync(const Model::DescribeSlowLogsRequest& request, const DescribeSlowLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSlowLogsOutcome describeSlowLogs(const Model::DescribeSlowLogsRequest &request)const; + void describeSlowLogsAsync(const Model::DescribeSlowLogsRequest& request, const DescribeSlowLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSlowLogsOutcomeCallable describeSlowLogsCallable(const Model::DescribeSlowLogsRequest& request) const; - CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const; - void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const; + void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateBackupOutcomeCallable createBackupCallable(const Model::CreateBackupRequest& request) const; - ModifyReadWriteSplittingConnectionOutcome modifyReadWriteSplittingConnection(const Model::ModifyReadWriteSplittingConnectionRequest &request)const; - void modifyReadWriteSplittingConnectionAsync(const Model::ModifyReadWriteSplittingConnectionRequest& request, const ModifyReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyReadWriteSplittingConnectionOutcome modifyReadWriteSplittingConnection(const Model::ModifyReadWriteSplittingConnectionRequest &request)const; + void modifyReadWriteSplittingConnectionAsync(const Model::ModifyReadWriteSplittingConnectionRequest& request, const ModifyReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyReadWriteSplittingConnectionOutcomeCallable modifyReadWriteSplittingConnectionCallable(const Model::ModifyReadWriteSplittingConnectionRequest& request) const; - ModifyDBInstanceMaintainTimeOutcome modifyDBInstanceMaintainTime(const Model::ModifyDBInstanceMaintainTimeRequest &request)const; - void modifyDBInstanceMaintainTimeAsync(const Model::ModifyDBInstanceMaintainTimeRequest& request, const ModifyDBInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceMaintainTimeOutcome modifyDBInstanceMaintainTime(const Model::ModifyDBInstanceMaintainTimeRequest &request)const; + void modifyDBInstanceMaintainTimeAsync(const Model::ModifyDBInstanceMaintainTimeRequest& request, const ModifyDBInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceMaintainTimeOutcomeCallable modifyDBInstanceMaintainTimeCallable(const Model::ModifyDBInstanceMaintainTimeRequest& request) const; - ModifyDBInstanceDescriptionOutcome modifyDBInstanceDescription(const Model::ModifyDBInstanceDescriptionRequest &request)const; - void modifyDBInstanceDescriptionAsync(const Model::ModifyDBInstanceDescriptionRequest& request, const ModifyDBInstanceDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceDescriptionOutcome modifyDBInstanceDescription(const Model::ModifyDBInstanceDescriptionRequest &request)const; + void modifyDBInstanceDescriptionAsync(const Model::ModifyDBInstanceDescriptionRequest& request, const ModifyDBInstanceDescriptionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceDescriptionOutcomeCallable modifyDBInstanceDescriptionCallable(const Model::ModifyDBInstanceDescriptionRequest& request) const; - ModifyResourceGroupOutcome modifyResourceGroup(const Model::ModifyResourceGroupRequest &request)const; - void modifyResourceGroupAsync(const Model::ModifyResourceGroupRequest& request, const ModifyResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyResourceGroupOutcome modifyResourceGroup(const Model::ModifyResourceGroupRequest &request)const; + void modifyResourceGroupAsync(const Model::ModifyResourceGroupRequest& request, const ModifyResourceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyResourceGroupOutcomeCallable modifyResourceGroupCallable(const Model::ModifyResourceGroupRequest& request) const; - DescribeProxyFunctionSupportOutcome describeProxyFunctionSupport(const Model::DescribeProxyFunctionSupportRequest &request)const; - void describeProxyFunctionSupportAsync(const Model::DescribeProxyFunctionSupportRequest& request, const DescribeProxyFunctionSupportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeProxyFunctionSupportOutcome describeProxyFunctionSupport(const Model::DescribeProxyFunctionSupportRequest &request)const; + void describeProxyFunctionSupportAsync(const Model::DescribeProxyFunctionSupportRequest& request, const DescribeProxyFunctionSupportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeProxyFunctionSupportOutcomeCallable describeProxyFunctionSupportCallable(const Model::DescribeProxyFunctionSupportRequest& request) const; - DescribeOssDownloadsForSQLServerOutcome describeOssDownloadsForSQLServer(const Model::DescribeOssDownloadsForSQLServerRequest &request)const; - void describeOssDownloadsForSQLServerAsync(const Model::DescribeOssDownloadsForSQLServerRequest& request, const DescribeOssDownloadsForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeOssDownloadsForSQLServerOutcome describeOssDownloadsForSQLServer(const Model::DescribeOssDownloadsForSQLServerRequest &request)const; + void describeOssDownloadsForSQLServerAsync(const Model::DescribeOssDownloadsForSQLServerRequest& request, const DescribeOssDownloadsForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeOssDownloadsForSQLServerOutcomeCallable describeOssDownloadsForSQLServerCallable(const Model::DescribeOssDownloadsForSQLServerRequest& request) const; - ResetAccountOutcome resetAccount(const Model::ResetAccountRequest &request)const; - void resetAccountAsync(const Model::ResetAccountRequest& request, const ResetAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResetAccountOutcome resetAccount(const Model::ResetAccountRequest &request)const; + void resetAccountAsync(const Model::ResetAccountRequest& request, const ResetAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResetAccountOutcomeCallable resetAccountCallable(const Model::ResetAccountRequest& request) const; - DescribeResourceUsageOutcome describeResourceUsage(const Model::DescribeResourceUsageRequest &request)const; - void describeResourceUsageAsync(const Model::DescribeResourceUsageRequest& request, const DescribeResourceUsageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeResourceUsageOutcome describeResourceUsage(const Model::DescribeResourceUsageRequest &request)const; + void describeResourceUsageAsync(const Model::DescribeResourceUsageRequest& request, const DescribeResourceUsageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeResourceUsageOutcomeCallable describeResourceUsageCallable(const Model::DescribeResourceUsageRequest& request) const; - PurgeDBInstanceLogOutcome purgeDBInstanceLog(const Model::PurgeDBInstanceLogRequest &request)const; - void purgeDBInstanceLogAsync(const Model::PurgeDBInstanceLogRequest& request, const PurgeDBInstanceLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PurgeDBInstanceLogOutcome purgeDBInstanceLog(const Model::PurgeDBInstanceLogRequest &request)const; + void purgeDBInstanceLogAsync(const Model::PurgeDBInstanceLogRequest& request, const PurgeDBInstanceLogAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PurgeDBInstanceLogOutcomeCallable purgeDBInstanceLogCallable(const Model::PurgeDBInstanceLogRequest& request) const; - DescribeTaskInfoOutcome describeTaskInfo(const Model::DescribeTaskInfoRequest &request)const; - void describeTaskInfoAsync(const Model::DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTaskInfoOutcome describeTaskInfo(const Model::DescribeTaskInfoRequest &request)const; + void describeTaskInfoAsync(const Model::DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeTaskInfoOutcomeCallable describeTaskInfoCallable(const Model::DescribeTaskInfoRequest& request) const; - UpgradeDBInstanceKernelVersionOutcome upgradeDBInstanceKernelVersion(const Model::UpgradeDBInstanceKernelVersionRequest &request)const; - void upgradeDBInstanceKernelVersionAsync(const Model::UpgradeDBInstanceKernelVersionRequest& request, const UpgradeDBInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpgradeDBInstanceKernelVersionOutcome upgradeDBInstanceKernelVersion(const Model::UpgradeDBInstanceKernelVersionRequest &request)const; + void upgradeDBInstanceKernelVersionAsync(const Model::UpgradeDBInstanceKernelVersionRequest& request, const UpgradeDBInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpgradeDBInstanceKernelVersionOutcomeCallable upgradeDBInstanceKernelVersionCallable(const Model::UpgradeDBInstanceKernelVersionRequest& request) const; - ModifyMySQLDBInstanceDelayOutcome modifyMySQLDBInstanceDelay(const Model::ModifyMySQLDBInstanceDelayRequest &request)const; - void modifyMySQLDBInstanceDelayAsync(const Model::ModifyMySQLDBInstanceDelayRequest& request, const ModifyMySQLDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyMySQLDBInstanceDelayOutcome modifyMySQLDBInstanceDelay(const Model::ModifyMySQLDBInstanceDelayRequest &request)const; + void modifyMySQLDBInstanceDelayAsync(const Model::ModifyMySQLDBInstanceDelayRequest& request, const ModifyMySQLDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyMySQLDBInstanceDelayOutcomeCallable modifyMySQLDBInstanceDelayCallable(const Model::ModifyMySQLDBInstanceDelayRequest& request) const; - DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; - void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; + void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const; - MigrateToOtherZoneOutcome migrateToOtherZone(const Model::MigrateToOtherZoneRequest &request)const; - void migrateToOtherZoneAsync(const Model::MigrateToOtherZoneRequest& request, const MigrateToOtherZoneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + MigrateToOtherZoneOutcome migrateToOtherZone(const Model::MigrateToOtherZoneRequest &request)const; + void migrateToOtherZoneAsync(const Model::MigrateToOtherZoneRequest& request, const MigrateToOtherZoneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; MigrateToOtherZoneOutcomeCallable migrateToOtherZoneCallable(const Model::MigrateToOtherZoneRequest& request) const; - DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const; - void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteAccountOutcome deleteAccount(const Model::DeleteAccountRequest &request)const; + void deleteAccountAsync(const Model::DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteAccountOutcomeCallable deleteAccountCallable(const Model::DeleteAccountRequest& request) const; - DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const; - void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const; + void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const; - ReleaseReadWriteSplittingConnectionOutcome releaseReadWriteSplittingConnection(const Model::ReleaseReadWriteSplittingConnectionRequest &request)const; - void releaseReadWriteSplittingConnectionAsync(const Model::ReleaseReadWriteSplittingConnectionRequest& request, const ReleaseReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ReleaseReadWriteSplittingConnectionOutcome releaseReadWriteSplittingConnection(const Model::ReleaseReadWriteSplittingConnectionRequest &request)const; + void releaseReadWriteSplittingConnectionAsync(const Model::ReleaseReadWriteSplittingConnectionRequest& request, const ReleaseReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReleaseReadWriteSplittingConnectionOutcomeCallable releaseReadWriteSplittingConnectionCallable(const Model::ReleaseReadWriteSplittingConnectionRequest& request) const; - DescribeLogBackupFilesOutcome describeLogBackupFiles(const Model::DescribeLogBackupFilesRequest &request)const; - void describeLogBackupFilesAsync(const Model::DescribeLogBackupFilesRequest& request, const DescribeLogBackupFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeLogBackupFilesOutcome describeLogBackupFiles(const Model::DescribeLogBackupFilesRequest &request)const; + void describeLogBackupFilesAsync(const Model::DescribeLogBackupFilesRequest& request, const DescribeLogBackupFilesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeLogBackupFilesOutcomeCallable describeLogBackupFilesCallable(const Model::DescribeLogBackupFilesRequest& request) const; - DescribeAvailableInstanceClassOutcome describeAvailableInstanceClass(const Model::DescribeAvailableInstanceClassRequest &request)const; - void describeAvailableInstanceClassAsync(const Model::DescribeAvailableInstanceClassRequest& request, const DescribeAvailableInstanceClassAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAvailableInstanceClassOutcome describeAvailableInstanceClass(const Model::DescribeAvailableInstanceClassRequest &request)const; + void describeAvailableInstanceClassAsync(const Model::DescribeAvailableInstanceClassRequest& request, const DescribeAvailableInstanceClassAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAvailableInstanceClassOutcomeCallable describeAvailableInstanceClassCallable(const Model::DescribeAvailableInstanceClassRequest& request) const; - DescribeErrorLogsOutcome describeErrorLogs(const Model::DescribeErrorLogsRequest &request)const; - void describeErrorLogsAsync(const Model::DescribeErrorLogsRequest& request, const DescribeErrorLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeErrorLogsOutcome describeErrorLogs(const Model::DescribeErrorLogsRequest &request)const; + void describeErrorLogsAsync(const Model::DescribeErrorLogsRequest& request, const DescribeErrorLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeErrorLogsOutcomeCallable describeErrorLogsCallable(const Model::DescribeErrorLogsRequest& request) const; - ModifyDBInstanceHAConfigOutcome modifyDBInstanceHAConfig(const Model::ModifyDBInstanceHAConfigRequest &request)const; - void modifyDBInstanceHAConfigAsync(const Model::ModifyDBInstanceHAConfigRequest& request, const ModifyDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceHAConfigOutcome modifyDBInstanceHAConfig(const Model::ModifyDBInstanceHAConfigRequest &request)const; + void modifyDBInstanceHAConfigAsync(const Model::ModifyDBInstanceHAConfigRequest& request, const ModifyDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceHAConfigOutcomeCallable modifyDBInstanceHAConfigCallable(const Model::ModifyDBInstanceHAConfigRequest& request) const; - DescribeDBInstancesAsCsvOutcome describeDBInstancesAsCsv(const Model::DescribeDBInstancesAsCsvRequest &request)const; - void describeDBInstancesAsCsvAsync(const Model::DescribeDBInstancesAsCsvRequest& request, const DescribeDBInstancesAsCsvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstancesAsCsvOutcome describeDBInstancesAsCsv(const Model::DescribeDBInstancesAsCsvRequest &request)const; + void describeDBInstancesAsCsvAsync(const Model::DescribeDBInstancesAsCsvRequest& request, const DescribeDBInstancesAsCsvAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstancesAsCsvOutcomeCallable describeDBInstancesAsCsvCallable(const Model::DescribeDBInstancesAsCsvRequest& request) const; - ResetAccountPasswordOutcome resetAccountPassword(const Model::ResetAccountPasswordRequest &request)const; - void resetAccountPasswordAsync(const Model::ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResetAccountPasswordOutcome resetAccountPassword(const Model::ResetAccountPasswordRequest &request)const; + void resetAccountPasswordAsync(const Model::ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResetAccountPasswordOutcomeCallable resetAccountPasswordCallable(const Model::ResetAccountPasswordRequest& request) const; - ModifyDBInstanceProxyConfigurationOutcome modifyDBInstanceProxyConfiguration(const Model::ModifyDBInstanceProxyConfigurationRequest &request)const; - void modifyDBInstanceProxyConfigurationAsync(const Model::ModifyDBInstanceProxyConfigurationRequest& request, const ModifyDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDBInstanceProxyConfigurationOutcome modifyDBInstanceProxyConfiguration(const Model::ModifyDBInstanceProxyConfigurationRequest &request)const; + void modifyDBInstanceProxyConfigurationAsync(const Model::ModifyDBInstanceProxyConfigurationRequest& request, const ModifyDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyDBInstanceProxyConfigurationOutcomeCallable modifyDBInstanceProxyConfigurationCallable(const Model::ModifyDBInstanceProxyConfigurationRequest& request) const; - DescribePriceOutcome describePrice(const Model::DescribePriceRequest &request)const; - void describePriceAsync(const Model::DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePriceOutcome describePrice(const Model::DescribePriceRequest &request)const; + void describePriceAsync(const Model::DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribePriceOutcomeCallable describePriceCallable(const Model::DescribePriceRequest& request) const; - DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const; - void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const; + void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const; - DescribeDBInstanceByTagsOutcome describeDBInstanceByTags(const Model::DescribeDBInstanceByTagsRequest &request)const; - void describeDBInstanceByTagsAsync(const Model::DescribeDBInstanceByTagsRequest& request, const DescribeDBInstanceByTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceByTagsOutcome describeDBInstanceByTags(const Model::DescribeDBInstanceByTagsRequest &request)const; + void describeDBInstanceByTagsAsync(const Model::DescribeDBInstanceByTagsRequest& request, const DescribeDBInstanceByTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceByTagsOutcomeCallable describeDBInstanceByTagsCallable(const Model::DescribeDBInstanceByTagsRequest& request) const; - DescribeMetaListOutcome describeMetaList(const Model::DescribeMetaListRequest &request)const; - void describeMetaListAsync(const Model::DescribeMetaListRequest& request, const DescribeMetaListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeMetaListOutcome describeMetaList(const Model::DescribeMetaListRequest &request)const; + void describeMetaListAsync(const Model::DescribeMetaListRequest& request, const DescribeMetaListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeMetaListOutcomeCallable describeMetaListCallable(const Model::DescribeMetaListRequest& request) const; - DescribeDBInstanceSSLOutcome describeDBInstanceSSL(const Model::DescribeDBInstanceSSLRequest &request)const; - void describeDBInstanceSSLAsync(const Model::DescribeDBInstanceSSLRequest& request, const DescribeDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceSSLOutcome describeDBInstanceSSL(const Model::DescribeDBInstanceSSLRequest &request)const; + void describeDBInstanceSSLAsync(const Model::DescribeDBInstanceSSLRequest& request, const DescribeDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceSSLOutcomeCallable describeDBInstanceSSLCallable(const Model::DescribeDBInstanceSSLRequest& request) const; - DescribeDBInstancesByPerformanceOutcome describeDBInstancesByPerformance(const Model::DescribeDBInstancesByPerformanceRequest &request)const; - void describeDBInstancesByPerformanceAsync(const Model::DescribeDBInstancesByPerformanceRequest& request, const DescribeDBInstancesByPerformanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstancesByPerformanceOutcome describeDBInstancesByPerformance(const Model::DescribeDBInstancesByPerformanceRequest &request)const; + void describeDBInstancesByPerformanceAsync(const Model::DescribeDBInstancesByPerformanceRequest& request, const DescribeDBInstancesByPerformanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstancesByPerformanceOutcomeCallable describeDBInstancesByPerformanceCallable(const Model::DescribeDBInstancesByPerformanceRequest& request) const; - DescribeSQLReportsOutcome describeSQLReports(const Model::DescribeSQLReportsRequest &request)const; - void describeSQLReportsAsync(const Model::DescribeSQLReportsRequest& request, const DescribeSQLReportsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeSQLReportsOutcome describeSQLReports(const Model::DescribeSQLReportsRequest &request)const; + void describeSQLReportsAsync(const Model::DescribeSQLReportsRequest& request, const DescribeSQLReportsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeSQLReportsOutcomeCallable describeSQLReportsCallable(const Model::DescribeSQLReportsRequest& request) const; - DescribeBackupTasksOutcome describeBackupTasks(const Model::DescribeBackupTasksRequest &request)const; - void describeBackupTasksAsync(const Model::DescribeBackupTasksRequest& request, const DescribeBackupTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupTasksOutcome describeBackupTasks(const Model::DescribeBackupTasksRequest &request)const; + void describeBackupTasksAsync(const Model::DescribeBackupTasksRequest& request, const DescribeBackupTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupTasksOutcomeCallable describeBackupTasksCallable(const Model::DescribeBackupTasksRequest& request) const; - DeleteDatabaseOutcome deleteDatabase(const Model::DeleteDatabaseRequest &request)const; - void deleteDatabaseAsync(const Model::DeleteDatabaseRequest& request, const DeleteDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDatabaseOutcome deleteDatabase(const Model::DeleteDatabaseRequest &request)const; + void deleteDatabaseAsync(const Model::DeleteDatabaseRequest& request, const DeleteDatabaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDatabaseOutcomeCallable deleteDatabaseCallable(const Model::DeleteDatabaseRequest& request) const; - ModifyCollationTimeZoneOutcome modifyCollationTimeZone(const Model::ModifyCollationTimeZoneRequest &request)const; - void modifyCollationTimeZoneAsync(const Model::ModifyCollationTimeZoneRequest& request, const ModifyCollationTimeZoneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCollationTimeZoneOutcome modifyCollationTimeZone(const Model::ModifyCollationTimeZoneRequest &request)const; + void modifyCollationTimeZoneAsync(const Model::ModifyCollationTimeZoneRequest& request, const ModifyCollationTimeZoneAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyCollationTimeZoneOutcomeCallable modifyCollationTimeZoneCallable(const Model::ModifyCollationTimeZoneRequest& request) const; - DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const; - void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const; + void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeBackupPolicyOutcomeCallable describeBackupPolicyCallable(const Model::DescribeBackupPolicyRequest& request) const; - CreateMigrateTaskForSQLServerOutcome createMigrateTaskForSQLServer(const Model::CreateMigrateTaskForSQLServerRequest &request)const; - void createMigrateTaskForSQLServerAsync(const Model::CreateMigrateTaskForSQLServerRequest& request, const CreateMigrateTaskForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMigrateTaskForSQLServerOutcome createMigrateTaskForSQLServer(const Model::CreateMigrateTaskForSQLServerRequest &request)const; + void createMigrateTaskForSQLServerAsync(const Model::CreateMigrateTaskForSQLServerRequest& request, const CreateMigrateTaskForSQLServerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMigrateTaskForSQLServerOutcomeCallable createMigrateTaskForSQLServerCallable(const Model::CreateMigrateTaskForSQLServerRequest& request) const; - DescribeDBInstanceIPArrayListOutcome describeDBInstanceIPArrayList(const Model::DescribeDBInstanceIPArrayListRequest &request)const; - void describeDBInstanceIPArrayListAsync(const Model::DescribeDBInstanceIPArrayListRequest& request, const DescribeDBInstanceIPArrayListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDBInstanceIPArrayListOutcome describeDBInstanceIPArrayList(const Model::DescribeDBInstanceIPArrayListRequest &request)const; + void describeDBInstanceIPArrayListAsync(const Model::DescribeDBInstanceIPArrayListRequest& request, const DescribeDBInstanceIPArrayListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeDBInstanceIPArrayListOutcomeCallable describeDBInstanceIPArrayListCallable(const Model::DescribeDBInstanceIPArrayListRequest& request) const; - SwitchDBInstanceHAOutcome switchDBInstanceHA(const Model::SwitchDBInstanceHARequest &request)const; - void switchDBInstanceHAAsync(const Model::SwitchDBInstanceHARequest& request, const SwitchDBInstanceHAAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SwitchDBInstanceHAOutcome switchDBInstanceHA(const Model::SwitchDBInstanceHARequest &request)const; + void switchDBInstanceHAAsync(const Model::SwitchDBInstanceHARequest& request, const SwitchDBInstanceHAAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SwitchDBInstanceHAOutcomeCallable switchDBInstanceHACallable(const Model::SwitchDBInstanceHARequest& request) const; - ResetAccountForPGOutcome resetAccountForPG(const Model::ResetAccountForPGRequest &request)const; - void resetAccountForPGAsync(const Model::ResetAccountForPGRequest& request, const ResetAccountForPGAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResetAccountForPGOutcome resetAccountForPG(const Model::ResetAccountForPGRequest &request)const; + void resetAccountForPGAsync(const Model::ResetAccountForPGRequest& request, const ResetAccountForPGAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ResetAccountForPGOutcomeCallable resetAccountForPGCallable(const Model::ResetAccountForPGRequest& request) const; - - private: - std::shared_ptr endpointProvider_; - }; - } -} - -#endif // !ALIBABACLOUD_RDS_RDSCLIENT_H_ + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_RDS_RDSCLIENT_H_ diff --git a/rds/include/alibabacloud/rds/RdsExport.h b/rds/include/alibabacloud/rds/RdsExport.h index 1946857d3..84753a09c 100644 --- a/rds/include/alibabacloud/rds/RdsExport.h +++ b/rds/include/alibabacloud/rds/RdsExport.h @@ -1,32 +1,32 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_RDSEXPORT_H_ -#define ALIBABACLOUD_RDS_RDSEXPORT_H_ - -#include - -#if defined(ALIBABACLOUD_SHARED) -# if defined(ALIBABACLOUD_RDS_LIBRARY) -# define ALIBABACLOUD_RDS_EXPORT ALIBABACLOUD_DECL_EXPORT -# else -# define ALIBABACLOUD_RDS_EXPORT ALIBABACLOUD_DECL_IMPORT -# endif -#else -# define ALIBABACLOUD_RDS_EXPORT -#endif - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RDSEXPORT_H_ +#define ALIBABACLOUD_RDS_RDSEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_RDS_LIBRARY) +# define ALIBABACLOUD_RDS_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_RDS_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_RDS_EXPORT +#endif + #endif // !ALIBABACLOUD_RDS_RDSEXPORT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AddTagsToResourceRequest.h b/rds/include/alibabacloud/rds/model/AddTagsToResourceRequest.h index 34d2857cb..f28ce51f2 100644 --- a/rds/include/alibabacloud/rds/model/AddTagsToResourceRequest.h +++ b/rds/include/alibabacloud/rds/model/AddTagsToResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AddTagsToResourceRequest : public RpcServiceRequest - { - - public: - AddTagsToResourceRequest(); - ~AddTagsToResourceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADDTAGSTORESOURCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AddTagsToResourceRequest : public RpcServiceRequest + { + + public: + AddTagsToResourceRequest(); + ~AddTagsToResourceRequest(); + std::string getTag4value()const; void setTag4value(const std::string& tag4value); long getResourceOwnerId()const; @@ -75,8 +75,8 @@ namespace AlibabaCloud void setTag3value(const std::string& tag3value); std::string getProxyId()const; void setProxyId(const std::string& proxyId); - - private: + + private: std::string tag4value_; long resourceOwnerId_; std::string tag2key_; @@ -97,9 +97,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string tag3value_; std::string proxyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AddTagsToResourceResult.h b/rds/include/alibabacloud/rds/model/AddTagsToResourceResult.h index befecd012..3d2e43ccc 100644 --- a/rds/include/alibabacloud/rds/model/AddTagsToResourceResult.h +++ b/rds/include/alibabacloud/rds/model/AddTagsToResourceResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AddTagsToResourceResult : public ServiceResult - { - public: - - - AddTagsToResourceResult(); - explicit AddTagsToResourceResult(const std::string &payload); - ~AddTagsToResourceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ADDTAGSTORESOURCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AddTagsToResourceResult : public ServiceResult + { + public: + + + AddTagsToResourceResult(); + explicit AddTagsToResourceResult(const std::string &payload); + ~AddTagsToResourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ADDTAGSTORESOURCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionRequest.h b/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionRequest.h index e8b631045..e7dbfcff0 100644 --- a/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionRequest.h +++ b/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateInstancePrivateConnectionRequest : public RpcServiceRequest - { - - public: - AllocateInstancePrivateConnectionRequest(); - ~AllocateInstancePrivateConnectionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateInstancePrivateConnectionRequest : public RpcServiceRequest + { + + public: + AllocateInstancePrivateConnectionRequest(); + ~AllocateInstancePrivateConnectionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getConnectionStringPrefix()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string connectionStringPrefix_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionResult.h b/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionResult.h index d28a89c5c..71a9e44bc 100644 --- a/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionResult.h +++ b/rds/include/alibabacloud/rds/model/AllocateInstancePrivateConnectionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateInstancePrivateConnectionResult : public ServiceResult - { - public: - - - AllocateInstancePrivateConnectionResult(); - explicit AllocateInstancePrivateConnectionResult(const std::string &payload); - ~AllocateInstancePrivateConnectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateInstancePrivateConnectionResult : public ServiceResult + { + public: + + + AllocateInstancePrivateConnectionResult(); + explicit AllocateInstancePrivateConnectionResult(const std::string &payload); + ~AllocateInstancePrivateConnectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPRIVATECONNECTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionRequest.h b/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionRequest.h index b5d13d6d4..a67383767 100644 --- a/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionRequest.h +++ b/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest - { - - public: - AllocateInstancePublicConnectionRequest(); - ~AllocateInstancePublicConnectionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest + { + + public: + AllocateInstancePublicConnectionRequest(); + ~AllocateInstancePublicConnectionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getConnectionStringPrefix()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string connectionStringPrefix_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionResult.h b/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionResult.h index e63e76fc6..a12bf47f4 100644 --- a/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionResult.h +++ b/rds/include/alibabacloud/rds/model/AllocateInstancePublicConnectionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateInstancePublicConnectionResult : public ServiceResult - { - public: - - - AllocateInstancePublicConnectionResult(); - explicit AllocateInstancePublicConnectionResult(const std::string &payload); - ~AllocateInstancePublicConnectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateInstancePublicConnectionResult : public ServiceResult + { + public: + + + AllocateInstancePublicConnectionResult(); + explicit AllocateInstancePublicConnectionResult(const std::string &payload); + ~AllocateInstancePublicConnectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeRequest.h b/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeRequest.h index 66f11c5f5..7bfcf8b33 100644 --- a/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeRequest.h +++ b/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateInstanceVpcNetworkTypeRequest : public RpcServiceRequest - { - - public: - AllocateInstanceVpcNetworkTypeRequest(); - ~AllocateInstanceVpcNetworkTypeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEINSTANCEVPCNETWORKTYPEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateInstanceVpcNetworkTypeRequest : public RpcServiceRequest + { + + public: + AllocateInstanceVpcNetworkTypeRequest(); + ~AllocateInstanceVpcNetworkTypeRequest(); + std::string getTargetVpcId()const; void setTargetVpcId(const std::string& targetVpcId); long getResourceOwnerId()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string targetVpcId_; long resourceOwnerId_; std::string targetZoneId_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string targetVSwitchId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeResult.h b/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeResult.h index d0e328100..346dee656 100644 --- a/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeResult.h +++ b/rds/include/alibabacloud/rds/model/AllocateInstanceVpcNetworkTypeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateInstanceVpcNetworkTypeResult : public ServiceResult - { - public: - - - AllocateInstanceVpcNetworkTypeResult(); - explicit AllocateInstanceVpcNetworkTypeResult(const std::string &payload); - ~AllocateInstanceVpcNetworkTypeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEINSTANCEVPCNETWORKTYPERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateInstanceVpcNetworkTypeResult : public ServiceResult + { + public: + + + AllocateInstanceVpcNetworkTypeResult(); + explicit AllocateInstanceVpcNetworkTypeResult(const std::string &payload); + ~AllocateInstanceVpcNetworkTypeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEINSTANCEVPCNETWORKTYPERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionRequest.h b/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionRequest.h index 8bb77f631..7617af57e 100644 --- a/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionRequest.h +++ b/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateReadWriteSplittingConnectionRequest : public RpcServiceRequest - { - - public: - AllocateReadWriteSplittingConnectionRequest(); - ~AllocateReadWriteSplittingConnectionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateReadWriteSplittingConnectionRequest : public RpcServiceRequest + { + + public: + AllocateReadWriteSplittingConnectionRequest(); + ~AllocateReadWriteSplittingConnectionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getConnectionStringPrefix()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getMaxDelayTime()const; void setMaxDelayTime(const std::string& maxDelayTime); - - private: + + private: long resourceOwnerId_; std::string connectionStringPrefix_; std::string resourceOwnerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string netType_; std::string dBInstanceId_; std::string maxDelayTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionResult.h b/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionResult.h index 46a12122f..fd3b8d6b8 100644 --- a/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionResult.h +++ b/rds/include/alibabacloud/rds/model/AllocateReadWriteSplittingConnectionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT AllocateReadWriteSplittingConnectionResult : public ServiceResult - { - public: - - - AllocateReadWriteSplittingConnectionResult(); - explicit AllocateReadWriteSplittingConnectionResult(const std::string &payload); - ~AllocateReadWriteSplittingConnectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT AllocateReadWriteSplittingConnectionResult : public ServiceResult + { + public: + + + AllocateReadWriteSplittingConnectionResult(); + explicit AllocateReadWriteSplittingConnectionResult(const std::string &payload); + ~AllocateReadWriteSplittingConnectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_ALLOCATEREADWRITESPLITTINGCONNECTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightRequest.h b/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightRequest.h index bf0abed1f..23d42c14b 100644 --- a/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightRequest.h +++ b/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CalculateDBInstanceWeightRequest : public RpcServiceRequest - { - - public: - CalculateDBInstanceWeightRequest(); - ~CalculateDBInstanceWeightRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CALCULATEDBINSTANCEWEIGHTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CalculateDBInstanceWeightRequest : public RpcServiceRequest + { + + public: + CalculateDBInstanceWeightRequest(); + ~CalculateDBInstanceWeightRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightResult.h b/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightResult.h index cfdd0396e..ba7cc775f 100644 --- a/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightResult.h +++ b/rds/include/alibabacloud/rds/model/CalculateDBInstanceWeightResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_CALCULATEDBINSTANCEWEIGHTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CalculateDBInstanceWeightResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CALCULATEDBINSTANCEWEIGHTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CalculateDBInstanceWeightResult : public ServiceResult + { + public: struct DBInstanceWeight { std::string availability; @@ -40,20 +40,20 @@ namespace AlibabaCloud std::string readonlyInstanceSQLDelayedTime; std::string weight; }; - - - CalculateDBInstanceWeightResult(); - explicit CalculateDBInstanceWeightResult(const std::string &payload); - ~CalculateDBInstanceWeightResult(); + + + CalculateDBInstanceWeightResult(); + explicit CalculateDBInstanceWeightResult(const std::string &payload); + ~CalculateDBInstanceWeightResult(); std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CALCULATEDBINSTANCEWEIGHTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CancelImportRequest.h b/rds/include/alibabacloud/rds/model/CancelImportRequest.h index e47cabf7d..f9ef154d8 100644 --- a/rds/include/alibabacloud/rds/model/CancelImportRequest.h +++ b/rds/include/alibabacloud/rds/model/CancelImportRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CancelImportRequest : public RpcServiceRequest - { - - public: - CancelImportRequest(); - ~CancelImportRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CANCELIMPORTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CancelImportRequest : public RpcServiceRequest + { + + public: + CancelImportRequest(); + ~CancelImportRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); int getImportId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; int importId_; std::string resourceOwnerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CANCELIMPORTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CancelImportResult.h b/rds/include/alibabacloud/rds/model/CancelImportResult.h index 7c594134d..a0ef7babd 100644 --- a/rds/include/alibabacloud/rds/model/CancelImportResult.h +++ b/rds/include/alibabacloud/rds/model/CancelImportResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CANCELIMPORTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CANCELIMPORTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CancelImportResult : public ServiceResult - { - public: - - - CancelImportResult(); - explicit CancelImportResult(const std::string &payload); - ~CancelImportResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CANCELIMPORTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CANCELIMPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CancelImportResult : public ServiceResult + { + public: + + + CancelImportResult(); + explicit CancelImportResult(const std::string &payload); + ~CancelImportResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CANCELIMPORTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableRequest.h b/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableRequest.h index 73627c8e6..a68c3d70f 100644 --- a/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableRequest.h +++ b/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckAccountNameAvailableRequest : public RpcServiceRequest - { - - public: - CheckAccountNameAvailableRequest(); - ~CheckAccountNameAvailableRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckAccountNameAvailableRequest : public RpcServiceRequest + { + + public: + CheckAccountNameAvailableRequest(); + ~CheckAccountNameAvailableRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountName()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountName_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableResult.h b/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableResult.h index e8632567f..765a7d556 100644 --- a/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableResult.h +++ b/rds/include/alibabacloud/rds/model/CheckAccountNameAvailableResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckAccountNameAvailableResult : public ServiceResult - { - public: - - - CheckAccountNameAvailableResult(); - explicit CheckAccountNameAvailableResult(const std::string &payload); - ~CheckAccountNameAvailableResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKACCOUNTNAMEAVAILABLERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckAccountNameAvailableResult : public ServiceResult + { + public: + + + CheckAccountNameAvailableResult(); + explicit CheckAccountNameAvailableResult(const std::string &payload); + ~CheckAccountNameAvailableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKACCOUNTNAMEAVAILABLERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckInstanceExistRequest.h b/rds/include/alibabacloud/rds/model/CheckInstanceExistRequest.h index bb3a18def..17aef5177 100644 --- a/rds/include/alibabacloud/rds/model/CheckInstanceExistRequest.h +++ b/rds/include/alibabacloud/rds/model/CheckInstanceExistRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckInstanceExistRequest : public RpcServiceRequest - { - - public: - CheckInstanceExistRequest(); - ~CheckInstanceExistRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKINSTANCEEXISTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckInstanceExistRequest : public RpcServiceRequest + { + + public: + CheckInstanceExistRequest(); + ~CheckInstanceExistRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckInstanceExistResult.h b/rds/include/alibabacloud/rds/model/CheckInstanceExistResult.h index 1a86317a5..7192c6372 100644 --- a/rds/include/alibabacloud/rds/model/CheckInstanceExistResult.h +++ b/rds/include/alibabacloud/rds/model/CheckInstanceExistResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckInstanceExistResult : public ServiceResult - { - public: - - - CheckInstanceExistResult(); - explicit CheckInstanceExistResult(const std::string &payload); - ~CheckInstanceExistResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKINSTANCEEXISTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckInstanceExistResult : public ServiceResult + { + public: + + + CheckInstanceExistResult(); + explicit CheckInstanceExistResult(const std::string &payload); + ~CheckInstanceExistResult(); bool getIsExistInstance()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: bool isExistInstance_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKINSTANCEEXISTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsRequest.h b/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsRequest.h index ef9d5b5cf..979b58d80 100644 --- a/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsRequest.h +++ b/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckRecoveryConditionsRequest : public RpcServiceRequest - { - - public: - CheckRecoveryConditionsRequest(); - ~CheckRecoveryConditionsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKRECOVERYCONDITIONSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckRecoveryConditionsRequest : public RpcServiceRequest + { + + public: + CheckRecoveryConditionsRequest(); + ~CheckRecoveryConditionsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsResult.h b/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsResult.h index ee9019118..027d02b75 100644 --- a/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsResult.h +++ b/rds/include/alibabacloud/rds/model/CheckRecoveryConditionsResult.h @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckRecoveryConditionsResult : public ServiceResult - { - public: - - - CheckRecoveryConditionsResult(); - explicit CheckRecoveryConditionsResult(const std::string &payload); - ~CheckRecoveryConditionsResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKRECOVERYCONDITIONSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckRecoveryConditionsResult : public ServiceResult + { + public: + + + CheckRecoveryConditionsResult(); + explicit CheckRecoveryConditionsResult(const std::string &payload); + ~CheckRecoveryConditionsResult(); std::string getDBInstanceId()const; std::string getRecoveryStatus()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string recoveryStatus_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKRECOVERYCONDITIONSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckResourceRequest.h b/rds/include/alibabacloud/rds/model/CheckResourceRequest.h index 6be6401eb..4b5a5ebb1 100644 --- a/rds/include/alibabacloud/rds/model/CheckResourceRequest.h +++ b/rds/include/alibabacloud/rds/model/CheckResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKRESOURCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKRESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckResourceRequest : public RpcServiceRequest - { - - public: - CheckResourceRequest(); - ~CheckResourceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKRESOURCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKRESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckResourceRequest : public RpcServiceRequest + { + + public: + CheckResourceRequest(); + ~CheckResourceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setDBInstanceUseType(const std::string& dBInstanceUseType); std::string getDBInstanceId()const; void setDBInstanceId(const std::string& dBInstanceId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -76,9 +76,9 @@ namespace AlibabaCloud std::string zoneId_; std::string dBInstanceUseType_; std::string dBInstanceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKRESOURCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CheckResourceResult.h b/rds/include/alibabacloud/rds/model/CheckResourceResult.h index 25c19bcc0..fe3b18b47 100644 --- a/rds/include/alibabacloud/rds/model/CheckResourceResult.h +++ b/rds/include/alibabacloud/rds/model/CheckResourceResult.h @@ -1,59 +1,59 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CheckResourceResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CHECKRESOURCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CheckResourceResult : public ServiceResult + { + public: struct Resource { std::string dBInstanceAvailable; std::string engineVersion; std::string engine; }; - - - CheckResourceResult(); - explicit CheckResourceResult(const std::string &payload); - ~CheckResourceResult(); + + + CheckResourceResult(); + explicit CheckResourceResult(const std::string &payload); + ~CheckResourceResult(); std::string getSpecifyCount()const; std::vector getResources()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string specifyCount_; std::vector resources_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CHECKRESOURCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CloneDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/CloneDBInstanceRequest.h index 69a7fb7df..a6cd26eff 100644 --- a/rds/include/alibabacloud/rds/model/CloneDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/CloneDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CloneDBInstanceRequest : public RpcServiceRequest - { - - public: - CloneDBInstanceRequest(); - ~CloneDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CLONEDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CloneDBInstanceRequest : public RpcServiceRequest + { + + public: + CloneDBInstanceRequest(); + ~CloneDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -81,8 +81,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getInstanceNetworkType()const; void setInstanceNetworkType(const std::string& instanceNetworkType); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string period_; @@ -106,9 +106,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string payType_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CloneDBInstanceResult.h b/rds/include/alibabacloud/rds/model/CloneDBInstanceResult.h index 74d6c2e70..24ab30e25 100644 --- a/rds/include/alibabacloud/rds/model/CloneDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/CloneDBInstanceResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CloneDBInstanceResult : public ServiceResult - { - public: - - - CloneDBInstanceResult(); - explicit CloneDBInstanceResult(const std::string &payload); - ~CloneDBInstanceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CLONEDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CloneDBInstanceResult : public ServiceResult + { + public: + + + CloneDBInstanceResult(); + explicit CloneDBInstanceResult(const std::string &payload); + ~CloneDBInstanceResult(); std::string getDBInstanceId()const; std::string getPort()const; std::string getOrderId()const; std::string getConnectionString()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string port_; std::string orderId_; std::string connectionString_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CLONEDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesRequest.h b/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesRequest.h index 885a8a239..6bbfb27c6 100644 --- a/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesRequest.h +++ b/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CopyDatabaseBetweenInstancesRequest : public RpcServiceRequest - { - - public: - CopyDatabaseBetweenInstancesRequest(); - ~CopyDatabaseBetweenInstancesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_COPYDATABASEBETWEENINSTANCESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CopyDatabaseBetweenInstancesRequest : public RpcServiceRequest + { + + public: + CopyDatabaseBetweenInstancesRequest(); + ~CopyDatabaseBetweenInstancesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -63,8 +63,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getPayType()const; void setPayType(const std::string& payType); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string resourceOwnerAccount_; @@ -79,9 +79,9 @@ namespace AlibabaCloud std::string targetDBInstanceId_; std::string dBInstanceId_; std::string payType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesResult.h b/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesResult.h index 34ae9fd73..117bf82b0 100644 --- a/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesResult.h +++ b/rds/include/alibabacloud/rds/model/CopyDatabaseBetweenInstancesResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CopyDatabaseBetweenInstancesResult : public ServiceResult - { - public: - - - CopyDatabaseBetweenInstancesResult(); - explicit CopyDatabaseBetweenInstancesResult(const std::string &payload); - ~CopyDatabaseBetweenInstancesResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_COPYDATABASEBETWEENINSTANCESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CopyDatabaseBetweenInstancesResult : public ServiceResult + { + public: + + + CopyDatabaseBetweenInstancesResult(); + explicit CopyDatabaseBetweenInstancesResult(const std::string &payload); + ~CopyDatabaseBetweenInstancesResult(); std::string getDBInstanceId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_COPYDATABASEBETWEENINSTANCESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CopyDatabaseRequest.h b/rds/include/alibabacloud/rds/model/CopyDatabaseRequest.h index 67097429c..10305d386 100644 --- a/rds/include/alibabacloud/rds/model/CopyDatabaseRequest.h +++ b/rds/include/alibabacloud/rds/model/CopyDatabaseRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_COPYDATABASEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CopyDatabaseRequest : public RpcServiceRequest - { - - public: - CopyDatabaseRequest(); - ~CopyDatabaseRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_COPYDATABASEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_COPYDATABASEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CopyDatabaseRequest : public RpcServiceRequest + { + + public: + CopyDatabaseRequest(); + ~CopyDatabaseRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_COPYDATABASEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CopyDatabaseResult.h b/rds/include/alibabacloud/rds/model/CopyDatabaseResult.h index 94c919f04..425056c3c 100644 --- a/rds/include/alibabacloud/rds/model/CopyDatabaseResult.h +++ b/rds/include/alibabacloud/rds/model/CopyDatabaseResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CopyDatabaseResult : public ServiceResult - { - public: - - - CopyDatabaseResult(); - explicit CopyDatabaseResult(const std::string &payload); - ~CopyDatabaseResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_COPYDATABASERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CopyDatabaseResult : public ServiceResult + { + public: + + + CopyDatabaseResult(); + explicit CopyDatabaseResult(const std::string &payload); + ~CopyDatabaseResult(); std::string getTaskId()const; std::string getDBName()const; std::string getDBStatus()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string dBName_; std::string dBStatus_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_COPYDATABASERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateAccountRequest.h b/rds/include/alibabacloud/rds/model/CreateAccountRequest.h index 74943b6fa..951e5e9f8 100644 --- a/rds/include/alibabacloud/rds/model/CreateAccountRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateAccountRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateAccountRequest : public RpcServiceRequest - { - - public: - CreateAccountRequest(); - ~CreateAccountRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateAccountRequest : public RpcServiceRequest + { + + public: + CreateAccountRequest(); + ~CreateAccountRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountPassword()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setAccountDescription(const std::string& accountDescription); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountPassword_; std::string accountName_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; std::string accountDescription_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateAccountResult.h b/rds/include/alibabacloud/rds/model/CreateAccountResult.h index 16418beb5..3a6cd0e33 100644 --- a/rds/include/alibabacloud/rds/model/CreateAccountResult.h +++ b/rds/include/alibabacloud/rds/model/CreateAccountResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateAccountResult : public ServiceResult - { - public: - - - CreateAccountResult(); - explicit CreateAccountResult(const std::string &payload); - ~CreateAccountResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEACCOUNTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateAccountResult : public ServiceResult + { + public: + + + CreateAccountResult(); + explicit CreateAccountResult(const std::string &payload); + ~CreateAccountResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEACCOUNTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateBackupRequest.h b/rds/include/alibabacloud/rds/model/CreateBackupRequest.h index 8074a0830..4ae7f46ea 100644 --- a/rds/include/alibabacloud/rds/model/CreateBackupRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateBackupRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateBackupRequest : public RpcServiceRequest - { - - public: - CreateBackupRequest(); - ~CreateBackupRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEBACKUPREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateBackupRequest : public RpcServiceRequest + { + + public: + CreateBackupRequest(); + ~CreateBackupRequest(); + std::string getBackupMethod()const; void setBackupMethod(const std::string& backupMethod); long getResourceOwnerId()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setBackupType(const std::string& backupType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string backupMethod_; long resourceOwnerId_; std::string backupStrategy_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; std::string backupType_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEBACKUPREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateBackupResult.h b/rds/include/alibabacloud/rds/model/CreateBackupResult.h index bbab0ac63..01fdf54e4 100644 --- a/rds/include/alibabacloud/rds/model/CreateBackupResult.h +++ b/rds/include/alibabacloud/rds/model/CreateBackupResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEBACKUPRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEBACKUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateBackupResult : public ServiceResult - { - public: - - - CreateBackupResult(); - explicit CreateBackupResult(const std::string &payload); - ~CreateBackupResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEBACKUPRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEBACKUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateBackupResult : public ServiceResult + { + public: + + + CreateBackupResult(); + explicit CreateBackupResult(const std::string &payload); + ~CreateBackupResult(); std::string getBackupJobId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string backupJobId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEBACKUPRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaRequest.h b/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaRequest.h index fffb85328..a697f4dbe 100644 --- a/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceReplicaRequest : public RpcServiceRequest - { - - public: - CreateDBInstanceReplicaRequest(); - ~CreateDBInstanceReplicaRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDBINSTANCEREPLICAREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceReplicaRequest : public RpcServiceRequest + { + + public: + CreateDBInstanceReplicaRequest(); + ~CreateDBInstanceReplicaRequest(); + std::string getConnectionMode()const; void setConnectionMode(const std::string& connectionMode); std::string getDomainMode()const; @@ -91,8 +91,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getInstanceNetworkType()const; void setInstanceNetworkType(const std::string& instanceNetworkType); - - private: + + private: std::string connectionMode_; std::string domainMode_; std::string replicaDescription_; @@ -121,9 +121,9 @@ namespace AlibabaCloud std::string zoneId_; std::string payType_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICAREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaResult.h b/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaResult.h index df58d59d1..46d0388cf 100644 --- a/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaResult.h +++ b/rds/include/alibabacloud/rds/model/CreateDBInstanceReplicaResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceReplicaResult : public ServiceResult - { - public: - - - CreateDBInstanceReplicaResult(); - explicit CreateDBInstanceReplicaResult(const std::string &payload); - ~CreateDBInstanceReplicaResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDBINSTANCEREPLICARESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceReplicaResult : public ServiceResult + { + public: + + + CreateDBInstanceReplicaResult(); + explicit CreateDBInstanceReplicaResult(const std::string &payload); + ~CreateDBInstanceReplicaResult(); std::string getDBInstanceId()const; long getOrderId()const; std::string getWorkflowId()const; std::string getReplicaId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; long orderId_; std::string workflowId_; std::string replicaId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREPLICARESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/CreateDBInstanceRequest.h index 9901ea806..ddd6169d4 100644 --- a/rds/include/alibabacloud/rds/model/CreateDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceRequest : public RpcServiceRequest - { - - public: - CreateDBInstanceRequest(); - ~CreateDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceRequest : public RpcServiceRequest + { + + public: + CreateDBInstanceRequest(); + ~CreateDBInstanceRequest(); + std::string getConnectionMode()const; void setConnectionMode(const std::string& connectionMode); long getResourceOwnerId()const; @@ -69,6 +69,8 @@ namespace AlibabaCloud void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getOwnerAccount()const; void setOwnerAccount(const std::string& ownerAccount); + std::string getEncryptionKey()const; + void setEncryptionKey(const std::string& encryptionKey); long getOwnerId()const; void setOwnerId(long ownerId); std::string getUsedTime()const; @@ -81,6 +83,10 @@ namespace AlibabaCloud void setVSwitchId(const std::string& vSwitchId); std::string getPrivateIpAddress()const; void setPrivateIpAddress(const std::string& privateIpAddress); + std::string getAutoRenew()const; + void setAutoRenew(const std::string& autoRenew); + std::string getRoleARN()const; + void setRoleARN(const std::string& roleARN); std::string getVPCId()const; void setVPCId(const std::string& vPCId); std::string getTunnelId()const; @@ -91,8 +97,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getInstanceNetworkType()const; void setInstanceNetworkType(const std::string& instanceNetworkType); - - private: + + private: std::string connectionMode_; long resourceOwnerId_; int dBInstanceStorage_; @@ -110,20 +116,23 @@ namespace AlibabaCloud std::string period_; std::string resourceOwnerAccount_; std::string ownerAccount_; + std::string encryptionKey_; long ownerId_; std::string usedTime_; std::string dBInstanceClass_; std::string securityIPList_; std::string vSwitchId_; std::string privateIpAddress_; + std::string autoRenew_; + std::string roleARN_; std::string vPCId_; std::string tunnelId_; std::string zoneId_; std::string payType_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDBInstanceResult.h b/rds/include/alibabacloud/rds/model/CreateDBInstanceResult.h index 202564769..f63a06618 100644 --- a/rds/include/alibabacloud/rds/model/CreateDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/CreateDBInstanceResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceResult : public ServiceResult - { - public: - - - CreateDBInstanceResult(); - explicit CreateDBInstanceResult(const std::string &payload); - ~CreateDBInstanceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDBInstanceResult : public ServiceResult + { + public: + + + CreateDBInstanceResult(); + explicit CreateDBInstanceResult(const std::string &payload); + ~CreateDBInstanceResult(); std::string getDBInstanceId()const; std::string getPort()const; std::string getOrderId()const; std::string getConnectionString()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string port_; std::string orderId_; std::string connectionString_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDatabaseRequest.h b/rds/include/alibabacloud/rds/model/CreateDatabaseRequest.h index 237f7caf2..642b6538c 100644 --- a/rds/include/alibabacloud/rds/model/CreateDatabaseRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateDatabaseRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDatabaseRequest : public RpcServiceRequest - { - - public: - CreateDatabaseRequest(); - ~CreateDatabaseRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDATABASEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDatabaseRequest : public RpcServiceRequest + { + + public: + CreateDatabaseRequest(); + ~CreateDatabaseRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getDBName()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setCharacterSetName(const std::string& characterSetName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string dBName_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string characterSetName_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDATABASEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDatabaseResult.h b/rds/include/alibabacloud/rds/model/CreateDatabaseResult.h index 3f494f9a7..d274bee20 100644 --- a/rds/include/alibabacloud/rds/model/CreateDatabaseResult.h +++ b/rds/include/alibabacloud/rds/model/CreateDatabaseResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDATABASERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDatabaseResult : public ServiceResult - { - public: - - - CreateDatabaseResult(); - explicit CreateDatabaseResult(const std::string &payload); - ~CreateDatabaseResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDATABASERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDatabaseResult : public ServiceResult + { + public: + + + CreateDatabaseResult(); + explicit CreateDatabaseResult(const std::string &payload); + ~CreateDatabaseResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDATABASERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDiagnosticReportRequest.h b/rds/include/alibabacloud/rds/model/CreateDiagnosticReportRequest.h index 2dd1a6cb1..a975896b0 100644 --- a/rds/include/alibabacloud/rds/model/CreateDiagnosticReportRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateDiagnosticReportRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDiagnosticReportRequest : public RpcServiceRequest - { - - public: - CreateDiagnosticReportRequest(); - ~CreateDiagnosticReportRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDIAGNOSTICREPORTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDiagnosticReportRequest : public RpcServiceRequest + { + + public: + CreateDiagnosticReportRequest(); + ~CreateDiagnosticReportRequest(); + std::string getEndTime()const; void setEndTime(const std::string& endTime); std::string getDBInstanceId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setStartTime(const std::string& startTime); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string endTime_; std::string dBInstanceId_; std::string startTime_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateDiagnosticReportResult.h b/rds/include/alibabacloud/rds/model/CreateDiagnosticReportResult.h index 2ded80b7e..8f6cb8334 100644 --- a/rds/include/alibabacloud/rds/model/CreateDiagnosticReportResult.h +++ b/rds/include/alibabacloud/rds/model/CreateDiagnosticReportResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateDiagnosticReportResult : public ServiceResult - { - public: - - - CreateDiagnosticReportResult(); - explicit CreateDiagnosticReportResult(const std::string &payload); - ~CreateDiagnosticReportResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEDIAGNOSTICREPORTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateDiagnosticReportResult : public ServiceResult + { + public: + + + CreateDiagnosticReportResult(); + explicit CreateDiagnosticReportResult(const std::string &payload); + ~CreateDiagnosticReportResult(); std::string getReportId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string reportId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEDIAGNOSTICREPORTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerRequest.h b/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerRequest.h index 2487817a6..874c0ee56 100644 --- a/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskForSQLServerRequest : public RpcServiceRequest - { - - public: - CreateMigrateTaskForSQLServerRequest(); - ~CreateMigrateTaskForSQLServerRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskForSQLServerRequest : public RpcServiceRequest + { + + public: + CreateMigrateTaskForSQLServerRequest(); + ~CreateMigrateTaskForSQLServerRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getTaskType()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getOSSUrls()const; void setOSSUrls(const std::string& oSSUrls); - - private: + + private: long resourceOwnerId_; std::string taskType_; std::string dBName_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string accessKeyId_; std::string oSSUrls_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerResult.h b/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerResult.h index 5c360c518..4eac709d7 100644 --- a/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerResult.h +++ b/rds/include/alibabacloud/rds/model/CreateMigrateTaskForSQLServerResult.h @@ -1,61 +1,61 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskForSQLServerResult : public ServiceResult - { - public: - - - CreateMigrateTaskForSQLServerResult(); - explicit CreateMigrateTaskForSQLServerResult(const std::string &payload); - ~CreateMigrateTaskForSQLServerResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEMIGRATETASKFORSQLSERVERRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskForSQLServerResult : public ServiceResult + { + public: + + + CreateMigrateTaskForSQLServerResult(); + explicit CreateMigrateTaskForSQLServerResult(const std::string &payload); + ~CreateMigrateTaskForSQLServerResult(); std::string getTaskId()const; std::string getDBInstanceId()const; std::string getTaskType()const; std::string getDBName()const; std::string getMigrateIaskId()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string dBInstanceId_; std::string taskType_; std::string dBName_; std::string migrateIaskId_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKFORSQLSERVERRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateMigrateTaskRequest.h b/rds/include/alibabacloud/rds/model/CreateMigrateTaskRequest.h index a5cb959ba..507a125e6 100644 --- a/rds/include/alibabacloud/rds/model/CreateMigrateTaskRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateMigrateTaskRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskRequest : public RpcServiceRequest - { - - public: - CreateMigrateTaskRequest(); - ~CreateMigrateTaskRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEMIGRATETASKREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskRequest : public RpcServiceRequest + { + + public: + CreateMigrateTaskRequest(); + ~CreateMigrateTaskRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getMigrateTaskId()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setBackupMode(const std::string& backupMode); std::string getCheckDBMode()const; void setCheckDBMode(const std::string& checkDBMode); - - private: + + private: long resourceOwnerId_; std::string migrateTaskId_; std::string resourceOwnerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string backupMode_; std::string checkDBMode_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateMigrateTaskResult.h b/rds/include/alibabacloud/rds/model/CreateMigrateTaskResult.h index e82dc0ecf..2c2152364 100644 --- a/rds/include/alibabacloud/rds/model/CreateMigrateTaskResult.h +++ b/rds/include/alibabacloud/rds/model/CreateMigrateTaskResult.h @@ -1,59 +1,59 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskResult : public ServiceResult - { - public: - - - CreateMigrateTaskResult(); - explicit CreateMigrateTaskResult(const std::string &payload); - ~CreateMigrateTaskResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEMIGRATETASKRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateMigrateTaskResult : public ServiceResult + { + public: + + + CreateMigrateTaskResult(); + explicit CreateMigrateTaskResult(const std::string &payload); + ~CreateMigrateTaskResult(); std::string getTaskId()const; std::string getDBInstanceId()const; std::string getMigrateTaskId()const; std::string getBackupMode()const; std::string getDBName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string dBInstanceId_; std::string migrateTaskId_; std::string backupMode_; std::string dBName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEMIGRATETASKRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskRequest.h b/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskRequest.h index 280b8e69a..8526f3d13 100644 --- a/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateOnlineDatabaseTaskRequest : public RpcServiceRequest - { - - public: - CreateOnlineDatabaseTaskRequest(); - ~CreateOnlineDatabaseTaskRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEONLINEDATABASETASKREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateOnlineDatabaseTaskRequest : public RpcServiceRequest + { + + public: + CreateOnlineDatabaseTaskRequest(); + ~CreateOnlineDatabaseTaskRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getMigrateTaskId()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string migrateTaskId_; std::string dBName_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string checkDBMode_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskResult.h b/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskResult.h index 26ca1e188..f1c04117d 100644 --- a/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskResult.h +++ b/rds/include/alibabacloud/rds/model/CreateOnlineDatabaseTaskResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateOnlineDatabaseTaskResult : public ServiceResult - { - public: - - - CreateOnlineDatabaseTaskResult(); - explicit CreateOnlineDatabaseTaskResult(const std::string &payload); - ~CreateOnlineDatabaseTaskResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEONLINEDATABASETASKRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateOnlineDatabaseTaskResult : public ServiceResult + { + public: + + + CreateOnlineDatabaseTaskResult(); + explicit CreateOnlineDatabaseTaskResult(const std::string &payload); + ~CreateOnlineDatabaseTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEONLINEDATABASETASKRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceRequest.h index 5dd95189b..b2765acd3 100644 --- a/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateReadOnlyDBInstanceRequest : public RpcServiceRequest - { - - public: - CreateReadOnlyDBInstanceRequest(); - ~CreateReadOnlyDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEREADONLYDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateReadOnlyDBInstanceRequest : public RpcServiceRequest + { + + public: + CreateReadOnlyDBInstanceRequest(); + ~CreateReadOnlyDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); int getDBInstanceStorage()const; @@ -77,8 +77,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getInstanceNetworkType()const; void setInstanceNetworkType(const std::string& instanceNetworkType); - - private: + + private: long resourceOwnerId_; int dBInstanceStorage_; std::string resourceOwnerAccount_; @@ -100,9 +100,9 @@ namespace AlibabaCloud std::string category_; std::string payType_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceResult.h b/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceResult.h index 9e7919af9..2ecfc516b 100644 --- a/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/CreateReadOnlyDBInstanceResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateReadOnlyDBInstanceResult : public ServiceResult - { - public: - - - CreateReadOnlyDBInstanceResult(); - explicit CreateReadOnlyDBInstanceResult(const std::string &payload); - ~CreateReadOnlyDBInstanceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATEREADONLYDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateReadOnlyDBInstanceResult : public ServiceResult + { + public: + + + CreateReadOnlyDBInstanceResult(); + explicit CreateReadOnlyDBInstanceResult(const std::string &payload); + ~CreateReadOnlyDBInstanceResult(); std::string getDBInstanceId()const; std::string getPort()const; std::string getOrderId()const; std::string getConnectionString()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string port_; std::string orderId_; std::string connectionString_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATEREADONLYDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateTempDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/CreateTempDBInstanceRequest.h index c13272fd1..c71be3a24 100644 --- a/rds/include/alibabacloud/rds/model/CreateTempDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/CreateTempDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateTempDBInstanceRequest : public RpcServiceRequest - { - - public: - CreateTempDBInstanceRequest(); - ~CreateTempDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATETEMPDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateTempDBInstanceRequest : public RpcServiceRequest + { + + public: + CreateTempDBInstanceRequest(); + ~CreateTempDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/CreateTempDBInstanceResult.h b/rds/include/alibabacloud/rds/model/CreateTempDBInstanceResult.h index 7c0eb73a4..c47cf33bf 100644 --- a/rds/include/alibabacloud/rds/model/CreateTempDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/CreateTempDBInstanceResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT CreateTempDBInstanceResult : public ServiceResult - { - public: - - - CreateTempDBInstanceResult(); - explicit CreateTempDBInstanceResult(const std::string &payload); - ~CreateTempDBInstanceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATETEMPDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT CreateTempDBInstanceResult : public ServiceResult + { + public: + + + CreateTempDBInstanceResult(); + explicit CreateTempDBInstanceResult(const std::string &payload); + ~CreateTempDBInstanceResult(); std::string getTempDBInstanceId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string tempDBInstanceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_CREATETEMPDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteAccountRequest.h b/rds/include/alibabacloud/rds/model/DeleteAccountRequest.h index 8c86c2b88..f06800b03 100644 --- a/rds/include/alibabacloud/rds/model/DeleteAccountRequest.h +++ b/rds/include/alibabacloud/rds/model/DeleteAccountRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteAccountRequest : public RpcServiceRequest - { - - public: - DeleteAccountRequest(); - ~DeleteAccountRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteAccountRequest : public RpcServiceRequest + { + + public: + DeleteAccountRequest(); + ~DeleteAccountRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountName()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountName_; std::string resourceOwnerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteAccountResult.h b/rds/include/alibabacloud/rds/model/DeleteAccountResult.h index e68ad79a6..fe7e25a1a 100644 --- a/rds/include/alibabacloud/rds/model/DeleteAccountResult.h +++ b/rds/include/alibabacloud/rds/model/DeleteAccountResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteAccountResult : public ServiceResult - { - public: - - - DeleteAccountResult(); - explicit DeleteAccountResult(const std::string &payload); - ~DeleteAccountResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEACCOUNTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteAccountResult : public ServiceResult + { + public: + + + DeleteAccountResult(); + explicit DeleteAccountResult(const std::string &payload); + ~DeleteAccountResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEACCOUNTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteBackupRequest.h b/rds/include/alibabacloud/rds/model/DeleteBackupRequest.h index 2034c1704..67fe0a664 100644 --- a/rds/include/alibabacloud/rds/model/DeleteBackupRequest.h +++ b/rds/include/alibabacloud/rds/model/DeleteBackupRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteBackupRequest : public RpcServiceRequest - { - - public: - DeleteBackupRequest(); - ~DeleteBackupRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEBACKUPREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteBackupRequest : public RpcServiceRequest + { + + public: + DeleteBackupRequest(); + ~DeleteBackupRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string backupId_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEBACKUPREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteBackupResult.h b/rds/include/alibabacloud/rds/model/DeleteBackupResult.h index 9f6704204..241c5a499 100644 --- a/rds/include/alibabacloud/rds/model/DeleteBackupResult.h +++ b/rds/include/alibabacloud/rds/model/DeleteBackupResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEBACKUPRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteBackupResult : public ServiceResult - { - public: - - - DeleteBackupResult(); - explicit DeleteBackupResult(const std::string &payload); - ~DeleteBackupResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEBACKUPRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteBackupResult : public ServiceResult + { + public: + + + DeleteBackupResult(); + explicit DeleteBackupResult(const std::string &payload); + ~DeleteBackupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEBACKUPRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/DeleteDBInstanceRequest.h index c5d3d1833..0da8517bd 100644 --- a/rds/include/alibabacloud/rds/model/DeleteDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/DeleteDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteDBInstanceRequest : public RpcServiceRequest - { - - public: - DeleteDBInstanceRequest(); - ~DeleteDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteDBInstanceRequest : public RpcServiceRequest + { + + public: + DeleteDBInstanceRequest(); + ~DeleteDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteDBInstanceResult.h b/rds/include/alibabacloud/rds/model/DeleteDBInstanceResult.h index 56b124ecd..ae1c11e32 100644 --- a/rds/include/alibabacloud/rds/model/DeleteDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/DeleteDBInstanceResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteDBInstanceResult : public ServiceResult - { - public: - - - DeleteDBInstanceResult(); - explicit DeleteDBInstanceResult(const std::string &payload); - ~DeleteDBInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteDBInstanceResult : public ServiceResult + { + public: + + + DeleteDBInstanceResult(); + explicit DeleteDBInstanceResult(const std::string &payload); + ~DeleteDBInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteDatabaseRequest.h b/rds/include/alibabacloud/rds/model/DeleteDatabaseRequest.h index 94ef1cb08..8c344ba5b 100644 --- a/rds/include/alibabacloud/rds/model/DeleteDatabaseRequest.h +++ b/rds/include/alibabacloud/rds/model/DeleteDatabaseRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteDatabaseRequest : public RpcServiceRequest - { - - public: - DeleteDatabaseRequest(); - ~DeleteDatabaseRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEDATABASEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteDatabaseRequest : public RpcServiceRequest + { + + public: + DeleteDatabaseRequest(); + ~DeleteDatabaseRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getDBName()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string dBName_; std::string resourceOwnerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEDATABASEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DeleteDatabaseResult.h b/rds/include/alibabacloud/rds/model/DeleteDatabaseResult.h index edd9877d8..f66364934 100644 --- a/rds/include/alibabacloud/rds/model/DeleteDatabaseResult.h +++ b/rds/include/alibabacloud/rds/model/DeleteDatabaseResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DELETEDATABASERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DELETEDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DeleteDatabaseResult : public ServiceResult - { - public: - - - DeleteDatabaseResult(); - explicit DeleteDatabaseResult(const std::string &payload); - ~DeleteDatabaseResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETEDATABASERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DELETEDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DeleteDatabaseResult : public ServiceResult + { + public: + + + DeleteDatabaseResult(); + explicit DeleteDatabaseResult(const std::string &payload); + ~DeleteDatabaseResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DELETEDATABASERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseRequest.h b/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseRequest.h index 99af1b8cd..814300635 100644 --- a/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseRequest.h +++ b/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescibeImportsFromDatabaseRequest : public RpcServiceRequest - { - - public: - DescibeImportsFromDatabaseRequest(); - ~DescibeImportsFromDatabaseRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCIBEIMPORTSFROMDATABASEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescibeImportsFromDatabaseRequest : public RpcServiceRequest + { + + public: + DescibeImportsFromDatabaseRequest(); + ~DescibeImportsFromDatabaseRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setPageSize(int pageSize); std::string getDBInstanceId()const; void setDBInstanceId(const std::string& dBInstanceId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -76,9 +76,9 @@ namespace AlibabaCloud std::string engine_; int pageSize_; std::string dBInstanceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseResult.h b/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseResult.h index ce55ea06f..aead1cfe2 100644 --- a/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseResult.h +++ b/rds/include/alibabacloud/rds/model/DescibeImportsFromDatabaseResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCIBEIMPORTSFROMDATABASERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescibeImportsFromDatabaseResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCIBEIMPORTSFROMDATABASERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescibeImportsFromDatabaseResult : public ServiceResult + { + public: struct ImportResultFromDB { std::string importDataStatus; @@ -40,26 +40,26 @@ namespace AlibabaCloud std::string importDataType; int importId; }; - - - DescibeImportsFromDatabaseResult(); - explicit DescibeImportsFromDatabaseResult(const std::string &payload); - ~DescibeImportsFromDatabaseResult(); + + + DescibeImportsFromDatabaseResult(); + explicit DescibeImportsFromDatabaseResult(const std::string &payload); + ~DescibeImportsFromDatabaseResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCIBEIMPORTSFROMDATABASERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeAccountsRequest.h b/rds/include/alibabacloud/rds/model/DescribeAccountsRequest.h index 19f9a79b5..2837548c4 100644 --- a/rds/include/alibabacloud/rds/model/DescribeAccountsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeAccountsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeAccountsRequest : public RpcServiceRequest - { - - public: - DescribeAccountsRequest(); - ~DescribeAccountsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEACCOUNTSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeAccountsRequest : public RpcServiceRequest + { + + public: + DescribeAccountsRequest(); + ~DescribeAccountsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountName()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountName_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeAccountsResult.h b/rds/include/alibabacloud/rds/model/DescribeAccountsResult.h index 9df95a99d..73ed8c06e 100644 --- a/rds/include/alibabacloud/rds/model/DescribeAccountsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeAccountsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEACCOUNTSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeAccountsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEACCOUNTSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeAccountsResult : public ServiceResult + { + public: struct DBInstanceAccount { struct DatabasePrivilege @@ -48,20 +48,20 @@ namespace AlibabaCloud std::vector databasePrivileges; std::string accountName; }; - - - DescribeAccountsResult(); - explicit DescribeAccountsResult(const std::string &payload); - ~DescribeAccountsResult(); + + + DescribeAccountsResult(); + explicit DescribeAccountsResult(const std::string &payload); + ~DescribeAccountsResult(); std::vector getAccounts()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector accounts_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEACCOUNTSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassRequest.h b/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassRequest.h index 3cacd0c25..122e402e4 100644 --- a/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeAvailableInstanceClassRequest : public RpcServiceRequest - { - - public: - DescribeAvailableInstanceClassRequest(); - ~DescribeAvailableInstanceClassRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEAVAILABLEINSTANCECLASSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeAvailableInstanceClassRequest : public RpcServiceRequest + { + + public: + DescribeAvailableInstanceClassRequest(); + ~DescribeAvailableInstanceClassRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setInstanceChargeType(const std::string& instanceChargeType); std::string getOrderType()const; void setOrderType(const std::string& orderType); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string instanceChargeType_; std::string orderType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassResult.h b/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassResult.h index 39da487ca..f15091591 100644 --- a/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeAvailableInstanceClassResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEAVAILABLEINSTANCECLASSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeAvailableInstanceClassResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEAVAILABLEINSTANCECLASSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeAvailableInstanceClassResult : public ServiceResult + { + public: struct AvailableZone { struct SupportedEngines @@ -65,20 +65,20 @@ namespace AlibabaCloud std::string regionId; std::vector supportedEngine; }; - - - DescribeAvailableInstanceClassResult(); - explicit DescribeAvailableInstanceClassResult(const std::string &payload); - ~DescribeAvailableInstanceClassResult(); + + + DescribeAvailableInstanceClassResult(); + explicit DescribeAvailableInstanceClassResult(const std::string &payload); + ~DescribeAvailableInstanceClassResult(); std::vector getAvailableZones()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector availableZones_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLEINSTANCECLASSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeAvailableResourceRequest.h b/rds/include/alibabacloud/rds/model/DescribeAvailableResourceRequest.h index 14ec8cb02..8540a4332 100644 --- a/rds/include/alibabacloud/rds/model/DescribeAvailableResourceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeAvailableResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeAvailableResourceRequest : public RpcServiceRequest - { - - public: - DescribeAvailableResourceRequest(); - ~DescribeAvailableResourceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEAVAILABLERESOURCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeAvailableResourceRequest : public RpcServiceRequest + { + + public: + DescribeAvailableResourceRequest(); + ~DescribeAvailableResourceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setInstanceChargeType(const std::string& instanceChargeType); std::string getOrderType()const; void setOrderType(const std::string& orderType); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string instanceChargeType_; std::string orderType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeAvailableResourceResult.h b/rds/include/alibabacloud/rds/model/DescribeAvailableResourceResult.h index c5d1bf437..5d9f6ef17 100644 --- a/rds/include/alibabacloud/rds/model/DescribeAvailableResourceResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeAvailableResourceResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEAVAILABLERESOURCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeAvailableResourceResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEAVAILABLERESOURCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeAvailableResourceResult : public ServiceResult + { + public: struct AvailableZone { struct SupportedEngines @@ -65,20 +65,20 @@ namespace AlibabaCloud std::string regionId; std::vector supportedEngine; }; - - - DescribeAvailableResourceResult(); - explicit DescribeAvailableResourceResult(const std::string &payload); - ~DescribeAvailableResourceResult(); + + + DescribeAvailableResourceResult(); + explicit DescribeAvailableResourceResult(const std::string &payload); + ~DescribeAvailableResourceResult(); std::vector getAvailableZones()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector availableZones_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEAVAILABLERESOURCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseRequest.h b/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseRequest.h index 8abc001d8..3384415fb 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupDatabaseRequest : public RpcServiceRequest - { - - public: - DescribeBackupDatabaseRequest(); - ~DescribeBackupDatabaseRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPDATABASEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupDatabaseRequest : public RpcServiceRequest + { + + public: + DescribeBackupDatabaseRequest(); + ~DescribeBackupDatabaseRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string backupId_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseResult.h b/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseResult.h index 78a1a4a23..bb024abcf 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupDatabaseResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupDatabaseResult : public ServiceResult - { - public: - - - DescribeBackupDatabaseResult(); - explicit DescribeBackupDatabaseResult(const std::string &payload); - ~DescribeBackupDatabaseResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPDATABASERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupDatabaseResult : public ServiceResult + { + public: + + + DescribeBackupDatabaseResult(); + explicit DescribeBackupDatabaseResult(const std::string &payload); + ~DescribeBackupDatabaseResult(); std::string getDatabaseNames()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string databaseNames_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPDATABASERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupPolicyRequest.h b/rds/include/alibabacloud/rds/model/DescribeBackupPolicyRequest.h index 1001c8f20..3c49e7808 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupPolicyRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupPolicyRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupPolicyRequest : public RpcServiceRequest - { - - public: - DescribeBackupPolicyRequest(); - ~DescribeBackupPolicyRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupPolicyRequest : public RpcServiceRequest + { + + public: + DescribeBackupPolicyRequest(); + ~DescribeBackupPolicyRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getBackupPolicyMode()const; void setBackupPolicyMode(const std::string& backupPolicyMode); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud long ownerId_; std::string accessKeyId_; std::string backupPolicyMode_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupPolicyResult.h b/rds/include/alibabacloud/rds/model/DescribeBackupPolicyResult.h index fda25e73d..770df52c8 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupPolicyResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupPolicyResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEBACKUPPOLICYRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupPolicyResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupPolicyResult : public ServiceResult + { + public: struct DuplicationLocation { struct Location @@ -42,11 +42,11 @@ namespace AlibabaCloud std::string sotrage; Location location; }; - - - DescribeBackupPolicyResult(); - explicit DescribeBackupPolicyResult(const std::string &payload); - ~DescribeBackupPolicyResult(); + + + DescribeBackupPolicyResult(); + explicit DescribeBackupPolicyResult(const std::string &payload); + ~DescribeBackupPolicyResult(); std::string getDuplication()const; std::string getPreferredBackupTime()const; int getLocalLogRetentionHours()const; @@ -62,10 +62,10 @@ namespace AlibabaCloud std::string getLocalLogRetentionSpace()const; int getBackupRetentionPeriod()const; std::string getDuplicationContent()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string duplication_; std::string preferredBackupTime_; int localLogRetentionHours_; @@ -81,9 +81,9 @@ namespace AlibabaCloud std::string localLogRetentionSpace_; int backupRetentionPeriod_; std::string duplicationContent_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupTasksRequest.h b/rds/include/alibabacloud/rds/model/DescribeBackupTasksRequest.h index 56cd4f610..36fd31a00 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupTasksRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupTasksRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupTasksRequest : public RpcServiceRequest - { - - public: - DescribeBackupTasksRequest(); - ~DescribeBackupTasksRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPTASKSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupTasksRequest : public RpcServiceRequest + { + + public: + DescribeBackupTasksRequest(); + ~DescribeBackupTasksRequest(); + std::string getBackupJobId()const; void setBackupJobId(const std::string& backupJobId); long getResourceOwnerId()const; @@ -57,8 +57,8 @@ namespace AlibabaCloud void setBackupJobStatus(const std::string& backupJobStatus); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string backupJobId_; long resourceOwnerId_; std::string flag_; @@ -70,9 +70,9 @@ namespace AlibabaCloud long ownerId_; std::string backupJobStatus_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupTasksResult.h b/rds/include/alibabacloud/rds/model/DescribeBackupTasksResult.h index dbf39a47a..73c9b1282 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupTasksResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupTasksResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEBACKUPTASKSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupTasksResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPTASKSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupTasksResult : public ServiceResult + { + public: struct BackupJob { std::string jobMode; @@ -42,20 +42,20 @@ namespace AlibabaCloud std::string backupJobId; std::string backupStatus; }; - - - DescribeBackupTasksResult(); - explicit DescribeBackupTasksResult(const std::string &payload); - ~DescribeBackupTasksResult(); + + + DescribeBackupTasksResult(); + explicit DescribeBackupTasksResult(const std::string &payload); + ~DescribeBackupTasksResult(); std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPTASKSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupsRequest.h b/rds/include/alibabacloud/rds/model/DescribeBackupsRequest.h index c943128ef..4664873d7 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupsRequest : public RpcServiceRequest - { - - public: - DescribeBackupsRequest(); - ~DescribeBackupsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupsRequest : public RpcServiceRequest + { + + public: + DescribeBackupsRequest(); + ~DescribeBackupsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -63,8 +63,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getBackupMode()const; void setBackupMode(const std::string& backupMode); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string backupId_; @@ -79,9 +79,9 @@ namespace AlibabaCloud int pageSize_; std::string dBInstanceId_; std::string backupMode_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBackupsResult.h b/rds/include/alibabacloud/rds/model/DescribeBackupsResult.h index a295f7a43..0222599e2 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBackupsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeBackupsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEBACKUPSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBackupsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBACKUPSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBackupsResult : public ServiceResult + { + public: struct Backup { std::string backupMethod; @@ -55,28 +55,28 @@ namespace AlibabaCloud std::string backupLocation; long totalBackupSize; }; - - - DescribeBackupsResult(); - explicit DescribeBackupsResult(const std::string &payload); - ~DescribeBackupsResult(); + + + DescribeBackupsResult(); + explicit DescribeBackupsResult(const std::string &payload); + ~DescribeBackupsResult(); std::string getTotalRecordCount()const; std::string getPageRecordCount()const; std::string getPageNumber()const; std::vector getItems()const; long getTotalBackupSize()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string totalRecordCount_; std::string pageRecordCount_; std::string pageNumber_; std::vector items_; long totalBackupSize_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBACKUPSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBinlogFilesRequest.h b/rds/include/alibabacloud/rds/model/DescribeBinlogFilesRequest.h index ac773c629..6e6993506 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBinlogFilesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeBinlogFilesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBinlogFilesRequest : public RpcServiceRequest - { - - public: - DescribeBinlogFilesRequest(); - ~DescribeBinlogFilesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBINLOGFILESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBinlogFilesRequest : public RpcServiceRequest + { + + public: + DescribeBinlogFilesRequest(); + ~DescribeBinlogFilesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeBinlogFilesResult.h b/rds/include/alibabacloud/rds/model/DescribeBinlogFilesResult.h index 27f49dd45..83b4596cc 100644 --- a/rds/include/alibabacloud/rds/model/DescribeBinlogFilesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeBinlogFilesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEBINLOGFILESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeBinlogFilesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEBINLOGFILESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeBinlogFilesResult : public ServiceResult + { + public: struct BinLogFile { std::string downloadLink; @@ -44,28 +44,28 @@ namespace AlibabaCloud std::string logFileName; long fileSize; }; - - - DescribeBinlogFilesResult(); - explicit DescribeBinlogFilesResult(const std::string &payload); - ~DescribeBinlogFilesResult(); + + + DescribeBinlogFilesResult(); + explicit DescribeBinlogFilesResult(const std::string &payload); + ~DescribeBinlogFilesResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; long getTotalFileSize()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; long totalFileSize_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEBINLOGFILESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameRequest.h b/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameRequest.h index ec05123a8..cb51f6ff5 100644 --- a/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeCharacterSetNameRequest : public RpcServiceRequest - { - - public: - DescribeCharacterSetNameRequest(); - ~DescribeCharacterSetNameRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECHARACTERSETNAMEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeCharacterSetNameRequest : public RpcServiceRequest + { + + public: + DescribeCharacterSetNameRequest(); + ~DescribeCharacterSetNameRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string engine_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string ownerAccount_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameResult.h b/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameResult.h index 933aca142..a4eacef0c 100644 --- a/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeCharacterSetNameResult.h @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeCharacterSetNameResult : public ServiceResult - { - public: - - - DescribeCharacterSetNameResult(); - explicit DescribeCharacterSetNameResult(const std::string &payload); - ~DescribeCharacterSetNameResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECHARACTERSETNAMERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeCharacterSetNameResult : public ServiceResult + { + public: + + + DescribeCharacterSetNameResult(); + explicit DescribeCharacterSetNameResult(const std::string &payload); + ~DescribeCharacterSetNameResult(); std::vector getCharacterSetNameItems()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector characterSetNameItems_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECHARACTERSETNAMERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceRequest.h b/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceRequest.h index e120b28cf..babdff1c5 100644 --- a/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeCloudDbExpertServiceRequest : public RpcServiceRequest - { - - public: - DescribeCloudDbExpertServiceRequest(); - ~DescribeCloudDbExpertServiceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECLOUDDBEXPERTSERVICEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeCloudDbExpertServiceRequest : public RpcServiceRequest + { + + public: + DescribeCloudDbExpertServiceRequest(); + ~DescribeCloudDbExpertServiceRequest(); + std::string getServiceRequestParam()const; void setServiceRequestParam(const std::string& serviceRequestParam); long getResourceOwnerId()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setServiceRequestType(const std::string& serviceRequestType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string serviceRequestParam_; long resourceOwnerId_; std::string securityToken_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; std::string serviceRequestType_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceResult.h b/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceResult.h index 1979d798c..dec9b5ec8 100644 --- a/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeCloudDbExpertServiceResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeCloudDbExpertServiceResult : public ServiceResult - { - public: - - - DescribeCloudDbExpertServiceResult(); - explicit DescribeCloudDbExpertServiceResult(const std::string &payload); - ~DescribeCloudDbExpertServiceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECLOUDDBEXPERTSERVICERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeCloudDbExpertServiceResult : public ServiceResult + { + public: + + + DescribeCloudDbExpertServiceResult(); + explicit DescribeCloudDbExpertServiceResult(const std::string &payload); + ~DescribeCloudDbExpertServiceResult(); std::string getMessage()const; std::string getData()const; std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string message_; std::string data_; std::string code_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECLOUDDBEXPERTSERVICERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesRequest.h b/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesRequest.h index b3f61757b..75d255194 100644 --- a/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeCollationTimeZonesRequest : public RpcServiceRequest - { - - public: - DescribeCollationTimeZonesRequest(); - ~DescribeCollationTimeZonesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECOLLATIONTIMEZONESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeCollationTimeZonesRequest : public RpcServiceRequest + { + + public: + DescribeCollationTimeZonesRequest(); + ~DescribeCollationTimeZonesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesResult.h b/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesResult.h index 67995b82d..d58a56fdc 100644 --- a/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeCollationTimeZonesResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeCollationTimeZonesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBECOLLATIONTIMEZONESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeCollationTimeZonesResult : public ServiceResult + { + public: struct CollationTimeZone { std::string timeZone; std::string description; std::string standardTimeOffset; }; - - - DescribeCollationTimeZonesResult(); - explicit DescribeCollationTimeZonesResult(const std::string &payload); - ~DescribeCollationTimeZonesResult(); + + + DescribeCollationTimeZonesResult(); + explicit DescribeCollationTimeZonesResult(const std::string &payload); + ~DescribeCollationTimeZonesResult(); std::vector getCollationTimeZones()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector collationTimeZones_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBECOLLATIONTIMEZONESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeRequest.h index a921a47c3..8f203a08f 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceAttributeRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceAttributeRequest(); - ~DescribeDBInstanceAttributeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceAttributeRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceAttributeRequest(); + ~DescribeDBInstanceAttributeRequest(); + std::string getResourceGroupId()const; void setResourceGroupId(const std::string& resourceGroupId); long getResourceOwnerId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string resourceGroupId_; long resourceOwnerId_; std::string expired_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeResult.h index e58605855..ff99b9871 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceAttributeResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceAttributeResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceAttributeResult : public ServiceResult + { + public: struct DBInstanceAttribute { struct Extra @@ -120,20 +120,20 @@ namespace AlibabaCloud bool canTempUpgrade; std::string regionId; }; - - - DescribeDBInstanceAttributeResult(); - explicit DescribeDBInstanceAttributeResult(const std::string &payload); - ~DescribeDBInstanceAttributeResult(); + + + DescribeDBInstanceAttributeResult(); + explicit DescribeDBInstanceAttributeResult(const std::string &payload); + ~DescribeDBInstanceAttributeResult(); std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsRequest.h index 9a511ac5e..c54b6293c 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceByTagsRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceByTagsRequest(); - ~DescribeDBInstanceByTagsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceByTagsRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceByTagsRequest(); + ~DescribeDBInstanceByTagsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -57,8 +57,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getProxyId()const; void setProxyId(const std::string& proxyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -70,9 +70,9 @@ namespace AlibabaCloud int pageNumber_; std::string accessKeyId_; std::string proxyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsResult.h index fdb3452ec..b969674fa 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceByTagsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCEBYTAGSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceByTagsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEBYTAGSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceByTagsResult : public ServiceResult + { + public: struct DBInstanceTag { struct Tag @@ -42,26 +42,26 @@ namespace AlibabaCloud std::string dBInstanceId; std::vector tags; }; - - - DescribeDBInstanceByTagsResult(); - explicit DescribeDBInstanceByTagsResult(const std::string &payload); - ~DescribeDBInstanceByTagsResult(); + + + DescribeDBInstanceByTagsResult(); + explicit DescribeDBInstanceByTagsResult(const std::string &payload); + ~DescribeDBInstanceByTagsResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEBYTAGSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigRequest.h index 192f9dac8..f5814369f 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceHAConfigRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceHAConfigRequest(); - ~DescribeDBInstanceHAConfigRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceHAConfigRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceHAConfigRequest(); + ~DescribeDBInstanceHAConfigRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigResult.h index cafa11b78..a446ec1a7 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceHAConfigResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCEHACONFIGRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceHAConfigResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEHACONFIGRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceHAConfigResult : public ServiceResult + { + public: struct NodeInfo { std::string dataSyncTime; @@ -42,26 +42,26 @@ namespace AlibabaCloud std::string syncStatus; std::string regionId; }; - - - DescribeDBInstanceHAConfigResult(); - explicit DescribeDBInstanceHAConfigResult(const std::string &payload); - ~DescribeDBInstanceHAConfigResult(); + + + DescribeDBInstanceHAConfigResult(); + explicit DescribeDBInstanceHAConfigResult(const std::string &payload); + ~DescribeDBInstanceHAConfigResult(); std::string getDBInstanceId()const; std::string getHAMode()const; std::vector getHostInstanceInfos()const; std::string getSyncMode()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string hAMode_; std::vector hostInstanceInfos_; std::string syncMode_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEHACONFIGRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListRequest.h index e9cb640c3..3821c53ad 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceIPArrayListRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceIPArrayListRequest(); - ~DescribeDBInstanceIPArrayListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceIPArrayListRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceIPArrayListRequest(); + ~DescribeDBInstanceIPArrayListRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getWhitelistNetworkType()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string whitelistNetworkType_; std::string resourceOwnerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListResult.h index 1764e9d65..a36246a1a 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceIPArrayListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCEIPARRAYLISTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceIPArrayListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEIPARRAYLISTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceIPArrayListResult : public ServiceResult + { + public: struct DBInstanceIPArray { std::string dBInstanceIPArrayAttribute; @@ -40,20 +40,20 @@ namespace AlibabaCloud std::string whitelistNetworkType; std::string dBInstanceIPArrayName; }; - - - DescribeDBInstanceIPArrayListResult(); - explicit DescribeDBInstanceIPArrayListResult(const std::string &payload); - ~DescribeDBInstanceIPArrayListResult(); + + + DescribeDBInstanceIPArrayListResult(); + explicit DescribeDBInstanceIPArrayListResult(const std::string &payload); + ~DescribeDBInstanceIPArrayListResult(); std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorRequest.h index ce18ed94f..a67d3e641 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceMonitorRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceMonitorRequest(); - ~DescribeDBInstanceMonitorRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEMONITORREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceMonitorRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceMonitorRequest(); + ~DescribeDBInstanceMonitorRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorResult.h index 4ea18092b..9f0717769 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceMonitorResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceMonitorResult : public ServiceResult - { - public: - - - DescribeDBInstanceMonitorResult(); - explicit DescribeDBInstanceMonitorResult(const std::string &payload); - ~DescribeDBInstanceMonitorResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEMONITORRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceMonitorResult : public ServiceResult + { + public: + + + DescribeDBInstanceMonitorResult(); + explicit DescribeDBInstanceMonitorResult(const std::string &payload); + ~DescribeDBInstanceMonitorResult(); std::string getPeriod()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string period_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEMONITORRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoRequest.h index 7b9d5746e..7eb2adec3 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetInfoRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceNetInfoRequest(); - ~DescribeDBInstanceNetInfoRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCENETINFOREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetInfoRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceNetInfoRequest(); + ~DescribeDBInstanceNetInfoRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getFlag()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string flag_; std::string dBInstanceNetRWSplitType_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoResult.h index 563874248..feab65d68 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceNetInfoResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCENETINFORESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetInfoResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCENETINFORESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceNetInfoResult : public ServiceResult + { + public: struct DBInstanceNetInfo { struct SecurityIPGroup @@ -60,24 +60,24 @@ namespace AlibabaCloud std::string iPAddress; std::string distributionType; }; - - - DescribeDBInstanceNetInfoResult(); - explicit DescribeDBInstanceNetInfoResult(const std::string &payload); - ~DescribeDBInstanceNetInfoResult(); + + + DescribeDBInstanceNetInfoResult(); + explicit DescribeDBInstanceNetInfoResult(const std::string &payload); + ~DescribeDBInstanceNetInfoResult(); std::vector getDBInstanceNetInfos()const; std::string getSecurityIPMode()const; std::string getInstanceNetworkType()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector dBInstanceNetInfos_; std::string securityIPMode_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCENETINFORESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h index a421976ab..3b62bc365 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancePerformanceRequest : public RpcServiceRequest - { - - public: - DescribeDBInstancePerformanceRequest(); - ~DescribeDBInstancePerformanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancePerformanceRequest : public RpcServiceRequest + { + + public: + DescribeDBInstancePerformanceRequest(); + ~DescribeDBInstancePerformanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setKey(const std::string& key); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string key_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceResult.h index cccbb70ff..4d56333e1 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancePerformanceResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCEPERFORMANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancePerformanceResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEPERFORMANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancePerformanceResult : public ServiceResult + { + public: struct PerformanceKey { struct PerformanceValue @@ -44,28 +44,28 @@ namespace AlibabaCloud std::string unit; std::string key; }; - - - DescribeDBInstancePerformanceResult(); - explicit DescribeDBInstancePerformanceResult(const std::string &payload); - ~DescribeDBInstancePerformanceResult(); + + + DescribeDBInstancePerformanceResult(); + explicit DescribeDBInstancePerformanceResult(const std::string &payload); + ~DescribeDBInstancePerformanceResult(); std::vector getPerformanceKeys()const; std::string getEndTime()const; std::string getDBInstanceId()const; std::string getStartTime()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector performanceKeys_; std::string endTime_; std::string dBInstanceId_; std::string startTime_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPERFORMANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationRequest.h index 7010d2381..54707d3b3 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceProxyConfigurationRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceProxyConfigurationRequest(); - ~DescribeDBInstanceProxyConfigurationRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceProxyConfigurationRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceProxyConfigurationRequest(); + ~DescribeDBInstanceProxyConfigurationRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationResult.h index 53c1c20c8..df31bfe70 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceProxyConfigurationResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceProxyConfigurationResult : public ServiceResult - { - public: - - - DescribeDBInstanceProxyConfigurationResult(); - explicit DescribeDBInstanceProxyConfigurationResult(const std::string &payload); - ~DescribeDBInstanceProxyConfigurationResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCEPROXYCONFIGURATIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceProxyConfigurationResult : public ServiceResult + { + public: + + + DescribeDBInstanceProxyConfigurationResult(); + explicit DescribeDBInstanceProxyConfigurationResult(const std::string &payload); + ~DescribeDBInstanceProxyConfigurationResult(); std::string getPersistentConnectionsConfiguration()const; std::string getAttacksProtectionConfiguration()const; std::string getTransparentSwitchConfiguration()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string persistentConnectionsConfiguration_; std::string attacksProtectionConfiguration_; std::string transparentSwitchConfiguration_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCEPROXYCONFIGURATIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLRequest.h index fafb8c0a4..6d3a5b625 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceSSLRequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceSSLRequest(); - ~DescribeDBInstanceSSLRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESSLREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceSSLRequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceSSLRequest(); + ~DescribeDBInstanceSSLRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLResult.h index 89c90b6cf..09794038f 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceSSLResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceSSLResult : public ServiceResult - { - public: - - - DescribeDBInstanceSSLResult(); - explicit DescribeDBInstanceSSLResult(const std::string &payload); - ~DescribeDBInstanceSSLResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESSLRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceSSLResult : public ServiceResult + { + public: + + + DescribeDBInstanceSSLResult(); + explicit DescribeDBInstanceSSLResult(const std::string &payload); + ~DescribeDBInstanceSSLResult(); std::string getSSLExpireTime()const; std::string getRequireUpdateReason()const; std::string getConnectionString()const; std::string getRequireUpdate()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string sSLExpireTime_; std::string requireUpdateReason_; std::string connectionString_; std::string requireUpdate_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESSLRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDERequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDERequest.h index 627c1d373..5219b77c3 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDERequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDERequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceTDERequest : public RpcServiceRequest - { - - public: - DescribeDBInstanceTDERequest(); - ~DescribeDBInstanceTDERequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCETDEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceTDERequest : public RpcServiceRequest + { + + public: + DescribeDBInstanceTDERequest(); + ~DescribeDBInstanceTDERequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDEResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDEResult.h index 99281af08..0b2128cfc 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDEResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstanceTDEResult.h @@ -1,58 +1,58 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceTDEResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCETDERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstanceTDEResult : public ServiceResult + { + public: struct Database { std::string tDEStatus; std::string dBName; }; - - - DescribeDBInstanceTDEResult(); - explicit DescribeDBInstanceTDEResult(const std::string &payload); - ~DescribeDBInstanceTDEResult(); + + + DescribeDBInstanceTDEResult(); + explicit DescribeDBInstanceTDEResult(const std::string &payload); + ~DescribeDBInstanceTDEResult(); std::string getTDEStatus()const; std::vector getDatabases()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string tDEStatus_; std::vector databases_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCETDERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvRequest.h index a21ddbd1a..8396d0fbb 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesAsCsvRequest : public RpcServiceRequest - { - - public: - DescribeDBInstancesAsCsvRequest(); - ~DescribeDBInstancesAsCsvRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESASCSVREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesAsCsvRequest : public RpcServiceRequest + { + + public: + DescribeDBInstancesAsCsvRequest(); + ~DescribeDBInstancesAsCsvRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string regionId_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvResult.h index 0f8243a0c..141318367 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesAsCsvResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCESASCSVRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesAsCsvResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESASCSVRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesAsCsvResult : public ServiceResult + { + public: struct DBInstanceAttribute { long dBInstanceMemory; @@ -76,20 +76,20 @@ namespace AlibabaCloud std::string expireTime; int dBMaxQuantity; }; - - - DescribeDBInstancesAsCsvResult(); - explicit DescribeDBInstancesAsCsvResult(const std::string &payload); - ~DescribeDBInstancesAsCsvResult(); + + + DescribeDBInstancesAsCsvResult(); + explicit DescribeDBInstancesAsCsvResult(const std::string &payload); + ~DescribeDBInstancesAsCsvResult(); std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESASCSVRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeRequest.h index b4fa62602..f3b87c631 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByExpireTimeRequest : public RpcServiceRequest - { - - public: - DescribeDBInstancesByExpireTimeRequest(); - ~DescribeDBInstancesByExpireTimeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESBYEXPIRETIMEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByExpireTimeRequest : public RpcServiceRequest + { + + public: + DescribeDBInstancesByExpireTimeRequest(); + ~DescribeDBInstancesByExpireTimeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setExpirePeriod(int expirePeriod); std::string getProxyId()const; void setProxyId(const std::string& proxyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud int pageSize_; int expirePeriod_; std::string proxyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeResult.h index 813584ed4..62c321d7d 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByExpireTimeResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCESBYEXPIRETIMERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByExpireTimeResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESBYEXPIRETIMERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByExpireTimeResult : public ServiceResult + { + public: struct DBInstanceExpireTime { std::string dBInstanceStatus; @@ -40,26 +40,26 @@ namespace AlibabaCloud std::string expireTime; std::string dBInstanceDescription; }; - - - DescribeDBInstancesByExpireTimeResult(); - explicit DescribeDBInstancesByExpireTimeResult(const std::string &payload); - ~DescribeDBInstancesByExpireTimeResult(); + + + DescribeDBInstancesByExpireTimeResult(); + explicit DescribeDBInstancesByExpireTimeResult(const std::string &payload); + ~DescribeDBInstancesByExpireTimeResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYEXPIRETIMERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceRequest.h index b4489a91a..ef45847e7 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceRequest.h @@ -1,114 +1,117 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByPerformanceRequest : public RpcServiceRequest - { - - public: - DescribeDBInstancesByPerformanceRequest(); - ~DescribeDBInstancesByPerformanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESBYPERFORMANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByPerformanceRequest : public RpcServiceRequest + { + + public: + DescribeDBInstancesByPerformanceRequest(); + ~DescribeDBInstancesByPerformanceRequest(); + std::string getTag4value()const; void setTag4value(const std::string& tag4value); long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getTag2key()const; void setTag2key(const std::string& tag2key); - std::string getTag5key()const; - void setTag5key(const std::string& tag5key); - std::string getResourceOwnerAccount()const; - void setResourceOwnerAccount(const std::string& resourceOwnerAccount); std::string getClientToken()const; void setClientToken(const std::string& clientToken); - std::string getOwnerAccount()const; - void setOwnerAccount(const std::string& ownerAccount); std::string getTag3key()const; void setTag3key(const std::string& tag3key); - long getOwnerId()const; - void setOwnerId(long ownerId); - std::string getTag5value()const; - void setTag5value(const std::string& tag5value); int getPageNumber()const; void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - std::string getTags()const; - void setTags(const std::string& tags); - std::string getTag1key()const; - void setTag1key(const std::string& tag1key); std::string getTag1value()const; void setTag1value(const std::string& tag1value); std::string getSortKey()const; void setSortKey(const std::string& sortKey); - std::string getSortMethod()const; - void setSortMethod(const std::string& sortMethod); - std::string getTag2value()const; - void setTag2value(const std::string& tag2value); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); int getPageSize()const; void setPageSize(int pageSize); - std::string getTag4key()const; - void setTag4key(const std::string& tag4key); std::string getDBInstanceId()const; void setDBInstanceId(const std::string& dBInstanceId); std::string getTag3value()const; void setTag3value(const std::string& tag3value); std::string getProxyId()const; void setProxyId(const std::string& proxyId); - - private: + std::string getTag5key()const; + void setTag5key(const std::string& tag5key); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTag5value()const; + void setTag5value(const std::string& tag5value); + std::string getTags()const; + void setTags(const std::string& tags); + std::string getTag1key()const; + void setTag1key(const std::string& tag1key); + std::string getSortMethod()const; + void setSortMethod(const std::string& sortMethod); + std::string getTag2value()const; + void setTag2value(const std::string& tag2value); + std::string getTag4key()const; + void setTag4key(const std::string& tag4key); + + private: std::string tag4value_; long resourceOwnerId_; std::string tag2key_; - std::string tag5key_; - std::string resourceOwnerAccount_; std::string clientToken_; - std::string ownerAccount_; std::string tag3key_; - long ownerId_; - std::string tag5value_; int pageNumber_; std::string accessKeyId_; - std::string tags_; - std::string tag1key_; std::string tag1value_; std::string sortKey_; - std::string sortMethod_; - std::string tag2value_; + std::string regionId_; int pageSize_; - std::string tag4key_; std::string dBInstanceId_; std::string tag3value_; std::string proxyId_; - - }; - } - } -} + std::string tag5key_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + long ownerId_; + std::string tag5value_; + std::string tags_; + std::string tag1key_; + std::string sortMethod_; + std::string tag2value_; + std::string tag4key_; + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceResult.h index ceb5e8181..1058bec63 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesByPerformanceResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCESBYPERFORMANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByPerformanceResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESBYPERFORMANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesByPerformanceResult : public ServiceResult + { + public: struct DBInstancePerformance { std::string iOPSUsage; @@ -41,26 +41,26 @@ namespace AlibabaCloud std::string sessionUsage; std::string dBInstanceDescription; }; - - - DescribeDBInstancesByPerformanceResult(); - explicit DescribeDBInstancesByPerformanceResult(const std::string &payload); - ~DescribeDBInstancesByPerformanceResult(); + + + DescribeDBInstancesByPerformanceResult(); + explicit DescribeDBInstancesByPerformanceResult(const std::string &payload); + ~DescribeDBInstancesByPerformanceResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESBYPERFORMANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesRequest.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesRequest.h index 70f793790..c49a1f9bd 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesRequest : public RpcServiceRequest - { - - public: - DescribeDBInstancesRequest(); - ~DescribeDBInstancesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesRequest : public RpcServiceRequest + { + + public: + DescribeDBInstancesRequest(); + ~DescribeDBInstancesRequest(); + std::string getConnectionMode()const; void setConnectionMode(const std::string& connectionMode); std::string getTag4value()const; @@ -107,8 +107,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getInstanceNetworkType()const; void setInstanceNetworkType(const std::string& instanceNetworkType); - - private: + + private: std::string connectionMode_; std::string tag4value_; long resourceOwnerId_; @@ -145,9 +145,9 @@ namespace AlibabaCloud std::string tag4key_; std::string payType_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDBInstancesResult.h b/rds/include/alibabacloud/rds/model/DescribeDBInstancesResult.h index 792f44e0b..802ffedfb 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDBInstancesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDBInstancesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDBINSTANCESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDBINSTANCESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDBInstancesResult : public ServiceResult + { + public: struct DBInstance { struct ReadOnlyDBInstanceId @@ -70,26 +70,26 @@ namespace AlibabaCloud std::string regionId; std::string expireTime; }; - - - DescribeDBInstancesResult(); - explicit DescribeDBInstancesResult(const std::string &payload); - ~DescribeDBInstancesResult(); + + + DescribeDBInstancesResult(); + explicit DescribeDBInstancesResult(const std::string &payload); + ~DescribeDBInstancesResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBINSTANCESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDatabasesRequest.h b/rds/include/alibabacloud/rds/model/DescribeDatabasesRequest.h index 481dc7530..312bcf5dd 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDatabasesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDatabasesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDatabasesRequest : public RpcServiceRequest - { - - public: - DescribeDatabasesRequest(); - ~DescribeDatabasesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDATABASESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDatabasesRequest : public RpcServiceRequest + { + + public: + DescribeDatabasesRequest(); + ~DescribeDatabasesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getDBName()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string dBName_; std::string resourceOwnerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDatabasesResult.h b/rds/include/alibabacloud/rds/model/DescribeDatabasesResult.h index d2fc4b45c..1b2781c1e 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDatabasesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDatabasesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDATABASESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDatabasesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDATABASESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDatabasesResult : public ServiceResult + { + public: struct Database { struct AccountPrivilegeInfo @@ -48,20 +48,20 @@ namespace AlibabaCloud std::vector accounts; std::string engine; }; - - - DescribeDatabasesResult(); - explicit DescribeDatabasesResult(const std::string &payload); - ~DescribeDatabasesResult(); + + + DescribeDatabasesResult(); + explicit DescribeDatabasesResult(const std::string &payload); + ~DescribeDatabasesResult(); std::vector getDatabases()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector databases_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDATABASESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListRequest.h b/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListRequest.h index 616792e03..4f9a56bb5 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListRequest.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDiagnosticReportListRequest : public RpcServiceRequest - { - - public: - DescribeDiagnosticReportListRequest(); - ~DescribeDiagnosticReportListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDIAGNOSTICREPORTLISTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDiagnosticReportListRequest : public RpcServiceRequest + { + + public: + DescribeDiagnosticReportListRequest(); + ~DescribeDiagnosticReportListRequest(); + std::string getDBInstanceId()const; void setDBInstanceId(const std::string& dBInstanceId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string dBInstanceId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListResult.h b/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListResult.h index 8c417c4a5..a1fa4b5d5 100644 --- a/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeDiagnosticReportListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEDIAGNOSTICREPORTLISTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeDiagnosticReportListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEDIAGNOSTICREPORTLISTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeDiagnosticReportListResult : public ServiceResult + { + public: struct Report { int score; @@ -40,20 +40,20 @@ namespace AlibabaCloud std::string startTime; std::string downloadURL; }; - - - DescribeDiagnosticReportListResult(); - explicit DescribeDiagnosticReportListResult(const std::string &payload); - ~DescribeDiagnosticReportListResult(); + + + DescribeDiagnosticReportListResult(); + explicit DescribeDiagnosticReportListResult(const std::string &payload); + ~DescribeDiagnosticReportListResult(); std::vector getReportList()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector reportList_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDIAGNOSTICREPORTLISTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeErrorLogsRequest.h b/rds/include/alibabacloud/rds/model/DescribeErrorLogsRequest.h index 222a02dfd..d446fbf8b 100644 --- a/rds/include/alibabacloud/rds/model/DescribeErrorLogsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeErrorLogsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeErrorLogsRequest : public RpcServiceRequest - { - - public: - DescribeErrorLogsRequest(); - ~DescribeErrorLogsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEERRORLOGSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeErrorLogsRequest : public RpcServiceRequest + { + + public: + DescribeErrorLogsRequest(); + ~DescribeErrorLogsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeErrorLogsResult.h b/rds/include/alibabacloud/rds/model/DescribeErrorLogsResult.h index 01c2ac03d..3cf3d4071 100644 --- a/rds/include/alibabacloud/rds/model/DescribeErrorLogsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeErrorLogsResult.h @@ -1,62 +1,62 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeErrorLogsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEERRORLOGSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeErrorLogsResult : public ServiceResult + { + public: struct ErrorLog { std::string errorInfo; std::string createTime; }; - - - DescribeErrorLogsResult(); - explicit DescribeErrorLogsResult(const std::string &payload); - ~DescribeErrorLogsResult(); + + + DescribeErrorLogsResult(); + explicit DescribeErrorLogsResult(const std::string &payload); + ~DescribeErrorLogsResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEERRORLOGSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeRequest.h b/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeRequest.h index bf752c266..17c0cce49 100644 --- a/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeInstanceAutoRenewalAttributeRequest : public RpcServiceRequest - { - - public: - DescribeInstanceAutoRenewalAttributeRequest(); - ~DescribeInstanceAutoRenewalAttributeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeInstanceAutoRenewalAttributeRequest : public RpcServiceRequest + { + + public: + DescribeInstanceAutoRenewalAttributeRequest(); + ~DescribeInstanceAutoRenewalAttributeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -57,8 +57,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getProxyId()const; void setProxyId(const std::string& proxyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -70,9 +70,9 @@ namespace AlibabaCloud int pageNumber_; std::string accessKeyId_; std::string proxyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeResult.h b/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeResult.h index 1521825d4..57fc88c1c 100644 --- a/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeInstanceAutoRenewalAttributeResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEINSTANCEAUTORENEWALATTRIBUTERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeInstanceAutoRenewalAttributeResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEINSTANCEAUTORENEWALATTRIBUTERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeInstanceAutoRenewalAttributeResult : public ServiceResult + { + public: struct Item { std::string status; @@ -40,26 +40,26 @@ namespace AlibabaCloud int duration; std::string regionId; }; - - - DescribeInstanceAutoRenewalAttributeResult(); - explicit DescribeInstanceAutoRenewalAttributeResult(const std::string &payload); - ~DescribeInstanceAutoRenewalAttributeResult(); + + + DescribeInstanceAutoRenewalAttributeResult(); + explicit DescribeInstanceAutoRenewalAttributeResult(const std::string &payload); + ~DescribeInstanceAutoRenewalAttributeResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEAUTORENEWALATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoRequest.h b/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoRequest.h index 436967f79..ebe1834f4 100644 --- a/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFOREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeInstanceVpcMigrateInfoRequest : public RpcServiceRequest - { - - public: - DescribeInstanceVpcMigrateInfoRequest(); - ~DescribeInstanceVpcMigrateInfoRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEINSTANCEVPCMIGRATEINFOREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeInstanceVpcMigrateInfoRequest : public RpcServiceRequest + { + + public: + DescribeInstanceVpcMigrateInfoRequest(); + ~DescribeInstanceVpcMigrateInfoRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFOREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoResult.h b/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoResult.h index a67ea821f..e1e9bc8bd 100644 --- a/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeInstanceVpcMigrateInfoResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEINSTANCEVPCMIGRATEINFORESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeInstanceVpcMigrateInfoResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEINSTANCEVPCMIGRATEINFORESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeInstanceVpcMigrateInfoResult : public ServiceResult + { + public: struct DBInstanceMigrateInfo { std::string targetIPAddress; @@ -42,20 +42,20 @@ namespace AlibabaCloud std::string targetRegionId; std::string targetVpcInstanceId; }; - - - DescribeInstanceVpcMigrateInfoResult(); - explicit DescribeInstanceVpcMigrateInfoResult(const std::string &payload); - ~DescribeInstanceVpcMigrateInfoResult(); + + + DescribeInstanceVpcMigrateInfoResult(); + explicit DescribeInstanceVpcMigrateInfoResult(const std::string &payload); + ~DescribeInstanceVpcMigrateInfoResult(); std::vector getDBInstanceMigrateInfos()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector dBInstanceMigrateInfos_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEINSTANCEVPCMIGRATEINFORESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesRequest.h b/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesRequest.h index 6760116ca..38ecfa9a4 100644 --- a/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeLogBackupFilesRequest : public RpcServiceRequest - { - - public: - DescribeLogBackupFilesRequest(); - ~DescribeLogBackupFilesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBELOGBACKUPFILESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeLogBackupFilesRequest : public RpcServiceRequest + { + + public: + DescribeLogBackupFilesRequest(); + ~DescribeLogBackupFilesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesResult.h b/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesResult.h index 077378d3a..3d8aa74fa 100644 --- a/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeLogBackupFilesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBELOGBACKUPFILESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeLogBackupFilesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBELOGBACKUPFILESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeLogBackupFilesResult : public ServiceResult + { + public: struct BinLogFile { std::string downloadLink; @@ -41,28 +41,28 @@ namespace AlibabaCloud std::string intranetDownloadLink; long fileSize; }; - - - DescribeLogBackupFilesResult(); - explicit DescribeLogBackupFilesResult(const std::string &payload); - ~DescribeLogBackupFilesResult(); + + + DescribeLogBackupFilesResult(); + explicit DescribeLogBackupFilesResult(const std::string &payload); + ~DescribeLogBackupFilesResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; long getTotalFileSize()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; long totalFileSize_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBELOGBACKUPFILESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeMetaListRequest.h b/rds/include/alibabacloud/rds/model/DescribeMetaListRequest.h index cf54acc65..73ae20f38 100644 --- a/rds/include/alibabacloud/rds/model/DescribeMetaListRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeMetaListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeMetaListRequest : public RpcServiceRequest - { - - public: - DescribeMetaListRequest(); - ~DescribeMetaListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMETALISTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeMetaListRequest : public RpcServiceRequest + { + + public: + DescribeMetaListRequest(); + ~DescribeMetaListRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getPageIndex()const; void setPageIndex(const std::string& pageIndex); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string resourceOwnerAccount_; @@ -76,9 +76,9 @@ namespace AlibabaCloud std::string pageSize_; std::string dBInstanceId_; std::string pageIndex_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeMetaListResult.h b/rds/include/alibabacloud/rds/model/DescribeMetaListResult.h index e0b221b0e..eaada68f0 100644 --- a/rds/include/alibabacloud/rds/model/DescribeMetaListResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeMetaListResult.h @@ -1,67 +1,67 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeMetaListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMETALISTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeMetaListResult : public ServiceResult + { + public: struct Meta { std::string size; std::string database; std::string tables; }; - - - DescribeMetaListResult(); - explicit DescribeMetaListResult(const std::string &payload); - ~DescribeMetaListResult(); + + + DescribeMetaListResult(); + explicit DescribeMetaListResult(const std::string &payload); + ~DescribeMetaListResult(); int getTotalRecordCount()const; int getTotalPageCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int totalPageCount_; int pageRecordCount_; int pageNumber_; std::vector items_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMETALISTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerRequest.h b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerRequest.h index f6a234c8a..be1ac0c77 100644 --- a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksForSQLServerRequest : public RpcServiceRequest - { - - public: - DescribeMigrateTasksForSQLServerRequest(); - ~DescribeMigrateTasksForSQLServerRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMIGRATETASKSFORSQLSERVERREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksForSQLServerRequest : public RpcServiceRequest + { + + public: + DescribeMigrateTasksForSQLServerRequest(); + ~DescribeMigrateTasksForSQLServerRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; int pageSize_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerResult.h b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerResult.h index 5744eff82..0ec6b4940 100644 --- a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksForSQLServerResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEMIGRATETASKSFORSQLSERVERRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksForSQLServerResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMIGRATETASKSFORSQLSERVERRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksForSQLServerResult : public ServiceResult + { + public: struct MigrateTask { std::string status; @@ -43,11 +43,11 @@ namespace AlibabaCloud std::string dBName; std::string migrateIaskId; }; - - - DescribeMigrateTasksForSQLServerResult(); - explicit DescribeMigrateTasksForSQLServerResult(const std::string &payload); - ~DescribeMigrateTasksForSQLServerResult(); + + + DescribeMigrateTasksForSQLServerResult(); + explicit DescribeMigrateTasksForSQLServerResult(const std::string &payload); + ~DescribeMigrateTasksForSQLServerResult(); int getTotalRecordCount()const; int getPageRecordCount()const; std::string getEndTime()const; @@ -56,10 +56,10 @@ namespace AlibabaCloud std::string getStartTime()const; std::vector getItems()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; std::string endTime_; @@ -68,9 +68,9 @@ namespace AlibabaCloud std::string startTime_; std::vector items_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSFORSQLSERVERRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksRequest.h b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksRequest.h index 3e3cc1f2c..f43fdb672 100644 --- a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksRequest : public RpcServiceRequest - { - - public: - DescribeMigrateTasksRequest(); - ~DescribeMigrateTasksRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMIGRATETASKSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksRequest : public RpcServiceRequest + { + + public: + DescribeMigrateTasksRequest(); + ~DescribeMigrateTasksRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; int pageSize_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksResult.h b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksResult.h index 47a26ea87..df1e775ce 100644 --- a/rds/include/alibabacloud/rds/model/DescribeMigrateTasksResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeMigrateTasksResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEMIGRATETASKSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMIGRATETASKSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTasksResult : public ServiceResult + { + public: struct MigrateTask { std::string status; @@ -43,28 +43,28 @@ namespace AlibabaCloud std::string isDBReplaced; std::string dBName; }; - - - DescribeMigrateTasksResult(); - explicit DescribeMigrateTasksResult(const std::string &payload); - ~DescribeMigrateTasksResult(); + + + DescribeMigrateTasksResult(); + explicit DescribeMigrateTasksResult(const std::string &payload); + ~DescribeMigrateTasksResult(); int getTotalRecordCount()const; int getPageRecordCount()const; std::string getDBInstanceId()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; std::string dBInstanceId_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogRequest.h b/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogRequest.h index eae6a6cee..e77b3704f 100644 --- a/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeModifyParameterLogRequest : public RpcServiceRequest - { - - public: - DescribeModifyParameterLogRequest(); - ~DescribeModifyParameterLogRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeModifyParameterLogRequest : public RpcServiceRequest + { + + public: + DescribeModifyParameterLogRequest(); + ~DescribeModifyParameterLogRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogResult.h b/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogResult.h index 2402048c3..de36ebaa4 100644 --- a/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeModifyParameterLogResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEMODIFYPARAMETERLOGRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeModifyParameterLogResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEMODIFYPARAMETERLOGRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeModifyParameterLogResult : public ServiceResult + { + public: struct ParameterChangeLog { std::string status; @@ -40,11 +40,11 @@ namespace AlibabaCloud std::string oldParameterValue; std::string parameterName; }; - - - DescribeModifyParameterLogResult(); - explicit DescribeModifyParameterLogResult(const std::string &payload); - ~DescribeModifyParameterLogResult(); + + + DescribeModifyParameterLogResult(); + explicit DescribeModifyParameterLogResult(const std::string &payload); + ~DescribeModifyParameterLogResult(); int getTotalRecordCount()const; std::string getEngineVersion()const; int getPageRecordCount()const; @@ -52,10 +52,10 @@ namespace AlibabaCloud int getPageNumber()const; std::vector getItems()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; std::string engineVersion_; int pageRecordCount_; @@ -63,9 +63,9 @@ namespace AlibabaCloud int pageNumber_; std::vector items_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerRequest.h b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerRequest.h index 0466c0743..fa95786b5 100644 --- a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsForSQLServerRequest : public RpcServiceRequest - { - - public: - DescribeOssDownloadsForSQLServerRequest(); - ~DescribeOssDownloadsForSQLServerRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEOSSDOWNLOADSFORSQLSERVERREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsForSQLServerRequest : public RpcServiceRequest + { + + public: + DescribeOssDownloadsForSQLServerRequest(); + ~DescribeOssDownloadsForSQLServerRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getMigrateTaskId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string migrateTaskId_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerResult.h b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerResult.h index b44635b6f..cc982658a 100644 --- a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsForSQLServerResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEOSSDOWNLOADSFORSQLSERVERRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsForSQLServerResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEOSSDOWNLOADSFORSQLSERVERRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsForSQLServerResult : public ServiceResult + { + public: struct OssDownload { std::string status; @@ -43,24 +43,24 @@ namespace AlibabaCloud std::string bakType; std::string fileSize; }; - - - DescribeOssDownloadsForSQLServerResult(); - explicit DescribeOssDownloadsForSQLServerResult(const std::string &payload); - ~DescribeOssDownloadsForSQLServerResult(); + + + DescribeOssDownloadsForSQLServerResult(); + explicit DescribeOssDownloadsForSQLServerResult(const std::string &payload); + ~DescribeOssDownloadsForSQLServerResult(); std::vector getItems()const; std::string getMigrateIaskId()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; std::string migrateIaskId_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSFORSQLSERVERRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsRequest.h b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsRequest.h index 4a3280c31..0dc6ccbb8 100644 --- a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsRequest : public RpcServiceRequest - { - - public: - DescribeOssDownloadsRequest(); - ~DescribeOssDownloadsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEOSSDOWNLOADSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsRequest : public RpcServiceRequest + { + + public: + DescribeOssDownloadsRequest(); + ~DescribeOssDownloadsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getMigrateTaskId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string migrateTaskId_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsResult.h b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsResult.h index d3399660f..d9def49a8 100644 --- a/rds/include/alibabacloud/rds/model/DescribeOssDownloadsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeOssDownloadsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEOSSDOWNLOADSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEOSSDOWNLOADSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeOssDownloadsResult : public ServiceResult + { + public: struct OssDownload { std::string status; @@ -43,24 +43,24 @@ namespace AlibabaCloud std::string isAvailable; std::string fileSize; }; - - - DescribeOssDownloadsResult(); - explicit DescribeOssDownloadsResult(const std::string &payload); - ~DescribeOssDownloadsResult(); + + + DescribeOssDownloadsResult(); + explicit DescribeOssDownloadsResult(const std::string &payload); + ~DescribeOssDownloadsResult(); std::string getDBInstanceId()const; std::string getMigrateTaskId()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string migrateTaskId_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEOSSDOWNLOADSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesRequest.h b/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesRequest.h index 7578a7540..f8b36f109 100644 --- a/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeParameterTemplatesRequest : public RpcServiceRequest - { - - public: - DescribeParameterTemplatesRequest(); - ~DescribeParameterTemplatesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPARAMETERTEMPLATESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeParameterTemplatesRequest : public RpcServiceRequest + { + + public: + DescribeParameterTemplatesRequest(); + ~DescribeParameterTemplatesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setCategory(const std::string& category); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string category_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesResult.h b/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesResult.h index d0932ef3c..026198365 100644 --- a/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeParameterTemplatesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEPARAMETERTEMPLATESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeParameterTemplatesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPARAMETERTEMPLATESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeParameterTemplatesResult : public ServiceResult + { + public: struct TemplateRecord { std::string forceModify; @@ -41,26 +41,26 @@ namespace AlibabaCloud std::string parameterName; std::string parameterDescription; }; - - - DescribeParameterTemplatesResult(); - explicit DescribeParameterTemplatesResult(const std::string &payload); - ~DescribeParameterTemplatesResult(); + + + DescribeParameterTemplatesResult(); + explicit DescribeParameterTemplatesResult(const std::string &payload); + ~DescribeParameterTemplatesResult(); std::string getParameterCount()const; std::vector getParameters()const; std::string getEngineVersion()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string parameterCount_; std::vector parameters_; std::string engineVersion_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeParametersRequest.h b/rds/include/alibabacloud/rds/model/DescribeParametersRequest.h index 5c5a5e670..19da92ef1 100644 --- a/rds/include/alibabacloud/rds/model/DescribeParametersRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeParametersRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeParametersRequest : public RpcServiceRequest - { - - public: - DescribeParametersRequest(); - ~DescribeParametersRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPARAMETERSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeParametersRequest : public RpcServiceRequest + { + + public: + DescribeParametersRequest(); + ~DescribeParametersRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeParametersResult.h b/rds/include/alibabacloud/rds/model/DescribeParametersResult.h index e7529845e..80604df9e 100644 --- a/rds/include/alibabacloud/rds/model/DescribeParametersResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeParametersResult.h @@ -1,63 +1,63 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeParametersResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPARAMETERSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeParametersResult : public ServiceResult + { + public: struct DBInstanceParameter { std::string parameterValue; std::string parameterName; std::string parameterDescription; }; - - - DescribeParametersResult(); - explicit DescribeParametersResult(const std::string &payload); - ~DescribeParametersResult(); + + + DescribeParametersResult(); + explicit DescribeParametersResult(const std::string &payload); + ~DescribeParametersResult(); std::vector getRunningParameters()const; std::string getEngineVersion()const; std::vector getConfigParameters()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector runningParameters_; std::string engineVersion_; std::vector configParameters_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPARAMETERSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribePriceRequest.h b/rds/include/alibabacloud/rds/model/DescribePriceRequest.h index ac6520684..a4ae1bccd 100644 --- a/rds/include/alibabacloud/rds/model/DescribePriceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribePriceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribePriceRequest : public RpcServiceRequest - { - - public: - DescribePriceRequest(); - ~DescribePriceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPRICEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribePriceRequest : public RpcServiceRequest + { + + public: + DescribePriceRequest(); + ~DescribePriceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); int getDBInstanceStorage()const; @@ -73,8 +73,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getOrderType()const; void setOrderType(const std::string& orderType); - - private: + + private: long resourceOwnerId_; int dBInstanceStorage_; int quantity_; @@ -94,9 +94,9 @@ namespace AlibabaCloud std::string timeType_; std::string payType_; std::string orderType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribePriceResult.h b/rds/include/alibabacloud/rds/model/DescribePriceResult.h index 355f093ba..32da2218b 100644 --- a/rds/include/alibabacloud/rds/model/DescribePriceResult.h +++ b/rds/include/alibabacloud/rds/model/DescribePriceResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEPRICERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribePriceResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPRICERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribePriceResult : public ServiceResult + { + public: struct PriceInfo { struct ActivityInfo @@ -61,22 +61,22 @@ namespace AlibabaCloud long ruleId; std::string name; }; - - - DescribePriceResult(); - explicit DescribePriceResult(const std::string &payload); - ~DescribePriceResult(); + + + DescribePriceResult(); + explicit DescribePriceResult(const std::string &payload); + ~DescribePriceResult(); std::vector getRules()const; PriceInfo getPriceInfo()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector rules_; PriceInfo priceInfo_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPRICERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportRequest.h b/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportRequest.h index 299c53a6f..90eff60e1 100644 --- a/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeProxyFunctionSupportRequest : public RpcServiceRequest - { - - public: - DescribeProxyFunctionSupportRequest(); - ~DescribeProxyFunctionSupportRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPROXYFUNCTIONSUPPORTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeProxyFunctionSupportRequest : public RpcServiceRequest + { + + public: + DescribeProxyFunctionSupportRequest(); + ~DescribeProxyFunctionSupportRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getSecurityToken()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string securityToken_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportResult.h b/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportResult.h index 16d537d59..628871ded 100644 --- a/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeProxyFunctionSupportResult.h @@ -1,42 +1,42 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEPROXYFUNCTIONSUPPORTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeProxyFunctionSupportResult : public ServiceResult - { - public: - - - DescribeProxyFunctionSupportResult(); - explicit DescribeProxyFunctionSupportResult(const std::string &payload); - ~DescribeProxyFunctionSupportResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEPROXYFUNCTIONSUPPORTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeProxyFunctionSupportResult : public ServiceResult + { + public: + + + DescribeProxyFunctionSupportResult(); + explicit DescribeProxyFunctionSupportResult(const std::string &payload); + ~DescribeProxyFunctionSupportResult(); bool getIsRwsplitSupportReplicationLag()const; bool getIsAntiBruteFroceEnable()const; bool getIsRwsplitSupportWeight()const; @@ -44,10 +44,10 @@ namespace AlibabaCloud bool getIsProxySwitchEnable()const; bool getIsRwsplitEnable()const; bool getIsShortConnectionOptimizeEnable()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: bool isRwsplitSupportReplicationLag_; bool isAntiBruteFroceEnable_; bool isRwsplitSupportWeight_; @@ -55,9 +55,9 @@ namespace AlibabaCloud bool isProxySwitchEnable_; bool isRwsplitEnable_; bool isShortConnectionOptimizeEnable_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEPROXYFUNCTIONSUPPORTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayRequest.h b/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayRequest.h index 4fcfbd545..d0dea773a 100644 --- a/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeReadDBInstanceDelayRequest : public RpcServiceRequest - { - - public: - DescribeReadDBInstanceDelayRequest(); - ~DescribeReadDBInstanceDelayRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEREADDBINSTANCEDELAYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeReadDBInstanceDelayRequest : public RpcServiceRequest + { + + public: + DescribeReadDBInstanceDelayRequest(); + ~DescribeReadDBInstanceDelayRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getSecurityToken()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string securityToken_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayResult.h b/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayResult.h index d853bd765..25459a108 100644 --- a/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeReadDBInstanceDelayResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBEREADDBINSTANCEDELAYRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeReadDBInstanceDelayResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEREADDBINSTANCEDELAYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeReadDBInstanceDelayResult : public ServiceResult + { + public: struct ItemsItem { struct ReadonlyInstanceDelayItem @@ -50,26 +50,26 @@ namespace AlibabaCloud std::string dBInstanceId; std::vector readonlyInstanceDelay; }; - - - DescribeReadDBInstanceDelayResult(); - explicit DescribeReadDBInstanceDelayResult(const std::string &payload); - ~DescribeReadDBInstanceDelayResult(); + + + DescribeReadDBInstanceDelayResult(); + explicit DescribeReadDBInstanceDelayResult(const std::string &payload); + ~DescribeReadDBInstanceDelayResult(); std::string getDBInstanceId()const; std::string getReadDBInstanceId()const; std::vector getItems()const; int getDelayTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string readDBInstanceId_; std::vector items_; int delayTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEREADDBINSTANCEDELAYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeRegionsRequest.h b/rds/include/alibabacloud/rds/model/DescribeRegionsRequest.h index 06f847637..728b33a2b 100644 --- a/rds/include/alibabacloud/rds/model/DescribeRegionsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeRegionsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeRegionsRequest : public RpcServiceRequest - { - - public: - DescribeRegionsRequest(); - ~DescribeRegionsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEREGIONSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeRegionsRequest : public RpcServiceRequest + { + + public: + DescribeRegionsRequest(); + ~DescribeRegionsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; std::string ownerAccount_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeRegionsResult.h b/rds/include/alibabacloud/rds/model/DescribeRegionsResult.h index c8f985768..5e4dcd5a9 100644 --- a/rds/include/alibabacloud/rds/model/DescribeRegionsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeRegionsResult.h @@ -1,56 +1,56 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeRegionsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBEREGIONSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeRegionsResult : public ServiceResult + { + public: struct RDSRegion { std::string zoneId; std::string regionId; }; - - - DescribeRegionsResult(); - explicit DescribeRegionsResult(const std::string &payload); - ~DescribeRegionsResult(); + + + DescribeRegionsResult(); + explicit DescribeRegionsResult(const std::string &payload); + ~DescribeRegionsResult(); std::vector getRegions()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector regions_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEREGIONSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeRenewalPriceRequest.h b/rds/include/alibabacloud/rds/model/DescribeRenewalPriceRequest.h index 57908b8ea..e92fe0f13 100644 --- a/rds/include/alibabacloud/rds/model/DescribeRenewalPriceRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeRenewalPriceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeRenewalPriceRequest : public RpcServiceRequest - { - - public: - DescribeRenewalPriceRequest(); - ~DescribeRenewalPriceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBERENEWALPRICEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeRenewalPriceRequest : public RpcServiceRequest + { + + public: + DescribeRenewalPriceRequest(); + ~DescribeRenewalPriceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); int getQuantity()const; @@ -69,8 +69,8 @@ namespace AlibabaCloud void setBusinessInfo(const std::string& businessInfo); std::string getOrderType()const; void setOrderType(const std::string& orderType); - - private: + + private: long resourceOwnerId_; int quantity_; std::string resourceOwnerAccount_; @@ -88,9 +88,9 @@ namespace AlibabaCloud std::string payType_; std::string businessInfo_; std::string orderType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeRenewalPriceResult.h b/rds/include/alibabacloud/rds/model/DescribeRenewalPriceResult.h index 45f68a617..599379735 100644 --- a/rds/include/alibabacloud/rds/model/DescribeRenewalPriceResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeRenewalPriceResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBERENEWALPRICERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeRenewalPriceResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBERENEWALPRICERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeRenewalPriceResult : public ServiceResult + { + public: struct PriceInfo { struct ActivityInfo @@ -61,22 +61,22 @@ namespace AlibabaCloud long ruleId; std::string name; }; - - - DescribeRenewalPriceResult(); - explicit DescribeRenewalPriceResult(const std::string &payload); - ~DescribeRenewalPriceResult(); + + + DescribeRenewalPriceResult(); + explicit DescribeRenewalPriceResult(const std::string &payload); + ~DescribeRenewalPriceResult(); std::vector getRules()const; PriceInfo getPriceInfo()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector rules_; PriceInfo priceInfo_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBERENEWALPRICERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeResourceUsageRequest.h b/rds/include/alibabacloud/rds/model/DescribeResourceUsageRequest.h index bbf973684..42871791d 100644 --- a/rds/include/alibabacloud/rds/model/DescribeResourceUsageRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeResourceUsageRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeResourceUsageRequest : public RpcServiceRequest - { - - public: - DescribeResourceUsageRequest(); - ~DescribeResourceUsageRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBERESOURCEUSAGEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeResourceUsageRequest : public RpcServiceRequest + { + + public: + DescribeResourceUsageRequest(); + ~DescribeResourceUsageRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeResourceUsageResult.h b/rds/include/alibabacloud/rds/model/DescribeResourceUsageResult.h index 80612a3fa..964b8f5f8 100644 --- a/rds/include/alibabacloud/rds/model/DescribeResourceUsageResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeResourceUsageResult.h @@ -1,42 +1,42 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBERESOURCEUSAGERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeResourceUsageResult : public ServiceResult - { - public: - - - DescribeResourceUsageResult(); - explicit DescribeResourceUsageResult(const std::string &payload); - ~DescribeResourceUsageResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBERESOURCEUSAGERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeResourceUsageResult : public ServiceResult + { + public: + + + DescribeResourceUsageResult(); + explicit DescribeResourceUsageResult(const std::string &payload); + ~DescribeResourceUsageResult(); long getLogSize()const; long getBackupOssLogSize()const; std::string getDBInstanceId()const; @@ -47,10 +47,10 @@ namespace AlibabaCloud long getDiskUsed()const; std::string getEngine()const; long getColdBackupSize()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: long logSize_; long backupOssLogSize_; std::string dBInstanceId_; @@ -61,9 +61,9 @@ namespace AlibabaCloud long diskUsed_; std::string engine_; long coldBackupSize_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBERESOURCEUSAGERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesRequest.h index de0858d45..73926c321 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogFilesRequest : public RpcServiceRequest - { - - public: - DescribeSQLLogFilesRequest(); - ~DescribeSQLLogFilesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGFILESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogFilesRequest : public RpcServiceRequest + { + + public: + DescribeSQLLogFilesRequest(); + ~DescribeSQLLogFilesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getFileName()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string fileName_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesResult.h index c24fe1041..4e2badbf5 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogFilesResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESQLLOGFILESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogFilesResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGFILESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogFilesResult : public ServiceResult + { + public: struct LogFile { std::string logStatus; @@ -41,26 +41,26 @@ namespace AlibabaCloud std::string fileID; std::string logEndTime; }; - - - DescribeSQLLogFilesResult(); - explicit DescribeSQLLogFilesResult(const std::string &payload); - ~DescribeSQLLogFilesResult(); + + + DescribeSQLLogFilesResult(); + explicit DescribeSQLLogFilesResult(const std::string &payload); + ~DescribeSQLLogFilesResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGFILESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsRequest.h index 127bd18da..c6dad84e6 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogRecordsRequest : public RpcServiceRequest - { - - public: - DescribeSQLLogRecordsRequest(); - ~DescribeSQLLogRecordsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGRECORDSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogRecordsRequest : public RpcServiceRequest + { + + public: + DescribeSQLLogRecordsRequest(); + ~DescribeSQLLogRecordsRequest(); + long getSQLId()const; void setSQLId(long sQLId); long getResourceOwnerId()const; @@ -67,8 +67,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getUser()const; void setUser(const std::string& user); - - private: + + private: long sQLId_; long resourceOwnerId_; std::string resourceOwnerAccount_; @@ -85,9 +85,9 @@ namespace AlibabaCloud int pageSize_; std::string dBInstanceId_; std::string user_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsResult.h index 46c9bf299..0f941eea2 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogRecordsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESQLLOGRECORDSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogRecordsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGRECORDSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogRecordsResult : public ServiceResult + { + public: struct SQLRecord { std::string executeTime; @@ -43,26 +43,26 @@ namespace AlibabaCloud std::string accountName; std::string sQLText; }; - - - DescribeSQLLogRecordsResult(); - explicit DescribeSQLLogRecordsResult(const std::string &payload); - ~DescribeSQLLogRecordsResult(); + + + DescribeSQLLogRecordsResult(); + explicit DescribeSQLLogRecordsResult(const std::string &payload); + ~DescribeSQLLogRecordsResult(); long getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: long totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGRECORDSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListRequest.h index ba1e15e6f..43a3403ea 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportListRequest : public RpcServiceRequest - { - - public: - DescribeSQLLogReportListRequest(); - ~DescribeSQLLogReportListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGREPORTLISTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportListRequest : public RpcServiceRequest + { + + public: + DescribeSQLLogReportListRequest(); + ~DescribeSQLLogReportListRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListResult.h index e03444f92..c09b8f71c 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESQLLOGREPORTLISTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGREPORTLISTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportListResult : public ServiceResult + { + public: struct Item { struct LatencyTopNItem @@ -49,26 +49,26 @@ namespace AlibabaCloud std::string reportTime; std::vector latencyTopNItems; }; - - - DescribeSQLLogReportListResult(); - explicit DescribeSQLLogReportListResult(const std::string &payload); - ~DescribeSQLLogReportListResult(); + + + DescribeSQLLogReportListResult(); + explicit DescribeSQLLogReportListResult(const std::string &payload); + ~DescribeSQLLogReportListResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTLISTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsRequest.h index a9eee265d..50266711d 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportsRequest : public RpcServiceRequest - { - - public: - DescribeSQLLogReportsRequest(); - ~DescribeSQLLogReportsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGREPORTSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportsRequest : public RpcServiceRequest + { + + public: + DescribeSQLLogReportsRequest(); + ~DescribeSQLLogReportsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsResult.h index b609d6004..1ac9968bf 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLLogReportsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESQLLOGREPORTSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLLOGREPORTSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLLogReportsResult : public ServiceResult + { + public: struct Item { struct LatencyTopNItem @@ -49,26 +49,26 @@ namespace AlibabaCloud std::string reportTime; std::vector latencyTopNItems; }; - - - DescribeSQLLogReportsResult(); - explicit DescribeSQLLogReportsResult(const std::string &payload); - ~DescribeSQLLogReportsResult(); + + + DescribeSQLLogReportsResult(); + explicit DescribeSQLLogReportsResult(const std::string &payload); + ~DescribeSQLLogReportsResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLLOGREPORTSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLReportsRequest.h b/rds/include/alibabacloud/rds/model/DescribeSQLReportsRequest.h index 3cca1009f..7f5671136 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLReportsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLReportsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLReportsRequest : public RpcServiceRequest - { - - public: - DescribeSQLReportsRequest(); - ~DescribeSQLReportsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLREPORTSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLReportsRequest : public RpcServiceRequest + { + + public: + DescribeSQLReportsRequest(); + ~DescribeSQLReportsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setPageNumber(int pageNumber); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; int pageNumber_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSQLReportsResult.h b/rds/include/alibabacloud/rds/model/DescribeSQLReportsResult.h index e3000269c..4c15ebdf7 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSQLReportsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSQLReportsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESQLREPORTSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSQLReportsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESQLREPORTSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSQLReportsResult : public ServiceResult + { + public: struct Item { struct LatencyTopNItem @@ -49,26 +49,26 @@ namespace AlibabaCloud std::string reportTime; std::vector latencyTopNItems; }; - - - DescribeSQLReportsResult(); - explicit DescribeSQLReportsResult(const std::string &payload); - ~DescribeSQLReportsResult(); + + + DescribeSQLReportsResult(); + explicit DescribeSQLReportsResult(const std::string &payload); + ~DescribeSQLReportsResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESQLREPORTSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h b/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h index c50323c34..62c4b2d08 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSecurityGroupConfigurationRequest : public RpcServiceRequest - { - - public: - DescribeSecurityGroupConfigurationRequest(); - ~DescribeSecurityGroupConfigurationRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSecurityGroupConfigurationRequest : public RpcServiceRequest + { + + public: + DescribeSecurityGroupConfigurationRequest(); + ~DescribeSecurityGroupConfigurationRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h b/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h index da90b5198..68ef37028 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSecurityGroupConfigurationResult.h @@ -1,59 +1,59 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSecurityGroupConfigurationResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSecurityGroupConfigurationResult : public ServiceResult + { + public: struct EcsSecurityGroupRelation { std::string networkType; std::string securityGroupId; std::string regionId; }; - - - DescribeSecurityGroupConfigurationResult(); - explicit DescribeSecurityGroupConfigurationResult(const std::string &payload); - ~DescribeSecurityGroupConfigurationResult(); + + + DescribeSecurityGroupConfigurationResult(); + explicit DescribeSecurityGroupConfigurationResult(const std::string &payload); + ~DescribeSecurityGroupConfigurationResult(); std::vector getItems()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESECURITYGROUPCONFIGURATIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h b/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h index 23c3932ca..557eeab36 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogRecordsRequest : public RpcServiceRequest - { - - public: - DescribeSlowLogRecordsRequest(); - ~DescribeSlowLogRecordsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESLOWLOGRECORDSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogRecordsRequest : public RpcServiceRequest + { + + public: + DescribeSlowLogRecordsRequest(); + ~DescribeSlowLogRecordsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getSQLHASH()const; void setSQLHASH(const std::string& sQLHASH); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud int pageSize_; std::string dBInstanceId_; std::string sQLHASH_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsResult.h b/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsResult.h index 70bc40802..3d14c7cd9 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSlowLogRecordsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESLOWLOGRECORDSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogRecordsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESLOWLOGRECORDSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogRecordsResult : public ServiceResult + { + public: struct SQLSlowRecord { long queryTimes; @@ -43,30 +43,30 @@ namespace AlibabaCloud std::string hostAddress; std::string sQLText; }; - - - DescribeSlowLogRecordsResult(); - explicit DescribeSlowLogRecordsResult(const std::string &payload); - ~DescribeSlowLogRecordsResult(); + + + DescribeSlowLogRecordsResult(); + explicit DescribeSlowLogRecordsResult(const std::string &payload); + ~DescribeSlowLogRecordsResult(); int getTotalRecordCount()const; int getPageRecordCount()const; std::string getDBInstanceId()const; int getPageNumber()const; std::vector getItems()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; std::string dBInstanceId_; int pageNumber_; std::vector items_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGRECORDSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSlowLogsRequest.h b/rds/include/alibabacloud/rds/model/DescribeSlowLogsRequest.h index 33800f532..da4428ddd 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSlowLogsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeSlowLogsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogsRequest : public RpcServiceRequest - { - - public: - DescribeSlowLogsRequest(); - ~DescribeSlowLogsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESLOWLOGSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogsRequest : public RpcServiceRequest + { + + public: + DescribeSlowLogsRequest(); + ~DescribeSlowLogsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setPageSize(int pageSize); std::string getDBInstanceId()const; void setDBInstanceId(const std::string& dBInstanceId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string dBName_; int pageSize_; std::string dBInstanceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeSlowLogsResult.h b/rds/include/alibabacloud/rds/model/DescribeSlowLogsResult.h index 5db9134db..65008b324 100644 --- a/rds/include/alibabacloud/rds/model/DescribeSlowLogsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeSlowLogsResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBESLOWLOGSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBESLOWLOGSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeSlowLogsResult : public ServiceResult + { + public: struct SQLSlowLog { long maxLockTime; @@ -56,11 +56,11 @@ namespace AlibabaCloud std::string dBName; long mySQLTotalExecutionTimes; }; - - - DescribeSlowLogsResult(); - explicit DescribeSlowLogsResult(const std::string &payload); - ~DescribeSlowLogsResult(); + + + DescribeSlowLogsResult(); + explicit DescribeSlowLogsResult(const std::string &payload); + ~DescribeSlowLogsResult(); int getTotalRecordCount()const; int getPageRecordCount()const; std::string getEndTime()const; @@ -69,10 +69,10 @@ namespace AlibabaCloud std::string getStartTime()const; std::vector getItems()const; std::string getEngine()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; std::string endTime_; @@ -81,9 +81,9 @@ namespace AlibabaCloud std::string startTime_; std::vector items_; std::string engine_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBESLOWLOGSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTagsRequest.h b/rds/include/alibabacloud/rds/model/DescribeTagsRequest.h index 9bde27b83..023df33e3 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTagsRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeTagsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTagsRequest : public RpcServiceRequest - { - - public: - DescribeTagsRequest(); - ~DescribeTagsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETAGSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTagsRequest : public RpcServiceRequest + { + + public: + DescribeTagsRequest(); + ~DescribeTagsRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setProxyId(const std::string& proxyId); std::string getTags()const; void setTags(const std::string& tags); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string accessKeyId_; std::string proxyId_; std::string tags_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTagsResult.h b/rds/include/alibabacloud/rds/model/DescribeTagsResult.h index 3375d761b..a6083a855 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTagsResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeTagsResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTagsResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETAGSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTagsResult : public ServiceResult + { + public: struct TagInfos { std::string tagKey; std::string tagValue; std::vector dBInstanceIds; }; - - - DescribeTagsResult(); - explicit DescribeTagsResult(const std::string &payload); - ~DescribeTagsResult(); + + + DescribeTagsResult(); + explicit DescribeTagsResult(const std::string &payload); + ~DescribeTagsResult(); std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETAGSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTaskInfoRequest.h b/rds/include/alibabacloud/rds/model/DescribeTaskInfoRequest.h index 506282b3f..c168a916a 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTaskInfoRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeTaskInfoRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFOREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTaskInfoRequest : public RpcServiceRequest - { - - public: - DescribeTaskInfoRequest(); - ~DescribeTaskInfoRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETASKINFOREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTaskInfoRequest : public RpcServiceRequest + { + + public: + DescribeTaskInfoRequest(); + ~DescribeTaskInfoRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setTaskId(long taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -61,9 +61,9 @@ namespace AlibabaCloud long ownerId_; long taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFOREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTaskInfoResult.h b/rds/include/alibabacloud/rds/model/DescribeTaskInfoResult.h index 023d206ed..8fbf76c77 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTaskInfoResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeTaskInfoResult.h @@ -1,42 +1,42 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBETASKINFORESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTaskInfoResult : public ServiceResult - { - public: - - - DescribeTaskInfoResult(); - explicit DescribeTaskInfoResult(const std::string &payload); - ~DescribeTaskInfoResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETASKINFORESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTaskInfoResult : public ServiceResult + { + public: + + + DescribeTaskInfoResult(); + explicit DescribeTaskInfoResult(const std::string &payload); + ~DescribeTaskInfoResult(); std::string getExpectedFinishTime()const; std::string getStatus()const; std::string getProgress()const; @@ -49,10 +49,10 @@ namespace AlibabaCloud std::string getDBName()const; std::string getTaskErrorCode()const; std::string getTaskErrorMessage()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string expectedFinishTime_; std::string status_; std::string progress_; @@ -65,9 +65,9 @@ namespace AlibabaCloud std::string dBName_; std::string taskErrorCode_; std::string taskErrorMessage_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETASKINFORESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTasksRequest.h b/rds/include/alibabacloud/rds/model/DescribeTasksRequest.h index e81d620c3..678307947 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTasksRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeTasksRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTasksRequest : public RpcServiceRequest - { - - public: - DescribeTasksRequest(); - ~DescribeTasksRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETASKSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTasksRequest : public RpcServiceRequest + { + + public: + DescribeTasksRequest(); + ~DescribeTasksRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setTaskAction(const std::string& taskAction); std::string getStatus()const; void setStatus(const std::string& status); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string taskAction_; std::string status_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTasksResult.h b/rds/include/alibabacloud/rds/model/DescribeTasksResult.h index e410c96ac..c6a7ea9d9 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTasksResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeTasksResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBETASKSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTasksResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETASKSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTasksResult : public ServiceResult + { + public: struct TaskProgressInfo { std::string expectedFinishTime; @@ -46,26 +46,26 @@ namespace AlibabaCloud std::string taskErrorCode; std::string taskErrorMessage; }; - - - DescribeTasksResult(); - explicit DescribeTasksResult(const std::string &payload); - ~DescribeTasksResult(); + + + DescribeTasksResult(); + explicit DescribeTasksResult(const std::string &payload); + ~DescribeTasksResult(); int getTotalRecordCount()const; int getPageRecordCount()const; int getPageNumber()const; std::vector getItems()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int totalRecordCount_; int pageRecordCount_; int pageNumber_; std::vector items_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETASKSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTemplatesListRequest.h b/rds/include/alibabacloud/rds/model/DescribeTemplatesListRequest.h index a2bb8e5c6..87dc12a95 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTemplatesListRequest.h +++ b/rds/include/alibabacloud/rds/model/DescribeTemplatesListRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTemplatesListRequest : public RpcServiceRequest - { - - public: - DescribeTemplatesListRequest(); - ~DescribeTemplatesListRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETEMPLATESLISTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTemplatesListRequest : public RpcServiceRequest + { + + public: + DescribeTemplatesListRequest(); + ~DescribeTemplatesListRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -75,8 +75,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); int getMaxAvgScanRows()const; void setMaxAvgScanRows(int maxAvgScanRows); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; int minAvgConsume_; @@ -97,9 +97,9 @@ namespace AlibabaCloud std::string pagingId_; std::string dBInstanceId_; int maxAvgScanRows_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/DescribeTemplatesListResult.h b/rds/include/alibabacloud/rds/model/DescribeTemplatesListResult.h index 81a735bb3..36fc8a9f4 100644 --- a/rds/include/alibabacloud/rds/model/DescribeTemplatesListResult.h +++ b/rds/include/alibabacloud/rds/model/DescribeTemplatesListResult.h @@ -1,37 +1,37 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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_DESCRIBETEMPLATESLISTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT DescribeTemplatesListResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DESCRIBETEMPLATESLISTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT DescribeTemplatesListResult : public ServiceResult + { + public: struct ItemsItem { float avgScanRows; @@ -45,11 +45,11 @@ namespace AlibabaCloud float avgUpdateRows; long totalConsume; }; - - - DescribeTemplatesListResult(); - explicit DescribeTemplatesListResult(const std::string &payload); - ~DescribeTemplatesListResult(); + + + DescribeTemplatesListResult(); + explicit DescribeTemplatesListResult(const std::string &payload); + ~DescribeTemplatesListResult(); int getMaxRecordsPerPage()const; int getItemsNumbers()const; std::string getEndTime()const; @@ -60,10 +60,10 @@ namespace AlibabaCloud int getPageNumbers()const; std::string getDBInstanceName()const; std::string getPagingID()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int maxRecordsPerPage_; int itemsNumbers_; std::string endTime_; @@ -74,9 +74,9 @@ namespace AlibabaCloud int pageNumbers_; std::string dBInstanceName_; std::string pagingID_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBETEMPLATESLISTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/EvaluateSupportByokShowRequest.h b/rds/include/alibabacloud/rds/model/EvaluateSupportByokShowRequest.h new file mode 100644 index 000000000..6be0c6bd6 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/EvaluateSupportByokShowRequest.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_EVALUATESUPPORTBYOKSHOWREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_EVALUATESUPPORTBYOKSHOWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT EvaluateSupportByokShowRequest : public RpcServiceRequest + { + + public: + EvaluateSupportByokShowRequest(); + ~EvaluateSupportByokShowRequest(); + + long getResourceOwnerId()const; + void setResourceOwnerId(long resourceOwnerId); + std::string getNodeType()const; + void setNodeType(const std::string& nodeType); + std::string getResourceOwnerAccount()const; + void setResourceOwnerAccount(const std::string& resourceOwnerAccount); + std::string getOwnerAccount()const; + void setOwnerAccount(const std::string& ownerAccount); + std::string getEngineVersion()const; + void setEngineVersion(const std::string& engineVersion); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getEngine()const; + void setEngine(const std::string& engine); + std::string getTargetRegionId()const; + void setTargetRegionId(const std::string& targetRegionId); + std::string getDbInstanceStorageType()const; + void setDbInstanceStorageType(const std::string& dbInstanceStorageType); + + private: + long resourceOwnerId_; + std::string nodeType_; + std::string resourceOwnerAccount_; + std::string ownerAccount_; + std::string engineVersion_; + long ownerId_; + std::string accessKeyId_; + std::string securityToken_; + std::string regionId_; + std::string engine_; + std::string targetRegionId_; + std::string dbInstanceStorageType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_EVALUATESUPPORTBYOKSHOWREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/EvaluateSupportByokShowResult.h b/rds/include/alibabacloud/rds/model/EvaluateSupportByokShowResult.h new file mode 100644 index 000000000..787a89469 --- /dev/null +++ b/rds/include/alibabacloud/rds/model/EvaluateSupportByokShowResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_RDS_MODEL_EVALUATESUPPORTBYOKSHOWRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_EVALUATESUPPORTBYOKSHOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT EvaluateSupportByokShowResult : public ServiceResult + { + public: + + + EvaluateSupportByokShowResult(); + explicit EvaluateSupportByokShowResult(const std::string &payload); + ~EvaluateSupportByokShowResult(); + std::string getSupportByokZone()const; + int getSupportByokShow()const; + + protected: + void parse(const std::string &payload); + private: + std::string supportByokZone_; + int supportByokShow_; + + }; + } + } +} +#endif // !ALIBABACLOUD_RDS_MODEL_EVALUATESUPPORTBYOKSHOWRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeRequest.h b/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeRequest.h index 45cdc1d81..1e47dfb97 100644 --- a/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeRequest.h +++ b/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT GrantAccountPrivilegeRequest : public RpcServiceRequest - { - - public: - GrantAccountPrivilegeRequest(); - ~GrantAccountPrivilegeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GRANTACCOUNTPRIVILEGEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT GrantAccountPrivilegeRequest : public RpcServiceRequest + { + + public: + GrantAccountPrivilegeRequest(); + ~GrantAccountPrivilegeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountName()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getAccountPrivilege()const; void setAccountPrivilege(const std::string& accountPrivilege); - - private: + + private: long resourceOwnerId_; std::string accountName_; std::string dBName_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string accessKeyId_; std::string accountPrivilege_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeResult.h b/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeResult.h index 1afecdc46..b64b1c614 100644 --- a/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeResult.h +++ b/rds/include/alibabacloud/rds/model/GrantAccountPrivilegeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT GrantAccountPrivilegeResult : public ServiceResult - { - public: - - - GrantAccountPrivilegeResult(); - explicit GrantAccountPrivilegeResult(const std::string &payload); - ~GrantAccountPrivilegeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GRANTACCOUNTPRIVILEGERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT GrantAccountPrivilegeResult : public ServiceResult + { + public: + + + GrantAccountPrivilegeResult(); + explicit GrantAccountPrivilegeResult(const std::string &payload); + ~GrantAccountPrivilegeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_GRANTACCOUNTPRIVILEGERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/GrantOperatorPermissionRequest.h b/rds/include/alibabacloud/rds/model/GrantOperatorPermissionRequest.h index 123ed125e..ffa2536c8 100644 --- a/rds/include/alibabacloud/rds/model/GrantOperatorPermissionRequest.h +++ b/rds/include/alibabacloud/rds/model/GrantOperatorPermissionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT GrantOperatorPermissionRequest : public RpcServiceRequest - { - - public: - GrantOperatorPermissionRequest(); - ~GrantOperatorPermissionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GRANTOPERATORPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT GrantOperatorPermissionRequest : public RpcServiceRequest + { + + public: + GrantOperatorPermissionRequest(); + ~GrantOperatorPermissionRequest(); + std::string getPrivileges()const; void setPrivileges(const std::string& privileges); long getResourceOwnerId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string privileges_; long resourceOwnerId_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/GrantOperatorPermissionResult.h b/rds/include/alibabacloud/rds/model/GrantOperatorPermissionResult.h index 29e3db30c..a849e1170 100644 --- a/rds/include/alibabacloud/rds/model/GrantOperatorPermissionResult.h +++ b/rds/include/alibabacloud/rds/model/GrantOperatorPermissionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT GrantOperatorPermissionResult : public ServiceResult - { - public: - - - GrantOperatorPermissionResult(); - explicit GrantOperatorPermissionResult(const std::string &payload); - ~GrantOperatorPermissionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GRANTOPERATORPERMISSIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT GrantOperatorPermissionResult : public ServiceResult + { + public: + + + GrantOperatorPermissionResult(); + explicit GrantOperatorPermissionResult(const std::string &payload); + ~GrantOperatorPermissionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_GRANTOPERATORPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ImportDataForSQLServerRequest.h b/rds/include/alibabacloud/rds/model/ImportDataForSQLServerRequest.h index 37780d6f7..d410b1829 100644 --- a/rds/include/alibabacloud/rds/model/ImportDataForSQLServerRequest.h +++ b/rds/include/alibabacloud/rds/model/ImportDataForSQLServerRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ImportDataForSQLServerRequest : public RpcServiceRequest - { - - public: - ImportDataForSQLServerRequest(); - ~ImportDataForSQLServerRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_IMPORTDATAFORSQLSERVERREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ImportDataForSQLServerRequest : public RpcServiceRequest + { + + public: + ImportDataForSQLServerRequest(); + ~ImportDataForSQLServerRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getFileName()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string fileName_; std::string resourceOwnerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ImportDataForSQLServerResult.h b/rds/include/alibabacloud/rds/model/ImportDataForSQLServerResult.h index 15d1d746d..23eb4b02d 100644 --- a/rds/include/alibabacloud/rds/model/ImportDataForSQLServerResult.h +++ b/rds/include/alibabacloud/rds/model/ImportDataForSQLServerResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ImportDataForSQLServerResult : public ServiceResult - { - public: - - - ImportDataForSQLServerResult(); - explicit ImportDataForSQLServerResult(const std::string &payload); - ~ImportDataForSQLServerResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_IMPORTDATAFORSQLSERVERRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ImportDataForSQLServerResult : public ServiceResult + { + public: + + + ImportDataForSQLServerResult(); + explicit ImportDataForSQLServerResult(const std::string &payload); + ~ImportDataForSQLServerResult(); int getImportID()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int importID_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_IMPORTDATAFORSQLSERVERRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesRequest.h b/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesRequest.h index 18849d6f2..338b61acd 100644 --- a/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesRequest.h +++ b/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ImportDatabaseBetweenInstancesRequest : public RpcServiceRequest - { - - public: - ImportDatabaseBetweenInstancesRequest(); - ~ImportDatabaseBetweenInstancesRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_IMPORTDATABASEBETWEENINSTANCESREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ImportDatabaseBetweenInstancesRequest : public RpcServiceRequest + { + + public: + ImportDatabaseBetweenInstancesRequest(); + ~ImportDatabaseBetweenInstancesRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getSourceDBInstanceId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string sourceDBInstanceId_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesResult.h b/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesResult.h index ce4f6ece2..2d29265e8 100644 --- a/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesResult.h +++ b/rds/include/alibabacloud/rds/model/ImportDatabaseBetweenInstancesResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ImportDatabaseBetweenInstancesResult : public ServiceResult - { - public: - - - ImportDatabaseBetweenInstancesResult(); - explicit ImportDatabaseBetweenInstancesResult(const std::string &payload); - ~ImportDatabaseBetweenInstancesResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_IMPORTDATABASEBETWEENINSTANCESRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ImportDatabaseBetweenInstancesResult : public ServiceResult + { + public: + + + ImportDatabaseBetweenInstancesResult(); + explicit ImportDatabaseBetweenInstancesResult(const std::string &payload); + ~ImportDatabaseBetweenInstancesResult(); std::string getImportId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string importId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_IMPORTDATABASEBETWEENINSTANCESRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeRequest.h b/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeRequest.h index 0e813e06f..7537359ac 100644 --- a/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeRequest.h +++ b/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT MigrateSecurityIPModeRequest : public RpcServiceRequest - { - - public: - MigrateSecurityIPModeRequest(); - ~MigrateSecurityIPModeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MIGRATESECURITYIPMODEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT MigrateSecurityIPModeRequest : public RpcServiceRequest + { + + public: + MigrateSecurityIPModeRequest(); + ~MigrateSecurityIPModeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeResult.h b/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeResult.h index cadffdd3e..7fe7c5e0c 100644 --- a/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeResult.h +++ b/rds/include/alibabacloud/rds/model/MigrateSecurityIPModeResult.h @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT MigrateSecurityIPModeResult : public ServiceResult - { - public: - - - MigrateSecurityIPModeResult(); - explicit MigrateSecurityIPModeResult(const std::string &payload); - ~MigrateSecurityIPModeResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MIGRATESECURITYIPMODERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT MigrateSecurityIPModeResult : public ServiceResult + { + public: + + + MigrateSecurityIPModeResult(); + explicit MigrateSecurityIPModeResult(const std::string &payload); + ~MigrateSecurityIPModeResult(); std::string getDBInstanceId()const; std::string getSecurityIPMode()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string securityIPMode_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MIGRATESECURITYIPMODERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/MigrateToOtherRegionRequest.h b/rds/include/alibabacloud/rds/model/MigrateToOtherRegionRequest.h index 149980425..457e0bab6 100644 --- a/rds/include/alibabacloud/rds/model/MigrateToOtherRegionRequest.h +++ b/rds/include/alibabacloud/rds/model/MigrateToOtherRegionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT MigrateToOtherRegionRequest : public RpcServiceRequest - { - - public: - MigrateToOtherRegionRequest(); - ~MigrateToOtherRegionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MIGRATETOOTHERREGIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT MigrateToOtherRegionRequest : public RpcServiceRequest + { + + public: + MigrateToOtherRegionRequest(); + ~MigrateToOtherRegionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setTargetRegionId(const std::string& targetRegionId); std::string getSwitchTime()const; void setSwitchTime(const std::string& switchTime); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string targetRegionId_; std::string switchTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/MigrateToOtherRegionResult.h b/rds/include/alibabacloud/rds/model/MigrateToOtherRegionResult.h index 10891196e..a4aef46f4 100644 --- a/rds/include/alibabacloud/rds/model/MigrateToOtherRegionResult.h +++ b/rds/include/alibabacloud/rds/model/MigrateToOtherRegionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT MigrateToOtherRegionResult : public ServiceResult - { - public: - - - MigrateToOtherRegionResult(); - explicit MigrateToOtherRegionResult(const std::string &payload); - ~MigrateToOtherRegionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MIGRATETOOTHERREGIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT MigrateToOtherRegionResult : public ServiceResult + { + public: + + + MigrateToOtherRegionResult(); + explicit MigrateToOtherRegionResult(const std::string &payload); + ~MigrateToOtherRegionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERREGIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/MigrateToOtherZoneRequest.h b/rds/include/alibabacloud/rds/model/MigrateToOtherZoneRequest.h index 9aa0b3c89..15a6db13c 100644 --- a/rds/include/alibabacloud/rds/model/MigrateToOtherZoneRequest.h +++ b/rds/include/alibabacloud/rds/model/MigrateToOtherZoneRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT MigrateToOtherZoneRequest : public RpcServiceRequest - { - - public: - MigrateToOtherZoneRequest(); - ~MigrateToOtherZoneRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MIGRATETOOTHERZONEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT MigrateToOtherZoneRequest : public RpcServiceRequest + { + + public: + MigrateToOtherZoneRequest(); + ~MigrateToOtherZoneRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getCategory()const; void setCategory(const std::string& category); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -76,9 +76,9 @@ namespace AlibabaCloud std::string zoneId_; std::string dBInstanceId_; std::string category_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/MigrateToOtherZoneResult.h b/rds/include/alibabacloud/rds/model/MigrateToOtherZoneResult.h index e26fa6fb7..bc813df23 100644 --- a/rds/include/alibabacloud/rds/model/MigrateToOtherZoneResult.h +++ b/rds/include/alibabacloud/rds/model/MigrateToOtherZoneResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT MigrateToOtherZoneResult : public ServiceResult - { - public: - - - MigrateToOtherZoneResult(); - explicit MigrateToOtherZoneResult(const std::string &payload); - ~MigrateToOtherZoneResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MIGRATETOOTHERZONERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT MigrateToOtherZoneResult : public ServiceResult + { + public: + + + MigrateToOtherZoneResult(); + explicit MigrateToOtherZoneResult(const std::string &payload); + ~MigrateToOtherZoneResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MIGRATETOOTHERZONERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionRequest.h b/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionRequest.h index 7964cc73f..a25facef6 100644 --- a/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyAccountDescriptionRequest : public RpcServiceRequest - { - - public: - ModifyAccountDescriptionRequest(); - ~ModifyAccountDescriptionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYACCOUNTDESCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyAccountDescriptionRequest : public RpcServiceRequest + { + + public: + ModifyAccountDescriptionRequest(); + ~ModifyAccountDescriptionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountName()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setAccountDescription(const std::string& accountDescription); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountName_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud long ownerId_; std::string accountDescription_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionResult.h b/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionResult.h index c81453aa0..1ded39be3 100644 --- a/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyAccountDescriptionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyAccountDescriptionResult : public ServiceResult - { - public: - - - ModifyAccountDescriptionResult(); - explicit ModifyAccountDescriptionResult(const std::string &payload); - ~ModifyAccountDescriptionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYACCOUNTDESCRIPTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyAccountDescriptionResult : public ServiceResult + { + public: + + + ModifyAccountDescriptionResult(); + explicit ModifyAccountDescriptionResult(const std::string &payload); + ~ModifyAccountDescriptionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYACCOUNTDESCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyBackupPolicyRequest.h b/rds/include/alibabacloud/rds/model/ModifyBackupPolicyRequest.h index f80b2dd09..6dc8eac22 100644 --- a/rds/include/alibabacloud/rds/model/ModifyBackupPolicyRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyBackupPolicyRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyBackupPolicyRequest : public RpcServiceRequest - { - - public: - ModifyBackupPolicyRequest(); - ~ModifyBackupPolicyRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYBACKUPPOLICYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyBackupPolicyRequest : public RpcServiceRequest + { + + public: + ModifyBackupPolicyRequest(); + ~ModifyBackupPolicyRequest(); + std::string getPreferredBackupPeriod()const; void setPreferredBackupPeriod(const std::string& preferredBackupPeriod); long getResourceOwnerId()const; @@ -77,8 +77,8 @@ namespace AlibabaCloud void setEnableBackupLog(const std::string& enableBackupLog); std::string getBackupPolicyMode()const; void setBackupPolicyMode(const std::string& backupPolicyMode); - - private: + + private: std::string preferredBackupPeriod_; long resourceOwnerId_; std::string resourceOwnerAccount_; @@ -100,9 +100,9 @@ namespace AlibabaCloud std::string logBackupRetentionPeriod_; std::string enableBackupLog_; std::string backupPolicyMode_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyBackupPolicyResult.h b/rds/include/alibabacloud/rds/model/ModifyBackupPolicyResult.h index edddb0c89..d74f51f2d 100644 --- a/rds/include/alibabacloud/rds/model/ModifyBackupPolicyResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyBackupPolicyResult.h @@ -1,61 +1,61 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyBackupPolicyResult : public ServiceResult - { - public: - - - ModifyBackupPolicyResult(); - explicit ModifyBackupPolicyResult(const std::string &payload); - ~ModifyBackupPolicyResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYBACKUPPOLICYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyBackupPolicyResult : public ServiceResult + { + public: + + + ModifyBackupPolicyResult(); + explicit ModifyBackupPolicyResult(const std::string &payload); + ~ModifyBackupPolicyResult(); std::string getDBInstanceID()const; std::string getEnableBackupLog()const; int getLocalLogRetentionHours()const; std::string getLocalLogRetentionSpace()const; std::string getHighSpaceUsageProtection()const; std::string getCompressType()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceID_; std::string enableBackupLog_; int localLogRetentionHours_; std::string localLogRetentionSpace_; std::string highSpaceUsageProtection_; std::string compressType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYBACKUPPOLICYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneRequest.h b/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneRequest.h index 288d4559b..1f917e714 100644 --- a/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyCollationTimeZoneRequest : public RpcServiceRequest - { - - public: - ModifyCollationTimeZoneRequest(); - ~ModifyCollationTimeZoneRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYCOLLATIONTIMEZONEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyCollationTimeZoneRequest : public RpcServiceRequest + { + + public: + ModifyCollationTimeZoneRequest(); + ~ModifyCollationTimeZoneRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string timezone_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string collation_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneResult.h b/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneResult.h index 43f807361..ee8b9198e 100644 --- a/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyCollationTimeZoneResult.h @@ -1,57 +1,57 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyCollationTimeZoneResult : public ServiceResult - { - public: - - - ModifyCollationTimeZoneResult(); - explicit ModifyCollationTimeZoneResult(const std::string &payload); - ~ModifyCollationTimeZoneResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYCOLLATIONTIMEZONERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyCollationTimeZoneResult : public ServiceResult + { + public: + + + ModifyCollationTimeZoneResult(); + explicit ModifyCollationTimeZoneResult(const std::string &payload); + ~ModifyCollationTimeZoneResult(); std::string getTimezone()const; std::string getTaskId()const; std::string getDBInstanceId()const; std::string getCollation()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string timezone_; std::string taskId_; std::string dBInstanceId_; std::string collation_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYCOLLATIONTIMEZONERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBDescriptionRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBDescriptionRequest.h index 5637dfb8b..66c24153e 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBDescriptionRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBDescriptionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBDescriptionRequest : public RpcServiceRequest - { - - public: - ModifyDBDescriptionRequest(); - ~ModifyDBDescriptionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBDESCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBDescriptionRequest : public RpcServiceRequest + { + + public: + ModifyDBDescriptionRequest(); + ~ModifyDBDescriptionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getDBName()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string dBName_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBDescription_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBDescriptionResult.h b/rds/include/alibabacloud/rds/model/ModifyDBDescriptionResult.h index 918417cfd..3d73e7e18 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBDescriptionResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBDescriptionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBDescriptionResult : public ServiceResult - { - public: - - - ModifyDBDescriptionResult(); - explicit ModifyDBDescriptionResult(const std::string &payload); - ~ModifyDBDescriptionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBDESCRIPTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBDescriptionResult : public ServiceResult + { + public: + + + ModifyDBDescriptionResult(); + explicit ModifyDBDescriptionResult(const std::string &payload); + ~ModifyDBDescriptionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBDESCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeRequest.h index b34744051..43cf1baac 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionModeRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceConnectionModeRequest(); - ~ModifyDBInstanceConnectionModeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionModeRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceConnectionModeRequest(); + ~ModifyDBInstanceConnectionModeRequest(); + std::string getConnectionMode()const; void setConnectionMode(const std::string& connectionMode); long getResourceOwnerId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string connectionMode_; long resourceOwnerId_; std::string resourceOwnerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeResult.h index d1e21e231..83da47d67 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionModeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionModeResult : public ServiceResult - { - public: - - - ModifyDBInstanceConnectionModeResult(); - explicit ModifyDBInstanceConnectionModeResult(const std::string &payload); - ~ModifyDBInstanceConnectionModeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCECONNECTIONMODERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionModeResult : public ServiceResult + { + public: + + + ModifyDBInstanceConnectionModeResult(); + explicit ModifyDBInstanceConnectionModeResult(const std::string &payload); + ~ModifyDBInstanceConnectionModeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONMODERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringRequest.h index 2a81a8ee4..bce517913 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionStringRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceConnectionStringRequest(); - ~ModifyDBInstanceConnectionStringRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionStringRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceConnectionStringRequest(); + ~ModifyDBInstanceConnectionStringRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getConnectionStringPrefix()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setCurrentConnectionString(const std::string& currentConnectionString); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string connectionStringPrefix_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string currentConnectionString_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringResult.h index 72d840820..34dd05c3c 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceConnectionStringResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionStringResult : public ServiceResult - { - public: - - - ModifyDBInstanceConnectionStringResult(); - explicit ModifyDBInstanceConnectionStringResult(const std::string &payload); - ~ModifyDBInstanceConnectionStringResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCECONNECTIONSTRINGRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceConnectionStringResult : public ServiceResult + { + public: + + + ModifyDBInstanceConnectionStringResult(); + explicit ModifyDBInstanceConnectionStringResult(const std::string &payload); + ~ModifyDBInstanceConnectionStringResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionRequest.h index 6163dc0e7..34e508617 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceDescriptionRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceDescriptionRequest(); - ~ModifyDBInstanceDescriptionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceDescriptionRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceDescriptionRequest(); + ~ModifyDBInstanceDescriptionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceDescription_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionResult.h index 631da0589..98a99c6a7 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceDescriptionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceDescriptionResult : public ServiceResult - { - public: - - - ModifyDBInstanceDescriptionResult(); - explicit ModifyDBInstanceDescriptionResult(const std::string &payload); - ~ModifyDBInstanceDescriptionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceDescriptionResult : public ServiceResult + { + public: + + + ModifyDBInstanceDescriptionResult(); + explicit ModifyDBInstanceDescriptionResult(const std::string &payload); + ~ModifyDBInstanceDescriptionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEDESCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigRequest.h index 26978af52..09bf05cf1 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceHAConfigRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceHAConfigRequest(); - ~ModifyDBInstanceHAConfigRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEHACONFIGREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceHAConfigRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceHAConfigRequest(); + ~ModifyDBInstanceHAConfigRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setHAMode(const std::string& hAMode); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud long ownerId_; std::string hAMode_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigResult.h index 9820a29d9..e241c714f 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceHAConfigResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceHAConfigResult : public ServiceResult - { - public: - - - ModifyDBInstanceHAConfigResult(); - explicit ModifyDBInstanceHAConfigResult(const std::string &payload); - ~ModifyDBInstanceHAConfigResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEHACONFIGRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceHAConfigResult : public ServiceResult + { + public: + + + ModifyDBInstanceHAConfigResult(); + explicit ModifyDBInstanceHAConfigResult(const std::string &payload); + ~ModifyDBInstanceHAConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEHACONFIGRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeRequest.h index 7f02e8797..b190a1f6f 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMaintainTimeRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceMaintainTimeRequest(); - ~ModifyDBInstanceMaintainTimeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMaintainTimeRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceMaintainTimeRequest(); + ~ModifyDBInstanceMaintainTimeRequest(); + std::string getMaintainTime()const; void setMaintainTime(const std::string& maintainTime); long getResourceOwnerId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string maintainTime_; long resourceOwnerId_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeResult.h index a446caedc..776a093bb 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMaintainTimeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMaintainTimeResult : public ServiceResult - { - public: - - - ModifyDBInstanceMaintainTimeResult(); - explicit ModifyDBInstanceMaintainTimeResult(const std::string &payload); - ~ModifyDBInstanceMaintainTimeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMaintainTimeResult : public ServiceResult + { + public: + + + ModifyDBInstanceMaintainTimeResult(); + explicit ModifyDBInstanceMaintainTimeResult(const std::string &payload); + ~ModifyDBInstanceMaintainTimeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMAINTAINTIMERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorRequest.h index 4a106b002..e8d5a3b5a 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMonitorRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceMonitorRequest(); - ~ModifyDBInstanceMonitorRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEMONITORREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMonitorRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceMonitorRequest(); + ~ModifyDBInstanceMonitorRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getPeriod()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string period_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorResult.h index c5b0b3225..ebfccf194 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceMonitorResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMonitorResult : public ServiceResult - { - public: - - - ModifyDBInstanceMonitorResult(); - explicit ModifyDBInstanceMonitorResult(const std::string &payload); - ~ModifyDBInstanceMonitorResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEMONITORRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceMonitorResult : public ServiceResult + { + public: + + + ModifyDBInstanceMonitorResult(); + explicit ModifyDBInstanceMonitorResult(const std::string &payload); + ~ModifyDBInstanceMonitorResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEMONITORRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeRequest.h index f4e97d390..82f5b4e6b 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkExpireTimeRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceNetworkExpireTimeRequest(); - ~ModifyDBInstanceNetworkExpireTimeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCENETWORKEXPIRETIMEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkExpireTimeRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceNetworkExpireTimeRequest(); + ~ModifyDBInstanceNetworkExpireTimeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string connectionString_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeResult.h index 11fb47ae2..d30015bf7 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkExpireTimeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkExpireTimeResult : public ServiceResult - { - public: - - - ModifyDBInstanceNetworkExpireTimeResult(); - explicit ModifyDBInstanceNetworkExpireTimeResult(const std::string &payload); - ~ModifyDBInstanceNetworkExpireTimeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCENETWORKEXPIRETIMERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkExpireTimeResult : public ServiceResult + { + public: + + + ModifyDBInstanceNetworkExpireTimeResult(); + explicit ModifyDBInstanceNetworkExpireTimeResult(const std::string &payload); + ~ModifyDBInstanceNetworkExpireTimeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKEXPIRETIMERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeRequest.h index 6a4a80288..bd39f539f 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkTypeRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceNetworkTypeRequest(); - ~ModifyDBInstanceNetworkTypeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkTypeRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceNetworkTypeRequest(); + ~ModifyDBInstanceNetworkTypeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -63,8 +63,8 @@ namespace AlibabaCloud void setInstanceNetworkType(const std::string& instanceNetworkType); int getReadWriteSplittingClassicExpiredDays()const; void setReadWriteSplittingClassicExpiredDays(int readWriteSplittingClassicExpiredDays); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -79,9 +79,9 @@ namespace AlibabaCloud std::string readWriteSplittingPrivateIpAddress_; std::string instanceNetworkType_; int readWriteSplittingClassicExpiredDays_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeResult.h index 17c3b36e4..c0c8361d7 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceNetworkTypeResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkTypeResult : public ServiceResult - { - public: - - - ModifyDBInstanceNetworkTypeResult(); - explicit ModifyDBInstanceNetworkTypeResult(const std::string &payload); - ~ModifyDBInstanceNetworkTypeResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCENETWORKTYPERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceNetworkTypeResult : public ServiceResult + { + public: + + + ModifyDBInstanceNetworkTypeResult(); + explicit ModifyDBInstanceNetworkTypeResult(const std::string &payload); + ~ModifyDBInstanceNetworkTypeResult(); std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCENETWORKTYPERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationRequest.h index 3d08e8322..48da496cf 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceProxyConfigurationRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceProxyConfigurationRequest(); - ~ModifyDBInstanceProxyConfigurationRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceProxyConfigurationRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceProxyConfigurationRequest(); + ~ModifyDBInstanceProxyConfigurationRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string proxyConfigurationKey_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationResult.h index ed79adead..45b278df5 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceProxyConfigurationResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceProxyConfigurationResult : public ServiceResult - { - public: - - - ModifyDBInstanceProxyConfigurationResult(); - explicit ModifyDBInstanceProxyConfigurationResult(const std::string &payload); - ~ModifyDBInstanceProxyConfigurationResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCEPROXYCONFIGURATIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceProxyConfigurationResult : public ServiceResult + { + public: + + + ModifyDBInstanceProxyConfigurationResult(); + explicit ModifyDBInstanceProxyConfigurationResult(const std::string &payload); + ~ModifyDBInstanceProxyConfigurationResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCEPROXYCONFIGURATIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLRequest.h index b29fa60e3..5a89d0473 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSSLRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceSSLRequest(); - ~ModifyDBInstanceSSLRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCESSLREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSSLRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceSSLRequest(); + ~ModifyDBInstanceSSLRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string connectionString_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLResult.h index 0746820af..3b5f06466 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSSLResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSSLResult : public ServiceResult - { - public: - - - ModifyDBInstanceSSLResult(); - explicit ModifyDBInstanceSSLResult(const std::string &payload); - ~ModifyDBInstanceSSLResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCESSLRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSSLResult : public ServiceResult + { + public: + + + ModifyDBInstanceSSLResult(); + explicit ModifyDBInstanceSSLResult(const std::string &payload); + ~ModifyDBInstanceSSLResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESSLRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h index 5fac0f186..4348b5929 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSpecRequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceSpecRequest(); - ~ModifyDBInstanceSpecRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCESPECREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSpecRequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceSpecRequest(); + ~ModifyDBInstanceSpecRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); int getDBInstanceStorage()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setDBInstanceId(const std::string& dBInstanceId); std::string getPayType()const; void setPayType(const std::string& payType); - - private: + + private: long resourceOwnerId_; int dBInstanceStorage_; std::string resourceOwnerAccount_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string effectiveTime_; std::string dBInstanceId_; std::string payType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecResult.h index cded36803..cb5618d10 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceSpecResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSpecResult : public ServiceResult - { - public: - - - ModifyDBInstanceSpecResult(); - explicit ModifyDBInstanceSpecResult(const std::string &payload); - ~ModifyDBInstanceSpecResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCESPECRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceSpecResult : public ServiceResult + { + public: + + + ModifyDBInstanceSpecResult(); + explicit ModifyDBInstanceSpecResult(const std::string &payload); + ~ModifyDBInstanceSpecResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCESPECRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDERequest.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDERequest.h index 216b0dd0a..a6c1c0dd0 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDERequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDERequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceTDERequest : public RpcServiceRequest - { - - public: - ModifyDBInstanceTDERequest(); - ~ModifyDBInstanceTDERequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCETDEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceTDERequest : public RpcServiceRequest + { + + public: + ModifyDBInstanceTDERequest(); + ~ModifyDBInstanceTDERequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getDBName()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setTDEStatus(const std::string& tDEStatus); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string dBName_; std::string resourceOwnerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud long ownerId_; std::string tDEStatus_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDEResult.h b/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDEResult.h index 02e883a05..e006e9ba8 100644 --- a/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDEResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyDBInstanceTDEResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceTDEResult : public ServiceResult - { - public: - - - ModifyDBInstanceTDEResult(); - explicit ModifyDBInstanceTDEResult(const std::string &payload); - ~ModifyDBInstanceTDEResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYDBINSTANCETDERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyDBInstanceTDEResult : public ServiceResult + { + public: + + + ModifyDBInstanceTDEResult(); + explicit ModifyDBInstanceTDEResult(const std::string &payload); + ~ModifyDBInstanceTDEResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBINSTANCETDERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeRequest.h b/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeRequest.h index c473bd43f..b2be408ac 100644 --- a/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyInstanceAutoRenewalAttributeRequest : public RpcServiceRequest - { - - public: - ModifyInstanceAutoRenewalAttributeRequest(); - ~ModifyInstanceAutoRenewalAttributeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyInstanceAutoRenewalAttributeRequest : public RpcServiceRequest + { + + public: + ModifyInstanceAutoRenewalAttributeRequest(); + ~ModifyInstanceAutoRenewalAttributeRequest(); + std::string getDuration()const; void setDuration(const std::string& duration); long getResourceOwnerId()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string duration_; long resourceOwnerId_; std::string autoRenew_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeResult.h b/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeResult.h index 43af475b7..11befd5a0 100644 --- a/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyInstanceAutoRenewalAttributeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyInstanceAutoRenewalAttributeResult : public ServiceResult - { - public: - - - ModifyInstanceAutoRenewalAttributeResult(); - explicit ModifyInstanceAutoRenewalAttributeResult(const std::string &payload); - ~ModifyInstanceAutoRenewalAttributeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYINSTANCEAUTORENEWALATTRIBUTERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyInstanceAutoRenewalAttributeResult : public ServiceResult + { + public: + + + ModifyInstanceAutoRenewalAttributeResult(); + explicit ModifyInstanceAutoRenewalAttributeResult(const std::string &payload); + ~ModifyInstanceAutoRenewalAttributeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYINSTANCEAUTORENEWALATTRIBUTERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayRequest.h b/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayRequest.h index b80be2986..c126a0c9b 100644 --- a/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyMySQLDBInstanceDelayRequest : public RpcServiceRequest - { - - public: - ModifyMySQLDBInstanceDelayRequest(); - ~ModifyMySQLDBInstanceDelayRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYMYSQLDBINSTANCEDELAYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyMySQLDBInstanceDelayRequest : public RpcServiceRequest + { + + public: + ModifyMySQLDBInstanceDelayRequest(); + ~ModifyMySQLDBInstanceDelayRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string sqlDelay_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayResult.h b/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayResult.h index 9a089b2ef..46d019c38 100644 --- a/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyMySQLDBInstanceDelayResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyMySQLDBInstanceDelayResult : public ServiceResult - { - public: - - - ModifyMySQLDBInstanceDelayResult(); - explicit ModifyMySQLDBInstanceDelayResult(const std::string &payload); - ~ModifyMySQLDBInstanceDelayResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYMYSQLDBINSTANCEDELAYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyMySQLDBInstanceDelayResult : public ServiceResult + { + public: + + + ModifyMySQLDBInstanceDelayResult(); + explicit ModifyMySQLDBInstanceDelayResult(const std::string &payload); + ~ModifyMySQLDBInstanceDelayResult(); std::string getTaskId()const; std::string getDBInstanceName()const; std::string getSqlDelay()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string dBInstanceName_; std::string sqlDelay_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYMYSQLDBINSTANCEDELAYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyParameterRequest.h b/rds/include/alibabacloud/rds/model/ModifyParameterRequest.h index 748a556ef..7d46b00fa 100644 --- a/rds/include/alibabacloud/rds/model/ModifyParameterRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyParameterRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyParameterRequest : public RpcServiceRequest - { - - public: - ModifyParameterRequest(); - ~ModifyParameterRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYPARAMETERREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyParameterRequest : public RpcServiceRequest + { + + public: + ModifyParameterRequest(); + ~ModifyParameterRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setParameters(const std::string& parameters); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string parameters_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyParameterResult.h b/rds/include/alibabacloud/rds/model/ModifyParameterResult.h index e039dc9e4..797361f11 100644 --- a/rds/include/alibabacloud/rds/model/ModifyParameterResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyParameterResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyParameterResult : public ServiceResult - { - public: - - - ModifyParameterResult(); - explicit ModifyParameterResult(const std::string &payload); - ~ModifyParameterResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYPARAMETERRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyParameterResult : public ServiceResult + { + public: + + + ModifyParameterResult(); + explicit ModifyParameterResult(const std::string &payload); + ~ModifyParameterResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYPARAMETERRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionRequest.h b/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionRequest.h index b0fcbea42..c395c8ce2 100644 --- a/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyReadWriteSplittingConnectionRequest : public RpcServiceRequest - { - - public: - ModifyReadWriteSplittingConnectionRequest(); - ~ModifyReadWriteSplittingConnectionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyReadWriteSplittingConnectionRequest : public RpcServiceRequest + { + + public: + ModifyReadWriteSplittingConnectionRequest(); + ~ModifyReadWriteSplittingConnectionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getConnectionStringPrefix()const; @@ -57,8 +57,8 @@ namespace AlibabaCloud void setMaxDelayTime(const std::string& maxDelayTime); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string connectionStringPrefix_; std::string resourceOwnerAccount_; @@ -70,9 +70,9 @@ namespace AlibabaCloud long ownerId_; std::string maxDelayTime_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionResult.h b/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionResult.h index e5198af48..c30b9bd69 100644 --- a/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyReadWriteSplittingConnectionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyReadWriteSplittingConnectionResult : public ServiceResult - { - public: - - - ModifyReadWriteSplittingConnectionResult(); - explicit ModifyReadWriteSplittingConnectionResult(const std::string &payload); - ~ModifyReadWriteSplittingConnectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYREADWRITESPLITTINGCONNECTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyReadWriteSplittingConnectionResult : public ServiceResult + { + public: + + + ModifyReadWriteSplittingConnectionResult(); + explicit ModifyReadWriteSplittingConnectionResult(const std::string &payload); + ~ModifyReadWriteSplittingConnectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.h b/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.h index 466fd67da..c70eca27b 100644 --- a/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyReadonlyInstanceDelayReplicationTimeRequest : public RpcServiceRequest - { - - public: - ModifyReadonlyInstanceDelayReplicationTimeRequest(); - ~ModifyReadonlyInstanceDelayReplicationTimeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyReadonlyInstanceDelayReplicationTimeRequest : public RpcServiceRequest + { + + public: + ModifyReadonlyInstanceDelayReplicationTimeRequest(); + ~ModifyReadonlyInstanceDelayReplicationTimeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getReadSQLReplicationTime()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string readSQLReplicationTime_; std::string resourceOwnerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeResult.h b/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeResult.h index 99bacb2fe..416f7538d 100644 --- a/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyReadonlyInstanceDelayReplicationTimeResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyReadonlyInstanceDelayReplicationTimeResult : public ServiceResult - { - public: - - - ModifyReadonlyInstanceDelayReplicationTimeResult(); - explicit ModifyReadonlyInstanceDelayReplicationTimeResult(const std::string &payload); - ~ModifyReadonlyInstanceDelayReplicationTimeResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyReadonlyInstanceDelayReplicationTimeResult : public ServiceResult + { + public: + + + ModifyReadonlyInstanceDelayReplicationTimeResult(); + explicit ModifyReadonlyInstanceDelayReplicationTimeResult(const std::string &payload); + ~ModifyReadonlyInstanceDelayReplicationTimeResult(); std::string getTaskId()const; std::string getDBInstanceId()const; std::string getReadSQLReplicationTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string dBInstanceId_; std::string readSQLReplicationTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREADONLYINSTANCEDELAYREPLICATIONTIMERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionRequest.h b/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionRequest.h index 606a5cf6d..660beba10 100644 --- a/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyReplicaDescriptionRequest : public RpcServiceRequest - { - - public: - ModifyReplicaDescriptionRequest(); - ~ModifyReplicaDescriptionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYREPLICADESCRIPTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyReplicaDescriptionRequest : public RpcServiceRequest + { + + public: + ModifyReplicaDescriptionRequest(); + ~ModifyReplicaDescriptionRequest(); + std::string getReplicaDescription()const; void setReplicaDescription(const std::string& replicaDescription); long getResourceOwnerId()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string replicaDescription_; long resourceOwnerId_; std::string securityToken_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string replicaId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionResult.h b/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionResult.h index d7b5c58c0..cc505df07 100644 --- a/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyReplicaDescriptionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyReplicaDescriptionResult : public ServiceResult - { - public: - - - ModifyReplicaDescriptionResult(); - explicit ModifyReplicaDescriptionResult(const std::string &payload); - ~ModifyReplicaDescriptionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYREPLICADESCRIPTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyReplicaDescriptionResult : public ServiceResult + { + public: + + + ModifyReplicaDescriptionResult(); + explicit ModifyReplicaDescriptionResult(const std::string &payload); + ~ModifyReplicaDescriptionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREPLICADESCRIPTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyResourceGroupRequest.h b/rds/include/alibabacloud/rds/model/ModifyResourceGroupRequest.h index b8f743b7d..f00882468 100644 --- a/rds/include/alibabacloud/rds/model/ModifyResourceGroupRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifyResourceGroupRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyResourceGroupRequest : public RpcServiceRequest - { - - public: - ModifyResourceGroupRequest(); - ~ModifyResourceGroupRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYRESOURCEGROUPREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyResourceGroupRequest : public RpcServiceRequest + { + + public: + ModifyResourceGroupRequest(); + ~ModifyResourceGroupRequest(); + std::string getResourceGroupId()const; void setResourceGroupId(const std::string& resourceGroupId); long getResourceOwnerId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string resourceGroupId_; long resourceOwnerId_; std::string resourceOwnerAccount_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifyResourceGroupResult.h b/rds/include/alibabacloud/rds/model/ModifyResourceGroupResult.h index b8e319e42..588c74090 100644 --- a/rds/include/alibabacloud/rds/model/ModifyResourceGroupResult.h +++ b/rds/include/alibabacloud/rds/model/ModifyResourceGroupResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifyResourceGroupResult : public ServiceResult - { - public: - - - ModifyResourceGroupResult(); - explicit ModifyResourceGroupResult(const std::string &payload); - ~ModifyResourceGroupResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYRESOURCEGROUPRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifyResourceGroupResult : public ServiceResult + { + public: + + + ModifyResourceGroupResult(); + explicit ModifyResourceGroupResult(const std::string &payload); + ~ModifyResourceGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYRESOURCEGROUPRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyRequest.h b/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyRequest.h index c0e7d7ced..f0b67421a 100644 --- a/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifySQLCollectorPolicyRequest : public RpcServiceRequest - { - - public: - ModifySQLCollectorPolicyRequest(); - ~ModifySQLCollectorPolicyRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYSQLCOLLECTORPOLICYREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySQLCollectorPolicyRequest : public RpcServiceRequest + { + + public: + ModifySQLCollectorPolicyRequest(); + ~ModifySQLCollectorPolicyRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); int getStoragePeriod()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; int storagePeriod_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyResult.h b/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyResult.h index f56409adb..036c37e80 100644 --- a/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyResult.h +++ b/rds/include/alibabacloud/rds/model/ModifySQLCollectorPolicyResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifySQLCollectorPolicyResult : public ServiceResult - { - public: - - - ModifySQLCollectorPolicyResult(); - explicit ModifySQLCollectorPolicyResult(const std::string &payload); - ~ModifySQLCollectorPolicyResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYSQLCOLLECTORPOLICYRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySQLCollectorPolicyResult : public ServiceResult + { + public: + + + ModifySQLCollectorPolicyResult(); + explicit ModifySQLCollectorPolicyResult(const std::string &payload); + ~ModifySQLCollectorPolicyResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSQLCOLLECTORPOLICYRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationRequest.h b/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationRequest.h index cd3b44d45..a128dd28f 100644 --- a/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifySecurityGroupConfigurationRequest : public RpcServiceRequest - { - - public: - ModifySecurityGroupConfigurationRequest(); - ~ModifySecurityGroupConfigurationRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySecurityGroupConfigurationRequest : public RpcServiceRequest + { + + public: + ModifySecurityGroupConfigurationRequest(); + ~ModifySecurityGroupConfigurationRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string securityGroupId_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationResult.h b/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationResult.h index 03ca0bcb1..f553c9c19 100644 --- a/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationResult.h +++ b/rds/include/alibabacloud/rds/model/ModifySecurityGroupConfigurationResult.h @@ -1,59 +1,59 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifySecurityGroupConfigurationResult : public ServiceResult - { - public: +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySecurityGroupConfigurationResult : public ServiceResult + { + public: struct EcsSecurityGroupRelation { std::string networkType; std::string securityGroupId; std::string regionId; }; - - - ModifySecurityGroupConfigurationResult(); - explicit ModifySecurityGroupConfigurationResult(const std::string &payload); - ~ModifySecurityGroupConfigurationResult(); + + + ModifySecurityGroupConfigurationResult(); + explicit ModifySecurityGroupConfigurationResult(const std::string &payload); + ~ModifySecurityGroupConfigurationResult(); std::vector getItems()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector items_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYGROUPCONFIGURATIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySecurityIpsRequest.h b/rds/include/alibabacloud/rds/model/ModifySecurityIpsRequest.h index 39c34b10c..679f37c78 100644 --- a/rds/include/alibabacloud/rds/model/ModifySecurityIpsRequest.h +++ b/rds/include/alibabacloud/rds/model/ModifySecurityIpsRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifySecurityIpsRequest : public RpcServiceRequest - { - - public: - ModifySecurityIpsRequest(); - ~ModifySecurityIpsRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYSECURITYIPSREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySecurityIpsRequest : public RpcServiceRequest + { + + public: + ModifySecurityIpsRequest(); + ~ModifySecurityIpsRequest(); + std::string getDBInstanceIPArrayName()const; void setDBInstanceIPArrayName(const std::string& dBInstanceIPArrayName); long getResourceOwnerId()const; @@ -63,8 +63,8 @@ namespace AlibabaCloud void setSecurityIPType(const std::string& securityIPType); std::string getDBInstanceId()const; void setDBInstanceId(const std::string& dBInstanceId); - - private: + + private: std::string dBInstanceIPArrayName_; long resourceOwnerId_; std::string modifyMode_; @@ -79,9 +79,9 @@ namespace AlibabaCloud std::string dBInstanceIPArrayAttribute_; std::string securityIPType_; std::string dBInstanceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ModifySecurityIpsResult.h b/rds/include/alibabacloud/rds/model/ModifySecurityIpsResult.h index 84663f20d..1ad6a2e0a 100644 --- a/rds/include/alibabacloud/rds/model/ModifySecurityIpsResult.h +++ b/rds/include/alibabacloud/rds/model/ModifySecurityIpsResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ModifySecurityIpsResult : public ServiceResult - { - public: - - - ModifySecurityIpsResult(); - explicit ModifySecurityIpsResult(const std::string &payload); - ~ModifySecurityIpsResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_MODIFYSECURITYIPSRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ModifySecurityIpsResult : public ServiceResult + { + public: + + + ModifySecurityIpsResult(); + explicit ModifySecurityIpsResult(const std::string &payload); + ~ModifySecurityIpsResult(); std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_MODIFYSECURITYIPSRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogRequest.h b/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogRequest.h index 3b11b82c1..29be473ff 100644 --- a/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogRequest.h +++ b/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT PurgeDBInstanceLogRequest : public RpcServiceRequest - { - - public: - PurgeDBInstanceLogRequest(); - ~PurgeDBInstanceLogRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_PURGEDBINSTANCELOGREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT PurgeDBInstanceLogRequest : public RpcServiceRequest + { + + public: + PurgeDBInstanceLogRequest(); + ~PurgeDBInstanceLogRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogResult.h b/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogResult.h index 1e7270263..e79ecda26 100644 --- a/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogResult.h +++ b/rds/include/alibabacloud/rds/model/PurgeDBInstanceLogResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT PurgeDBInstanceLogResult : public ServiceResult - { - public: - - - PurgeDBInstanceLogResult(); - explicit PurgeDBInstanceLogResult(const std::string &payload); - ~PurgeDBInstanceLogResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_PURGEDBINSTANCELOGRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT PurgeDBInstanceLogResult : public ServiceResult + { + public: + + + PurgeDBInstanceLogResult(); + explicit PurgeDBInstanceLogResult(const std::string &payload); + ~PurgeDBInstanceLogResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_PURGEDBINSTANCELOGRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RecoveryDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/RecoveryDBInstanceRequest.h index 2413843be..b0c975ad0 100644 --- a/rds/include/alibabacloud/rds/model/RecoveryDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/RecoveryDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RecoveryDBInstanceRequest : public RpcServiceRequest - { - - public: - RecoveryDBInstanceRequest(); - ~RecoveryDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RECOVERYDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RecoveryDBInstanceRequest : public RpcServiceRequest + { + + public: + RecoveryDBInstanceRequest(); + ~RecoveryDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -79,8 +79,8 @@ namespace AlibabaCloud void setPayType(const std::string& payType); std::string getInstanceNetworkType()const; void setInstanceNetworkType(const std::string& instanceNetworkType); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string period_; @@ -103,9 +103,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string payType_; std::string instanceNetworkType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RecoveryDBInstanceResult.h b/rds/include/alibabacloud/rds/model/RecoveryDBInstanceResult.h index 4050fb822..315f56976 100644 --- a/rds/include/alibabacloud/rds/model/RecoveryDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/RecoveryDBInstanceResult.h @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RecoveryDBInstanceResult : public ServiceResult - { - public: - - - RecoveryDBInstanceResult(); - explicit RecoveryDBInstanceResult(const std::string &payload); - ~RecoveryDBInstanceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RECOVERYDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RecoveryDBInstanceResult : public ServiceResult + { + public: + + + RecoveryDBInstanceResult(); + explicit RecoveryDBInstanceResult(const std::string &payload); + ~RecoveryDBInstanceResult(); std::string getDBInstanceId()const; std::string getOrderId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string dBInstanceId_; std::string orderId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RECOVERYDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionRequest.h b/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionRequest.h index dd6293a48..58f4c543d 100644 --- a/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionRequest.h +++ b/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ReleaseInstancePublicConnectionRequest : public RpcServiceRequest - { - - public: - ReleaseInstancePublicConnectionRequest(); - ~ReleaseInstancePublicConnectionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ReleaseInstancePublicConnectionRequest : public RpcServiceRequest + { + + public: + ReleaseInstancePublicConnectionRequest(); + ~ReleaseInstancePublicConnectionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setCurrentConnectionString(const std::string& currentConnectionString); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; @@ -58,9 +58,9 @@ namespace AlibabaCloud long ownerId_; std::string currentConnectionString_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionResult.h b/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionResult.h index ddef54e46..5cb0f2a86 100644 --- a/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionResult.h +++ b/rds/include/alibabacloud/rds/model/ReleaseInstancePublicConnectionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ReleaseInstancePublicConnectionResult : public ServiceResult - { - public: - - - ReleaseInstancePublicConnectionResult(); - explicit ReleaseInstancePublicConnectionResult(const std::string &payload); - ~ReleaseInstancePublicConnectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ReleaseInstancePublicConnectionResult : public ServiceResult + { + public: + + + ReleaseInstancePublicConnectionResult(); + explicit ReleaseInstancePublicConnectionResult(const std::string &payload); + ~ReleaseInstancePublicConnectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RELEASEINSTANCEPUBLICCONNECTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionRequest.h b/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionRequest.h index 2d219dd27..13a1a144c 100644 --- a/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionRequest.h +++ b/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ReleaseReadWriteSplittingConnectionRequest : public RpcServiceRequest - { - - public: - ReleaseReadWriteSplittingConnectionRequest(); - ~ReleaseReadWriteSplittingConnectionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RELEASEREADWRITESPLITTINGCONNECTIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ReleaseReadWriteSplittingConnectionRequest : public RpcServiceRequest + { + + public: + ReleaseReadWriteSplittingConnectionRequest(); + ~ReleaseReadWriteSplittingConnectionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionResult.h b/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionResult.h index ca1978cfc..ed7fc17ca 100644 --- a/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionResult.h +++ b/rds/include/alibabacloud/rds/model/ReleaseReadWriteSplittingConnectionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ReleaseReadWriteSplittingConnectionResult : public ServiceResult - { - public: - - - ReleaseReadWriteSplittingConnectionResult(); - explicit ReleaseReadWriteSplittingConnectionResult(const std::string &payload); - ~ReleaseReadWriteSplittingConnectionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RELEASEREADWRITESPLITTINGCONNECTIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ReleaseReadWriteSplittingConnectionResult : public ServiceResult + { + public: + + + ReleaseReadWriteSplittingConnectionResult(); + explicit ReleaseReadWriteSplittingConnectionResult(const std::string &payload); + ~ReleaseReadWriteSplittingConnectionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RELEASEREADWRITESPLITTINGCONNECTIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceRequest.h b/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceRequest.h index 1c097a1ab..b8273dfc2 100644 --- a/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceRequest.h +++ b/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RemoveTagsFromResourceRequest : public RpcServiceRequest - { - - public: - RemoveTagsFromResourceRequest(); - ~RemoveTagsFromResourceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REMOVETAGSFROMRESOURCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RemoveTagsFromResourceRequest : public RpcServiceRequest + { + + public: + RemoveTagsFromResourceRequest(); + ~RemoveTagsFromResourceRequest(); + std::string getTag4value()const; void setTag4value(const std::string& tag4value); long getResourceOwnerId()const; @@ -75,8 +75,8 @@ namespace AlibabaCloud void setTag3value(const std::string& tag3value); std::string getProxyId()const; void setProxyId(const std::string& proxyId); - - private: + + private: std::string tag4value_; long resourceOwnerId_; std::string tag2key_; @@ -97,9 +97,9 @@ namespace AlibabaCloud std::string dBInstanceId_; std::string tag3value_; std::string proxyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceResult.h b/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceResult.h index 3a8eb4b8f..f6d37435c 100644 --- a/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceResult.h +++ b/rds/include/alibabacloud/rds/model/RemoveTagsFromResourceResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RemoveTagsFromResourceResult : public ServiceResult - { - public: - - - RemoveTagsFromResourceResult(); - explicit RemoveTagsFromResourceResult(const std::string &payload); - ~RemoveTagsFromResourceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REMOVETAGSFROMRESOURCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RemoveTagsFromResourceResult : public ServiceResult + { + public: + + + RemoveTagsFromResourceResult(); + explicit RemoveTagsFromResourceResult(const std::string &payload); + ~RemoveTagsFromResourceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REMOVETAGSFROMRESOURCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RenewInstanceRequest.h b/rds/include/alibabacloud/rds/model/RenewInstanceRequest.h index 7d6fb16d1..83589f873 100644 --- a/rds/include/alibabacloud/rds/model/RenewInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/RenewInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RENEWINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RENEWINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RenewInstanceRequest : public RpcServiceRequest - { - - public: - RenewInstanceRequest(); - ~RenewInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RENEWINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RENEWINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RenewInstanceRequest : public RpcServiceRequest + { + + public: + RenewInstanceRequest(); + ~RenewInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getPeriod()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setBusinessInfo(const std::string& businessInfo); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string period_; std::string autoPay_; @@ -64,9 +64,9 @@ namespace AlibabaCloud long ownerId_; std::string businessInfo_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RENEWINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RenewInstanceResult.h b/rds/include/alibabacloud/rds/model/RenewInstanceResult.h index e8b164bde..b7e85b1d0 100644 --- a/rds/include/alibabacloud/rds/model/RenewInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/RenewInstanceResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RENEWINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RENEWINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RenewInstanceResult : public ServiceResult - { - public: - - - RenewInstanceResult(); - explicit RenewInstanceResult(const std::string &payload); - ~RenewInstanceResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RENEWINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RENEWINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RenewInstanceResult : public ServiceResult + { + public: + + + RenewInstanceResult(); + explicit RenewInstanceResult(const std::string &payload); + ~RenewInstanceResult(); long getOrderId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: long orderId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RENEWINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertRequest.h b/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertRequest.h index b613c1aeb..256f3a53a 100644 --- a/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertRequest.h +++ b/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RequestServiceOfCloudDBExpertRequest : public RpcServiceRequest - { - - public: - RequestServiceOfCloudDBExpertRequest(); - ~RequestServiceOfCloudDBExpertRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RequestServiceOfCloudDBExpertRequest : public RpcServiceRequest + { + + public: + RequestServiceOfCloudDBExpertRequest(); + ~RequestServiceOfCloudDBExpertRequest(); + std::string getServiceRequestParam()const; void setServiceRequestParam(const std::string& serviceRequestParam); std::string getDBInstanceId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setServiceRequestType(const std::string& serviceRequestType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string serviceRequestParam_; std::string dBInstanceId_; std::string serviceRequestType_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertResult.h b/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertResult.h index e1e878517..1dfd2fce6 100644 --- a/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertResult.h +++ b/rds/include/alibabacloud/rds/model/RequestServiceOfCloudDBExpertResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RequestServiceOfCloudDBExpertResult : public ServiceResult - { - public: - - - RequestServiceOfCloudDBExpertResult(); - explicit RequestServiceOfCloudDBExpertResult(const std::string &payload); - ~RequestServiceOfCloudDBExpertResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REQUESTSERVICEOFCLOUDDBEXPERTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RequestServiceOfCloudDBExpertResult : public ServiceResult + { + public: + + + RequestServiceOfCloudDBExpertResult(); + explicit RequestServiceOfCloudDBExpertResult(const std::string &payload); + ~RequestServiceOfCloudDBExpertResult(); std::string getMessage()const; std::string getData()const; std::string getCode()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string message_; std::string data_; std::string code_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REQUESTSERVICEOFCLOUDDBEXPERTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ResetAccountForPGRequest.h b/rds/include/alibabacloud/rds/model/ResetAccountForPGRequest.h index b8e6f013a..d1dbaec37 100644 --- a/rds/include/alibabacloud/rds/model/ResetAccountForPGRequest.h +++ b/rds/include/alibabacloud/rds/model/ResetAccountForPGRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ResetAccountForPGRequest : public RpcServiceRequest - { - - public: - ResetAccountForPGRequest(); - ~ResetAccountForPGRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESETACCOUNTFORPGREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ResetAccountForPGRequest : public RpcServiceRequest + { + + public: + ResetAccountForPGRequest(); + ~ResetAccountForPGRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountPassword()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountPassword_; std::string accountName_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ResetAccountForPGResult.h b/rds/include/alibabacloud/rds/model/ResetAccountForPGResult.h index b2327867c..518ff0c96 100644 --- a/rds/include/alibabacloud/rds/model/ResetAccountForPGResult.h +++ b/rds/include/alibabacloud/rds/model/ResetAccountForPGResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ResetAccountForPGResult : public ServiceResult - { - public: - - - ResetAccountForPGResult(); - explicit ResetAccountForPGResult(const std::string &payload); - ~ResetAccountForPGResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESETACCOUNTFORPGRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ResetAccountForPGResult : public ServiceResult + { + public: + + + ResetAccountForPGResult(); + explicit ResetAccountForPGResult(const std::string &payload); + ~ResetAccountForPGResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESETACCOUNTFORPGRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ResetAccountPasswordRequest.h b/rds/include/alibabacloud/rds/model/ResetAccountPasswordRequest.h index a6ff2a26e..565d6f42e 100644 --- a/rds/include/alibabacloud/rds/model/ResetAccountPasswordRequest.h +++ b/rds/include/alibabacloud/rds/model/ResetAccountPasswordRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ResetAccountPasswordRequest : public RpcServiceRequest - { - - public: - ResetAccountPasswordRequest(); - ~ResetAccountPasswordRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESETACCOUNTPASSWORDREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ResetAccountPasswordRequest : public RpcServiceRequest + { + + public: + ResetAccountPasswordRequest(); + ~ResetAccountPasswordRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountPassword()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountPassword_; std::string accountName_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ResetAccountPasswordResult.h b/rds/include/alibabacloud/rds/model/ResetAccountPasswordResult.h index 380c523a3..7230f41a7 100644 --- a/rds/include/alibabacloud/rds/model/ResetAccountPasswordResult.h +++ b/rds/include/alibabacloud/rds/model/ResetAccountPasswordResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ResetAccountPasswordResult : public ServiceResult - { - public: - - - ResetAccountPasswordResult(); - explicit ResetAccountPasswordResult(const std::string &payload); - ~ResetAccountPasswordResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESETACCOUNTPASSWORDRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ResetAccountPasswordResult : public ServiceResult + { + public: + + + ResetAccountPasswordResult(); + explicit ResetAccountPasswordResult(const std::string &payload); + ~ResetAccountPasswordResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESETACCOUNTPASSWORDRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ResetAccountRequest.h b/rds/include/alibabacloud/rds/model/ResetAccountRequest.h index 882ee23e0..9f64effda 100644 --- a/rds/include/alibabacloud/rds/model/ResetAccountRequest.h +++ b/rds/include/alibabacloud/rds/model/ResetAccountRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESETACCOUNTREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ResetAccountRequest : public RpcServiceRequest - { - - public: - ResetAccountRequest(); - ~ResetAccountRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESETACCOUNTREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ResetAccountRequest : public RpcServiceRequest + { + + public: + ResetAccountRequest(); + ~ResetAccountRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountPassword()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountPassword_; std::string accountName_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESETACCOUNTREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/ResetAccountResult.h b/rds/include/alibabacloud/rds/model/ResetAccountResult.h index 077e5e05e..4e2e97bdb 100644 --- a/rds/include/alibabacloud/rds/model/ResetAccountResult.h +++ b/rds/include/alibabacloud/rds/model/ResetAccountResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESETACCOUNTRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT ResetAccountResult : public ServiceResult - { - public: - - - ResetAccountResult(); - explicit ResetAccountResult(const std::string &payload); - ~ResetAccountResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESETACCOUNTRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RESETACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT ResetAccountResult : public ServiceResult + { + public: + + + ResetAccountResult(); + explicit ResetAccountResult(const std::string &payload); + ~ResetAccountResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESETACCOUNTRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RestartDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/RestartDBInstanceRequest.h index d6bc9360f..41f74e1a1 100644 --- a/rds/include/alibabacloud/rds/model/RestartDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/RestartDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RestartDBInstanceRequest : public RpcServiceRequest - { - - public: - RestartDBInstanceRequest(); - ~RestartDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESTARTDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RestartDBInstanceRequest : public RpcServiceRequest + { + + public: + RestartDBInstanceRequest(); + ~RestartDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RestartDBInstanceResult.h b/rds/include/alibabacloud/rds/model/RestartDBInstanceResult.h index 3654277fb..c3e96e4d3 100644 --- a/rds/include/alibabacloud/rds/model/RestartDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/RestartDBInstanceResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RestartDBInstanceResult : public ServiceResult - { - public: - - - RestartDBInstanceResult(); - explicit RestartDBInstanceResult(const std::string &payload); - ~RestartDBInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESTARTDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RestartDBInstanceResult : public ServiceResult + { + public: + + + RestartDBInstanceResult(); + explicit RestartDBInstanceResult(const std::string &payload); + ~RestartDBInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESTARTDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RestoreDBInstanceRequest.h b/rds/include/alibabacloud/rds/model/RestoreDBInstanceRequest.h index cf43d1656..238f85bb8 100644 --- a/rds/include/alibabacloud/rds/model/RestoreDBInstanceRequest.h +++ b/rds/include/alibabacloud/rds/model/RestoreDBInstanceRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RestoreDBInstanceRequest : public RpcServiceRequest - { - - public: - RestoreDBInstanceRequest(); - ~RestoreDBInstanceRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESTOREDBINSTANCEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RestoreDBInstanceRequest : public RpcServiceRequest + { + + public: + RestoreDBInstanceRequest(); + ~RestoreDBInstanceRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string resourceOwnerAccount_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RestoreDBInstanceResult.h b/rds/include/alibabacloud/rds/model/RestoreDBInstanceResult.h index b40f87329..1b4390cef 100644 --- a/rds/include/alibabacloud/rds/model/RestoreDBInstanceResult.h +++ b/rds/include/alibabacloud/rds/model/RestoreDBInstanceResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RestoreDBInstanceResult : public ServiceResult - { - public: - - - RestoreDBInstanceResult(); - explicit RestoreDBInstanceResult(const std::string &payload); - ~RestoreDBInstanceResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESTOREDBINSTANCERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RestoreDBInstanceResult : public ServiceResult + { + public: + + + RestoreDBInstanceResult(); + explicit RestoreDBInstanceResult(const std::string &payload); + ~RestoreDBInstanceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESTOREDBINSTANCERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RestoreTableRequest.h b/rds/include/alibabacloud/rds/model/RestoreTableRequest.h index a071ac6ad..7c8d9529c 100644 --- a/rds/include/alibabacloud/rds/model/RestoreTableRequest.h +++ b/rds/include/alibabacloud/rds/model/RestoreTableRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESTORETABLEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_RESTORETABLEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RestoreTableRequest : public RpcServiceRequest - { - - public: - RestoreTableRequest(); - ~RestoreTableRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESTORETABLEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_RESTORETABLEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RestoreTableRequest : public RpcServiceRequest + { + + public: + RestoreTableRequest(); + ~RestoreTableRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getRestoreTime()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string restoreTime_; std::string resourceOwnerAccount_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESTORETABLEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RestoreTableResult.h b/rds/include/alibabacloud/rds/model/RestoreTableResult.h index bdf7fb1bb..9f34dd849 100644 --- a/rds/include/alibabacloud/rds/model/RestoreTableResult.h +++ b/rds/include/alibabacloud/rds/model/RestoreTableResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_RESTORETABLERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_RESTORETABLERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RestoreTableResult : public ServiceResult - { - public: - - - RestoreTableResult(); - explicit RestoreTableResult(const std::string &payload); - ~RestoreTableResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_RESTORETABLERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_RESTORETABLERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RestoreTableResult : public ServiceResult + { + public: + + + RestoreTableResult(); + explicit RestoreTableResult(const std::string &payload); + ~RestoreTableResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_RESTORETABLERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeRequest.h b/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeRequest.h index 8cdc8f973..cc601f1ce 100644 --- a/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeRequest.h +++ b/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RevokeAccountPrivilegeRequest : public RpcServiceRequest - { - - public: - RevokeAccountPrivilegeRequest(); - ~RevokeAccountPrivilegeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REVOKEACCOUNTPRIVILEGEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RevokeAccountPrivilegeRequest : public RpcServiceRequest + { + + public: + RevokeAccountPrivilegeRequest(); + ~RevokeAccountPrivilegeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getAccountName()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string accountName_; std::string dBName_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeResult.h b/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeResult.h index 85a2da773..fd29351ab 100644 --- a/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeResult.h +++ b/rds/include/alibabacloud/rds/model/RevokeAccountPrivilegeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RevokeAccountPrivilegeResult : public ServiceResult - { - public: - - - RevokeAccountPrivilegeResult(); - explicit RevokeAccountPrivilegeResult(const std::string &payload); - ~RevokeAccountPrivilegeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REVOKEACCOUNTPRIVILEGERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RevokeAccountPrivilegeResult : public ServiceResult + { + public: + + + RevokeAccountPrivilegeResult(); + explicit RevokeAccountPrivilegeResult(const std::string &payload); + ~RevokeAccountPrivilegeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REVOKEACCOUNTPRIVILEGERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h b/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h index 68864a84b..c1a894741 100644 --- a/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h +++ b/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RevokeOperatorPermissionRequest : public RpcServiceRequest - { - - public: - RevokeOperatorPermissionRequest(); - ~RevokeOperatorPermissionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REVOKEOPERATORPERMISSIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RevokeOperatorPermissionRequest : public RpcServiceRequest + { + + public: + RevokeOperatorPermissionRequest(); + ~RevokeOperatorPermissionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string ownerAccount_; std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h b/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h index cfecaa182..e54967612 100644 --- a/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h +++ b/rds/include/alibabacloud/rds/model/RevokeOperatorPermissionResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT RevokeOperatorPermissionResult : public ServiceResult - { - public: - - - RevokeOperatorPermissionResult(); - explicit RevokeOperatorPermissionResult(const std::string &payload); - ~RevokeOperatorPermissionResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REVOKEOPERATORPERMISSIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT RevokeOperatorPermissionResult : public ServiceResult + { + public: + + + RevokeOperatorPermissionResult(); + explicit RevokeOperatorPermissionResult(const std::string &payload); + ~RevokeOperatorPermissionResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_REVOKEOPERATORPERMISSIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SwitchDBInstanceHARequest.h b/rds/include/alibabacloud/rds/model/SwitchDBInstanceHARequest.h index 6f91646e0..1619d2e71 100644 --- a/rds/include/alibabacloud/rds/model/SwitchDBInstanceHARequest.h +++ b/rds/include/alibabacloud/rds/model/SwitchDBInstanceHARequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHAREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceHARequest : public RpcServiceRequest - { - - public: - SwitchDBInstanceHARequest(); - ~SwitchDBInstanceHARequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SWITCHDBINSTANCEHAREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceHARequest : public RpcServiceRequest + { + + public: + SwitchDBInstanceHARequest(); + ~SwitchDBInstanceHARequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOperation(const std::string& operation); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string effectiveTime_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string nodeId_; std::string operation_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHAREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SwitchDBInstanceHAResult.h b/rds/include/alibabacloud/rds/model/SwitchDBInstanceHAResult.h index e09944fe1..726bc20a1 100644 --- a/rds/include/alibabacloud/rds/model/SwitchDBInstanceHAResult.h +++ b/rds/include/alibabacloud/rds/model/SwitchDBInstanceHAResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHARESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceHAResult : public ServiceResult - { - public: - - - SwitchDBInstanceHAResult(); - explicit SwitchDBInstanceHAResult(const std::string &payload); - ~SwitchDBInstanceHAResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SWITCHDBINSTANCEHARESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceHAResult : public ServiceResult + { + public: + + + SwitchDBInstanceHAResult(); + explicit SwitchDBInstanceHAResult(const std::string &payload); + ~SwitchDBInstanceHAResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEHARESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeRequest.h b/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeRequest.h index 385881f45..67a364c31 100644 --- a/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeRequest.h +++ b/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceNetTypeRequest : public RpcServiceRequest - { - - public: - SwitchDBInstanceNetTypeRequest(); - ~SwitchDBInstanceNetTypeRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SWITCHDBINSTANCENETTYPEREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceNetTypeRequest : public RpcServiceRequest + { + + public: + SwitchDBInstanceNetTypeRequest(); + ~SwitchDBInstanceNetTypeRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getConnectionStringPrefix()const; @@ -55,8 +55,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string connectionStringPrefix_; std::string connectionStringType_; @@ -67,9 +67,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeResult.h b/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeResult.h index 1a4d28d1d..89184efc2 100644 --- a/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeResult.h +++ b/rds/include/alibabacloud/rds/model/SwitchDBInstanceNetTypeResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPERESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceNetTypeResult : public ServiceResult - { - public: - - - SwitchDBInstanceNetTypeResult(); - explicit SwitchDBInstanceNetTypeResult(const std::string &payload); - ~SwitchDBInstanceNetTypeResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SWITCHDBINSTANCENETTYPERESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceNetTypeResult : public ServiceResult + { + public: + + + SwitchDBInstanceNetTypeResult(); + explicit SwitchDBInstanceNetTypeResult(const std::string &payload); + ~SwitchDBInstanceNetTypeResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCENETTYPERESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcRequest.h b/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcRequest.h index 8ee6b1305..f2f54f1c9 100644 --- a/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcRequest.h +++ b/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceVpcRequest : public RpcServiceRequest - { - - public: - SwitchDBInstanceVpcRequest(); - ~SwitchDBInstanceVpcRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SWITCHDBINSTANCEVPCREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceVpcRequest : public RpcServiceRequest + { + + public: + SwitchDBInstanceVpcRequest(); + ~SwitchDBInstanceVpcRequest(); + std::string getVSwitchId()const; void setVSwitchId(const std::string& vSwitchId); std::string getPrivateIpAddress()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string vSwitchId_; std::string privateIpAddress_; long resourceOwnerId_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string dBInstanceId_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcResult.h b/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcResult.h index 4dbd07721..a15156630 100644 --- a/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcResult.h +++ b/rds/include/alibabacloud/rds/model/SwitchDBInstanceVpcResult.h @@ -1,49 +1,49 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceVpcResult : public ServiceResult - { - public: - - - SwitchDBInstanceVpcResult(); - explicit SwitchDBInstanceVpcResult(const std::string &payload); - ~SwitchDBInstanceVpcResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_SWITCHDBINSTANCEVPCRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT SwitchDBInstanceVpcResult : public ServiceResult + { + public: + + + SwitchDBInstanceVpcResult(); + explicit SwitchDBInstanceVpcResult(const std::string &payload); + ~SwitchDBInstanceVpcResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_SWITCHDBINSTANCEVPCRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionRequest.h b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionRequest.h index b2ec46eac..8d5815ea5 100644 --- a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionRequest.h +++ b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceEngineVersionRequest : public RpcServiceRequest - { - - public: - UpgradeDBInstanceEngineVersionRequest(); - ~UpgradeDBInstanceEngineVersionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UPGRADEDBINSTANCEENGINEVERSIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceEngineVersionRequest : public RpcServiceRequest + { + + public: + UpgradeDBInstanceEngineVersionRequest(); + ~UpgradeDBInstanceEngineVersionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string clientToken_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string engineVersion_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionResult.h b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionResult.h index 83fa0d881..7d2b574e8 100644 --- a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionResult.h +++ b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceEngineVersionResult.h @@ -1,51 +1,51 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceEngineVersionResult : public ServiceResult - { - public: - - - UpgradeDBInstanceEngineVersionResult(); - explicit UpgradeDBInstanceEngineVersionResult(const std::string &payload); - ~UpgradeDBInstanceEngineVersionResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UPGRADEDBINSTANCEENGINEVERSIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceEngineVersionResult : public ServiceResult + { + public: + + + UpgradeDBInstanceEngineVersionResult(); + explicit UpgradeDBInstanceEngineVersionResult(const std::string &payload); + ~UpgradeDBInstanceEngineVersionResult(); std::string getTaskId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEENGINEVERSIONRESULT_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionRequest.h b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionRequest.h index 2e38e8feb..13b3aaae9 100644 --- a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionRequest.h +++ b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionRequest.h @@ -1,40 +1,40 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_ -#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceKernelVersionRequest : public RpcServiceRequest - { - - public: - UpgradeDBInstanceKernelVersionRequest(); - ~UpgradeDBInstanceKernelVersionRequest(); - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_ +#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceKernelVersionRequest : public RpcServiceRequest + { + + public: + UpgradeDBInstanceKernelVersionRequest(); + ~UpgradeDBInstanceKernelVersionRequest(); + long getResourceOwnerId()const; void setResourceOwnerId(long resourceOwnerId); std::string getResourceOwnerAccount()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setOwnerId(long ownerId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: long resourceOwnerId_; std::string resourceOwnerAccount_; std::string upgradeTime_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string switchTime_; long ownerId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONREQUEST_H_ \ No newline at end of file diff --git a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionResult.h b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionResult.h index fffa12459..a2c01d64e 100644 --- a/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionResult.h +++ b/rds/include/alibabacloud/rds/model/UpgradeDBInstanceKernelVersionResult.h @@ -1,55 +1,55 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_ -#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Rds - { - namespace Model - { - class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceKernelVersionResult : public ServiceResult - { - public: - - - UpgradeDBInstanceKernelVersionResult(); - explicit UpgradeDBInstanceKernelVersionResult(const std::string &payload); - ~UpgradeDBInstanceKernelVersionResult(); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_ +#define ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Rds + { + namespace Model + { + class ALIBABACLOUD_RDS_EXPORT UpgradeDBInstanceKernelVersionResult : public ServiceResult + { + public: + + + UpgradeDBInstanceKernelVersionResult(); + explicit UpgradeDBInstanceKernelVersionResult(const std::string &payload); + ~UpgradeDBInstanceKernelVersionResult(); std::string getTaskId()const; std::string getTargetMinorVersion()const; std::string getDBInstanceName()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string targetMinorVersion_; std::string dBInstanceName_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_RDS_MODEL_UPGRADEDBINSTANCEKERNELVERSIONRESULT_H_ \ No newline at end of file diff --git a/rds/src/RdsClient.cc b/rds/src/RdsClient.cc index 20fed1d3e..c73d90737 100644 --- a/rds/src/RdsClient.cc +++ b/rds/src/RdsClient.cc @@ -1,5093 +1,5129 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud; -using namespace AlibabaCloud::Location; -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -namespace -{ - const std::string SERVICE_NAME = "Rds"; -} - -RdsClient::RdsClient(const Credentials &credentials, const ClientConfiguration &configuration) : - RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) -{ - auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "rds"); -} - -RdsClient::RdsClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : - RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) -{ - auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "rds"); -} - -RdsClient::RdsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : - RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) -{ - auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "rds"); -} - -RdsClient::~RdsClient() -{} - -RdsClient::CreateMigrateTaskOutcome RdsClient::createMigrateTask(const CreateMigrateTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateMigrateTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateMigrateTaskOutcome(CreateMigrateTaskResult(outcome.result())); - else - return CreateMigrateTaskOutcome(outcome.error()); -} - -void RdsClient::createMigrateTaskAsync(const CreateMigrateTaskRequest& request, const CreateMigrateTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createMigrateTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateMigrateTaskOutcomeCallable RdsClient::createMigrateTaskCallable(const CreateMigrateTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createMigrateTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CheckRecoveryConditionsOutcome RdsClient::checkRecoveryConditions(const CheckRecoveryConditionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckRecoveryConditionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckRecoveryConditionsOutcome(CheckRecoveryConditionsResult(outcome.result())); - else - return CheckRecoveryConditionsOutcome(outcome.error()); -} - -void RdsClient::checkRecoveryConditionsAsync(const CheckRecoveryConditionsRequest& request, const CheckRecoveryConditionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkRecoveryConditions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CheckRecoveryConditionsOutcomeCallable RdsClient::checkRecoveryConditionsCallable(const CheckRecoveryConditionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkRecoveryConditions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DeleteBackupOutcome RdsClient::deleteBackup(const DeleteBackupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteBackupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteBackupOutcome(DeleteBackupResult(outcome.result())); - else - return DeleteBackupOutcome(outcome.error()); -} - -void RdsClient::deleteBackupAsync(const DeleteBackupRequest& request, const DeleteBackupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteBackup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DeleteBackupOutcomeCallable RdsClient::deleteBackupCallable(const DeleteBackupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteBackup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDatabasesOutcome RdsClient::describeDatabases(const DescribeDatabasesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDatabasesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDatabasesOutcome(DescribeDatabasesResult(outcome.result())); - else - return DescribeDatabasesOutcome(outcome.error()); -} - -void RdsClient::describeDatabasesAsync(const DescribeDatabasesRequest& request, const DescribeDatabasesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDatabases(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDatabasesOutcomeCallable RdsClient::describeDatabasesCallable(const DescribeDatabasesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDatabases(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstancesByExpireTimeOutcome RdsClient::describeDBInstancesByExpireTime(const DescribeDBInstancesByExpireTimeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstancesByExpireTimeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstancesByExpireTimeOutcome(DescribeDBInstancesByExpireTimeResult(outcome.result())); - else - return DescribeDBInstancesByExpireTimeOutcome(outcome.error()); -} - -void RdsClient::describeDBInstancesByExpireTimeAsync(const DescribeDBInstancesByExpireTimeRequest& request, const DescribeDBInstancesByExpireTimeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstancesByExpireTime(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstancesByExpireTimeOutcomeCallable RdsClient::describeDBInstancesByExpireTimeCallable(const DescribeDBInstancesByExpireTimeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstancesByExpireTime(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::SwitchDBInstanceNetTypeOutcome RdsClient::switchDBInstanceNetType(const SwitchDBInstanceNetTypeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SwitchDBInstanceNetTypeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SwitchDBInstanceNetTypeOutcome(SwitchDBInstanceNetTypeResult(outcome.result())); - else - return SwitchDBInstanceNetTypeOutcome(outcome.error()); -} - -void RdsClient::switchDBInstanceNetTypeAsync(const SwitchDBInstanceNetTypeRequest& request, const SwitchDBInstanceNetTypeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, switchDBInstanceNetType(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::SwitchDBInstanceNetTypeOutcomeCallable RdsClient::switchDBInstanceNetTypeCallable(const SwitchDBInstanceNetTypeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->switchDBInstanceNetType(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceMonitorOutcome RdsClient::describeDBInstanceMonitor(const DescribeDBInstanceMonitorRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceMonitorOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceMonitorOutcome(DescribeDBInstanceMonitorResult(outcome.result())); - else - return DescribeDBInstanceMonitorOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceMonitorAsync(const DescribeDBInstanceMonitorRequest& request, const DescribeDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceMonitor(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceMonitorOutcomeCallable RdsClient::describeDBInstanceMonitorCallable(const DescribeDBInstanceMonitorRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceMonitor(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceHAConfigOutcome RdsClient::describeDBInstanceHAConfig(const DescribeDBInstanceHAConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceHAConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceHAConfigOutcome(DescribeDBInstanceHAConfigResult(outcome.result())); - else - return DescribeDBInstanceHAConfigOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceHAConfigAsync(const DescribeDBInstanceHAConfigRequest& request, const DescribeDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceHAConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceHAConfigOutcomeCallable RdsClient::describeDBInstanceHAConfigCallable(const DescribeDBInstanceHAConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceHAConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateReadOnlyDBInstanceOutcome RdsClient::createReadOnlyDBInstance(const CreateReadOnlyDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateReadOnlyDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateReadOnlyDBInstanceOutcome(CreateReadOnlyDBInstanceResult(outcome.result())); - else - return CreateReadOnlyDBInstanceOutcome(outcome.error()); -} - -void RdsClient::createReadOnlyDBInstanceAsync(const CreateReadOnlyDBInstanceRequest& request, const CreateReadOnlyDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createReadOnlyDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateReadOnlyDBInstanceOutcomeCallable RdsClient::createReadOnlyDBInstanceCallable(const CreateReadOnlyDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createReadOnlyDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyAccountDescriptionOutcome RdsClient::modifyAccountDescription(const ModifyAccountDescriptionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyAccountDescriptionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyAccountDescriptionOutcome(ModifyAccountDescriptionResult(outcome.result())); - else - return ModifyAccountDescriptionOutcome(outcome.error()); -} - -void RdsClient::modifyAccountDescriptionAsync(const ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyAccountDescription(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyAccountDescriptionOutcomeCallable RdsClient::modifyAccountDescriptionCallable(const ModifyAccountDescriptionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyAccountDescription(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::MigrateToOtherRegionOutcome RdsClient::migrateToOtherRegion(const MigrateToOtherRegionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MigrateToOtherRegionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MigrateToOtherRegionOutcome(MigrateToOtherRegionResult(outcome.result())); - else - return MigrateToOtherRegionOutcome(outcome.error()); -} - -void RdsClient::migrateToOtherRegionAsync(const MigrateToOtherRegionRequest& request, const MigrateToOtherRegionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, migrateToOtherRegion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::MigrateToOtherRegionOutcomeCallable RdsClient::migrateToOtherRegionCallable(const MigrateToOtherRegionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->migrateToOtherRegion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeOssDownloadsOutcome RdsClient::describeOssDownloads(const DescribeOssDownloadsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeOssDownloadsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeOssDownloadsOutcome(DescribeOssDownloadsResult(outcome.result())); - else - return DescribeOssDownloadsOutcome(outcome.error()); -} - -void RdsClient::describeOssDownloadsAsync(const DescribeOssDownloadsRequest& request, const DescribeOssDownloadsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeOssDownloads(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeOssDownloadsOutcomeCallable RdsClient::describeOssDownloadsCallable(const DescribeOssDownloadsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeOssDownloads(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyParameterOutcome RdsClient::modifyParameter(const ModifyParameterRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyParameterOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyParameterOutcome(ModifyParameterResult(outcome.result())); - else - return ModifyParameterOutcome(outcome.error()); -} - -void RdsClient::modifyParameterAsync(const ModifyParameterRequest& request, const ModifyParameterAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyParameter(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyParameterOutcomeCallable RdsClient::modifyParameterCallable(const ModifyParameterRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyParameter(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::UpgradeDBInstanceEngineVersionOutcome RdsClient::upgradeDBInstanceEngineVersion(const UpgradeDBInstanceEngineVersionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpgradeDBInstanceEngineVersionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpgradeDBInstanceEngineVersionOutcome(UpgradeDBInstanceEngineVersionResult(outcome.result())); - else - return UpgradeDBInstanceEngineVersionOutcome(outcome.error()); -} - -void RdsClient::upgradeDBInstanceEngineVersionAsync(const UpgradeDBInstanceEngineVersionRequest& request, const UpgradeDBInstanceEngineVersionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, upgradeDBInstanceEngineVersion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::UpgradeDBInstanceEngineVersionOutcomeCallable RdsClient::upgradeDBInstanceEngineVersionCallable(const UpgradeDBInstanceEngineVersionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->upgradeDBInstanceEngineVersion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceConnectionStringOutcome RdsClient::modifyDBInstanceConnectionString(const ModifyDBInstanceConnectionStringRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceConnectionStringOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceConnectionStringOutcome(ModifyDBInstanceConnectionStringResult(outcome.result())); - else - return ModifyDBInstanceConnectionStringOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceConnectionStringAsync(const ModifyDBInstanceConnectionStringRequest& request, const ModifyDBInstanceConnectionStringAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceConnectionString(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceConnectionStringOutcomeCallable RdsClient::modifyDBInstanceConnectionStringCallable(const ModifyDBInstanceConnectionStringRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceConnectionString(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CheckAccountNameAvailableOutcome RdsClient::checkAccountNameAvailable(const CheckAccountNameAvailableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckAccountNameAvailableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckAccountNameAvailableOutcome(CheckAccountNameAvailableResult(outcome.result())); - else - return CheckAccountNameAvailableOutcome(outcome.error()); -} - -void RdsClient::checkAccountNameAvailableAsync(const CheckAccountNameAvailableRequest& request, const CheckAccountNameAvailableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkAccountNameAvailable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CheckAccountNameAvailableOutcomeCallable RdsClient::checkAccountNameAvailableCallable(const CheckAccountNameAvailableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkAccountNameAvailable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RestartDBInstanceOutcome RdsClient::restartDBInstance(const RestartDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RestartDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RestartDBInstanceOutcome(RestartDBInstanceResult(outcome.result())); - else - return RestartDBInstanceOutcome(outcome.error()); -} - -void RdsClient::restartDBInstanceAsync(const RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, restartDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RestartDBInstanceOutcomeCallable RdsClient::restartDBInstanceCallable(const RestartDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->restartDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeTemplatesListOutcome RdsClient::describeTemplatesList(const DescribeTemplatesListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeTemplatesListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeTemplatesListOutcome(DescribeTemplatesListResult(outcome.result())); - else - return DescribeTemplatesListOutcome(outcome.error()); -} - -void RdsClient::describeTemplatesListAsync(const DescribeTemplatesListRequest& request, const DescribeTemplatesListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeTemplatesList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeTemplatesListOutcomeCallable RdsClient::describeTemplatesListCallable(const DescribeTemplatesListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeTemplatesList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ImportDataForSQLServerOutcome RdsClient::importDataForSQLServer(const ImportDataForSQLServerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ImportDataForSQLServerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ImportDataForSQLServerOutcome(ImportDataForSQLServerResult(outcome.result())); - else - return ImportDataForSQLServerOutcome(outcome.error()); -} - -void RdsClient::importDataForSQLServerAsync(const ImportDataForSQLServerRequest& request, const ImportDataForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, importDataForSQLServer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ImportDataForSQLServerOutcomeCallable RdsClient::importDataForSQLServerCallable(const ImportDataForSQLServerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->importDataForSQLServer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifySecurityGroupConfigurationOutcome RdsClient::modifySecurityGroupConfiguration(const ModifySecurityGroupConfigurationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifySecurityGroupConfigurationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifySecurityGroupConfigurationOutcome(ModifySecurityGroupConfigurationResult(outcome.result())); - else - return ModifySecurityGroupConfigurationOutcome(outcome.error()); -} - -void RdsClient::modifySecurityGroupConfigurationAsync(const ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifySecurityGroupConfiguration(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifySecurityGroupConfigurationOutcomeCallable RdsClient::modifySecurityGroupConfigurationCallable(const ModifySecurityGroupConfigurationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifySecurityGroupConfiguration(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeTagsOutcome RdsClient::describeTags(const DescribeTagsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeTagsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeTagsOutcome(DescribeTagsResult(outcome.result())); - else - return DescribeTagsOutcome(outcome.error()); -} - -void RdsClient::describeTagsAsync(const DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeTags(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeTagsOutcomeCallable RdsClient::describeTagsCallable(const DescribeTagsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeTags(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CheckResourceOutcome RdsClient::checkResource(const CheckResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckResourceOutcome(CheckResourceResult(outcome.result())); - else - return CheckResourceOutcome(outcome.error()); -} - -void RdsClient::checkResourceAsync(const CheckResourceRequest& request, const CheckResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CheckResourceOutcomeCallable RdsClient::checkResourceCallable(const CheckResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeCharacterSetNameOutcome RdsClient::describeCharacterSetName(const DescribeCharacterSetNameRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCharacterSetNameOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCharacterSetNameOutcome(DescribeCharacterSetNameResult(outcome.result())); - else - return DescribeCharacterSetNameOutcome(outcome.error()); -} - -void RdsClient::describeCharacterSetNameAsync(const DescribeCharacterSetNameRequest& request, const DescribeCharacterSetNameAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCharacterSetName(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeCharacterSetNameOutcomeCallable RdsClient::describeCharacterSetNameCallable(const DescribeCharacterSetNameRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCharacterSetName(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeMigrateTasksOutcome RdsClient::describeMigrateTasks(const DescribeMigrateTasksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeMigrateTasksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeMigrateTasksOutcome(DescribeMigrateTasksResult(outcome.result())); - else - return DescribeMigrateTasksOutcome(outcome.error()); -} - -void RdsClient::describeMigrateTasksAsync(const DescribeMigrateTasksRequest& request, const DescribeMigrateTasksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeMigrateTasks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeMigrateTasksOutcomeCallable RdsClient::describeMigrateTasksCallable(const DescribeMigrateTasksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeMigrateTasks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceNetworkExpireTimeOutcome RdsClient::modifyDBInstanceNetworkExpireTime(const ModifyDBInstanceNetworkExpireTimeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceNetworkExpireTimeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceNetworkExpireTimeOutcome(ModifyDBInstanceNetworkExpireTimeResult(outcome.result())); - else - return ModifyDBInstanceNetworkExpireTimeOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceNetworkExpireTimeAsync(const ModifyDBInstanceNetworkExpireTimeRequest& request, const ModifyDBInstanceNetworkExpireTimeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceNetworkExpireTime(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceNetworkExpireTimeOutcomeCallable RdsClient::modifyDBInstanceNetworkExpireTimeCallable(const ModifyDBInstanceNetworkExpireTimeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceNetworkExpireTime(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateAccountOutcome RdsClient::createAccount(const CreateAccountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateAccountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateAccountOutcome(CreateAccountResult(outcome.result())); - else - return CreateAccountOutcome(outcome.error()); -} - -void RdsClient::createAccountAsync(const CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createAccount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateAccountOutcomeCallable RdsClient::createAccountCallable(const CreateAccountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createAccount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeModifyParameterLogOutcome RdsClient::describeModifyParameterLog(const DescribeModifyParameterLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeModifyParameterLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeModifyParameterLogOutcome(DescribeModifyParameterLogResult(outcome.result())); - else - return DescribeModifyParameterLogOutcome(outcome.error()); -} - -void RdsClient::describeModifyParameterLogAsync(const DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeModifyParameterLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeModifyParameterLogOutcomeCallable RdsClient::describeModifyParameterLogCallable(const DescribeModifyParameterLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeModifyParameterLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RecoveryDBInstanceOutcome RdsClient::recoveryDBInstance(const RecoveryDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RecoveryDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RecoveryDBInstanceOutcome(RecoveryDBInstanceResult(outcome.result())); - else - return RecoveryDBInstanceOutcome(outcome.error()); -} - -void RdsClient::recoveryDBInstanceAsync(const RecoveryDBInstanceRequest& request, const RecoveryDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, recoveryDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RecoveryDBInstanceOutcomeCallable RdsClient::recoveryDBInstanceCallable(const RecoveryDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->recoveryDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBDescriptionOutcome RdsClient::modifyDBDescription(const ModifyDBDescriptionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBDescriptionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBDescriptionOutcome(ModifyDBDescriptionResult(outcome.result())); - else - return ModifyDBDescriptionOutcome(outcome.error()); -} - -void RdsClient::modifyDBDescriptionAsync(const ModifyDBDescriptionRequest& request, const ModifyDBDescriptionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBDescription(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBDescriptionOutcomeCallable RdsClient::modifyDBDescriptionCallable(const ModifyDBDescriptionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBDescription(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ImportDatabaseBetweenInstancesOutcome RdsClient::importDatabaseBetweenInstances(const ImportDatabaseBetweenInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ImportDatabaseBetweenInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ImportDatabaseBetweenInstancesOutcome(ImportDatabaseBetweenInstancesResult(outcome.result())); - else - return ImportDatabaseBetweenInstancesOutcome(outcome.error()); -} - -void RdsClient::importDatabaseBetweenInstancesAsync(const ImportDatabaseBetweenInstancesRequest& request, const ImportDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, importDatabaseBetweenInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ImportDatabaseBetweenInstancesOutcomeCallable RdsClient::importDatabaseBetweenInstancesCallable(const ImportDatabaseBetweenInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->importDatabaseBetweenInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RenewInstanceOutcome RdsClient::renewInstance(const RenewInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RenewInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RenewInstanceOutcome(RenewInstanceResult(outcome.result())); - else - return RenewInstanceOutcome(outcome.error()); -} - -void RdsClient::renewInstanceAsync(const RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, renewInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RenewInstanceOutcomeCallable RdsClient::renewInstanceCallable(const RenewInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->renewInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceMonitorOutcome RdsClient::modifyDBInstanceMonitor(const ModifyDBInstanceMonitorRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceMonitorOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceMonitorOutcome(ModifyDBInstanceMonitorResult(outcome.result())); - else - return ModifyDBInstanceMonitorOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceMonitorAsync(const ModifyDBInstanceMonitorRequest& request, const ModifyDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceMonitor(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceMonitorOutcomeCallable RdsClient::modifyDBInstanceMonitorCallable(const ModifyDBInstanceMonitorRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceMonitor(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSQLLogFilesOutcome RdsClient::describeSQLLogFiles(const DescribeSQLLogFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSQLLogFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSQLLogFilesOutcome(DescribeSQLLogFilesResult(outcome.result())); - else - return DescribeSQLLogFilesOutcome(outcome.error()); -} - -void RdsClient::describeSQLLogFilesAsync(const DescribeSQLLogFilesRequest& request, const DescribeSQLLogFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSQLLogFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSQLLogFilesOutcomeCallable RdsClient::describeSQLLogFilesCallable(const DescribeSQLLogFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSQLLogFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CancelImportOutcome RdsClient::cancelImport(const CancelImportRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CancelImportOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CancelImportOutcome(CancelImportResult(outcome.result())); - else - return CancelImportOutcome(outcome.error()); -} - -void RdsClient::cancelImportAsync(const CancelImportRequest& request, const CancelImportAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cancelImport(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CancelImportOutcomeCallable RdsClient::cancelImportCallable(const CancelImportRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cancelImport(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyReplicaDescriptionOutcome RdsClient::modifyReplicaDescription(const ModifyReplicaDescriptionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyReplicaDescriptionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyReplicaDescriptionOutcome(ModifyReplicaDescriptionResult(outcome.result())); - else - return ModifyReplicaDescriptionOutcome(outcome.error()); -} - -void RdsClient::modifyReplicaDescriptionAsync(const ModifyReplicaDescriptionRequest& request, const ModifyReplicaDescriptionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyReplicaDescription(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyReplicaDescriptionOutcomeCallable RdsClient::modifyReplicaDescriptionCallable(const ModifyReplicaDescriptionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyReplicaDescription(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyBackupPolicyOutcome RdsClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyBackupPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyBackupPolicyOutcome(ModifyBackupPolicyResult(outcome.result())); - else - return ModifyBackupPolicyOutcome(outcome.error()); -} - -void RdsClient::modifyBackupPolicyAsync(const ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyBackupPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyBackupPolicyOutcomeCallable RdsClient::modifyBackupPolicyCallable(const ModifyBackupPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyBackupPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSecurityGroupConfigurationOutcome RdsClient::describeSecurityGroupConfiguration(const DescribeSecurityGroupConfigurationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSecurityGroupConfigurationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSecurityGroupConfigurationOutcome(DescribeSecurityGroupConfigurationResult(outcome.result())); - else - return DescribeSecurityGroupConfigurationOutcome(outcome.error()); -} - -void RdsClient::describeSecurityGroupConfigurationAsync(const DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSecurityGroupConfiguration(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSecurityGroupConfigurationOutcomeCallable RdsClient::describeSecurityGroupConfigurationCallable(const DescribeSecurityGroupConfigurationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSecurityGroupConfiguration(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeParametersOutcome RdsClient::describeParameters(const DescribeParametersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeParametersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeParametersOutcome(DescribeParametersResult(outcome.result())); - else - return DescribeParametersOutcome(outcome.error()); -} - -void RdsClient::describeParametersAsync(const DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeParameters(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeParametersOutcomeCallable RdsClient::describeParametersCallable(const DescribeParametersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeParameters(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::AddTagsToResourceOutcome RdsClient::addTagsToResource(const AddTagsToResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AddTagsToResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AddTagsToResourceOutcome(AddTagsToResourceResult(outcome.result())); - else - return AddTagsToResourceOutcome(outcome.error()); -} - -void RdsClient::addTagsToResourceAsync(const AddTagsToResourceRequest& request, const AddTagsToResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, addTagsToResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::AddTagsToResourceOutcomeCallable RdsClient::addTagsToResourceCallable(const AddTagsToResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->addTagsToResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeBinlogFilesOutcome RdsClient::describeBinlogFiles(const DescribeBinlogFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBinlogFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBinlogFilesOutcome(DescribeBinlogFilesResult(outcome.result())); - else - return DescribeBinlogFilesOutcome(outcome.error()); -} - -void RdsClient::describeBinlogFilesAsync(const DescribeBinlogFilesRequest& request, const DescribeBinlogFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBinlogFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeBinlogFilesOutcomeCallable RdsClient::describeBinlogFilesCallable(const DescribeBinlogFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBinlogFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceProxyConfigurationOutcome RdsClient::describeDBInstanceProxyConfiguration(const DescribeDBInstanceProxyConfigurationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceProxyConfigurationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceProxyConfigurationOutcome(DescribeDBInstanceProxyConfigurationResult(outcome.result())); - else - return DescribeDBInstanceProxyConfigurationOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceProxyConfigurationAsync(const DescribeDBInstanceProxyConfigurationRequest& request, const DescribeDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceProxyConfiguration(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceProxyConfigurationOutcomeCallable RdsClient::describeDBInstanceProxyConfigurationCallable(const DescribeDBInstanceProxyConfigurationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceProxyConfiguration(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateDiagnosticReportOutcome RdsClient::createDiagnosticReport(const CreateDiagnosticReportRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDiagnosticReportOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDiagnosticReportOutcome(CreateDiagnosticReportResult(outcome.result())); - else - return CreateDiagnosticReportOutcome(outcome.error()); -} - -void RdsClient::createDiagnosticReportAsync(const CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDiagnosticReport(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateDiagnosticReportOutcomeCallable RdsClient::createDiagnosticReportCallable(const CreateDiagnosticReportRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDiagnosticReport(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSQLLogReportListOutcome RdsClient::describeSQLLogReportList(const DescribeSQLLogReportListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSQLLogReportListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSQLLogReportListOutcome(DescribeSQLLogReportListResult(outcome.result())); - else - return DescribeSQLLogReportListOutcome(outcome.error()); -} - -void RdsClient::describeSQLLogReportListAsync(const DescribeSQLLogReportListRequest& request, const DescribeSQLLogReportListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSQLLogReportList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSQLLogReportListOutcomeCallable RdsClient::describeSQLLogReportListCallable(const DescribeSQLLogReportListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSQLLogReportList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeReadDBInstanceDelayOutcome RdsClient::describeReadDBInstanceDelay(const DescribeReadDBInstanceDelayRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeReadDBInstanceDelayOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeReadDBInstanceDelayOutcome(DescribeReadDBInstanceDelayResult(outcome.result())); - else - return DescribeReadDBInstanceDelayOutcome(outcome.error()); -} - -void RdsClient::describeReadDBInstanceDelayAsync(const DescribeReadDBInstanceDelayRequest& request, const DescribeReadDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeReadDBInstanceDelay(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeReadDBInstanceDelayOutcomeCallable RdsClient::describeReadDBInstanceDelayCallable(const DescribeReadDBInstanceDelayRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeReadDBInstanceDelay(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CloneDBInstanceOutcome RdsClient::cloneDBInstance(const CloneDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CloneDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CloneDBInstanceOutcome(CloneDBInstanceResult(outcome.result())); - else - return CloneDBInstanceOutcome(outcome.error()); -} - -void RdsClient::cloneDBInstanceAsync(const CloneDBInstanceRequest& request, const CloneDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, cloneDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CloneDBInstanceOutcomeCallable RdsClient::cloneDBInstanceCallable(const CloneDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->cloneDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeTasksOutcome RdsClient::describeTasks(const DescribeTasksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeTasksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeTasksOutcome(DescribeTasksResult(outcome.result())); - else - return DescribeTasksOutcome(outcome.error()); -} - -void RdsClient::describeTasksAsync(const DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeTasks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeTasksOutcomeCallable RdsClient::describeTasksCallable(const DescribeTasksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeTasks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeRenewalPriceOutcome RdsClient::describeRenewalPrice(const DescribeRenewalPriceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRenewalPriceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRenewalPriceOutcome(DescribeRenewalPriceResult(outcome.result())); - else - return DescribeRenewalPriceOutcome(outcome.error()); -} - -void RdsClient::describeRenewalPriceAsync(const DescribeRenewalPriceRequest& request, const DescribeRenewalPriceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRenewalPrice(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeRenewalPriceOutcomeCallable RdsClient::describeRenewalPriceCallable(const DescribeRenewalPriceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRenewalPrice(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::AllocateInstancePublicConnectionOutcome RdsClient::allocateInstancePublicConnection(const AllocateInstancePublicConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AllocateInstancePublicConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AllocateInstancePublicConnectionOutcome(AllocateInstancePublicConnectionResult(outcome.result())); - else - return AllocateInstancePublicConnectionOutcome(outcome.error()); -} - -void RdsClient::allocateInstancePublicConnectionAsync(const AllocateInstancePublicConnectionRequest& request, const AllocateInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, allocateInstancePublicConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::AllocateInstancePublicConnectionOutcomeCallable RdsClient::allocateInstancePublicConnectionCallable(const AllocateInstancePublicConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->allocateInstancePublicConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceAttributeOutcome RdsClient::describeDBInstanceAttribute(const DescribeDBInstanceAttributeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceAttributeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceAttributeOutcome(DescribeDBInstanceAttributeResult(outcome.result())); - else - return DescribeDBInstanceAttributeOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceAttributeAsync(const DescribeDBInstanceAttributeRequest& request, const DescribeDBInstanceAttributeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceAttribute(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceAttributeOutcomeCallable RdsClient::describeDBInstanceAttributeCallable(const DescribeDBInstanceAttributeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceAttribute(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CheckInstanceExistOutcome RdsClient::checkInstanceExist(const CheckInstanceExistRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CheckInstanceExistOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CheckInstanceExistOutcome(CheckInstanceExistResult(outcome.result())); - else - return CheckInstanceExistOutcome(outcome.error()); -} - -void RdsClient::checkInstanceExistAsync(const CheckInstanceExistRequest& request, const CheckInstanceExistAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, checkInstanceExist(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CheckInstanceExistOutcomeCallable RdsClient::checkInstanceExistCallable(const CheckInstanceExistRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->checkInstanceExist(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateTempDBInstanceOutcome RdsClient::createTempDBInstance(const CreateTempDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTempDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTempDBInstanceOutcome(CreateTempDBInstanceResult(outcome.result())); - else - return CreateTempDBInstanceOutcome(outcome.error()); -} - -void RdsClient::createTempDBInstanceAsync(const CreateTempDBInstanceRequest& request, const CreateTempDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTempDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateTempDBInstanceOutcomeCallable RdsClient::createTempDBInstanceCallable(const CreateTempDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTempDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyInstanceAutoRenewalAttributeOutcome RdsClient::modifyInstanceAutoRenewalAttribute(const ModifyInstanceAutoRenewalAttributeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyInstanceAutoRenewalAttributeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyInstanceAutoRenewalAttributeOutcome(ModifyInstanceAutoRenewalAttributeResult(outcome.result())); - else - return ModifyInstanceAutoRenewalAttributeOutcome(outcome.error()); -} - -void RdsClient::modifyInstanceAutoRenewalAttributeAsync(const ModifyInstanceAutoRenewalAttributeRequest& request, const ModifyInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyInstanceAutoRenewalAttribute(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyInstanceAutoRenewalAttributeOutcomeCallable RdsClient::modifyInstanceAutoRenewalAttributeCallable(const ModifyInstanceAutoRenewalAttributeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyInstanceAutoRenewalAttribute(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifySQLCollectorPolicyOutcome RdsClient::modifySQLCollectorPolicy(const ModifySQLCollectorPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifySQLCollectorPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifySQLCollectorPolicyOutcome(ModifySQLCollectorPolicyResult(outcome.result())); - else - return ModifySQLCollectorPolicyOutcome(outcome.error()); -} - -void RdsClient::modifySQLCollectorPolicyAsync(const ModifySQLCollectorPolicyRequest& request, const ModifySQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifySQLCollectorPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifySQLCollectorPolicyOutcomeCallable RdsClient::modifySQLCollectorPolicyCallable(const ModifySQLCollectorPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifySQLCollectorPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::AllocateInstanceVpcNetworkTypeOutcome RdsClient::allocateInstanceVpcNetworkType(const AllocateInstanceVpcNetworkTypeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AllocateInstanceVpcNetworkTypeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AllocateInstanceVpcNetworkTypeOutcome(AllocateInstanceVpcNetworkTypeResult(outcome.result())); - else - return AllocateInstanceVpcNetworkTypeOutcome(outcome.error()); -} - -void RdsClient::allocateInstanceVpcNetworkTypeAsync(const AllocateInstanceVpcNetworkTypeRequest& request, const AllocateInstanceVpcNetworkTypeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, allocateInstanceVpcNetworkType(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::AllocateInstanceVpcNetworkTypeOutcomeCallable RdsClient::allocateInstanceVpcNetworkTypeCallable(const AllocateInstanceVpcNetworkTypeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->allocateInstanceVpcNetworkType(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeBackupsOutcome RdsClient::describeBackups(const DescribeBackupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBackupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBackupsOutcome(DescribeBackupsResult(outcome.result())); - else - return DescribeBackupsOutcome(outcome.error()); -} - -void RdsClient::describeBackupsAsync(const DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBackups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeBackupsOutcomeCallable RdsClient::describeBackupsCallable(const DescribeBackupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBackups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateDatabaseOutcome RdsClient::createDatabase(const CreateDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDatabaseOutcome(CreateDatabaseResult(outcome.result())); - else - return CreateDatabaseOutcome(outcome.error()); -} - -void RdsClient::createDatabaseAsync(const CreateDatabaseRequest& request, const CreateDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateDatabaseOutcomeCallable RdsClient::createDatabaseCallable(const CreateDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeCollationTimeZonesOutcome RdsClient::describeCollationTimeZones(const DescribeCollationTimeZonesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCollationTimeZonesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCollationTimeZonesOutcome(DescribeCollationTimeZonesResult(outcome.result())); - else - return DescribeCollationTimeZonesOutcome(outcome.error()); -} - -void RdsClient::describeCollationTimeZonesAsync(const DescribeCollationTimeZonesRequest& request, const DescribeCollationTimeZonesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCollationTimeZones(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeCollationTimeZonesOutcomeCallable RdsClient::describeCollationTimeZonesCallable(const DescribeCollationTimeZonesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCollationTimeZones(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DeleteDBInstanceOutcome RdsClient::deleteDBInstance(const DeleteDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDBInstanceOutcome(DeleteDBInstanceResult(outcome.result())); - else - return DeleteDBInstanceOutcome(outcome.error()); -} - -void RdsClient::deleteDBInstanceAsync(const DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DeleteDBInstanceOutcomeCallable RdsClient::deleteDBInstanceCallable(const DeleteDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyReadonlyInstanceDelayReplicationTimeOutcome RdsClient::modifyReadonlyInstanceDelayReplicationTime(const ModifyReadonlyInstanceDelayReplicationTimeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyReadonlyInstanceDelayReplicationTimeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyReadonlyInstanceDelayReplicationTimeOutcome(ModifyReadonlyInstanceDelayReplicationTimeResult(outcome.result())); - else - return ModifyReadonlyInstanceDelayReplicationTimeOutcome(outcome.error()); -} - -void RdsClient::modifyReadonlyInstanceDelayReplicationTimeAsync(const ModifyReadonlyInstanceDelayReplicationTimeRequest& request, const ModifyReadonlyInstanceDelayReplicationTimeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyReadonlyInstanceDelayReplicationTime(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyReadonlyInstanceDelayReplicationTimeOutcomeCallable RdsClient::modifyReadonlyInstanceDelayReplicationTimeCallable(const ModifyReadonlyInstanceDelayReplicationTimeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyReadonlyInstanceDelayReplicationTime(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeInstanceAutoRenewalAttributeOutcome RdsClient::describeInstanceAutoRenewalAttribute(const DescribeInstanceAutoRenewalAttributeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeInstanceAutoRenewalAttributeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeInstanceAutoRenewalAttributeOutcome(DescribeInstanceAutoRenewalAttributeResult(outcome.result())); - else - return DescribeInstanceAutoRenewalAttributeOutcome(outcome.error()); -} - -void RdsClient::describeInstanceAutoRenewalAttributeAsync(const DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeInstanceAutoRenewalAttribute(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeInstanceAutoRenewalAttributeOutcomeCallable RdsClient::describeInstanceAutoRenewalAttributeCallable(const DescribeInstanceAutoRenewalAttributeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeInstanceAutoRenewalAttribute(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::SwitchDBInstanceVpcOutcome RdsClient::switchDBInstanceVpc(const SwitchDBInstanceVpcRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SwitchDBInstanceVpcOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SwitchDBInstanceVpcOutcome(SwitchDBInstanceVpcResult(outcome.result())); - else - return SwitchDBInstanceVpcOutcome(outcome.error()); -} - -void RdsClient::switchDBInstanceVpcAsync(const SwitchDBInstanceVpcRequest& request, const SwitchDBInstanceVpcAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, switchDBInstanceVpc(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::SwitchDBInstanceVpcOutcomeCallable RdsClient::switchDBInstanceVpcCallable(const SwitchDBInstanceVpcRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->switchDBInstanceVpc(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RestoreDBInstanceOutcome RdsClient::restoreDBInstance(const RestoreDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RestoreDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RestoreDBInstanceOutcome(RestoreDBInstanceResult(outcome.result())); - else - return RestoreDBInstanceOutcome(outcome.error()); -} - -void RdsClient::restoreDBInstanceAsync(const RestoreDBInstanceRequest& request, const RestoreDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, restoreDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RestoreDBInstanceOutcomeCallable RdsClient::restoreDBInstanceCallable(const RestoreDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->restoreDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RevokeOperatorPermissionOutcome RdsClient::revokeOperatorPermission(const RevokeOperatorPermissionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RevokeOperatorPermissionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RevokeOperatorPermissionOutcome(RevokeOperatorPermissionResult(outcome.result())); - else - return RevokeOperatorPermissionOutcome(outcome.error()); -} - -void RdsClient::revokeOperatorPermissionAsync(const RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, revokeOperatorPermission(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RevokeOperatorPermissionOutcomeCallable RdsClient::revokeOperatorPermissionCallable(const RevokeOperatorPermissionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->revokeOperatorPermission(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceSpecOutcome RdsClient::modifyDBInstanceSpec(const ModifyDBInstanceSpecRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceSpecOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceSpecOutcome(ModifyDBInstanceSpecResult(outcome.result())); - else - return ModifyDBInstanceSpecOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceSpecAsync(const ModifyDBInstanceSpecRequest& request, const ModifyDBInstanceSpecAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceSpec(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceSpecOutcomeCallable RdsClient::modifyDBInstanceSpecCallable(const ModifyDBInstanceSpecRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceSpec(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDiagnosticReportListOutcome RdsClient::describeDiagnosticReportList(const DescribeDiagnosticReportListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDiagnosticReportListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDiagnosticReportListOutcome(DescribeDiagnosticReportListResult(outcome.result())); - else - return DescribeDiagnosticReportListOutcome(outcome.error()); -} - -void RdsClient::describeDiagnosticReportListAsync(const DescribeDiagnosticReportListRequest& request, const DescribeDiagnosticReportListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDiagnosticReportList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDiagnosticReportListOutcomeCallable RdsClient::describeDiagnosticReportListCallable(const DescribeDiagnosticReportListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDiagnosticReportList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::MigrateSecurityIPModeOutcome RdsClient::migrateSecurityIPMode(const MigrateSecurityIPModeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MigrateSecurityIPModeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MigrateSecurityIPModeOutcome(MigrateSecurityIPModeResult(outcome.result())); - else - return MigrateSecurityIPModeOutcome(outcome.error()); -} - -void RdsClient::migrateSecurityIPModeAsync(const MigrateSecurityIPModeRequest& request, const MigrateSecurityIPModeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, migrateSecurityIPMode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::MigrateSecurityIPModeOutcomeCallable RdsClient::migrateSecurityIPModeCallable(const MigrateSecurityIPModeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->migrateSecurityIPMode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RemoveTagsFromResourceOutcome RdsClient::removeTagsFromResource(const RemoveTagsFromResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RemoveTagsFromResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RemoveTagsFromResourceOutcome(RemoveTagsFromResourceResult(outcome.result())); - else - return RemoveTagsFromResourceOutcome(outcome.error()); -} - -void RdsClient::removeTagsFromResourceAsync(const RemoveTagsFromResourceRequest& request, const RemoveTagsFromResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, removeTagsFromResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RemoveTagsFromResourceOutcomeCallable RdsClient::removeTagsFromResourceCallable(const RemoveTagsFromResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->removeTagsFromResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSQLLogRecordsOutcome RdsClient::describeSQLLogRecords(const DescribeSQLLogRecordsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSQLLogRecordsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSQLLogRecordsOutcome(DescribeSQLLogRecordsResult(outcome.result())); - else - return DescribeSQLLogRecordsOutcome(outcome.error()); -} - -void RdsClient::describeSQLLogRecordsAsync(const DescribeSQLLogRecordsRequest& request, const DescribeSQLLogRecordsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSQLLogRecords(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSQLLogRecordsOutcomeCallable RdsClient::describeSQLLogRecordsCallable(const DescribeSQLLogRecordsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSQLLogRecords(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifySecurityIpsOutcome RdsClient::modifySecurityIps(const ModifySecurityIpsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifySecurityIpsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifySecurityIpsOutcome(ModifySecurityIpsResult(outcome.result())); - else - return ModifySecurityIpsOutcome(outcome.error()); -} - -void RdsClient::modifySecurityIpsAsync(const ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifySecurityIps(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifySecurityIpsOutcomeCallable RdsClient::modifySecurityIpsCallable(const ModifySecurityIpsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifySecurityIps(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeMigrateTasksForSQLServerOutcome RdsClient::describeMigrateTasksForSQLServer(const DescribeMigrateTasksForSQLServerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeMigrateTasksForSQLServerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeMigrateTasksForSQLServerOutcome(DescribeMigrateTasksForSQLServerResult(outcome.result())); - else - return DescribeMigrateTasksForSQLServerOutcome(outcome.error()); -} - -void RdsClient::describeMigrateTasksForSQLServerAsync(const DescribeMigrateTasksForSQLServerRequest& request, const DescribeMigrateTasksForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeMigrateTasksForSQLServer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeMigrateTasksForSQLServerOutcomeCallable RdsClient::describeMigrateTasksForSQLServerCallable(const DescribeMigrateTasksForSQLServerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeMigrateTasksForSQLServer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RestoreTableOutcome RdsClient::restoreTable(const RestoreTableRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RestoreTableOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RestoreTableOutcome(RestoreTableResult(outcome.result())); - else - return RestoreTableOutcome(outcome.error()); -} - -void RdsClient::restoreTableAsync(const RestoreTableRequest& request, const RestoreTableAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, restoreTable(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RestoreTableOutcomeCallable RdsClient::restoreTableCallable(const RestoreTableRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->restoreTable(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateOnlineDatabaseTaskOutcome RdsClient::createOnlineDatabaseTask(const CreateOnlineDatabaseTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateOnlineDatabaseTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateOnlineDatabaseTaskOutcome(CreateOnlineDatabaseTaskResult(outcome.result())); - else - return CreateOnlineDatabaseTaskOutcome(outcome.error()); -} - -void RdsClient::createOnlineDatabaseTaskAsync(const CreateOnlineDatabaseTaskRequest& request, const CreateOnlineDatabaseTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createOnlineDatabaseTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateOnlineDatabaseTaskOutcomeCallable RdsClient::createOnlineDatabaseTaskCallable(const CreateOnlineDatabaseTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createOnlineDatabaseTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::GrantAccountPrivilegeOutcome RdsClient::grantAccountPrivilege(const GrantAccountPrivilegeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GrantAccountPrivilegeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GrantAccountPrivilegeOutcome(GrantAccountPrivilegeResult(outcome.result())); - else - return GrantAccountPrivilegeOutcome(outcome.error()); -} - -void RdsClient::grantAccountPrivilegeAsync(const GrantAccountPrivilegeRequest& request, const GrantAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, grantAccountPrivilege(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::GrantAccountPrivilegeOutcomeCallable RdsClient::grantAccountPrivilegeCallable(const GrantAccountPrivilegeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->grantAccountPrivilege(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::GrantOperatorPermissionOutcome RdsClient::grantOperatorPermission(const GrantOperatorPermissionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GrantOperatorPermissionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GrantOperatorPermissionOutcome(GrantOperatorPermissionResult(outcome.result())); - else - return GrantOperatorPermissionOutcome(outcome.error()); -} - -void RdsClient::grantOperatorPermissionAsync(const GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, grantOperatorPermission(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::GrantOperatorPermissionOutcomeCallable RdsClient::grantOperatorPermissionCallable(const GrantOperatorPermissionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->grantOperatorPermission(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceTDEOutcome RdsClient::modifyDBInstanceTDE(const ModifyDBInstanceTDERequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceTDEOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceTDEOutcome(ModifyDBInstanceTDEResult(outcome.result())); - else - return ModifyDBInstanceTDEOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceTDEAsync(const ModifyDBInstanceTDERequest& request, const ModifyDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceTDE(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceTDEOutcomeCallable RdsClient::modifyDBInstanceTDECallable(const ModifyDBInstanceTDERequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceTDE(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstancePerformanceOutcome RdsClient::describeDBInstancePerformance(const DescribeDBInstancePerformanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstancePerformanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstancePerformanceOutcome(DescribeDBInstancePerformanceResult(outcome.result())); - else - return DescribeDBInstancePerformanceOutcome(outcome.error()); -} - -void RdsClient::describeDBInstancePerformanceAsync(const DescribeDBInstancePerformanceRequest& request, const DescribeDBInstancePerformanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstancePerformance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstancePerformanceOutcomeCallable RdsClient::describeDBInstancePerformanceCallable(const DescribeDBInstancePerformanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstancePerformance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstancesOutcome RdsClient::describeDBInstances(const DescribeDBInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstancesOutcome(DescribeDBInstancesResult(outcome.result())); - else - return DescribeDBInstancesOutcome(outcome.error()); -} - -void RdsClient::describeDBInstancesAsync(const DescribeDBInstancesRequest& request, const DescribeDBInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstancesOutcomeCallable RdsClient::describeDBInstancesCallable(const DescribeDBInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RequestServiceOfCloudDBExpertOutcome RdsClient::requestServiceOfCloudDBExpert(const RequestServiceOfCloudDBExpertRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RequestServiceOfCloudDBExpertOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RequestServiceOfCloudDBExpertOutcome(RequestServiceOfCloudDBExpertResult(outcome.result())); - else - return RequestServiceOfCloudDBExpertOutcome(outcome.error()); -} - -void RdsClient::requestServiceOfCloudDBExpertAsync(const RequestServiceOfCloudDBExpertRequest& request, const RequestServiceOfCloudDBExpertAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, requestServiceOfCloudDBExpert(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RequestServiceOfCloudDBExpertOutcomeCallable RdsClient::requestServiceOfCloudDBExpertCallable(const RequestServiceOfCloudDBExpertRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->requestServiceOfCloudDBExpert(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeBackupDatabaseOutcome RdsClient::describeBackupDatabase(const DescribeBackupDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBackupDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBackupDatabaseOutcome(DescribeBackupDatabaseResult(outcome.result())); - else - return DescribeBackupDatabaseOutcome(outcome.error()); -} - -void RdsClient::describeBackupDatabaseAsync(const DescribeBackupDatabaseRequest& request, const DescribeBackupDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBackupDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeBackupDatabaseOutcomeCallable RdsClient::describeBackupDatabaseCallable(const DescribeBackupDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBackupDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateDBInstanceReplicaOutcome RdsClient::createDBInstanceReplica(const CreateDBInstanceReplicaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDBInstanceReplicaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDBInstanceReplicaOutcome(CreateDBInstanceReplicaResult(outcome.result())); - else - return CreateDBInstanceReplicaOutcome(outcome.error()); -} - -void RdsClient::createDBInstanceReplicaAsync(const CreateDBInstanceReplicaRequest& request, const CreateDBInstanceReplicaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDBInstanceReplica(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateDBInstanceReplicaOutcomeCallable RdsClient::createDBInstanceReplicaCallable(const CreateDBInstanceReplicaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDBInstanceReplica(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::AllocateInstancePrivateConnectionOutcome RdsClient::allocateInstancePrivateConnection(const AllocateInstancePrivateConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AllocateInstancePrivateConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AllocateInstancePrivateConnectionOutcome(AllocateInstancePrivateConnectionResult(outcome.result())); - else - return AllocateInstancePrivateConnectionOutcome(outcome.error()); -} - -void RdsClient::allocateInstancePrivateConnectionAsync(const AllocateInstancePrivateConnectionRequest& request, const AllocateInstancePrivateConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, allocateInstancePrivateConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::AllocateInstancePrivateConnectionOutcomeCallable RdsClient::allocateInstancePrivateConnectionCallable(const AllocateInstancePrivateConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->allocateInstancePrivateConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::RevokeAccountPrivilegeOutcome RdsClient::revokeAccountPrivilege(const RevokeAccountPrivilegeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RevokeAccountPrivilegeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RevokeAccountPrivilegeOutcome(RevokeAccountPrivilegeResult(outcome.result())); - else - return RevokeAccountPrivilegeOutcome(outcome.error()); -} - -void RdsClient::revokeAccountPrivilegeAsync(const RevokeAccountPrivilegeRequest& request, const RevokeAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, revokeAccountPrivilege(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::RevokeAccountPrivilegeOutcomeCallable RdsClient::revokeAccountPrivilegeCallable(const RevokeAccountPrivilegeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->revokeAccountPrivilege(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeParameterTemplatesOutcome RdsClient::describeParameterTemplates(const DescribeParameterTemplatesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeParameterTemplatesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeParameterTemplatesOutcome(DescribeParameterTemplatesResult(outcome.result())); - else - return DescribeParameterTemplatesOutcome(outcome.error()); -} - -void RdsClient::describeParameterTemplatesAsync(const DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeParameterTemplates(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeParameterTemplatesOutcomeCallable RdsClient::describeParameterTemplatesCallable(const DescribeParameterTemplatesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeParameterTemplates(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescibeImportsFromDatabaseOutcome RdsClient::descibeImportsFromDatabase(const DescibeImportsFromDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescibeImportsFromDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescibeImportsFromDatabaseOutcome(DescibeImportsFromDatabaseResult(outcome.result())); - else - return DescibeImportsFromDatabaseOutcome(outcome.error()); -} - -void RdsClient::descibeImportsFromDatabaseAsync(const DescibeImportsFromDatabaseRequest& request, const DescibeImportsFromDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, descibeImportsFromDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescibeImportsFromDatabaseOutcomeCallable RdsClient::descibeImportsFromDatabaseCallable(const DescibeImportsFromDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->descibeImportsFromDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CopyDatabaseBetweenInstancesOutcome RdsClient::copyDatabaseBetweenInstances(const CopyDatabaseBetweenInstancesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CopyDatabaseBetweenInstancesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CopyDatabaseBetweenInstancesOutcome(CopyDatabaseBetweenInstancesResult(outcome.result())); - else - return CopyDatabaseBetweenInstancesOutcome(outcome.error()); -} - -void RdsClient::copyDatabaseBetweenInstancesAsync(const CopyDatabaseBetweenInstancesRequest& request, const CopyDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, copyDatabaseBetweenInstances(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CopyDatabaseBetweenInstancesOutcomeCallable RdsClient::copyDatabaseBetweenInstancesCallable(const CopyDatabaseBetweenInstancesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->copyDatabaseBetweenInstances(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeInstanceVpcMigrateInfoOutcome RdsClient::describeInstanceVpcMigrateInfo(const DescribeInstanceVpcMigrateInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeInstanceVpcMigrateInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeInstanceVpcMigrateInfoOutcome(DescribeInstanceVpcMigrateInfoResult(outcome.result())); - else - return DescribeInstanceVpcMigrateInfoOutcome(outcome.error()); -} - -void RdsClient::describeInstanceVpcMigrateInfoAsync(const DescribeInstanceVpcMigrateInfoRequest& request, const DescribeInstanceVpcMigrateInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeInstanceVpcMigrateInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeInstanceVpcMigrateInfoOutcomeCallable RdsClient::describeInstanceVpcMigrateInfoCallable(const DescribeInstanceVpcMigrateInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeInstanceVpcMigrateInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CopyDatabaseOutcome RdsClient::copyDatabase(const CopyDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CopyDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CopyDatabaseOutcome(CopyDatabaseResult(outcome.result())); - else - return CopyDatabaseOutcome(outcome.error()); -} - -void RdsClient::copyDatabaseAsync(const CopyDatabaseRequest& request, const CopyDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, copyDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CopyDatabaseOutcomeCallable RdsClient::copyDatabaseCallable(const CopyDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->copyDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateDBInstanceOutcome RdsClient::createDBInstance(const CreateDBInstanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDBInstanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDBInstanceOutcome(CreateDBInstanceResult(outcome.result())); - else - return CreateDBInstanceOutcome(outcome.error()); -} - -void RdsClient::createDBInstanceAsync(const CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDBInstance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateDBInstanceOutcomeCallable RdsClient::createDBInstanceCallable(const CreateDBInstanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDBInstance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceSSLOutcome RdsClient::modifyDBInstanceSSL(const ModifyDBInstanceSSLRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceSSLOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceSSLOutcome(ModifyDBInstanceSSLResult(outcome.result())); - else - return ModifyDBInstanceSSLOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceSSLAsync(const ModifyDBInstanceSSLRequest& request, const ModifyDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceSSL(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceSSLOutcomeCallable RdsClient::modifyDBInstanceSSLCallable(const ModifyDBInstanceSSLRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceSSL(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceTDEOutcome RdsClient::describeDBInstanceTDE(const DescribeDBInstanceTDERequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceTDEOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceTDEOutcome(DescribeDBInstanceTDEResult(outcome.result())); - else - return DescribeDBInstanceTDEOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceTDEAsync(const DescribeDBInstanceTDERequest& request, const DescribeDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceTDE(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceTDEOutcomeCallable RdsClient::describeDBInstanceTDECallable(const DescribeDBInstanceTDERequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceTDE(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSQLLogReportsOutcome RdsClient::describeSQLLogReports(const DescribeSQLLogReportsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSQLLogReportsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSQLLogReportsOutcome(DescribeSQLLogReportsResult(outcome.result())); - else - return DescribeSQLLogReportsOutcome(outcome.error()); -} - -void RdsClient::describeSQLLogReportsAsync(const DescribeSQLLogReportsRequest& request, const DescribeSQLLogReportsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSQLLogReports(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSQLLogReportsOutcomeCallable RdsClient::describeSQLLogReportsCallable(const DescribeSQLLogReportsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSQLLogReports(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceConnectionModeOutcome RdsClient::modifyDBInstanceConnectionMode(const ModifyDBInstanceConnectionModeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceConnectionModeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceConnectionModeOutcome(ModifyDBInstanceConnectionModeResult(outcome.result())); - else - return ModifyDBInstanceConnectionModeOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceConnectionModeAsync(const ModifyDBInstanceConnectionModeRequest& request, const ModifyDBInstanceConnectionModeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceConnectionMode(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceConnectionModeOutcomeCallable RdsClient::modifyDBInstanceConnectionModeCallable(const ModifyDBInstanceConnectionModeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceConnectionMode(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceNetInfoOutcome RdsClient::describeDBInstanceNetInfo(const DescribeDBInstanceNetInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceNetInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceNetInfoOutcome(DescribeDBInstanceNetInfoResult(outcome.result())); - else - return DescribeDBInstanceNetInfoOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceNetInfoAsync(const DescribeDBInstanceNetInfoRequest& request, const DescribeDBInstanceNetInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceNetInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceNetInfoOutcomeCallable RdsClient::describeDBInstanceNetInfoCallable(const DescribeDBInstanceNetInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceNetInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeAvailableResourceOutcome RdsClient::describeAvailableResource(const DescribeAvailableResourceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeAvailableResourceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeAvailableResourceOutcome(DescribeAvailableResourceResult(outcome.result())); - else - return DescribeAvailableResourceOutcome(outcome.error()); -} - -void RdsClient::describeAvailableResourceAsync(const DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeAvailableResource(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeAvailableResourceOutcomeCallable RdsClient::describeAvailableResourceCallable(const DescribeAvailableResourceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeAvailableResource(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::AllocateReadWriteSplittingConnectionOutcome RdsClient::allocateReadWriteSplittingConnection(const AllocateReadWriteSplittingConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return AllocateReadWriteSplittingConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return AllocateReadWriteSplittingConnectionOutcome(AllocateReadWriteSplittingConnectionResult(outcome.result())); - else - return AllocateReadWriteSplittingConnectionOutcome(outcome.error()); -} - -void RdsClient::allocateReadWriteSplittingConnectionAsync(const AllocateReadWriteSplittingConnectionRequest& request, const AllocateReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, allocateReadWriteSplittingConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::AllocateReadWriteSplittingConnectionOutcomeCallable RdsClient::allocateReadWriteSplittingConnectionCallable(const AllocateReadWriteSplittingConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->allocateReadWriteSplittingConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeCloudDbExpertServiceOutcome RdsClient::describeCloudDbExpertService(const DescribeCloudDbExpertServiceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeCloudDbExpertServiceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeCloudDbExpertServiceOutcome(DescribeCloudDbExpertServiceResult(outcome.result())); - else - return DescribeCloudDbExpertServiceOutcome(outcome.error()); -} - -void RdsClient::describeCloudDbExpertServiceAsync(const DescribeCloudDbExpertServiceRequest& request, const DescribeCloudDbExpertServiceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeCloudDbExpertService(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeCloudDbExpertServiceOutcomeCallable RdsClient::describeCloudDbExpertServiceCallable(const DescribeCloudDbExpertServiceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeCloudDbExpertService(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ReleaseInstancePublicConnectionOutcome RdsClient::releaseInstancePublicConnection(const ReleaseInstancePublicConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReleaseInstancePublicConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReleaseInstancePublicConnectionOutcome(ReleaseInstancePublicConnectionResult(outcome.result())); - else - return ReleaseInstancePublicConnectionOutcome(outcome.error()); -} - -void RdsClient::releaseInstancePublicConnectionAsync(const ReleaseInstancePublicConnectionRequest& request, const ReleaseInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, releaseInstancePublicConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ReleaseInstancePublicConnectionOutcomeCallable RdsClient::releaseInstancePublicConnectionCallable(const ReleaseInstancePublicConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->releaseInstancePublicConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CalculateDBInstanceWeightOutcome RdsClient::calculateDBInstanceWeight(const CalculateDBInstanceWeightRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CalculateDBInstanceWeightOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CalculateDBInstanceWeightOutcome(CalculateDBInstanceWeightResult(outcome.result())); - else - return CalculateDBInstanceWeightOutcome(outcome.error()); -} - -void RdsClient::calculateDBInstanceWeightAsync(const CalculateDBInstanceWeightRequest& request, const CalculateDBInstanceWeightAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, calculateDBInstanceWeight(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CalculateDBInstanceWeightOutcomeCallable RdsClient::calculateDBInstanceWeightCallable(const CalculateDBInstanceWeightRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->calculateDBInstanceWeight(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceNetworkTypeOutcome RdsClient::modifyDBInstanceNetworkType(const ModifyDBInstanceNetworkTypeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceNetworkTypeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceNetworkTypeOutcome(ModifyDBInstanceNetworkTypeResult(outcome.result())); - else - return ModifyDBInstanceNetworkTypeOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceNetworkTypeAsync(const ModifyDBInstanceNetworkTypeRequest& request, const ModifyDBInstanceNetworkTypeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceNetworkType(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceNetworkTypeOutcomeCallable RdsClient::modifyDBInstanceNetworkTypeCallable(const ModifyDBInstanceNetworkTypeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceNetworkType(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSlowLogsOutcome RdsClient::describeSlowLogs(const DescribeSlowLogsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSlowLogsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSlowLogsOutcome(DescribeSlowLogsResult(outcome.result())); - else - return DescribeSlowLogsOutcome(outcome.error()); -} - -void RdsClient::describeSlowLogsAsync(const DescribeSlowLogsRequest& request, const DescribeSlowLogsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSlowLogs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSlowLogsOutcomeCallable RdsClient::describeSlowLogsCallable(const DescribeSlowLogsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSlowLogs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateBackupOutcome RdsClient::createBackup(const CreateBackupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateBackupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateBackupOutcome(CreateBackupResult(outcome.result())); - else - return CreateBackupOutcome(outcome.error()); -} - -void RdsClient::createBackupAsync(const CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createBackup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateBackupOutcomeCallable RdsClient::createBackupCallable(const CreateBackupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createBackup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyReadWriteSplittingConnectionOutcome RdsClient::modifyReadWriteSplittingConnection(const ModifyReadWriteSplittingConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyReadWriteSplittingConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyReadWriteSplittingConnectionOutcome(ModifyReadWriteSplittingConnectionResult(outcome.result())); - else - return ModifyReadWriteSplittingConnectionOutcome(outcome.error()); -} - -void RdsClient::modifyReadWriteSplittingConnectionAsync(const ModifyReadWriteSplittingConnectionRequest& request, const ModifyReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyReadWriteSplittingConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyReadWriteSplittingConnectionOutcomeCallable RdsClient::modifyReadWriteSplittingConnectionCallable(const ModifyReadWriteSplittingConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyReadWriteSplittingConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceMaintainTimeOutcome RdsClient::modifyDBInstanceMaintainTime(const ModifyDBInstanceMaintainTimeRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceMaintainTimeOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceMaintainTimeOutcome(ModifyDBInstanceMaintainTimeResult(outcome.result())); - else - return ModifyDBInstanceMaintainTimeOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceMaintainTimeAsync(const ModifyDBInstanceMaintainTimeRequest& request, const ModifyDBInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceMaintainTime(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceMaintainTimeOutcomeCallable RdsClient::modifyDBInstanceMaintainTimeCallable(const ModifyDBInstanceMaintainTimeRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceMaintainTime(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceDescriptionOutcome RdsClient::modifyDBInstanceDescription(const ModifyDBInstanceDescriptionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceDescriptionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceDescriptionOutcome(ModifyDBInstanceDescriptionResult(outcome.result())); - else - return ModifyDBInstanceDescriptionOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceDescriptionAsync(const ModifyDBInstanceDescriptionRequest& request, const ModifyDBInstanceDescriptionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceDescription(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceDescriptionOutcomeCallable RdsClient::modifyDBInstanceDescriptionCallable(const ModifyDBInstanceDescriptionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceDescription(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyResourceGroupOutcome RdsClient::modifyResourceGroup(const ModifyResourceGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyResourceGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyResourceGroupOutcome(ModifyResourceGroupResult(outcome.result())); - else - return ModifyResourceGroupOutcome(outcome.error()); -} - -void RdsClient::modifyResourceGroupAsync(const ModifyResourceGroupRequest& request, const ModifyResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyResourceGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyResourceGroupOutcomeCallable RdsClient::modifyResourceGroupCallable(const ModifyResourceGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyResourceGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeProxyFunctionSupportOutcome RdsClient::describeProxyFunctionSupport(const DescribeProxyFunctionSupportRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeProxyFunctionSupportOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeProxyFunctionSupportOutcome(DescribeProxyFunctionSupportResult(outcome.result())); - else - return DescribeProxyFunctionSupportOutcome(outcome.error()); -} - -void RdsClient::describeProxyFunctionSupportAsync(const DescribeProxyFunctionSupportRequest& request, const DescribeProxyFunctionSupportAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeProxyFunctionSupport(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeProxyFunctionSupportOutcomeCallable RdsClient::describeProxyFunctionSupportCallable(const DescribeProxyFunctionSupportRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeProxyFunctionSupport(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeOssDownloadsForSQLServerOutcome RdsClient::describeOssDownloadsForSQLServer(const DescribeOssDownloadsForSQLServerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeOssDownloadsForSQLServerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeOssDownloadsForSQLServerOutcome(DescribeOssDownloadsForSQLServerResult(outcome.result())); - else - return DescribeOssDownloadsForSQLServerOutcome(outcome.error()); -} - -void RdsClient::describeOssDownloadsForSQLServerAsync(const DescribeOssDownloadsForSQLServerRequest& request, const DescribeOssDownloadsForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeOssDownloadsForSQLServer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeOssDownloadsForSQLServerOutcomeCallable RdsClient::describeOssDownloadsForSQLServerCallable(const DescribeOssDownloadsForSQLServerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeOssDownloadsForSQLServer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ResetAccountOutcome RdsClient::resetAccount(const ResetAccountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResetAccountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResetAccountOutcome(ResetAccountResult(outcome.result())); - else - return ResetAccountOutcome(outcome.error()); -} - -void RdsClient::resetAccountAsync(const ResetAccountRequest& request, const ResetAccountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resetAccount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ResetAccountOutcomeCallable RdsClient::resetAccountCallable(const ResetAccountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resetAccount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeResourceUsageOutcome RdsClient::describeResourceUsage(const DescribeResourceUsageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeResourceUsageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeResourceUsageOutcome(DescribeResourceUsageResult(outcome.result())); - else - return DescribeResourceUsageOutcome(outcome.error()); -} - -void RdsClient::describeResourceUsageAsync(const DescribeResourceUsageRequest& request, const DescribeResourceUsageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeResourceUsage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeResourceUsageOutcomeCallable RdsClient::describeResourceUsageCallable(const DescribeResourceUsageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeResourceUsage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::PurgeDBInstanceLogOutcome RdsClient::purgeDBInstanceLog(const PurgeDBInstanceLogRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PurgeDBInstanceLogOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PurgeDBInstanceLogOutcome(PurgeDBInstanceLogResult(outcome.result())); - else - return PurgeDBInstanceLogOutcome(outcome.error()); -} - -void RdsClient::purgeDBInstanceLogAsync(const PurgeDBInstanceLogRequest& request, const PurgeDBInstanceLogAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, purgeDBInstanceLog(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::PurgeDBInstanceLogOutcomeCallable RdsClient::purgeDBInstanceLogCallable(const PurgeDBInstanceLogRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->purgeDBInstanceLog(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeTaskInfoOutcome RdsClient::describeTaskInfo(const DescribeTaskInfoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeTaskInfoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeTaskInfoOutcome(DescribeTaskInfoResult(outcome.result())); - else - return DescribeTaskInfoOutcome(outcome.error()); -} - -void RdsClient::describeTaskInfoAsync(const DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeTaskInfo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeTaskInfoOutcomeCallable RdsClient::describeTaskInfoCallable(const DescribeTaskInfoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeTaskInfo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::UpgradeDBInstanceKernelVersionOutcome RdsClient::upgradeDBInstanceKernelVersion(const UpgradeDBInstanceKernelVersionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpgradeDBInstanceKernelVersionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpgradeDBInstanceKernelVersionOutcome(UpgradeDBInstanceKernelVersionResult(outcome.result())); - else - return UpgradeDBInstanceKernelVersionOutcome(outcome.error()); -} - -void RdsClient::upgradeDBInstanceKernelVersionAsync(const UpgradeDBInstanceKernelVersionRequest& request, const UpgradeDBInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, upgradeDBInstanceKernelVersion(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::UpgradeDBInstanceKernelVersionOutcomeCallable RdsClient::upgradeDBInstanceKernelVersionCallable(const UpgradeDBInstanceKernelVersionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->upgradeDBInstanceKernelVersion(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyMySQLDBInstanceDelayOutcome RdsClient::modifyMySQLDBInstanceDelay(const ModifyMySQLDBInstanceDelayRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyMySQLDBInstanceDelayOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyMySQLDBInstanceDelayOutcome(ModifyMySQLDBInstanceDelayResult(outcome.result())); - else - return ModifyMySQLDBInstanceDelayOutcome(outcome.error()); -} - -void RdsClient::modifyMySQLDBInstanceDelayAsync(const ModifyMySQLDBInstanceDelayRequest& request, const ModifyMySQLDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyMySQLDBInstanceDelay(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyMySQLDBInstanceDelayOutcomeCallable RdsClient::modifyMySQLDBInstanceDelayCallable(const ModifyMySQLDBInstanceDelayRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyMySQLDBInstanceDelay(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeRegionsOutcome RdsClient::describeRegions(const DescribeRegionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRegionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result())); - else - return DescribeRegionsOutcome(outcome.error()); -} - -void RdsClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRegions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeRegionsOutcomeCallable RdsClient::describeRegionsCallable(const DescribeRegionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRegions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::MigrateToOtherZoneOutcome RdsClient::migrateToOtherZone(const MigrateToOtherZoneRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return MigrateToOtherZoneOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return MigrateToOtherZoneOutcome(MigrateToOtherZoneResult(outcome.result())); - else - return MigrateToOtherZoneOutcome(outcome.error()); -} - -void RdsClient::migrateToOtherZoneAsync(const MigrateToOtherZoneRequest& request, const MigrateToOtherZoneAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, migrateToOtherZone(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::MigrateToOtherZoneOutcomeCallable RdsClient::migrateToOtherZoneCallable(const MigrateToOtherZoneRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->migrateToOtherZone(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DeleteAccountOutcome RdsClient::deleteAccount(const DeleteAccountRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteAccountOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteAccountOutcome(DeleteAccountResult(outcome.result())); - else - return DeleteAccountOutcome(outcome.error()); -} - -void RdsClient::deleteAccountAsync(const DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteAccount(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DeleteAccountOutcomeCallable RdsClient::deleteAccountCallable(const DeleteAccountRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteAccount(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSlowLogRecordsOutcome RdsClient::describeSlowLogRecords(const DescribeSlowLogRecordsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSlowLogRecordsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSlowLogRecordsOutcome(DescribeSlowLogRecordsResult(outcome.result())); - else - return DescribeSlowLogRecordsOutcome(outcome.error()); -} - -void RdsClient::describeSlowLogRecordsAsync(const DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSlowLogRecords(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSlowLogRecordsOutcomeCallable RdsClient::describeSlowLogRecordsCallable(const DescribeSlowLogRecordsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSlowLogRecords(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ReleaseReadWriteSplittingConnectionOutcome RdsClient::releaseReadWriteSplittingConnection(const ReleaseReadWriteSplittingConnectionRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ReleaseReadWriteSplittingConnectionOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ReleaseReadWriteSplittingConnectionOutcome(ReleaseReadWriteSplittingConnectionResult(outcome.result())); - else - return ReleaseReadWriteSplittingConnectionOutcome(outcome.error()); -} - -void RdsClient::releaseReadWriteSplittingConnectionAsync(const ReleaseReadWriteSplittingConnectionRequest& request, const ReleaseReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, releaseReadWriteSplittingConnection(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ReleaseReadWriteSplittingConnectionOutcomeCallable RdsClient::releaseReadWriteSplittingConnectionCallable(const ReleaseReadWriteSplittingConnectionRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->releaseReadWriteSplittingConnection(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeLogBackupFilesOutcome RdsClient::describeLogBackupFiles(const DescribeLogBackupFilesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeLogBackupFilesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeLogBackupFilesOutcome(DescribeLogBackupFilesResult(outcome.result())); - else - return DescribeLogBackupFilesOutcome(outcome.error()); -} - -void RdsClient::describeLogBackupFilesAsync(const DescribeLogBackupFilesRequest& request, const DescribeLogBackupFilesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeLogBackupFiles(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeLogBackupFilesOutcomeCallable RdsClient::describeLogBackupFilesCallable(const DescribeLogBackupFilesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeLogBackupFiles(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeAvailableInstanceClassOutcome RdsClient::describeAvailableInstanceClass(const DescribeAvailableInstanceClassRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeAvailableInstanceClassOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeAvailableInstanceClassOutcome(DescribeAvailableInstanceClassResult(outcome.result())); - else - return DescribeAvailableInstanceClassOutcome(outcome.error()); -} - -void RdsClient::describeAvailableInstanceClassAsync(const DescribeAvailableInstanceClassRequest& request, const DescribeAvailableInstanceClassAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeAvailableInstanceClass(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeAvailableInstanceClassOutcomeCallable RdsClient::describeAvailableInstanceClassCallable(const DescribeAvailableInstanceClassRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeAvailableInstanceClass(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeErrorLogsOutcome RdsClient::describeErrorLogs(const DescribeErrorLogsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeErrorLogsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeErrorLogsOutcome(DescribeErrorLogsResult(outcome.result())); - else - return DescribeErrorLogsOutcome(outcome.error()); -} - -void RdsClient::describeErrorLogsAsync(const DescribeErrorLogsRequest& request, const DescribeErrorLogsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeErrorLogs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeErrorLogsOutcomeCallable RdsClient::describeErrorLogsCallable(const DescribeErrorLogsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeErrorLogs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceHAConfigOutcome RdsClient::modifyDBInstanceHAConfig(const ModifyDBInstanceHAConfigRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceHAConfigOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceHAConfigOutcome(ModifyDBInstanceHAConfigResult(outcome.result())); - else - return ModifyDBInstanceHAConfigOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceHAConfigAsync(const ModifyDBInstanceHAConfigRequest& request, const ModifyDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceHAConfig(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceHAConfigOutcomeCallable RdsClient::modifyDBInstanceHAConfigCallable(const ModifyDBInstanceHAConfigRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceHAConfig(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstancesAsCsvOutcome RdsClient::describeDBInstancesAsCsv(const DescribeDBInstancesAsCsvRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstancesAsCsvOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstancesAsCsvOutcome(DescribeDBInstancesAsCsvResult(outcome.result())); - else - return DescribeDBInstancesAsCsvOutcome(outcome.error()); -} - -void RdsClient::describeDBInstancesAsCsvAsync(const DescribeDBInstancesAsCsvRequest& request, const DescribeDBInstancesAsCsvAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstancesAsCsv(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstancesAsCsvOutcomeCallable RdsClient::describeDBInstancesAsCsvCallable(const DescribeDBInstancesAsCsvRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstancesAsCsv(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ResetAccountPasswordOutcome RdsClient::resetAccountPassword(const ResetAccountPasswordRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResetAccountPasswordOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResetAccountPasswordOutcome(ResetAccountPasswordResult(outcome.result())); - else - return ResetAccountPasswordOutcome(outcome.error()); -} - -void RdsClient::resetAccountPasswordAsync(const ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resetAccountPassword(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ResetAccountPasswordOutcomeCallable RdsClient::resetAccountPasswordCallable(const ResetAccountPasswordRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resetAccountPassword(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyDBInstanceProxyConfigurationOutcome RdsClient::modifyDBInstanceProxyConfiguration(const ModifyDBInstanceProxyConfigurationRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyDBInstanceProxyConfigurationOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyDBInstanceProxyConfigurationOutcome(ModifyDBInstanceProxyConfigurationResult(outcome.result())); - else - return ModifyDBInstanceProxyConfigurationOutcome(outcome.error()); -} - -void RdsClient::modifyDBInstanceProxyConfigurationAsync(const ModifyDBInstanceProxyConfigurationRequest& request, const ModifyDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyDBInstanceProxyConfiguration(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyDBInstanceProxyConfigurationOutcomeCallable RdsClient::modifyDBInstanceProxyConfigurationCallable(const ModifyDBInstanceProxyConfigurationRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyDBInstanceProxyConfiguration(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribePriceOutcome RdsClient::describePrice(const DescribePriceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribePriceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribePriceOutcome(DescribePriceResult(outcome.result())); - else - return DescribePriceOutcome(outcome.error()); -} - -void RdsClient::describePriceAsync(const DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describePrice(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribePriceOutcomeCallable RdsClient::describePriceCallable(const DescribePriceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describePrice(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeAccountsOutcome RdsClient::describeAccounts(const DescribeAccountsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeAccountsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeAccountsOutcome(DescribeAccountsResult(outcome.result())); - else - return DescribeAccountsOutcome(outcome.error()); -} - -void RdsClient::describeAccountsAsync(const DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeAccounts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeAccountsOutcomeCallable RdsClient::describeAccountsCallable(const DescribeAccountsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeAccounts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceByTagsOutcome RdsClient::describeDBInstanceByTags(const DescribeDBInstanceByTagsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceByTagsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceByTagsOutcome(DescribeDBInstanceByTagsResult(outcome.result())); - else - return DescribeDBInstanceByTagsOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceByTagsAsync(const DescribeDBInstanceByTagsRequest& request, const DescribeDBInstanceByTagsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceByTags(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceByTagsOutcomeCallable RdsClient::describeDBInstanceByTagsCallable(const DescribeDBInstanceByTagsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceByTags(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeMetaListOutcome RdsClient::describeMetaList(const DescribeMetaListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeMetaListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeMetaListOutcome(DescribeMetaListResult(outcome.result())); - else - return DescribeMetaListOutcome(outcome.error()); -} - -void RdsClient::describeMetaListAsync(const DescribeMetaListRequest& request, const DescribeMetaListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeMetaList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeMetaListOutcomeCallable RdsClient::describeMetaListCallable(const DescribeMetaListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeMetaList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceSSLOutcome RdsClient::describeDBInstanceSSL(const DescribeDBInstanceSSLRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceSSLOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceSSLOutcome(DescribeDBInstanceSSLResult(outcome.result())); - else - return DescribeDBInstanceSSLOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceSSLAsync(const DescribeDBInstanceSSLRequest& request, const DescribeDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceSSL(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceSSLOutcomeCallable RdsClient::describeDBInstanceSSLCallable(const DescribeDBInstanceSSLRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceSSL(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstancesByPerformanceOutcome RdsClient::describeDBInstancesByPerformance(const DescribeDBInstancesByPerformanceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstancesByPerformanceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstancesByPerformanceOutcome(DescribeDBInstancesByPerformanceResult(outcome.result())); - else - return DescribeDBInstancesByPerformanceOutcome(outcome.error()); -} - -void RdsClient::describeDBInstancesByPerformanceAsync(const DescribeDBInstancesByPerformanceRequest& request, const DescribeDBInstancesByPerformanceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstancesByPerformance(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstancesByPerformanceOutcomeCallable RdsClient::describeDBInstancesByPerformanceCallable(const DescribeDBInstancesByPerformanceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstancesByPerformance(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeSQLReportsOutcome RdsClient::describeSQLReports(const DescribeSQLReportsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeSQLReportsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeSQLReportsOutcome(DescribeSQLReportsResult(outcome.result())); - else - return DescribeSQLReportsOutcome(outcome.error()); -} - -void RdsClient::describeSQLReportsAsync(const DescribeSQLReportsRequest& request, const DescribeSQLReportsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeSQLReports(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeSQLReportsOutcomeCallable RdsClient::describeSQLReportsCallable(const DescribeSQLReportsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeSQLReports(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeBackupTasksOutcome RdsClient::describeBackupTasks(const DescribeBackupTasksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBackupTasksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBackupTasksOutcome(DescribeBackupTasksResult(outcome.result())); - else - return DescribeBackupTasksOutcome(outcome.error()); -} - -void RdsClient::describeBackupTasksAsync(const DescribeBackupTasksRequest& request, const DescribeBackupTasksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBackupTasks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeBackupTasksOutcomeCallable RdsClient::describeBackupTasksCallable(const DescribeBackupTasksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBackupTasks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DeleteDatabaseOutcome RdsClient::deleteDatabase(const DeleteDatabaseRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDatabaseOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDatabaseOutcome(DeleteDatabaseResult(outcome.result())); - else - return DeleteDatabaseOutcome(outcome.error()); -} - -void RdsClient::deleteDatabaseAsync(const DeleteDatabaseRequest& request, const DeleteDatabaseAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDatabase(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DeleteDatabaseOutcomeCallable RdsClient::deleteDatabaseCallable(const DeleteDatabaseRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDatabase(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ModifyCollationTimeZoneOutcome RdsClient::modifyCollationTimeZone(const ModifyCollationTimeZoneRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ModifyCollationTimeZoneOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ModifyCollationTimeZoneOutcome(ModifyCollationTimeZoneResult(outcome.result())); - else - return ModifyCollationTimeZoneOutcome(outcome.error()); -} - -void RdsClient::modifyCollationTimeZoneAsync(const ModifyCollationTimeZoneRequest& request, const ModifyCollationTimeZoneAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, modifyCollationTimeZone(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ModifyCollationTimeZoneOutcomeCallable RdsClient::modifyCollationTimeZoneCallable(const ModifyCollationTimeZoneRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->modifyCollationTimeZone(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeBackupPolicyOutcome RdsClient::describeBackupPolicy(const DescribeBackupPolicyRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeBackupPolicyOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeBackupPolicyOutcome(DescribeBackupPolicyResult(outcome.result())); - else - return DescribeBackupPolicyOutcome(outcome.error()); -} - -void RdsClient::describeBackupPolicyAsync(const DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeBackupPolicy(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeBackupPolicyOutcomeCallable RdsClient::describeBackupPolicyCallable(const DescribeBackupPolicyRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeBackupPolicy(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::CreateMigrateTaskForSQLServerOutcome RdsClient::createMigrateTaskForSQLServer(const CreateMigrateTaskForSQLServerRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateMigrateTaskForSQLServerOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateMigrateTaskForSQLServerOutcome(CreateMigrateTaskForSQLServerResult(outcome.result())); - else - return CreateMigrateTaskForSQLServerOutcome(outcome.error()); -} - -void RdsClient::createMigrateTaskForSQLServerAsync(const CreateMigrateTaskForSQLServerRequest& request, const CreateMigrateTaskForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createMigrateTaskForSQLServer(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::CreateMigrateTaskForSQLServerOutcomeCallable RdsClient::createMigrateTaskForSQLServerCallable(const CreateMigrateTaskForSQLServerRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createMigrateTaskForSQLServer(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::DescribeDBInstanceIPArrayListOutcome RdsClient::describeDBInstanceIPArrayList(const DescribeDBInstanceIPArrayListRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeDBInstanceIPArrayListOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeDBInstanceIPArrayListOutcome(DescribeDBInstanceIPArrayListResult(outcome.result())); - else - return DescribeDBInstanceIPArrayListOutcome(outcome.error()); -} - -void RdsClient::describeDBInstanceIPArrayListAsync(const DescribeDBInstanceIPArrayListRequest& request, const DescribeDBInstanceIPArrayListAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeDBInstanceIPArrayList(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::DescribeDBInstanceIPArrayListOutcomeCallable RdsClient::describeDBInstanceIPArrayListCallable(const DescribeDBInstanceIPArrayListRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeDBInstanceIPArrayList(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::SwitchDBInstanceHAOutcome RdsClient::switchDBInstanceHA(const SwitchDBInstanceHARequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SwitchDBInstanceHAOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SwitchDBInstanceHAOutcome(SwitchDBInstanceHAResult(outcome.result())); - else - return SwitchDBInstanceHAOutcome(outcome.error()); -} - -void RdsClient::switchDBInstanceHAAsync(const SwitchDBInstanceHARequest& request, const SwitchDBInstanceHAAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, switchDBInstanceHA(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::SwitchDBInstanceHAOutcomeCallable RdsClient::switchDBInstanceHACallable(const SwitchDBInstanceHARequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->switchDBInstanceHA(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -RdsClient::ResetAccountForPGOutcome RdsClient::resetAccountForPG(const ResetAccountForPGRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ResetAccountForPGOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ResetAccountForPGOutcome(ResetAccountForPGResult(outcome.result())); - else - return ResetAccountForPGOutcome(outcome.error()); -} - -void RdsClient::resetAccountForPGAsync(const ResetAccountForPGRequest& request, const ResetAccountForPGAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, resetAccountForPG(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -RdsClient::ResetAccountForPGOutcomeCallable RdsClient::resetAccountForPGCallable(const ResetAccountForPGRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->resetAccountForPG(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +namespace +{ + const std::string SERVICE_NAME = "Rds"; +} + +RdsClient::RdsClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "Rds"); +} + +RdsClient::RdsClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "Rds"); +} + +RdsClient::RdsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "Rds"); +} + +RdsClient::~RdsClient() +{} + +RdsClient::CreateMigrateTaskOutcome RdsClient::createMigrateTask(const CreateMigrateTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMigrateTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMigrateTaskOutcome(CreateMigrateTaskResult(outcome.result())); + else + return CreateMigrateTaskOutcome(outcome.error()); +} + +void RdsClient::createMigrateTaskAsync(const CreateMigrateTaskRequest& request, const CreateMigrateTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMigrateTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateMigrateTaskOutcomeCallable RdsClient::createMigrateTaskCallable(const CreateMigrateTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMigrateTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CheckRecoveryConditionsOutcome RdsClient::checkRecoveryConditions(const CheckRecoveryConditionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckRecoveryConditionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckRecoveryConditionsOutcome(CheckRecoveryConditionsResult(outcome.result())); + else + return CheckRecoveryConditionsOutcome(outcome.error()); +} + +void RdsClient::checkRecoveryConditionsAsync(const CheckRecoveryConditionsRequest& request, const CheckRecoveryConditionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkRecoveryConditions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CheckRecoveryConditionsOutcomeCallable RdsClient::checkRecoveryConditionsCallable(const CheckRecoveryConditionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkRecoveryConditions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DeleteBackupOutcome RdsClient::deleteBackup(const DeleteBackupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteBackupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteBackupOutcome(DeleteBackupResult(outcome.result())); + else + return DeleteBackupOutcome(outcome.error()); +} + +void RdsClient::deleteBackupAsync(const DeleteBackupRequest& request, const DeleteBackupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteBackup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DeleteBackupOutcomeCallable RdsClient::deleteBackupCallable(const DeleteBackupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteBackup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDatabasesOutcome RdsClient::describeDatabases(const DescribeDatabasesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDatabasesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDatabasesOutcome(DescribeDatabasesResult(outcome.result())); + else + return DescribeDatabasesOutcome(outcome.error()); +} + +void RdsClient::describeDatabasesAsync(const DescribeDatabasesRequest& request, const DescribeDatabasesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDatabases(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDatabasesOutcomeCallable RdsClient::describeDatabasesCallable(const DescribeDatabasesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDatabases(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstancesByExpireTimeOutcome RdsClient::describeDBInstancesByExpireTime(const DescribeDBInstancesByExpireTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstancesByExpireTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstancesByExpireTimeOutcome(DescribeDBInstancesByExpireTimeResult(outcome.result())); + else + return DescribeDBInstancesByExpireTimeOutcome(outcome.error()); +} + +void RdsClient::describeDBInstancesByExpireTimeAsync(const DescribeDBInstancesByExpireTimeRequest& request, const DescribeDBInstancesByExpireTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstancesByExpireTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstancesByExpireTimeOutcomeCallable RdsClient::describeDBInstancesByExpireTimeCallable(const DescribeDBInstancesByExpireTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstancesByExpireTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::SwitchDBInstanceNetTypeOutcome RdsClient::switchDBInstanceNetType(const SwitchDBInstanceNetTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SwitchDBInstanceNetTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SwitchDBInstanceNetTypeOutcome(SwitchDBInstanceNetTypeResult(outcome.result())); + else + return SwitchDBInstanceNetTypeOutcome(outcome.error()); +} + +void RdsClient::switchDBInstanceNetTypeAsync(const SwitchDBInstanceNetTypeRequest& request, const SwitchDBInstanceNetTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, switchDBInstanceNetType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::SwitchDBInstanceNetTypeOutcomeCallable RdsClient::switchDBInstanceNetTypeCallable(const SwitchDBInstanceNetTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->switchDBInstanceNetType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceMonitorOutcome RdsClient::describeDBInstanceMonitor(const DescribeDBInstanceMonitorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceMonitorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceMonitorOutcome(DescribeDBInstanceMonitorResult(outcome.result())); + else + return DescribeDBInstanceMonitorOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceMonitorAsync(const DescribeDBInstanceMonitorRequest& request, const DescribeDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceMonitor(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceMonitorOutcomeCallable RdsClient::describeDBInstanceMonitorCallable(const DescribeDBInstanceMonitorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceMonitor(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceHAConfigOutcome RdsClient::describeDBInstanceHAConfig(const DescribeDBInstanceHAConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceHAConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceHAConfigOutcome(DescribeDBInstanceHAConfigResult(outcome.result())); + else + return DescribeDBInstanceHAConfigOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceHAConfigAsync(const DescribeDBInstanceHAConfigRequest& request, const DescribeDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceHAConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceHAConfigOutcomeCallable RdsClient::describeDBInstanceHAConfigCallable(const DescribeDBInstanceHAConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceHAConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateReadOnlyDBInstanceOutcome RdsClient::createReadOnlyDBInstance(const CreateReadOnlyDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateReadOnlyDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateReadOnlyDBInstanceOutcome(CreateReadOnlyDBInstanceResult(outcome.result())); + else + return CreateReadOnlyDBInstanceOutcome(outcome.error()); +} + +void RdsClient::createReadOnlyDBInstanceAsync(const CreateReadOnlyDBInstanceRequest& request, const CreateReadOnlyDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createReadOnlyDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateReadOnlyDBInstanceOutcomeCallable RdsClient::createReadOnlyDBInstanceCallable(const CreateReadOnlyDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createReadOnlyDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyAccountDescriptionOutcome RdsClient::modifyAccountDescription(const ModifyAccountDescriptionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyAccountDescriptionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyAccountDescriptionOutcome(ModifyAccountDescriptionResult(outcome.result())); + else + return ModifyAccountDescriptionOutcome(outcome.error()); +} + +void RdsClient::modifyAccountDescriptionAsync(const ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyAccountDescription(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyAccountDescriptionOutcomeCallable RdsClient::modifyAccountDescriptionCallable(const ModifyAccountDescriptionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyAccountDescription(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::MigrateToOtherRegionOutcome RdsClient::migrateToOtherRegion(const MigrateToOtherRegionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MigrateToOtherRegionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MigrateToOtherRegionOutcome(MigrateToOtherRegionResult(outcome.result())); + else + return MigrateToOtherRegionOutcome(outcome.error()); +} + +void RdsClient::migrateToOtherRegionAsync(const MigrateToOtherRegionRequest& request, const MigrateToOtherRegionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, migrateToOtherRegion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::MigrateToOtherRegionOutcomeCallable RdsClient::migrateToOtherRegionCallable(const MigrateToOtherRegionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->migrateToOtherRegion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeOssDownloadsOutcome RdsClient::describeOssDownloads(const DescribeOssDownloadsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOssDownloadsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOssDownloadsOutcome(DescribeOssDownloadsResult(outcome.result())); + else + return DescribeOssDownloadsOutcome(outcome.error()); +} + +void RdsClient::describeOssDownloadsAsync(const DescribeOssDownloadsRequest& request, const DescribeOssDownloadsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOssDownloads(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeOssDownloadsOutcomeCallable RdsClient::describeOssDownloadsCallable(const DescribeOssDownloadsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOssDownloads(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyParameterOutcome RdsClient::modifyParameter(const ModifyParameterRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyParameterOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyParameterOutcome(ModifyParameterResult(outcome.result())); + else + return ModifyParameterOutcome(outcome.error()); +} + +void RdsClient::modifyParameterAsync(const ModifyParameterRequest& request, const ModifyParameterAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyParameter(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyParameterOutcomeCallable RdsClient::modifyParameterCallable(const ModifyParameterRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyParameter(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::UpgradeDBInstanceEngineVersionOutcome RdsClient::upgradeDBInstanceEngineVersion(const UpgradeDBInstanceEngineVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpgradeDBInstanceEngineVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpgradeDBInstanceEngineVersionOutcome(UpgradeDBInstanceEngineVersionResult(outcome.result())); + else + return UpgradeDBInstanceEngineVersionOutcome(outcome.error()); +} + +void RdsClient::upgradeDBInstanceEngineVersionAsync(const UpgradeDBInstanceEngineVersionRequest& request, const UpgradeDBInstanceEngineVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, upgradeDBInstanceEngineVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::UpgradeDBInstanceEngineVersionOutcomeCallable RdsClient::upgradeDBInstanceEngineVersionCallable(const UpgradeDBInstanceEngineVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->upgradeDBInstanceEngineVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceConnectionStringOutcome RdsClient::modifyDBInstanceConnectionString(const ModifyDBInstanceConnectionStringRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceConnectionStringOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceConnectionStringOutcome(ModifyDBInstanceConnectionStringResult(outcome.result())); + else + return ModifyDBInstanceConnectionStringOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceConnectionStringAsync(const ModifyDBInstanceConnectionStringRequest& request, const ModifyDBInstanceConnectionStringAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceConnectionString(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceConnectionStringOutcomeCallable RdsClient::modifyDBInstanceConnectionStringCallable(const ModifyDBInstanceConnectionStringRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceConnectionString(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CheckAccountNameAvailableOutcome RdsClient::checkAccountNameAvailable(const CheckAccountNameAvailableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckAccountNameAvailableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckAccountNameAvailableOutcome(CheckAccountNameAvailableResult(outcome.result())); + else + return CheckAccountNameAvailableOutcome(outcome.error()); +} + +void RdsClient::checkAccountNameAvailableAsync(const CheckAccountNameAvailableRequest& request, const CheckAccountNameAvailableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkAccountNameAvailable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CheckAccountNameAvailableOutcomeCallable RdsClient::checkAccountNameAvailableCallable(const CheckAccountNameAvailableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkAccountNameAvailable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RestartDBInstanceOutcome RdsClient::restartDBInstance(const RestartDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RestartDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RestartDBInstanceOutcome(RestartDBInstanceResult(outcome.result())); + else + return RestartDBInstanceOutcome(outcome.error()); +} + +void RdsClient::restartDBInstanceAsync(const RestartDBInstanceRequest& request, const RestartDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, restartDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RestartDBInstanceOutcomeCallable RdsClient::restartDBInstanceCallable(const RestartDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->restartDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeTemplatesListOutcome RdsClient::describeTemplatesList(const DescribeTemplatesListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTemplatesListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTemplatesListOutcome(DescribeTemplatesListResult(outcome.result())); + else + return DescribeTemplatesListOutcome(outcome.error()); +} + +void RdsClient::describeTemplatesListAsync(const DescribeTemplatesListRequest& request, const DescribeTemplatesListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTemplatesList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeTemplatesListOutcomeCallable RdsClient::describeTemplatesListCallable(const DescribeTemplatesListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTemplatesList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ImportDataForSQLServerOutcome RdsClient::importDataForSQLServer(const ImportDataForSQLServerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportDataForSQLServerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportDataForSQLServerOutcome(ImportDataForSQLServerResult(outcome.result())); + else + return ImportDataForSQLServerOutcome(outcome.error()); +} + +void RdsClient::importDataForSQLServerAsync(const ImportDataForSQLServerRequest& request, const ImportDataForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importDataForSQLServer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ImportDataForSQLServerOutcomeCallable RdsClient::importDataForSQLServerCallable(const ImportDataForSQLServerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importDataForSQLServer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifySecurityGroupConfigurationOutcome RdsClient::modifySecurityGroupConfiguration(const ModifySecurityGroupConfigurationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySecurityGroupConfigurationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySecurityGroupConfigurationOutcome(ModifySecurityGroupConfigurationResult(outcome.result())); + else + return ModifySecurityGroupConfigurationOutcome(outcome.error()); +} + +void RdsClient::modifySecurityGroupConfigurationAsync(const ModifySecurityGroupConfigurationRequest& request, const ModifySecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySecurityGroupConfiguration(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifySecurityGroupConfigurationOutcomeCallable RdsClient::modifySecurityGroupConfigurationCallable(const ModifySecurityGroupConfigurationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySecurityGroupConfiguration(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeTagsOutcome RdsClient::describeTags(const DescribeTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTagsOutcome(DescribeTagsResult(outcome.result())); + else + return DescribeTagsOutcome(outcome.error()); +} + +void RdsClient::describeTagsAsync(const DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeTagsOutcomeCallable RdsClient::describeTagsCallable(const DescribeTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CheckResourceOutcome RdsClient::checkResource(const CheckResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckResourceOutcome(CheckResourceResult(outcome.result())); + else + return CheckResourceOutcome(outcome.error()); +} + +void RdsClient::checkResourceAsync(const CheckResourceRequest& request, const CheckResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CheckResourceOutcomeCallable RdsClient::checkResourceCallable(const CheckResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeCharacterSetNameOutcome RdsClient::describeCharacterSetName(const DescribeCharacterSetNameRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCharacterSetNameOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCharacterSetNameOutcome(DescribeCharacterSetNameResult(outcome.result())); + else + return DescribeCharacterSetNameOutcome(outcome.error()); +} + +void RdsClient::describeCharacterSetNameAsync(const DescribeCharacterSetNameRequest& request, const DescribeCharacterSetNameAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCharacterSetName(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeCharacterSetNameOutcomeCallable RdsClient::describeCharacterSetNameCallable(const DescribeCharacterSetNameRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCharacterSetName(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeMigrateTasksOutcome RdsClient::describeMigrateTasks(const DescribeMigrateTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMigrateTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMigrateTasksOutcome(DescribeMigrateTasksResult(outcome.result())); + else + return DescribeMigrateTasksOutcome(outcome.error()); +} + +void RdsClient::describeMigrateTasksAsync(const DescribeMigrateTasksRequest& request, const DescribeMigrateTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMigrateTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeMigrateTasksOutcomeCallable RdsClient::describeMigrateTasksCallable(const DescribeMigrateTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMigrateTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceNetworkExpireTimeOutcome RdsClient::modifyDBInstanceNetworkExpireTime(const ModifyDBInstanceNetworkExpireTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceNetworkExpireTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceNetworkExpireTimeOutcome(ModifyDBInstanceNetworkExpireTimeResult(outcome.result())); + else + return ModifyDBInstanceNetworkExpireTimeOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceNetworkExpireTimeAsync(const ModifyDBInstanceNetworkExpireTimeRequest& request, const ModifyDBInstanceNetworkExpireTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceNetworkExpireTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceNetworkExpireTimeOutcomeCallable RdsClient::modifyDBInstanceNetworkExpireTimeCallable(const ModifyDBInstanceNetworkExpireTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceNetworkExpireTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateAccountOutcome RdsClient::createAccount(const CreateAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateAccountOutcome(CreateAccountResult(outcome.result())); + else + return CreateAccountOutcome(outcome.error()); +} + +void RdsClient::createAccountAsync(const CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateAccountOutcomeCallable RdsClient::createAccountCallable(const CreateAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeModifyParameterLogOutcome RdsClient::describeModifyParameterLog(const DescribeModifyParameterLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeModifyParameterLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeModifyParameterLogOutcome(DescribeModifyParameterLogResult(outcome.result())); + else + return DescribeModifyParameterLogOutcome(outcome.error()); +} + +void RdsClient::describeModifyParameterLogAsync(const DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeModifyParameterLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeModifyParameterLogOutcomeCallable RdsClient::describeModifyParameterLogCallable(const DescribeModifyParameterLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeModifyParameterLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RecoveryDBInstanceOutcome RdsClient::recoveryDBInstance(const RecoveryDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RecoveryDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RecoveryDBInstanceOutcome(RecoveryDBInstanceResult(outcome.result())); + else + return RecoveryDBInstanceOutcome(outcome.error()); +} + +void RdsClient::recoveryDBInstanceAsync(const RecoveryDBInstanceRequest& request, const RecoveryDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, recoveryDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RecoveryDBInstanceOutcomeCallable RdsClient::recoveryDBInstanceCallable(const RecoveryDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->recoveryDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBDescriptionOutcome RdsClient::modifyDBDescription(const ModifyDBDescriptionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBDescriptionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBDescriptionOutcome(ModifyDBDescriptionResult(outcome.result())); + else + return ModifyDBDescriptionOutcome(outcome.error()); +} + +void RdsClient::modifyDBDescriptionAsync(const ModifyDBDescriptionRequest& request, const ModifyDBDescriptionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBDescription(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBDescriptionOutcomeCallable RdsClient::modifyDBDescriptionCallable(const ModifyDBDescriptionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBDescription(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ImportDatabaseBetweenInstancesOutcome RdsClient::importDatabaseBetweenInstances(const ImportDatabaseBetweenInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportDatabaseBetweenInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportDatabaseBetweenInstancesOutcome(ImportDatabaseBetweenInstancesResult(outcome.result())); + else + return ImportDatabaseBetweenInstancesOutcome(outcome.error()); +} + +void RdsClient::importDatabaseBetweenInstancesAsync(const ImportDatabaseBetweenInstancesRequest& request, const ImportDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importDatabaseBetweenInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ImportDatabaseBetweenInstancesOutcomeCallable RdsClient::importDatabaseBetweenInstancesCallable(const ImportDatabaseBetweenInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importDatabaseBetweenInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RenewInstanceOutcome RdsClient::renewInstance(const RenewInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RenewInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RenewInstanceOutcome(RenewInstanceResult(outcome.result())); + else + return RenewInstanceOutcome(outcome.error()); +} + +void RdsClient::renewInstanceAsync(const RenewInstanceRequest& request, const RenewInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, renewInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RenewInstanceOutcomeCallable RdsClient::renewInstanceCallable(const RenewInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->renewInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceMonitorOutcome RdsClient::modifyDBInstanceMonitor(const ModifyDBInstanceMonitorRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceMonitorOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceMonitorOutcome(ModifyDBInstanceMonitorResult(outcome.result())); + else + return ModifyDBInstanceMonitorOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceMonitorAsync(const ModifyDBInstanceMonitorRequest& request, const ModifyDBInstanceMonitorAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceMonitor(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceMonitorOutcomeCallable RdsClient::modifyDBInstanceMonitorCallable(const ModifyDBInstanceMonitorRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceMonitor(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSQLLogFilesOutcome RdsClient::describeSQLLogFiles(const DescribeSQLLogFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLLogFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLLogFilesOutcome(DescribeSQLLogFilesResult(outcome.result())); + else + return DescribeSQLLogFilesOutcome(outcome.error()); +} + +void RdsClient::describeSQLLogFilesAsync(const DescribeSQLLogFilesRequest& request, const DescribeSQLLogFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLLogFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLLogFilesOutcomeCallable RdsClient::describeSQLLogFilesCallable(const DescribeSQLLogFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLLogFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CancelImportOutcome RdsClient::cancelImport(const CancelImportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CancelImportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CancelImportOutcome(CancelImportResult(outcome.result())); + else + return CancelImportOutcome(outcome.error()); +} + +void RdsClient::cancelImportAsync(const CancelImportRequest& request, const CancelImportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cancelImport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CancelImportOutcomeCallable RdsClient::cancelImportCallable(const CancelImportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cancelImport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyReplicaDescriptionOutcome RdsClient::modifyReplicaDescription(const ModifyReplicaDescriptionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyReplicaDescriptionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyReplicaDescriptionOutcome(ModifyReplicaDescriptionResult(outcome.result())); + else + return ModifyReplicaDescriptionOutcome(outcome.error()); +} + +void RdsClient::modifyReplicaDescriptionAsync(const ModifyReplicaDescriptionRequest& request, const ModifyReplicaDescriptionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyReplicaDescription(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyReplicaDescriptionOutcomeCallable RdsClient::modifyReplicaDescriptionCallable(const ModifyReplicaDescriptionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyReplicaDescription(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyBackupPolicyOutcome RdsClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyBackupPolicyOutcome(ModifyBackupPolicyResult(outcome.result())); + else + return ModifyBackupPolicyOutcome(outcome.error()); +} + +void RdsClient::modifyBackupPolicyAsync(const ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyBackupPolicyOutcomeCallable RdsClient::modifyBackupPolicyCallable(const ModifyBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSecurityGroupConfigurationOutcome RdsClient::describeSecurityGroupConfiguration(const DescribeSecurityGroupConfigurationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSecurityGroupConfigurationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSecurityGroupConfigurationOutcome(DescribeSecurityGroupConfigurationResult(outcome.result())); + else + return DescribeSecurityGroupConfigurationOutcome(outcome.error()); +} + +void RdsClient::describeSecurityGroupConfigurationAsync(const DescribeSecurityGroupConfigurationRequest& request, const DescribeSecurityGroupConfigurationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSecurityGroupConfiguration(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSecurityGroupConfigurationOutcomeCallable RdsClient::describeSecurityGroupConfigurationCallable(const DescribeSecurityGroupConfigurationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSecurityGroupConfiguration(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeParametersOutcome RdsClient::describeParameters(const DescribeParametersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeParametersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeParametersOutcome(DescribeParametersResult(outcome.result())); + else + return DescribeParametersOutcome(outcome.error()); +} + +void RdsClient::describeParametersAsync(const DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeParameters(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeParametersOutcomeCallable RdsClient::describeParametersCallable(const DescribeParametersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeParameters(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::AddTagsToResourceOutcome RdsClient::addTagsToResource(const AddTagsToResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddTagsToResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddTagsToResourceOutcome(AddTagsToResourceResult(outcome.result())); + else + return AddTagsToResourceOutcome(outcome.error()); +} + +void RdsClient::addTagsToResourceAsync(const AddTagsToResourceRequest& request, const AddTagsToResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addTagsToResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::AddTagsToResourceOutcomeCallable RdsClient::addTagsToResourceCallable(const AddTagsToResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addTagsToResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeBinlogFilesOutcome RdsClient::describeBinlogFiles(const DescribeBinlogFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBinlogFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBinlogFilesOutcome(DescribeBinlogFilesResult(outcome.result())); + else + return DescribeBinlogFilesOutcome(outcome.error()); +} + +void RdsClient::describeBinlogFilesAsync(const DescribeBinlogFilesRequest& request, const DescribeBinlogFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBinlogFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeBinlogFilesOutcomeCallable RdsClient::describeBinlogFilesCallable(const DescribeBinlogFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBinlogFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceProxyConfigurationOutcome RdsClient::describeDBInstanceProxyConfiguration(const DescribeDBInstanceProxyConfigurationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceProxyConfigurationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceProxyConfigurationOutcome(DescribeDBInstanceProxyConfigurationResult(outcome.result())); + else + return DescribeDBInstanceProxyConfigurationOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceProxyConfigurationAsync(const DescribeDBInstanceProxyConfigurationRequest& request, const DescribeDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceProxyConfiguration(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceProxyConfigurationOutcomeCallable RdsClient::describeDBInstanceProxyConfigurationCallable(const DescribeDBInstanceProxyConfigurationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceProxyConfiguration(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateDiagnosticReportOutcome RdsClient::createDiagnosticReport(const CreateDiagnosticReportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDiagnosticReportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDiagnosticReportOutcome(CreateDiagnosticReportResult(outcome.result())); + else + return CreateDiagnosticReportOutcome(outcome.error()); +} + +void RdsClient::createDiagnosticReportAsync(const CreateDiagnosticReportRequest& request, const CreateDiagnosticReportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDiagnosticReport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateDiagnosticReportOutcomeCallable RdsClient::createDiagnosticReportCallable(const CreateDiagnosticReportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDiagnosticReport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSQLLogReportListOutcome RdsClient::describeSQLLogReportList(const DescribeSQLLogReportListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLLogReportListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLLogReportListOutcome(DescribeSQLLogReportListResult(outcome.result())); + else + return DescribeSQLLogReportListOutcome(outcome.error()); +} + +void RdsClient::describeSQLLogReportListAsync(const DescribeSQLLogReportListRequest& request, const DescribeSQLLogReportListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLLogReportList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLLogReportListOutcomeCallable RdsClient::describeSQLLogReportListCallable(const DescribeSQLLogReportListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLLogReportList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeReadDBInstanceDelayOutcome RdsClient::describeReadDBInstanceDelay(const DescribeReadDBInstanceDelayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeReadDBInstanceDelayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeReadDBInstanceDelayOutcome(DescribeReadDBInstanceDelayResult(outcome.result())); + else + return DescribeReadDBInstanceDelayOutcome(outcome.error()); +} + +void RdsClient::describeReadDBInstanceDelayAsync(const DescribeReadDBInstanceDelayRequest& request, const DescribeReadDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeReadDBInstanceDelay(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeReadDBInstanceDelayOutcomeCallable RdsClient::describeReadDBInstanceDelayCallable(const DescribeReadDBInstanceDelayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeReadDBInstanceDelay(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CloneDBInstanceOutcome RdsClient::cloneDBInstance(const CloneDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CloneDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CloneDBInstanceOutcome(CloneDBInstanceResult(outcome.result())); + else + return CloneDBInstanceOutcome(outcome.error()); +} + +void RdsClient::cloneDBInstanceAsync(const CloneDBInstanceRequest& request, const CloneDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, cloneDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CloneDBInstanceOutcomeCallable RdsClient::cloneDBInstanceCallable(const CloneDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->cloneDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeTasksOutcome RdsClient::describeTasks(const DescribeTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTasksOutcome(DescribeTasksResult(outcome.result())); + else + return DescribeTasksOutcome(outcome.error()); +} + +void RdsClient::describeTasksAsync(const DescribeTasksRequest& request, const DescribeTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeTasksOutcomeCallable RdsClient::describeTasksCallable(const DescribeTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeRenewalPriceOutcome RdsClient::describeRenewalPrice(const DescribeRenewalPriceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRenewalPriceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRenewalPriceOutcome(DescribeRenewalPriceResult(outcome.result())); + else + return DescribeRenewalPriceOutcome(outcome.error()); +} + +void RdsClient::describeRenewalPriceAsync(const DescribeRenewalPriceRequest& request, const DescribeRenewalPriceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRenewalPrice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeRenewalPriceOutcomeCallable RdsClient::describeRenewalPriceCallable(const DescribeRenewalPriceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRenewalPrice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::AllocateInstancePublicConnectionOutcome RdsClient::allocateInstancePublicConnection(const AllocateInstancePublicConnectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AllocateInstancePublicConnectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AllocateInstancePublicConnectionOutcome(AllocateInstancePublicConnectionResult(outcome.result())); + else + return AllocateInstancePublicConnectionOutcome(outcome.error()); +} + +void RdsClient::allocateInstancePublicConnectionAsync(const AllocateInstancePublicConnectionRequest& request, const AllocateInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, allocateInstancePublicConnection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::AllocateInstancePublicConnectionOutcomeCallable RdsClient::allocateInstancePublicConnectionCallable(const AllocateInstancePublicConnectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->allocateInstancePublicConnection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceAttributeOutcome RdsClient::describeDBInstanceAttribute(const DescribeDBInstanceAttributeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceAttributeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceAttributeOutcome(DescribeDBInstanceAttributeResult(outcome.result())); + else + return DescribeDBInstanceAttributeOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceAttributeAsync(const DescribeDBInstanceAttributeRequest& request, const DescribeDBInstanceAttributeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceAttribute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceAttributeOutcomeCallable RdsClient::describeDBInstanceAttributeCallable(const DescribeDBInstanceAttributeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceAttribute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CheckInstanceExistOutcome RdsClient::checkInstanceExist(const CheckInstanceExistRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CheckInstanceExistOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CheckInstanceExistOutcome(CheckInstanceExistResult(outcome.result())); + else + return CheckInstanceExistOutcome(outcome.error()); +} + +void RdsClient::checkInstanceExistAsync(const CheckInstanceExistRequest& request, const CheckInstanceExistAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, checkInstanceExist(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CheckInstanceExistOutcomeCallable RdsClient::checkInstanceExistCallable(const CheckInstanceExistRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->checkInstanceExist(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateTempDBInstanceOutcome RdsClient::createTempDBInstance(const CreateTempDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTempDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTempDBInstanceOutcome(CreateTempDBInstanceResult(outcome.result())); + else + return CreateTempDBInstanceOutcome(outcome.error()); +} + +void RdsClient::createTempDBInstanceAsync(const CreateTempDBInstanceRequest& request, const CreateTempDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTempDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateTempDBInstanceOutcomeCallable RdsClient::createTempDBInstanceCallable(const CreateTempDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTempDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyInstanceAutoRenewalAttributeOutcome RdsClient::modifyInstanceAutoRenewalAttribute(const ModifyInstanceAutoRenewalAttributeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyInstanceAutoRenewalAttributeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyInstanceAutoRenewalAttributeOutcome(ModifyInstanceAutoRenewalAttributeResult(outcome.result())); + else + return ModifyInstanceAutoRenewalAttributeOutcome(outcome.error()); +} + +void RdsClient::modifyInstanceAutoRenewalAttributeAsync(const ModifyInstanceAutoRenewalAttributeRequest& request, const ModifyInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyInstanceAutoRenewalAttribute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyInstanceAutoRenewalAttributeOutcomeCallable RdsClient::modifyInstanceAutoRenewalAttributeCallable(const ModifyInstanceAutoRenewalAttributeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyInstanceAutoRenewalAttribute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifySQLCollectorPolicyOutcome RdsClient::modifySQLCollectorPolicy(const ModifySQLCollectorPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySQLCollectorPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySQLCollectorPolicyOutcome(ModifySQLCollectorPolicyResult(outcome.result())); + else + return ModifySQLCollectorPolicyOutcome(outcome.error()); +} + +void RdsClient::modifySQLCollectorPolicyAsync(const ModifySQLCollectorPolicyRequest& request, const ModifySQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySQLCollectorPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifySQLCollectorPolicyOutcomeCallable RdsClient::modifySQLCollectorPolicyCallable(const ModifySQLCollectorPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySQLCollectorPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::AllocateInstanceVpcNetworkTypeOutcome RdsClient::allocateInstanceVpcNetworkType(const AllocateInstanceVpcNetworkTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AllocateInstanceVpcNetworkTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AllocateInstanceVpcNetworkTypeOutcome(AllocateInstanceVpcNetworkTypeResult(outcome.result())); + else + return AllocateInstanceVpcNetworkTypeOutcome(outcome.error()); +} + +void RdsClient::allocateInstanceVpcNetworkTypeAsync(const AllocateInstanceVpcNetworkTypeRequest& request, const AllocateInstanceVpcNetworkTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, allocateInstanceVpcNetworkType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::AllocateInstanceVpcNetworkTypeOutcomeCallable RdsClient::allocateInstanceVpcNetworkTypeCallable(const AllocateInstanceVpcNetworkTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->allocateInstanceVpcNetworkType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeBackupsOutcome RdsClient::describeBackups(const DescribeBackupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupsOutcome(DescribeBackupsResult(outcome.result())); + else + return DescribeBackupsOutcome(outcome.error()); +} + +void RdsClient::describeBackupsAsync(const DescribeBackupsRequest& request, const DescribeBackupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeBackupsOutcomeCallable RdsClient::describeBackupsCallable(const DescribeBackupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateDatabaseOutcome RdsClient::createDatabase(const CreateDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDatabaseOutcome(CreateDatabaseResult(outcome.result())); + else + return CreateDatabaseOutcome(outcome.error()); +} + +void RdsClient::createDatabaseAsync(const CreateDatabaseRequest& request, const CreateDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateDatabaseOutcomeCallable RdsClient::createDatabaseCallable(const CreateDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeCollationTimeZonesOutcome RdsClient::describeCollationTimeZones(const DescribeCollationTimeZonesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCollationTimeZonesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCollationTimeZonesOutcome(DescribeCollationTimeZonesResult(outcome.result())); + else + return DescribeCollationTimeZonesOutcome(outcome.error()); +} + +void RdsClient::describeCollationTimeZonesAsync(const DescribeCollationTimeZonesRequest& request, const DescribeCollationTimeZonesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCollationTimeZones(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeCollationTimeZonesOutcomeCallable RdsClient::describeCollationTimeZonesCallable(const DescribeCollationTimeZonesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCollationTimeZones(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DeleteDBInstanceOutcome RdsClient::deleteDBInstance(const DeleteDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDBInstanceOutcome(DeleteDBInstanceResult(outcome.result())); + else + return DeleteDBInstanceOutcome(outcome.error()); +} + +void RdsClient::deleteDBInstanceAsync(const DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DeleteDBInstanceOutcomeCallable RdsClient::deleteDBInstanceCallable(const DeleteDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyReadonlyInstanceDelayReplicationTimeOutcome RdsClient::modifyReadonlyInstanceDelayReplicationTime(const ModifyReadonlyInstanceDelayReplicationTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyReadonlyInstanceDelayReplicationTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyReadonlyInstanceDelayReplicationTimeOutcome(ModifyReadonlyInstanceDelayReplicationTimeResult(outcome.result())); + else + return ModifyReadonlyInstanceDelayReplicationTimeOutcome(outcome.error()); +} + +void RdsClient::modifyReadonlyInstanceDelayReplicationTimeAsync(const ModifyReadonlyInstanceDelayReplicationTimeRequest& request, const ModifyReadonlyInstanceDelayReplicationTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyReadonlyInstanceDelayReplicationTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyReadonlyInstanceDelayReplicationTimeOutcomeCallable RdsClient::modifyReadonlyInstanceDelayReplicationTimeCallable(const ModifyReadonlyInstanceDelayReplicationTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyReadonlyInstanceDelayReplicationTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeInstanceAutoRenewalAttributeOutcome RdsClient::describeInstanceAutoRenewalAttribute(const DescribeInstanceAutoRenewalAttributeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeInstanceAutoRenewalAttributeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeInstanceAutoRenewalAttributeOutcome(DescribeInstanceAutoRenewalAttributeResult(outcome.result())); + else + return DescribeInstanceAutoRenewalAttributeOutcome(outcome.error()); +} + +void RdsClient::describeInstanceAutoRenewalAttributeAsync(const DescribeInstanceAutoRenewalAttributeRequest& request, const DescribeInstanceAutoRenewalAttributeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeInstanceAutoRenewalAttribute(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeInstanceAutoRenewalAttributeOutcomeCallable RdsClient::describeInstanceAutoRenewalAttributeCallable(const DescribeInstanceAutoRenewalAttributeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeInstanceAutoRenewalAttribute(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::SwitchDBInstanceVpcOutcome RdsClient::switchDBInstanceVpc(const SwitchDBInstanceVpcRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SwitchDBInstanceVpcOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SwitchDBInstanceVpcOutcome(SwitchDBInstanceVpcResult(outcome.result())); + else + return SwitchDBInstanceVpcOutcome(outcome.error()); +} + +void RdsClient::switchDBInstanceVpcAsync(const SwitchDBInstanceVpcRequest& request, const SwitchDBInstanceVpcAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, switchDBInstanceVpc(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::SwitchDBInstanceVpcOutcomeCallable RdsClient::switchDBInstanceVpcCallable(const SwitchDBInstanceVpcRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->switchDBInstanceVpc(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RestoreDBInstanceOutcome RdsClient::restoreDBInstance(const RestoreDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RestoreDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RestoreDBInstanceOutcome(RestoreDBInstanceResult(outcome.result())); + else + return RestoreDBInstanceOutcome(outcome.error()); +} + +void RdsClient::restoreDBInstanceAsync(const RestoreDBInstanceRequest& request, const RestoreDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, restoreDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RestoreDBInstanceOutcomeCallable RdsClient::restoreDBInstanceCallable(const RestoreDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->restoreDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RevokeOperatorPermissionOutcome RdsClient::revokeOperatorPermission(const RevokeOperatorPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RevokeOperatorPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RevokeOperatorPermissionOutcome(RevokeOperatorPermissionResult(outcome.result())); + else + return RevokeOperatorPermissionOutcome(outcome.error()); +} + +void RdsClient::revokeOperatorPermissionAsync(const RevokeOperatorPermissionRequest& request, const RevokeOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, revokeOperatorPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RevokeOperatorPermissionOutcomeCallable RdsClient::revokeOperatorPermissionCallable(const RevokeOperatorPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->revokeOperatorPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceSpecOutcome RdsClient::modifyDBInstanceSpec(const ModifyDBInstanceSpecRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceSpecOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceSpecOutcome(ModifyDBInstanceSpecResult(outcome.result())); + else + return ModifyDBInstanceSpecOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceSpecAsync(const ModifyDBInstanceSpecRequest& request, const ModifyDBInstanceSpecAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceSpec(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceSpecOutcomeCallable RdsClient::modifyDBInstanceSpecCallable(const ModifyDBInstanceSpecRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceSpec(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDiagnosticReportListOutcome RdsClient::describeDiagnosticReportList(const DescribeDiagnosticReportListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDiagnosticReportListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDiagnosticReportListOutcome(DescribeDiagnosticReportListResult(outcome.result())); + else + return DescribeDiagnosticReportListOutcome(outcome.error()); +} + +void RdsClient::describeDiagnosticReportListAsync(const DescribeDiagnosticReportListRequest& request, const DescribeDiagnosticReportListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDiagnosticReportList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDiagnosticReportListOutcomeCallable RdsClient::describeDiagnosticReportListCallable(const DescribeDiagnosticReportListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDiagnosticReportList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::MigrateSecurityIPModeOutcome RdsClient::migrateSecurityIPMode(const MigrateSecurityIPModeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MigrateSecurityIPModeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MigrateSecurityIPModeOutcome(MigrateSecurityIPModeResult(outcome.result())); + else + return MigrateSecurityIPModeOutcome(outcome.error()); +} + +void RdsClient::migrateSecurityIPModeAsync(const MigrateSecurityIPModeRequest& request, const MigrateSecurityIPModeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, migrateSecurityIPMode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::MigrateSecurityIPModeOutcomeCallable RdsClient::migrateSecurityIPModeCallable(const MigrateSecurityIPModeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->migrateSecurityIPMode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RemoveTagsFromResourceOutcome RdsClient::removeTagsFromResource(const RemoveTagsFromResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveTagsFromResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveTagsFromResourceOutcome(RemoveTagsFromResourceResult(outcome.result())); + else + return RemoveTagsFromResourceOutcome(outcome.error()); +} + +void RdsClient::removeTagsFromResourceAsync(const RemoveTagsFromResourceRequest& request, const RemoveTagsFromResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeTagsFromResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RemoveTagsFromResourceOutcomeCallable RdsClient::removeTagsFromResourceCallable(const RemoveTagsFromResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeTagsFromResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSQLLogRecordsOutcome RdsClient::describeSQLLogRecords(const DescribeSQLLogRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLLogRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLLogRecordsOutcome(DescribeSQLLogRecordsResult(outcome.result())); + else + return DescribeSQLLogRecordsOutcome(outcome.error()); +} + +void RdsClient::describeSQLLogRecordsAsync(const DescribeSQLLogRecordsRequest& request, const DescribeSQLLogRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLLogRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLLogRecordsOutcomeCallable RdsClient::describeSQLLogRecordsCallable(const DescribeSQLLogRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLLogRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifySecurityIpsOutcome RdsClient::modifySecurityIps(const ModifySecurityIpsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifySecurityIpsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifySecurityIpsOutcome(ModifySecurityIpsResult(outcome.result())); + else + return ModifySecurityIpsOutcome(outcome.error()); +} + +void RdsClient::modifySecurityIpsAsync(const ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifySecurityIps(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifySecurityIpsOutcomeCallable RdsClient::modifySecurityIpsCallable(const ModifySecurityIpsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifySecurityIps(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeMigrateTasksForSQLServerOutcome RdsClient::describeMigrateTasksForSQLServer(const DescribeMigrateTasksForSQLServerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMigrateTasksForSQLServerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMigrateTasksForSQLServerOutcome(DescribeMigrateTasksForSQLServerResult(outcome.result())); + else + return DescribeMigrateTasksForSQLServerOutcome(outcome.error()); +} + +void RdsClient::describeMigrateTasksForSQLServerAsync(const DescribeMigrateTasksForSQLServerRequest& request, const DescribeMigrateTasksForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMigrateTasksForSQLServer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeMigrateTasksForSQLServerOutcomeCallable RdsClient::describeMigrateTasksForSQLServerCallable(const DescribeMigrateTasksForSQLServerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMigrateTasksForSQLServer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RestoreTableOutcome RdsClient::restoreTable(const RestoreTableRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RestoreTableOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RestoreTableOutcome(RestoreTableResult(outcome.result())); + else + return RestoreTableOutcome(outcome.error()); +} + +void RdsClient::restoreTableAsync(const RestoreTableRequest& request, const RestoreTableAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, restoreTable(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RestoreTableOutcomeCallable RdsClient::restoreTableCallable(const RestoreTableRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->restoreTable(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateOnlineDatabaseTaskOutcome RdsClient::createOnlineDatabaseTask(const CreateOnlineDatabaseTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOnlineDatabaseTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOnlineDatabaseTaskOutcome(CreateOnlineDatabaseTaskResult(outcome.result())); + else + return CreateOnlineDatabaseTaskOutcome(outcome.error()); +} + +void RdsClient::createOnlineDatabaseTaskAsync(const CreateOnlineDatabaseTaskRequest& request, const CreateOnlineDatabaseTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOnlineDatabaseTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateOnlineDatabaseTaskOutcomeCallable RdsClient::createOnlineDatabaseTaskCallable(const CreateOnlineDatabaseTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOnlineDatabaseTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::GrantAccountPrivilegeOutcome RdsClient::grantAccountPrivilege(const GrantAccountPrivilegeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GrantAccountPrivilegeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GrantAccountPrivilegeOutcome(GrantAccountPrivilegeResult(outcome.result())); + else + return GrantAccountPrivilegeOutcome(outcome.error()); +} + +void RdsClient::grantAccountPrivilegeAsync(const GrantAccountPrivilegeRequest& request, const GrantAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, grantAccountPrivilege(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::GrantAccountPrivilegeOutcomeCallable RdsClient::grantAccountPrivilegeCallable(const GrantAccountPrivilegeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->grantAccountPrivilege(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::GrantOperatorPermissionOutcome RdsClient::grantOperatorPermission(const GrantOperatorPermissionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GrantOperatorPermissionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GrantOperatorPermissionOutcome(GrantOperatorPermissionResult(outcome.result())); + else + return GrantOperatorPermissionOutcome(outcome.error()); +} + +void RdsClient::grantOperatorPermissionAsync(const GrantOperatorPermissionRequest& request, const GrantOperatorPermissionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, grantOperatorPermission(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::GrantOperatorPermissionOutcomeCallable RdsClient::grantOperatorPermissionCallable(const GrantOperatorPermissionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->grantOperatorPermission(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceTDEOutcome RdsClient::modifyDBInstanceTDE(const ModifyDBInstanceTDERequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceTDEOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceTDEOutcome(ModifyDBInstanceTDEResult(outcome.result())); + else + return ModifyDBInstanceTDEOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceTDEAsync(const ModifyDBInstanceTDERequest& request, const ModifyDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceTDE(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceTDEOutcomeCallable RdsClient::modifyDBInstanceTDECallable(const ModifyDBInstanceTDERequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceTDE(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstancePerformanceOutcome RdsClient::describeDBInstancePerformance(const DescribeDBInstancePerformanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstancePerformanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstancePerformanceOutcome(DescribeDBInstancePerformanceResult(outcome.result())); + else + return DescribeDBInstancePerformanceOutcome(outcome.error()); +} + +void RdsClient::describeDBInstancePerformanceAsync(const DescribeDBInstancePerformanceRequest& request, const DescribeDBInstancePerformanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstancePerformance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstancePerformanceOutcomeCallable RdsClient::describeDBInstancePerformanceCallable(const DescribeDBInstancePerformanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstancePerformance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstancesOutcome RdsClient::describeDBInstances(const DescribeDBInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstancesOutcome(DescribeDBInstancesResult(outcome.result())); + else + return DescribeDBInstancesOutcome(outcome.error()); +} + +void RdsClient::describeDBInstancesAsync(const DescribeDBInstancesRequest& request, const DescribeDBInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstancesOutcomeCallable RdsClient::describeDBInstancesCallable(const DescribeDBInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RequestServiceOfCloudDBExpertOutcome RdsClient::requestServiceOfCloudDBExpert(const RequestServiceOfCloudDBExpertRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RequestServiceOfCloudDBExpertOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RequestServiceOfCloudDBExpertOutcome(RequestServiceOfCloudDBExpertResult(outcome.result())); + else + return RequestServiceOfCloudDBExpertOutcome(outcome.error()); +} + +void RdsClient::requestServiceOfCloudDBExpertAsync(const RequestServiceOfCloudDBExpertRequest& request, const RequestServiceOfCloudDBExpertAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, requestServiceOfCloudDBExpert(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RequestServiceOfCloudDBExpertOutcomeCallable RdsClient::requestServiceOfCloudDBExpertCallable(const RequestServiceOfCloudDBExpertRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->requestServiceOfCloudDBExpert(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeBackupDatabaseOutcome RdsClient::describeBackupDatabase(const DescribeBackupDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupDatabaseOutcome(DescribeBackupDatabaseResult(outcome.result())); + else + return DescribeBackupDatabaseOutcome(outcome.error()); +} + +void RdsClient::describeBackupDatabaseAsync(const DescribeBackupDatabaseRequest& request, const DescribeBackupDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeBackupDatabaseOutcomeCallable RdsClient::describeBackupDatabaseCallable(const DescribeBackupDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateDBInstanceReplicaOutcome RdsClient::createDBInstanceReplica(const CreateDBInstanceReplicaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDBInstanceReplicaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDBInstanceReplicaOutcome(CreateDBInstanceReplicaResult(outcome.result())); + else + return CreateDBInstanceReplicaOutcome(outcome.error()); +} + +void RdsClient::createDBInstanceReplicaAsync(const CreateDBInstanceReplicaRequest& request, const CreateDBInstanceReplicaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDBInstanceReplica(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateDBInstanceReplicaOutcomeCallable RdsClient::createDBInstanceReplicaCallable(const CreateDBInstanceReplicaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDBInstanceReplica(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::AllocateInstancePrivateConnectionOutcome RdsClient::allocateInstancePrivateConnection(const AllocateInstancePrivateConnectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AllocateInstancePrivateConnectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AllocateInstancePrivateConnectionOutcome(AllocateInstancePrivateConnectionResult(outcome.result())); + else + return AllocateInstancePrivateConnectionOutcome(outcome.error()); +} + +void RdsClient::allocateInstancePrivateConnectionAsync(const AllocateInstancePrivateConnectionRequest& request, const AllocateInstancePrivateConnectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, allocateInstancePrivateConnection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::AllocateInstancePrivateConnectionOutcomeCallable RdsClient::allocateInstancePrivateConnectionCallable(const AllocateInstancePrivateConnectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->allocateInstancePrivateConnection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::RevokeAccountPrivilegeOutcome RdsClient::revokeAccountPrivilege(const RevokeAccountPrivilegeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RevokeAccountPrivilegeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RevokeAccountPrivilegeOutcome(RevokeAccountPrivilegeResult(outcome.result())); + else + return RevokeAccountPrivilegeOutcome(outcome.error()); +} + +void RdsClient::revokeAccountPrivilegeAsync(const RevokeAccountPrivilegeRequest& request, const RevokeAccountPrivilegeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, revokeAccountPrivilege(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::RevokeAccountPrivilegeOutcomeCallable RdsClient::revokeAccountPrivilegeCallable(const RevokeAccountPrivilegeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->revokeAccountPrivilege(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeParameterTemplatesOutcome RdsClient::describeParameterTemplates(const DescribeParameterTemplatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeParameterTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeParameterTemplatesOutcome(DescribeParameterTemplatesResult(outcome.result())); + else + return DescribeParameterTemplatesOutcome(outcome.error()); +} + +void RdsClient::describeParameterTemplatesAsync(const DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeParameterTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeParameterTemplatesOutcomeCallable RdsClient::describeParameterTemplatesCallable(const DescribeParameterTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeParameterTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescibeImportsFromDatabaseOutcome RdsClient::descibeImportsFromDatabase(const DescibeImportsFromDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescibeImportsFromDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescibeImportsFromDatabaseOutcome(DescibeImportsFromDatabaseResult(outcome.result())); + else + return DescibeImportsFromDatabaseOutcome(outcome.error()); +} + +void RdsClient::descibeImportsFromDatabaseAsync(const DescibeImportsFromDatabaseRequest& request, const DescibeImportsFromDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, descibeImportsFromDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescibeImportsFromDatabaseOutcomeCallable RdsClient::descibeImportsFromDatabaseCallable(const DescibeImportsFromDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->descibeImportsFromDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CopyDatabaseBetweenInstancesOutcome RdsClient::copyDatabaseBetweenInstances(const CopyDatabaseBetweenInstancesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyDatabaseBetweenInstancesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyDatabaseBetweenInstancesOutcome(CopyDatabaseBetweenInstancesResult(outcome.result())); + else + return CopyDatabaseBetweenInstancesOutcome(outcome.error()); +} + +void RdsClient::copyDatabaseBetweenInstancesAsync(const CopyDatabaseBetweenInstancesRequest& request, const CopyDatabaseBetweenInstancesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyDatabaseBetweenInstances(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CopyDatabaseBetweenInstancesOutcomeCallable RdsClient::copyDatabaseBetweenInstancesCallable(const CopyDatabaseBetweenInstancesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyDatabaseBetweenInstances(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeInstanceVpcMigrateInfoOutcome RdsClient::describeInstanceVpcMigrateInfo(const DescribeInstanceVpcMigrateInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeInstanceVpcMigrateInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeInstanceVpcMigrateInfoOutcome(DescribeInstanceVpcMigrateInfoResult(outcome.result())); + else + return DescribeInstanceVpcMigrateInfoOutcome(outcome.error()); +} + +void RdsClient::describeInstanceVpcMigrateInfoAsync(const DescribeInstanceVpcMigrateInfoRequest& request, const DescribeInstanceVpcMigrateInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeInstanceVpcMigrateInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeInstanceVpcMigrateInfoOutcomeCallable RdsClient::describeInstanceVpcMigrateInfoCallable(const DescribeInstanceVpcMigrateInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeInstanceVpcMigrateInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CopyDatabaseOutcome RdsClient::copyDatabase(const CopyDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CopyDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CopyDatabaseOutcome(CopyDatabaseResult(outcome.result())); + else + return CopyDatabaseOutcome(outcome.error()); +} + +void RdsClient::copyDatabaseAsync(const CopyDatabaseRequest& request, const CopyDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, copyDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CopyDatabaseOutcomeCallable RdsClient::copyDatabaseCallable(const CopyDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->copyDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateDBInstanceOutcome RdsClient::createDBInstance(const CreateDBInstanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDBInstanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDBInstanceOutcome(CreateDBInstanceResult(outcome.result())); + else + return CreateDBInstanceOutcome(outcome.error()); +} + +void RdsClient::createDBInstanceAsync(const CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDBInstance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateDBInstanceOutcomeCallable RdsClient::createDBInstanceCallable(const CreateDBInstanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDBInstance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceSSLOutcome RdsClient::modifyDBInstanceSSL(const ModifyDBInstanceSSLRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceSSLOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceSSLOutcome(ModifyDBInstanceSSLResult(outcome.result())); + else + return ModifyDBInstanceSSLOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceSSLAsync(const ModifyDBInstanceSSLRequest& request, const ModifyDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceSSL(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceSSLOutcomeCallable RdsClient::modifyDBInstanceSSLCallable(const ModifyDBInstanceSSLRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceSSL(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceTDEOutcome RdsClient::describeDBInstanceTDE(const DescribeDBInstanceTDERequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceTDEOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceTDEOutcome(DescribeDBInstanceTDEResult(outcome.result())); + else + return DescribeDBInstanceTDEOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceTDEAsync(const DescribeDBInstanceTDERequest& request, const DescribeDBInstanceTDEAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceTDE(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceTDEOutcomeCallable RdsClient::describeDBInstanceTDECallable(const DescribeDBInstanceTDERequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceTDE(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSQLLogReportsOutcome RdsClient::describeSQLLogReports(const DescribeSQLLogReportsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLLogReportsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLLogReportsOutcome(DescribeSQLLogReportsResult(outcome.result())); + else + return DescribeSQLLogReportsOutcome(outcome.error()); +} + +void RdsClient::describeSQLLogReportsAsync(const DescribeSQLLogReportsRequest& request, const DescribeSQLLogReportsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLLogReports(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLLogReportsOutcomeCallable RdsClient::describeSQLLogReportsCallable(const DescribeSQLLogReportsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLLogReports(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceConnectionModeOutcome RdsClient::modifyDBInstanceConnectionMode(const ModifyDBInstanceConnectionModeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceConnectionModeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceConnectionModeOutcome(ModifyDBInstanceConnectionModeResult(outcome.result())); + else + return ModifyDBInstanceConnectionModeOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceConnectionModeAsync(const ModifyDBInstanceConnectionModeRequest& request, const ModifyDBInstanceConnectionModeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceConnectionMode(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceConnectionModeOutcomeCallable RdsClient::modifyDBInstanceConnectionModeCallable(const ModifyDBInstanceConnectionModeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceConnectionMode(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceNetInfoOutcome RdsClient::describeDBInstanceNetInfo(const DescribeDBInstanceNetInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceNetInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceNetInfoOutcome(DescribeDBInstanceNetInfoResult(outcome.result())); + else + return DescribeDBInstanceNetInfoOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceNetInfoAsync(const DescribeDBInstanceNetInfoRequest& request, const DescribeDBInstanceNetInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceNetInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceNetInfoOutcomeCallable RdsClient::describeDBInstanceNetInfoCallable(const DescribeDBInstanceNetInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceNetInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeAvailableResourceOutcome RdsClient::describeAvailableResource(const DescribeAvailableResourceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAvailableResourceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAvailableResourceOutcome(DescribeAvailableResourceResult(outcome.result())); + else + return DescribeAvailableResourceOutcome(outcome.error()); +} + +void RdsClient::describeAvailableResourceAsync(const DescribeAvailableResourceRequest& request, const DescribeAvailableResourceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAvailableResource(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeAvailableResourceOutcomeCallable RdsClient::describeAvailableResourceCallable(const DescribeAvailableResourceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAvailableResource(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::AllocateReadWriteSplittingConnectionOutcome RdsClient::allocateReadWriteSplittingConnection(const AllocateReadWriteSplittingConnectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AllocateReadWriteSplittingConnectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AllocateReadWriteSplittingConnectionOutcome(AllocateReadWriteSplittingConnectionResult(outcome.result())); + else + return AllocateReadWriteSplittingConnectionOutcome(outcome.error()); +} + +void RdsClient::allocateReadWriteSplittingConnectionAsync(const AllocateReadWriteSplittingConnectionRequest& request, const AllocateReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, allocateReadWriteSplittingConnection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::AllocateReadWriteSplittingConnectionOutcomeCallable RdsClient::allocateReadWriteSplittingConnectionCallable(const AllocateReadWriteSplittingConnectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->allocateReadWriteSplittingConnection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeCloudDbExpertServiceOutcome RdsClient::describeCloudDbExpertService(const DescribeCloudDbExpertServiceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeCloudDbExpertServiceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeCloudDbExpertServiceOutcome(DescribeCloudDbExpertServiceResult(outcome.result())); + else + return DescribeCloudDbExpertServiceOutcome(outcome.error()); +} + +void RdsClient::describeCloudDbExpertServiceAsync(const DescribeCloudDbExpertServiceRequest& request, const DescribeCloudDbExpertServiceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeCloudDbExpertService(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeCloudDbExpertServiceOutcomeCallable RdsClient::describeCloudDbExpertServiceCallable(const DescribeCloudDbExpertServiceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeCloudDbExpertService(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::EvaluateSupportByokShowOutcome RdsClient::evaluateSupportByokShow(const EvaluateSupportByokShowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return EvaluateSupportByokShowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return EvaluateSupportByokShowOutcome(EvaluateSupportByokShowResult(outcome.result())); + else + return EvaluateSupportByokShowOutcome(outcome.error()); +} + +void RdsClient::evaluateSupportByokShowAsync(const EvaluateSupportByokShowRequest& request, const EvaluateSupportByokShowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, evaluateSupportByokShow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::EvaluateSupportByokShowOutcomeCallable RdsClient::evaluateSupportByokShowCallable(const EvaluateSupportByokShowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->evaluateSupportByokShow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ReleaseInstancePublicConnectionOutcome RdsClient::releaseInstancePublicConnection(const ReleaseInstancePublicConnectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ReleaseInstancePublicConnectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ReleaseInstancePublicConnectionOutcome(ReleaseInstancePublicConnectionResult(outcome.result())); + else + return ReleaseInstancePublicConnectionOutcome(outcome.error()); +} + +void RdsClient::releaseInstancePublicConnectionAsync(const ReleaseInstancePublicConnectionRequest& request, const ReleaseInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, releaseInstancePublicConnection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ReleaseInstancePublicConnectionOutcomeCallable RdsClient::releaseInstancePublicConnectionCallable(const ReleaseInstancePublicConnectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->releaseInstancePublicConnection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CalculateDBInstanceWeightOutcome RdsClient::calculateDBInstanceWeight(const CalculateDBInstanceWeightRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CalculateDBInstanceWeightOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CalculateDBInstanceWeightOutcome(CalculateDBInstanceWeightResult(outcome.result())); + else + return CalculateDBInstanceWeightOutcome(outcome.error()); +} + +void RdsClient::calculateDBInstanceWeightAsync(const CalculateDBInstanceWeightRequest& request, const CalculateDBInstanceWeightAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, calculateDBInstanceWeight(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CalculateDBInstanceWeightOutcomeCallable RdsClient::calculateDBInstanceWeightCallable(const CalculateDBInstanceWeightRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->calculateDBInstanceWeight(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceNetworkTypeOutcome RdsClient::modifyDBInstanceNetworkType(const ModifyDBInstanceNetworkTypeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceNetworkTypeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceNetworkTypeOutcome(ModifyDBInstanceNetworkTypeResult(outcome.result())); + else + return ModifyDBInstanceNetworkTypeOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceNetworkTypeAsync(const ModifyDBInstanceNetworkTypeRequest& request, const ModifyDBInstanceNetworkTypeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceNetworkType(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceNetworkTypeOutcomeCallable RdsClient::modifyDBInstanceNetworkTypeCallable(const ModifyDBInstanceNetworkTypeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceNetworkType(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSlowLogsOutcome RdsClient::describeSlowLogs(const DescribeSlowLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSlowLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSlowLogsOutcome(DescribeSlowLogsResult(outcome.result())); + else + return DescribeSlowLogsOutcome(outcome.error()); +} + +void RdsClient::describeSlowLogsAsync(const DescribeSlowLogsRequest& request, const DescribeSlowLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSlowLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSlowLogsOutcomeCallable RdsClient::describeSlowLogsCallable(const DescribeSlowLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSlowLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateBackupOutcome RdsClient::createBackup(const CreateBackupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateBackupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateBackupOutcome(CreateBackupResult(outcome.result())); + else + return CreateBackupOutcome(outcome.error()); +} + +void RdsClient::createBackupAsync(const CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createBackup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateBackupOutcomeCallable RdsClient::createBackupCallable(const CreateBackupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createBackup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyReadWriteSplittingConnectionOutcome RdsClient::modifyReadWriteSplittingConnection(const ModifyReadWriteSplittingConnectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyReadWriteSplittingConnectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyReadWriteSplittingConnectionOutcome(ModifyReadWriteSplittingConnectionResult(outcome.result())); + else + return ModifyReadWriteSplittingConnectionOutcome(outcome.error()); +} + +void RdsClient::modifyReadWriteSplittingConnectionAsync(const ModifyReadWriteSplittingConnectionRequest& request, const ModifyReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyReadWriteSplittingConnection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyReadWriteSplittingConnectionOutcomeCallable RdsClient::modifyReadWriteSplittingConnectionCallable(const ModifyReadWriteSplittingConnectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyReadWriteSplittingConnection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceMaintainTimeOutcome RdsClient::modifyDBInstanceMaintainTime(const ModifyDBInstanceMaintainTimeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceMaintainTimeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceMaintainTimeOutcome(ModifyDBInstanceMaintainTimeResult(outcome.result())); + else + return ModifyDBInstanceMaintainTimeOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceMaintainTimeAsync(const ModifyDBInstanceMaintainTimeRequest& request, const ModifyDBInstanceMaintainTimeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceMaintainTime(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceMaintainTimeOutcomeCallable RdsClient::modifyDBInstanceMaintainTimeCallable(const ModifyDBInstanceMaintainTimeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceMaintainTime(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceDescriptionOutcome RdsClient::modifyDBInstanceDescription(const ModifyDBInstanceDescriptionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceDescriptionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceDescriptionOutcome(ModifyDBInstanceDescriptionResult(outcome.result())); + else + return ModifyDBInstanceDescriptionOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceDescriptionAsync(const ModifyDBInstanceDescriptionRequest& request, const ModifyDBInstanceDescriptionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceDescription(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceDescriptionOutcomeCallable RdsClient::modifyDBInstanceDescriptionCallable(const ModifyDBInstanceDescriptionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceDescription(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyResourceGroupOutcome RdsClient::modifyResourceGroup(const ModifyResourceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyResourceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyResourceGroupOutcome(ModifyResourceGroupResult(outcome.result())); + else + return ModifyResourceGroupOutcome(outcome.error()); +} + +void RdsClient::modifyResourceGroupAsync(const ModifyResourceGroupRequest& request, const ModifyResourceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyResourceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyResourceGroupOutcomeCallable RdsClient::modifyResourceGroupCallable(const ModifyResourceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyResourceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeProxyFunctionSupportOutcome RdsClient::describeProxyFunctionSupport(const DescribeProxyFunctionSupportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeProxyFunctionSupportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeProxyFunctionSupportOutcome(DescribeProxyFunctionSupportResult(outcome.result())); + else + return DescribeProxyFunctionSupportOutcome(outcome.error()); +} + +void RdsClient::describeProxyFunctionSupportAsync(const DescribeProxyFunctionSupportRequest& request, const DescribeProxyFunctionSupportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeProxyFunctionSupport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeProxyFunctionSupportOutcomeCallable RdsClient::describeProxyFunctionSupportCallable(const DescribeProxyFunctionSupportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeProxyFunctionSupport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeOssDownloadsForSQLServerOutcome RdsClient::describeOssDownloadsForSQLServer(const DescribeOssDownloadsForSQLServerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeOssDownloadsForSQLServerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeOssDownloadsForSQLServerOutcome(DescribeOssDownloadsForSQLServerResult(outcome.result())); + else + return DescribeOssDownloadsForSQLServerOutcome(outcome.error()); +} + +void RdsClient::describeOssDownloadsForSQLServerAsync(const DescribeOssDownloadsForSQLServerRequest& request, const DescribeOssDownloadsForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeOssDownloadsForSQLServer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeOssDownloadsForSQLServerOutcomeCallable RdsClient::describeOssDownloadsForSQLServerCallable(const DescribeOssDownloadsForSQLServerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeOssDownloadsForSQLServer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ResetAccountOutcome RdsClient::resetAccount(const ResetAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResetAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResetAccountOutcome(ResetAccountResult(outcome.result())); + else + return ResetAccountOutcome(outcome.error()); +} + +void RdsClient::resetAccountAsync(const ResetAccountRequest& request, const ResetAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resetAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ResetAccountOutcomeCallable RdsClient::resetAccountCallable(const ResetAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resetAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeResourceUsageOutcome RdsClient::describeResourceUsage(const DescribeResourceUsageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeResourceUsageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeResourceUsageOutcome(DescribeResourceUsageResult(outcome.result())); + else + return DescribeResourceUsageOutcome(outcome.error()); +} + +void RdsClient::describeResourceUsageAsync(const DescribeResourceUsageRequest& request, const DescribeResourceUsageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeResourceUsage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeResourceUsageOutcomeCallable RdsClient::describeResourceUsageCallable(const DescribeResourceUsageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeResourceUsage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::PurgeDBInstanceLogOutcome RdsClient::purgeDBInstanceLog(const PurgeDBInstanceLogRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PurgeDBInstanceLogOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PurgeDBInstanceLogOutcome(PurgeDBInstanceLogResult(outcome.result())); + else + return PurgeDBInstanceLogOutcome(outcome.error()); +} + +void RdsClient::purgeDBInstanceLogAsync(const PurgeDBInstanceLogRequest& request, const PurgeDBInstanceLogAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, purgeDBInstanceLog(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::PurgeDBInstanceLogOutcomeCallable RdsClient::purgeDBInstanceLogCallable(const PurgeDBInstanceLogRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->purgeDBInstanceLog(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeTaskInfoOutcome RdsClient::describeTaskInfo(const DescribeTaskInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTaskInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTaskInfoOutcome(DescribeTaskInfoResult(outcome.result())); + else + return DescribeTaskInfoOutcome(outcome.error()); +} + +void RdsClient::describeTaskInfoAsync(const DescribeTaskInfoRequest& request, const DescribeTaskInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTaskInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeTaskInfoOutcomeCallable RdsClient::describeTaskInfoCallable(const DescribeTaskInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTaskInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::UpgradeDBInstanceKernelVersionOutcome RdsClient::upgradeDBInstanceKernelVersion(const UpgradeDBInstanceKernelVersionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpgradeDBInstanceKernelVersionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpgradeDBInstanceKernelVersionOutcome(UpgradeDBInstanceKernelVersionResult(outcome.result())); + else + return UpgradeDBInstanceKernelVersionOutcome(outcome.error()); +} + +void RdsClient::upgradeDBInstanceKernelVersionAsync(const UpgradeDBInstanceKernelVersionRequest& request, const UpgradeDBInstanceKernelVersionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, upgradeDBInstanceKernelVersion(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::UpgradeDBInstanceKernelVersionOutcomeCallable RdsClient::upgradeDBInstanceKernelVersionCallable(const UpgradeDBInstanceKernelVersionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->upgradeDBInstanceKernelVersion(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyMySQLDBInstanceDelayOutcome RdsClient::modifyMySQLDBInstanceDelay(const ModifyMySQLDBInstanceDelayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyMySQLDBInstanceDelayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyMySQLDBInstanceDelayOutcome(ModifyMySQLDBInstanceDelayResult(outcome.result())); + else + return ModifyMySQLDBInstanceDelayOutcome(outcome.error()); +} + +void RdsClient::modifyMySQLDBInstanceDelayAsync(const ModifyMySQLDBInstanceDelayRequest& request, const ModifyMySQLDBInstanceDelayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyMySQLDBInstanceDelay(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyMySQLDBInstanceDelayOutcomeCallable RdsClient::modifyMySQLDBInstanceDelayCallable(const ModifyMySQLDBInstanceDelayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyMySQLDBInstanceDelay(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeRegionsOutcome RdsClient::describeRegions(const DescribeRegionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRegionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result())); + else + return DescribeRegionsOutcome(outcome.error()); +} + +void RdsClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRegions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeRegionsOutcomeCallable RdsClient::describeRegionsCallable(const DescribeRegionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRegions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::MigrateToOtherZoneOutcome RdsClient::migrateToOtherZone(const MigrateToOtherZoneRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return MigrateToOtherZoneOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return MigrateToOtherZoneOutcome(MigrateToOtherZoneResult(outcome.result())); + else + return MigrateToOtherZoneOutcome(outcome.error()); +} + +void RdsClient::migrateToOtherZoneAsync(const MigrateToOtherZoneRequest& request, const MigrateToOtherZoneAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, migrateToOtherZone(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::MigrateToOtherZoneOutcomeCallable RdsClient::migrateToOtherZoneCallable(const MigrateToOtherZoneRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->migrateToOtherZone(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DeleteAccountOutcome RdsClient::deleteAccount(const DeleteAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteAccountOutcome(DeleteAccountResult(outcome.result())); + else + return DeleteAccountOutcome(outcome.error()); +} + +void RdsClient::deleteAccountAsync(const DeleteAccountRequest& request, const DeleteAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DeleteAccountOutcomeCallable RdsClient::deleteAccountCallable(const DeleteAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSlowLogRecordsOutcome RdsClient::describeSlowLogRecords(const DescribeSlowLogRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSlowLogRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSlowLogRecordsOutcome(DescribeSlowLogRecordsResult(outcome.result())); + else + return DescribeSlowLogRecordsOutcome(outcome.error()); +} + +void RdsClient::describeSlowLogRecordsAsync(const DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSlowLogRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSlowLogRecordsOutcomeCallable RdsClient::describeSlowLogRecordsCallable(const DescribeSlowLogRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSlowLogRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ReleaseReadWriteSplittingConnectionOutcome RdsClient::releaseReadWriteSplittingConnection(const ReleaseReadWriteSplittingConnectionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ReleaseReadWriteSplittingConnectionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ReleaseReadWriteSplittingConnectionOutcome(ReleaseReadWriteSplittingConnectionResult(outcome.result())); + else + return ReleaseReadWriteSplittingConnectionOutcome(outcome.error()); +} + +void RdsClient::releaseReadWriteSplittingConnectionAsync(const ReleaseReadWriteSplittingConnectionRequest& request, const ReleaseReadWriteSplittingConnectionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, releaseReadWriteSplittingConnection(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ReleaseReadWriteSplittingConnectionOutcomeCallable RdsClient::releaseReadWriteSplittingConnectionCallable(const ReleaseReadWriteSplittingConnectionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->releaseReadWriteSplittingConnection(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeLogBackupFilesOutcome RdsClient::describeLogBackupFiles(const DescribeLogBackupFilesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeLogBackupFilesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeLogBackupFilesOutcome(DescribeLogBackupFilesResult(outcome.result())); + else + return DescribeLogBackupFilesOutcome(outcome.error()); +} + +void RdsClient::describeLogBackupFilesAsync(const DescribeLogBackupFilesRequest& request, const DescribeLogBackupFilesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeLogBackupFiles(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeLogBackupFilesOutcomeCallable RdsClient::describeLogBackupFilesCallable(const DescribeLogBackupFilesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeLogBackupFiles(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeAvailableInstanceClassOutcome RdsClient::describeAvailableInstanceClass(const DescribeAvailableInstanceClassRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAvailableInstanceClassOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAvailableInstanceClassOutcome(DescribeAvailableInstanceClassResult(outcome.result())); + else + return DescribeAvailableInstanceClassOutcome(outcome.error()); +} + +void RdsClient::describeAvailableInstanceClassAsync(const DescribeAvailableInstanceClassRequest& request, const DescribeAvailableInstanceClassAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAvailableInstanceClass(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeAvailableInstanceClassOutcomeCallable RdsClient::describeAvailableInstanceClassCallable(const DescribeAvailableInstanceClassRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAvailableInstanceClass(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeErrorLogsOutcome RdsClient::describeErrorLogs(const DescribeErrorLogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeErrorLogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeErrorLogsOutcome(DescribeErrorLogsResult(outcome.result())); + else + return DescribeErrorLogsOutcome(outcome.error()); +} + +void RdsClient::describeErrorLogsAsync(const DescribeErrorLogsRequest& request, const DescribeErrorLogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeErrorLogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeErrorLogsOutcomeCallable RdsClient::describeErrorLogsCallable(const DescribeErrorLogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeErrorLogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceHAConfigOutcome RdsClient::modifyDBInstanceHAConfig(const ModifyDBInstanceHAConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceHAConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceHAConfigOutcome(ModifyDBInstanceHAConfigResult(outcome.result())); + else + return ModifyDBInstanceHAConfigOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceHAConfigAsync(const ModifyDBInstanceHAConfigRequest& request, const ModifyDBInstanceHAConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceHAConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceHAConfigOutcomeCallable RdsClient::modifyDBInstanceHAConfigCallable(const ModifyDBInstanceHAConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceHAConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstancesAsCsvOutcome RdsClient::describeDBInstancesAsCsv(const DescribeDBInstancesAsCsvRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstancesAsCsvOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstancesAsCsvOutcome(DescribeDBInstancesAsCsvResult(outcome.result())); + else + return DescribeDBInstancesAsCsvOutcome(outcome.error()); +} + +void RdsClient::describeDBInstancesAsCsvAsync(const DescribeDBInstancesAsCsvRequest& request, const DescribeDBInstancesAsCsvAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstancesAsCsv(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstancesAsCsvOutcomeCallable RdsClient::describeDBInstancesAsCsvCallable(const DescribeDBInstancesAsCsvRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstancesAsCsv(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ResetAccountPasswordOutcome RdsClient::resetAccountPassword(const ResetAccountPasswordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResetAccountPasswordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResetAccountPasswordOutcome(ResetAccountPasswordResult(outcome.result())); + else + return ResetAccountPasswordOutcome(outcome.error()); +} + +void RdsClient::resetAccountPasswordAsync(const ResetAccountPasswordRequest& request, const ResetAccountPasswordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resetAccountPassword(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ResetAccountPasswordOutcomeCallable RdsClient::resetAccountPasswordCallable(const ResetAccountPasswordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resetAccountPassword(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyDBInstanceProxyConfigurationOutcome RdsClient::modifyDBInstanceProxyConfiguration(const ModifyDBInstanceProxyConfigurationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDBInstanceProxyConfigurationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDBInstanceProxyConfigurationOutcome(ModifyDBInstanceProxyConfigurationResult(outcome.result())); + else + return ModifyDBInstanceProxyConfigurationOutcome(outcome.error()); +} + +void RdsClient::modifyDBInstanceProxyConfigurationAsync(const ModifyDBInstanceProxyConfigurationRequest& request, const ModifyDBInstanceProxyConfigurationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDBInstanceProxyConfiguration(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyDBInstanceProxyConfigurationOutcomeCallable RdsClient::modifyDBInstanceProxyConfigurationCallable(const ModifyDBInstanceProxyConfigurationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDBInstanceProxyConfiguration(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribePriceOutcome RdsClient::describePrice(const DescribePriceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePriceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePriceOutcome(DescribePriceResult(outcome.result())); + else + return DescribePriceOutcome(outcome.error()); +} + +void RdsClient::describePriceAsync(const DescribePriceRequest& request, const DescribePriceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePrice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribePriceOutcomeCallable RdsClient::describePriceCallable(const DescribePriceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePrice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeAccountsOutcome RdsClient::describeAccounts(const DescribeAccountsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAccountsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAccountsOutcome(DescribeAccountsResult(outcome.result())); + else + return DescribeAccountsOutcome(outcome.error()); +} + +void RdsClient::describeAccountsAsync(const DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAccounts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeAccountsOutcomeCallable RdsClient::describeAccountsCallable(const DescribeAccountsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAccounts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceByTagsOutcome RdsClient::describeDBInstanceByTags(const DescribeDBInstanceByTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceByTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceByTagsOutcome(DescribeDBInstanceByTagsResult(outcome.result())); + else + return DescribeDBInstanceByTagsOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceByTagsAsync(const DescribeDBInstanceByTagsRequest& request, const DescribeDBInstanceByTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceByTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceByTagsOutcomeCallable RdsClient::describeDBInstanceByTagsCallable(const DescribeDBInstanceByTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceByTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeMetaListOutcome RdsClient::describeMetaList(const DescribeMetaListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeMetaListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeMetaListOutcome(DescribeMetaListResult(outcome.result())); + else + return DescribeMetaListOutcome(outcome.error()); +} + +void RdsClient::describeMetaListAsync(const DescribeMetaListRequest& request, const DescribeMetaListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeMetaList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeMetaListOutcomeCallable RdsClient::describeMetaListCallable(const DescribeMetaListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeMetaList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceSSLOutcome RdsClient::describeDBInstanceSSL(const DescribeDBInstanceSSLRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceSSLOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceSSLOutcome(DescribeDBInstanceSSLResult(outcome.result())); + else + return DescribeDBInstanceSSLOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceSSLAsync(const DescribeDBInstanceSSLRequest& request, const DescribeDBInstanceSSLAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceSSL(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceSSLOutcomeCallable RdsClient::describeDBInstanceSSLCallable(const DescribeDBInstanceSSLRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceSSL(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstancesByPerformanceOutcome RdsClient::describeDBInstancesByPerformance(const DescribeDBInstancesByPerformanceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstancesByPerformanceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstancesByPerformanceOutcome(DescribeDBInstancesByPerformanceResult(outcome.result())); + else + return DescribeDBInstancesByPerformanceOutcome(outcome.error()); +} + +void RdsClient::describeDBInstancesByPerformanceAsync(const DescribeDBInstancesByPerformanceRequest& request, const DescribeDBInstancesByPerformanceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstancesByPerformance(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstancesByPerformanceOutcomeCallable RdsClient::describeDBInstancesByPerformanceCallable(const DescribeDBInstancesByPerformanceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstancesByPerformance(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeSQLReportsOutcome RdsClient::describeSQLReports(const DescribeSQLReportsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeSQLReportsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeSQLReportsOutcome(DescribeSQLReportsResult(outcome.result())); + else + return DescribeSQLReportsOutcome(outcome.error()); +} + +void RdsClient::describeSQLReportsAsync(const DescribeSQLReportsRequest& request, const DescribeSQLReportsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeSQLReports(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeSQLReportsOutcomeCallable RdsClient::describeSQLReportsCallable(const DescribeSQLReportsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeSQLReports(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeBackupTasksOutcome RdsClient::describeBackupTasks(const DescribeBackupTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupTasksOutcome(DescribeBackupTasksResult(outcome.result())); + else + return DescribeBackupTasksOutcome(outcome.error()); +} + +void RdsClient::describeBackupTasksAsync(const DescribeBackupTasksRequest& request, const DescribeBackupTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeBackupTasksOutcomeCallable RdsClient::describeBackupTasksCallable(const DescribeBackupTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DeleteDatabaseOutcome RdsClient::deleteDatabase(const DeleteDatabaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDatabaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDatabaseOutcome(DeleteDatabaseResult(outcome.result())); + else + return DeleteDatabaseOutcome(outcome.error()); +} + +void RdsClient::deleteDatabaseAsync(const DeleteDatabaseRequest& request, const DeleteDatabaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDatabase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DeleteDatabaseOutcomeCallable RdsClient::deleteDatabaseCallable(const DeleteDatabaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDatabase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ModifyCollationTimeZoneOutcome RdsClient::modifyCollationTimeZone(const ModifyCollationTimeZoneRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCollationTimeZoneOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCollationTimeZoneOutcome(ModifyCollationTimeZoneResult(outcome.result())); + else + return ModifyCollationTimeZoneOutcome(outcome.error()); +} + +void RdsClient::modifyCollationTimeZoneAsync(const ModifyCollationTimeZoneRequest& request, const ModifyCollationTimeZoneAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCollationTimeZone(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ModifyCollationTimeZoneOutcomeCallable RdsClient::modifyCollationTimeZoneCallable(const ModifyCollationTimeZoneRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCollationTimeZone(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeBackupPolicyOutcome RdsClient::describeBackupPolicy(const DescribeBackupPolicyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeBackupPolicyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeBackupPolicyOutcome(DescribeBackupPolicyResult(outcome.result())); + else + return DescribeBackupPolicyOutcome(outcome.error()); +} + +void RdsClient::describeBackupPolicyAsync(const DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeBackupPolicy(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeBackupPolicyOutcomeCallable RdsClient::describeBackupPolicyCallable(const DescribeBackupPolicyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeBackupPolicy(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::CreateMigrateTaskForSQLServerOutcome RdsClient::createMigrateTaskForSQLServer(const CreateMigrateTaskForSQLServerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMigrateTaskForSQLServerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMigrateTaskForSQLServerOutcome(CreateMigrateTaskForSQLServerResult(outcome.result())); + else + return CreateMigrateTaskForSQLServerOutcome(outcome.error()); +} + +void RdsClient::createMigrateTaskForSQLServerAsync(const CreateMigrateTaskForSQLServerRequest& request, const CreateMigrateTaskForSQLServerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMigrateTaskForSQLServer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::CreateMigrateTaskForSQLServerOutcomeCallable RdsClient::createMigrateTaskForSQLServerCallable(const CreateMigrateTaskForSQLServerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMigrateTaskForSQLServer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::DescribeDBInstanceIPArrayListOutcome RdsClient::describeDBInstanceIPArrayList(const DescribeDBInstanceIPArrayListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDBInstanceIPArrayListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDBInstanceIPArrayListOutcome(DescribeDBInstanceIPArrayListResult(outcome.result())); + else + return DescribeDBInstanceIPArrayListOutcome(outcome.error()); +} + +void RdsClient::describeDBInstanceIPArrayListAsync(const DescribeDBInstanceIPArrayListRequest& request, const DescribeDBInstanceIPArrayListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDBInstanceIPArrayList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::DescribeDBInstanceIPArrayListOutcomeCallable RdsClient::describeDBInstanceIPArrayListCallable(const DescribeDBInstanceIPArrayListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDBInstanceIPArrayList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::SwitchDBInstanceHAOutcome RdsClient::switchDBInstanceHA(const SwitchDBInstanceHARequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SwitchDBInstanceHAOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SwitchDBInstanceHAOutcome(SwitchDBInstanceHAResult(outcome.result())); + else + return SwitchDBInstanceHAOutcome(outcome.error()); +} + +void RdsClient::switchDBInstanceHAAsync(const SwitchDBInstanceHARequest& request, const SwitchDBInstanceHAAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, switchDBInstanceHA(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::SwitchDBInstanceHAOutcomeCallable RdsClient::switchDBInstanceHACallable(const SwitchDBInstanceHARequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->switchDBInstanceHA(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +RdsClient::ResetAccountForPGOutcome RdsClient::resetAccountForPG(const ResetAccountForPGRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResetAccountForPGOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResetAccountForPGOutcome(ResetAccountForPGResult(outcome.result())); + else + return ResetAccountForPGOutcome(outcome.error()); +} + +void RdsClient::resetAccountForPGAsync(const ResetAccountForPGRequest& request, const ResetAccountForPGAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resetAccountForPG(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +RdsClient::ResetAccountForPGOutcomeCallable RdsClient::resetAccountForPGCallable(const ResetAccountForPGRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resetAccountForPG(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} diff --git a/rds/src/model/AddTagsToResourceRequest.cc b/rds/src/model/AddTagsToResourceRequest.cc index 66f1bf07f..3e5faaf0a 100644 --- a/rds/src/model/AddTagsToResourceRequest.cc +++ b/rds/src/model/AddTagsToResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::AddTagsToResourceRequest; - -AddTagsToResourceRequest::AddTagsToResourceRequest() : - RpcServiceRequest("rds", "2014-08-15", "AddTagsToResource") -{} - -AddTagsToResourceRequest::~AddTagsToResourceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::AddTagsToResourceRequest; + +AddTagsToResourceRequest::AddTagsToResourceRequest() : + RpcServiceRequest("rds", "2014-08-15", "AddTagsToResource") +{} + +AddTagsToResourceRequest::~AddTagsToResourceRequest() +{} + std::string AddTagsToResourceRequest::getTag4value()const { return tag4value_; diff --git a/rds/src/model/AddTagsToResourceResult.cc b/rds/src/model/AddTagsToResourceResult.cc index 97c73b85b..8d42e241c 100644 --- a/rds/src/model/AddTagsToResourceResult.cc +++ b/rds/src/model/AddTagsToResourceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -AddTagsToResourceResult::AddTagsToResourceResult() : - ServiceResult() -{} - -AddTagsToResourceResult::AddTagsToResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AddTagsToResourceResult::~AddTagsToResourceResult() -{} - -void AddTagsToResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +AddTagsToResourceResult::AddTagsToResourceResult() : + ServiceResult() +{} + +AddTagsToResourceResult::AddTagsToResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddTagsToResourceResult::~AddTagsToResourceResult() +{} + +void AddTagsToResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/AllocateInstancePrivateConnectionRequest.cc b/rds/src/model/AllocateInstancePrivateConnectionRequest.cc index d77bd848b..12372690a 100644 --- a/rds/src/model/AllocateInstancePrivateConnectionRequest.cc +++ b/rds/src/model/AllocateInstancePrivateConnectionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::AllocateInstancePrivateConnectionRequest; - -AllocateInstancePrivateConnectionRequest::AllocateInstancePrivateConnectionRequest() : - RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePrivateConnection") -{} - -AllocateInstancePrivateConnectionRequest::~AllocateInstancePrivateConnectionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::AllocateInstancePrivateConnectionRequest; + +AllocateInstancePrivateConnectionRequest::AllocateInstancePrivateConnectionRequest() : + RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePrivateConnection") +{} + +AllocateInstancePrivateConnectionRequest::~AllocateInstancePrivateConnectionRequest() +{} + long AllocateInstancePrivateConnectionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/AllocateInstancePrivateConnectionResult.cc b/rds/src/model/AllocateInstancePrivateConnectionResult.cc index f0ad8188a..4c88f4e2d 100644 --- a/rds/src/model/AllocateInstancePrivateConnectionResult.cc +++ b/rds/src/model/AllocateInstancePrivateConnectionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult() : - ServiceResult() -{} - -AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AllocateInstancePrivateConnectionResult::~AllocateInstancePrivateConnectionResult() -{} - -void AllocateInstancePrivateConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult() : + ServiceResult() +{} + +AllocateInstancePrivateConnectionResult::AllocateInstancePrivateConnectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AllocateInstancePrivateConnectionResult::~AllocateInstancePrivateConnectionResult() +{} + +void AllocateInstancePrivateConnectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/AllocateInstancePublicConnectionRequest.cc b/rds/src/model/AllocateInstancePublicConnectionRequest.cc index e789a18e1..1511f2f93 100644 --- a/rds/src/model/AllocateInstancePublicConnectionRequest.cc +++ b/rds/src/model/AllocateInstancePublicConnectionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::AllocateInstancePublicConnectionRequest; - -AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest() : - RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePublicConnection") -{} - -AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::AllocateInstancePublicConnectionRequest; + +AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest() : + RpcServiceRequest("rds", "2014-08-15", "AllocateInstancePublicConnection") +{} + +AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest() +{} + long AllocateInstancePublicConnectionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/AllocateInstancePublicConnectionResult.cc b/rds/src/model/AllocateInstancePublicConnectionResult.cc index d6872c234..f61524dee 100644 --- a/rds/src/model/AllocateInstancePublicConnectionResult.cc +++ b/rds/src/model/AllocateInstancePublicConnectionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult() : - ServiceResult() -{} - -AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AllocateInstancePublicConnectionResult::~AllocateInstancePublicConnectionResult() -{} - -void AllocateInstancePublicConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult() : + ServiceResult() +{} + +AllocateInstancePublicConnectionResult::AllocateInstancePublicConnectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AllocateInstancePublicConnectionResult::~AllocateInstancePublicConnectionResult() +{} + +void AllocateInstancePublicConnectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/AllocateInstanceVpcNetworkTypeRequest.cc b/rds/src/model/AllocateInstanceVpcNetworkTypeRequest.cc index 7fa1c140b..01958ab23 100644 --- a/rds/src/model/AllocateInstanceVpcNetworkTypeRequest.cc +++ b/rds/src/model/AllocateInstanceVpcNetworkTypeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::AllocateInstanceVpcNetworkTypeRequest; - -AllocateInstanceVpcNetworkTypeRequest::AllocateInstanceVpcNetworkTypeRequest() : - RpcServiceRequest("rds", "2014-08-15", "AllocateInstanceVpcNetworkType") -{} - -AllocateInstanceVpcNetworkTypeRequest::~AllocateInstanceVpcNetworkTypeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::AllocateInstanceVpcNetworkTypeRequest; + +AllocateInstanceVpcNetworkTypeRequest::AllocateInstanceVpcNetworkTypeRequest() : + RpcServiceRequest("rds", "2014-08-15", "AllocateInstanceVpcNetworkType") +{} + +AllocateInstanceVpcNetworkTypeRequest::~AllocateInstanceVpcNetworkTypeRequest() +{} + std::string AllocateInstanceVpcNetworkTypeRequest::getTargetVpcId()const { return targetVpcId_; diff --git a/rds/src/model/AllocateInstanceVpcNetworkTypeResult.cc b/rds/src/model/AllocateInstanceVpcNetworkTypeResult.cc index 0268c8f6f..dfcf2278c 100644 --- a/rds/src/model/AllocateInstanceVpcNetworkTypeResult.cc +++ b/rds/src/model/AllocateInstanceVpcNetworkTypeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult() : - ServiceResult() -{} - -AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AllocateInstanceVpcNetworkTypeResult::~AllocateInstanceVpcNetworkTypeResult() -{} - -void AllocateInstanceVpcNetworkTypeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult() : + ServiceResult() +{} + +AllocateInstanceVpcNetworkTypeResult::AllocateInstanceVpcNetworkTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AllocateInstanceVpcNetworkTypeResult::~AllocateInstanceVpcNetworkTypeResult() +{} + +void AllocateInstanceVpcNetworkTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/AllocateReadWriteSplittingConnectionRequest.cc b/rds/src/model/AllocateReadWriteSplittingConnectionRequest.cc index bbce65b36..be53141ba 100644 --- a/rds/src/model/AllocateReadWriteSplittingConnectionRequest.cc +++ b/rds/src/model/AllocateReadWriteSplittingConnectionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::AllocateReadWriteSplittingConnectionRequest; - -AllocateReadWriteSplittingConnectionRequest::AllocateReadWriteSplittingConnectionRequest() : - RpcServiceRequest("rds", "2014-08-15", "AllocateReadWriteSplittingConnection") -{} - -AllocateReadWriteSplittingConnectionRequest::~AllocateReadWriteSplittingConnectionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::AllocateReadWriteSplittingConnectionRequest; + +AllocateReadWriteSplittingConnectionRequest::AllocateReadWriteSplittingConnectionRequest() : + RpcServiceRequest("rds", "2014-08-15", "AllocateReadWriteSplittingConnection") +{} + +AllocateReadWriteSplittingConnectionRequest::~AllocateReadWriteSplittingConnectionRequest() +{} + long AllocateReadWriteSplittingConnectionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/AllocateReadWriteSplittingConnectionResult.cc b/rds/src/model/AllocateReadWriteSplittingConnectionResult.cc index c756caa3e..db7a8e3e3 100644 --- a/rds/src/model/AllocateReadWriteSplittingConnectionResult.cc +++ b/rds/src/model/AllocateReadWriteSplittingConnectionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult() : - ServiceResult() -{} - -AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -AllocateReadWriteSplittingConnectionResult::~AllocateReadWriteSplittingConnectionResult() -{} - -void AllocateReadWriteSplittingConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult() : + ServiceResult() +{} + +AllocateReadWriteSplittingConnectionResult::AllocateReadWriteSplittingConnectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AllocateReadWriteSplittingConnectionResult::~AllocateReadWriteSplittingConnectionResult() +{} + +void AllocateReadWriteSplittingConnectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/CalculateDBInstanceWeightRequest.cc b/rds/src/model/CalculateDBInstanceWeightRequest.cc index 72e83df1e..c30cc1268 100644 --- a/rds/src/model/CalculateDBInstanceWeightRequest.cc +++ b/rds/src/model/CalculateDBInstanceWeightRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CalculateDBInstanceWeightRequest; - -CalculateDBInstanceWeightRequest::CalculateDBInstanceWeightRequest() : - RpcServiceRequest("rds", "2014-08-15", "CalculateDBInstanceWeight") -{} - -CalculateDBInstanceWeightRequest::~CalculateDBInstanceWeightRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CalculateDBInstanceWeightRequest; + +CalculateDBInstanceWeightRequest::CalculateDBInstanceWeightRequest() : + RpcServiceRequest("rds", "2014-08-15", "CalculateDBInstanceWeight") +{} + +CalculateDBInstanceWeightRequest::~CalculateDBInstanceWeightRequest() +{} + long CalculateDBInstanceWeightRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CalculateDBInstanceWeightResult.cc b/rds/src/model/CalculateDBInstanceWeightResult.cc index 02f04f391..5365fe7bc 100644 --- a/rds/src/model/CalculateDBInstanceWeightResult.cc +++ b/rds/src/model/CalculateDBInstanceWeightResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult() : - ServiceResult() -{} - -CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CalculateDBInstanceWeightResult::~CalculateDBInstanceWeightResult() -{} - -void CalculateDBInstanceWeightResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult() : + ServiceResult() +{} + +CalculateDBInstanceWeightResult::CalculateDBInstanceWeightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CalculateDBInstanceWeightResult::~CalculateDBInstanceWeightResult() +{} + +void CalculateDBInstanceWeightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstanceWeight"]; for (auto value : allItems) { @@ -56,9 +56,9 @@ void CalculateDBInstanceWeightResult::parse(const std::string &payload) itemsObject.weight = value["Weight"].asString(); items_.push_back(itemsObject); } - -} - + +} + std::vector CalculateDBInstanceWeightResult::getItems()const { return items_; diff --git a/rds/src/model/CancelImportRequest.cc b/rds/src/model/CancelImportRequest.cc index 4b128809e..82ee515e0 100644 --- a/rds/src/model/CancelImportRequest.cc +++ b/rds/src/model/CancelImportRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CancelImportRequest; - -CancelImportRequest::CancelImportRequest() : - RpcServiceRequest("rds", "2014-08-15", "CancelImport") -{} - -CancelImportRequest::~CancelImportRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CancelImportRequest; + +CancelImportRequest::CancelImportRequest() : + RpcServiceRequest("rds", "2014-08-15", "CancelImport") +{} + +CancelImportRequest::~CancelImportRequest() +{} + long CancelImportRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CancelImportResult.cc b/rds/src/model/CancelImportResult.cc index 0480af025..5319a2fdb 100644 --- a/rds/src/model/CancelImportResult.cc +++ b/rds/src/model/CancelImportResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CancelImportResult::CancelImportResult() : - ServiceResult() -{} - -CancelImportResult::CancelImportResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CancelImportResult::~CancelImportResult() -{} - -void CancelImportResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CancelImportResult::CancelImportResult() : + ServiceResult() +{} + +CancelImportResult::CancelImportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CancelImportResult::~CancelImportResult() +{} + +void CancelImportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/CheckAccountNameAvailableRequest.cc b/rds/src/model/CheckAccountNameAvailableRequest.cc index 21a58e231..3db272de5 100644 --- a/rds/src/model/CheckAccountNameAvailableRequest.cc +++ b/rds/src/model/CheckAccountNameAvailableRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CheckAccountNameAvailableRequest; - -CheckAccountNameAvailableRequest::CheckAccountNameAvailableRequest() : - RpcServiceRequest("rds", "2014-08-15", "CheckAccountNameAvailable") -{} - -CheckAccountNameAvailableRequest::~CheckAccountNameAvailableRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CheckAccountNameAvailableRequest; + +CheckAccountNameAvailableRequest::CheckAccountNameAvailableRequest() : + RpcServiceRequest("rds", "2014-08-15", "CheckAccountNameAvailable") +{} + +CheckAccountNameAvailableRequest::~CheckAccountNameAvailableRequest() +{} + long CheckAccountNameAvailableRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CheckAccountNameAvailableResult.cc b/rds/src/model/CheckAccountNameAvailableResult.cc index 0418c44c5..87706449b 100644 --- a/rds/src/model/CheckAccountNameAvailableResult.cc +++ b/rds/src/model/CheckAccountNameAvailableResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CheckAccountNameAvailableResult::CheckAccountNameAvailableResult() : - ServiceResult() -{} - -CheckAccountNameAvailableResult::CheckAccountNameAvailableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckAccountNameAvailableResult::~CheckAccountNameAvailableResult() -{} - -void CheckAccountNameAvailableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CheckAccountNameAvailableResult::CheckAccountNameAvailableResult() : + ServiceResult() +{} + +CheckAccountNameAvailableResult::CheckAccountNameAvailableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckAccountNameAvailableResult::~CheckAccountNameAvailableResult() +{} + +void CheckAccountNameAvailableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/CheckInstanceExistRequest.cc b/rds/src/model/CheckInstanceExistRequest.cc index 9b5290bd6..8bb73a10b 100644 --- a/rds/src/model/CheckInstanceExistRequest.cc +++ b/rds/src/model/CheckInstanceExistRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CheckInstanceExistRequest; - -CheckInstanceExistRequest::CheckInstanceExistRequest() : - RpcServiceRequest("rds", "2014-08-15", "CheckInstanceExist") -{} - -CheckInstanceExistRequest::~CheckInstanceExistRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CheckInstanceExistRequest; + +CheckInstanceExistRequest::CheckInstanceExistRequest() : + RpcServiceRequest("rds", "2014-08-15", "CheckInstanceExist") +{} + +CheckInstanceExistRequest::~CheckInstanceExistRequest() +{} + long CheckInstanceExistRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CheckInstanceExistResult.cc b/rds/src/model/CheckInstanceExistResult.cc index 724bde898..865700118 100644 --- a/rds/src/model/CheckInstanceExistResult.cc +++ b/rds/src/model/CheckInstanceExistResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CheckInstanceExistResult::CheckInstanceExistResult() : - ServiceResult() -{} - -CheckInstanceExistResult::CheckInstanceExistResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckInstanceExistResult::~CheckInstanceExistResult() -{} - -void CheckInstanceExistResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CheckInstanceExistResult::CheckInstanceExistResult() : + ServiceResult() +{} + +CheckInstanceExistResult::CheckInstanceExistResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckInstanceExistResult::~CheckInstanceExistResult() +{} + +void CheckInstanceExistResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["IsExistInstance"].isNull()) isExistInstance_ = value["IsExistInstance"].asString() == "true"; - -} - + +} + bool CheckInstanceExistResult::getIsExistInstance()const { return isExistInstance_; diff --git a/rds/src/model/CheckRecoveryConditionsRequest.cc b/rds/src/model/CheckRecoveryConditionsRequest.cc index 928973373..b9c3fe91b 100644 --- a/rds/src/model/CheckRecoveryConditionsRequest.cc +++ b/rds/src/model/CheckRecoveryConditionsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CheckRecoveryConditionsRequest; - -CheckRecoveryConditionsRequest::CheckRecoveryConditionsRequest() : - RpcServiceRequest("rds", "2014-08-15", "CheckRecoveryConditions") -{} - -CheckRecoveryConditionsRequest::~CheckRecoveryConditionsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CheckRecoveryConditionsRequest; + +CheckRecoveryConditionsRequest::CheckRecoveryConditionsRequest() : + RpcServiceRequest("rds", "2014-08-15", "CheckRecoveryConditions") +{} + +CheckRecoveryConditionsRequest::~CheckRecoveryConditionsRequest() +{} + long CheckRecoveryConditionsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CheckRecoveryConditionsResult.cc b/rds/src/model/CheckRecoveryConditionsResult.cc index 0126600b0..52f4def7e 100644 --- a/rds/src/model/CheckRecoveryConditionsResult.cc +++ b/rds/src/model/CheckRecoveryConditionsResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CheckRecoveryConditionsResult::CheckRecoveryConditionsResult() : - ServiceResult() -{} - -CheckRecoveryConditionsResult::CheckRecoveryConditionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckRecoveryConditionsResult::~CheckRecoveryConditionsResult() -{} - -void CheckRecoveryConditionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CheckRecoveryConditionsResult::CheckRecoveryConditionsResult() : + ServiceResult() +{} + +CheckRecoveryConditionsResult::CheckRecoveryConditionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckRecoveryConditionsResult::~CheckRecoveryConditionsResult() +{} + +void CheckRecoveryConditionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["RecoveryStatus"].isNull()) recoveryStatus_ = value["RecoveryStatus"].asString(); - -} - + +} + std::string CheckRecoveryConditionsResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/CheckResourceRequest.cc b/rds/src/model/CheckResourceRequest.cc index 1599a4361..eae3c6d58 100644 --- a/rds/src/model/CheckResourceRequest.cc +++ b/rds/src/model/CheckResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CheckResourceRequest; - -CheckResourceRequest::CheckResourceRequest() : - RpcServiceRequest("rds", "2014-08-15", "CheckResource") -{} - -CheckResourceRequest::~CheckResourceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CheckResourceRequest; + +CheckResourceRequest::CheckResourceRequest() : + RpcServiceRequest("rds", "2014-08-15", "CheckResource") +{} + +CheckResourceRequest::~CheckResourceRequest() +{} + long CheckResourceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CheckResourceResult.cc b/rds/src/model/CheckResourceResult.cc index 6d4589e57..9bf5166d3 100644 --- a/rds/src/model/CheckResourceResult.cc +++ b/rds/src/model/CheckResourceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CheckResourceResult::CheckResourceResult() : - ServiceResult() -{} - -CheckResourceResult::CheckResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CheckResourceResult::~CheckResourceResult() -{} - -void CheckResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CheckResourceResult::CheckResourceResult() : + ServiceResult() +{} + +CheckResourceResult::CheckResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CheckResourceResult::~CheckResourceResult() +{} + +void CheckResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allResources = value["Resources"]["Resource"]; for (auto value : allResources) { @@ -54,9 +54,9 @@ void CheckResourceResult::parse(const std::string &payload) } if(!value["SpecifyCount"].isNull()) specifyCount_ = value["SpecifyCount"].asString(); - -} - + +} + std::string CheckResourceResult::getSpecifyCount()const { return specifyCount_; diff --git a/rds/src/model/CloneDBInstanceRequest.cc b/rds/src/model/CloneDBInstanceRequest.cc index 7e34354b1..e25125cb3 100644 --- a/rds/src/model/CloneDBInstanceRequest.cc +++ b/rds/src/model/CloneDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CloneDBInstanceRequest; - -CloneDBInstanceRequest::CloneDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "CloneDBInstance") -{} - -CloneDBInstanceRequest::~CloneDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CloneDBInstanceRequest; + +CloneDBInstanceRequest::CloneDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "CloneDBInstance") +{} + +CloneDBInstanceRequest::~CloneDBInstanceRequest() +{} + long CloneDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CloneDBInstanceResult.cc b/rds/src/model/CloneDBInstanceResult.cc index 221ecf54c..44f84db8a 100644 --- a/rds/src/model/CloneDBInstanceResult.cc +++ b/rds/src/model/CloneDBInstanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CloneDBInstanceResult::CloneDBInstanceResult() : - ServiceResult() -{} - -CloneDBInstanceResult::CloneDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CloneDBInstanceResult::~CloneDBInstanceResult() -{} - -void CloneDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CloneDBInstanceResult::CloneDBInstanceResult() : + ServiceResult() +{} + +CloneDBInstanceResult::CloneDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CloneDBInstanceResult::~CloneDBInstanceResult() +{} + +void CloneDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["OrderId"].isNull()) @@ -48,9 +48,9 @@ void CloneDBInstanceResult::parse(const std::string &payload) connectionString_ = value["ConnectionString"].asString(); if(!value["Port"].isNull()) port_ = value["Port"].asString(); - -} - + +} + std::string CloneDBInstanceResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/CopyDatabaseBetweenInstancesRequest.cc b/rds/src/model/CopyDatabaseBetweenInstancesRequest.cc index 59f0f579b..01512127e 100644 --- a/rds/src/model/CopyDatabaseBetweenInstancesRequest.cc +++ b/rds/src/model/CopyDatabaseBetweenInstancesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CopyDatabaseBetweenInstancesRequest; - -CopyDatabaseBetweenInstancesRequest::CopyDatabaseBetweenInstancesRequest() : - RpcServiceRequest("rds", "2014-08-15", "CopyDatabaseBetweenInstances") -{} - -CopyDatabaseBetweenInstancesRequest::~CopyDatabaseBetweenInstancesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CopyDatabaseBetweenInstancesRequest; + +CopyDatabaseBetweenInstancesRequest::CopyDatabaseBetweenInstancesRequest() : + RpcServiceRequest("rds", "2014-08-15", "CopyDatabaseBetweenInstances") +{} + +CopyDatabaseBetweenInstancesRequest::~CopyDatabaseBetweenInstancesRequest() +{} + long CopyDatabaseBetweenInstancesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CopyDatabaseBetweenInstancesResult.cc b/rds/src/model/CopyDatabaseBetweenInstancesResult.cc index 4e8ecca03..0977b2cfc 100644 --- a/rds/src/model/CopyDatabaseBetweenInstancesResult.cc +++ b/rds/src/model/CopyDatabaseBetweenInstancesResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult() : - ServiceResult() -{} - -CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CopyDatabaseBetweenInstancesResult::~CopyDatabaseBetweenInstancesResult() -{} - -void CopyDatabaseBetweenInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult() : + ServiceResult() +{} + +CopyDatabaseBetweenInstancesResult::CopyDatabaseBetweenInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyDatabaseBetweenInstancesResult::~CopyDatabaseBetweenInstancesResult() +{} + +void CopyDatabaseBetweenInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); - -} - + +} + std::string CopyDatabaseBetweenInstancesResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/CopyDatabaseRequest.cc b/rds/src/model/CopyDatabaseRequest.cc index cad0e1bf5..897f8e453 100644 --- a/rds/src/model/CopyDatabaseRequest.cc +++ b/rds/src/model/CopyDatabaseRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CopyDatabaseRequest; - -CopyDatabaseRequest::CopyDatabaseRequest() : - RpcServiceRequest("rds", "2014-08-15", "CopyDatabase") -{} - -CopyDatabaseRequest::~CopyDatabaseRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CopyDatabaseRequest; + +CopyDatabaseRequest::CopyDatabaseRequest() : + RpcServiceRequest("rds", "2014-08-15", "CopyDatabase") +{} + +CopyDatabaseRequest::~CopyDatabaseRequest() +{} + long CopyDatabaseRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CopyDatabaseResult.cc b/rds/src/model/CopyDatabaseResult.cc index 721c14281..5b0f59c47 100644 --- a/rds/src/model/CopyDatabaseResult.cc +++ b/rds/src/model/CopyDatabaseResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CopyDatabaseResult::CopyDatabaseResult() : - ServiceResult() -{} - -CopyDatabaseResult::CopyDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CopyDatabaseResult::~CopyDatabaseResult() -{} - -void CopyDatabaseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CopyDatabaseResult::CopyDatabaseResult() : + ServiceResult() +{} + +CopyDatabaseResult::CopyDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CopyDatabaseResult::~CopyDatabaseResult() +{} + +void CopyDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBName"].isNull()) dBName_ = value["DBName"].asString(); if(!value["DBStatus"].isNull()) dBStatus_ = value["DBStatus"].asString(); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); - -} - + +} + std::string CopyDatabaseResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/CreateAccountRequest.cc b/rds/src/model/CreateAccountRequest.cc index 9eeab91fb..96674b720 100644 --- a/rds/src/model/CreateAccountRequest.cc +++ b/rds/src/model/CreateAccountRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateAccountRequest; - -CreateAccountRequest::CreateAccountRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateAccount") -{} - -CreateAccountRequest::~CreateAccountRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateAccountRequest; + +CreateAccountRequest::CreateAccountRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateAccount") +{} + +CreateAccountRequest::~CreateAccountRequest() +{} + long CreateAccountRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateAccountResult.cc b/rds/src/model/CreateAccountResult.cc index 06f67b14a..ca0d9f63e 100644 --- a/rds/src/model/CreateAccountResult.cc +++ b/rds/src/model/CreateAccountResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateAccountResult::CreateAccountResult() : - ServiceResult() -{} - -CreateAccountResult::CreateAccountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateAccountResult::~CreateAccountResult() -{} - -void CreateAccountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateAccountResult::CreateAccountResult() : + ServiceResult() +{} + +CreateAccountResult::CreateAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateAccountResult::~CreateAccountResult() +{} + +void CreateAccountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/CreateBackupRequest.cc b/rds/src/model/CreateBackupRequest.cc index 5aafb46cb..59edc56db 100644 --- a/rds/src/model/CreateBackupRequest.cc +++ b/rds/src/model/CreateBackupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateBackupRequest; - -CreateBackupRequest::CreateBackupRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateBackup") -{} - -CreateBackupRequest::~CreateBackupRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateBackupRequest; + +CreateBackupRequest::CreateBackupRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateBackup") +{} + +CreateBackupRequest::~CreateBackupRequest() +{} + std::string CreateBackupRequest::getBackupMethod()const { return backupMethod_; diff --git a/rds/src/model/CreateBackupResult.cc b/rds/src/model/CreateBackupResult.cc index c8834ef2b..18fef3065 100644 --- a/rds/src/model/CreateBackupResult.cc +++ b/rds/src/model/CreateBackupResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateBackupResult::CreateBackupResult() : - ServiceResult() -{} - -CreateBackupResult::CreateBackupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateBackupResult::~CreateBackupResult() -{} - -void CreateBackupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateBackupResult::CreateBackupResult() : + ServiceResult() +{} + +CreateBackupResult::CreateBackupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateBackupResult::~CreateBackupResult() +{} + +void CreateBackupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["BackupJobId"].isNull()) backupJobId_ = value["BackupJobId"].asString(); - -} - + +} + std::string CreateBackupResult::getBackupJobId()const { return backupJobId_; diff --git a/rds/src/model/CreateDBInstanceReplicaRequest.cc b/rds/src/model/CreateDBInstanceReplicaRequest.cc index 5ebeedff2..187b3fbe9 100644 --- a/rds/src/model/CreateDBInstanceReplicaRequest.cc +++ b/rds/src/model/CreateDBInstanceReplicaRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateDBInstanceReplicaRequest; - -CreateDBInstanceReplicaRequest::CreateDBInstanceReplicaRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateDBInstanceReplica") -{} - -CreateDBInstanceReplicaRequest::~CreateDBInstanceReplicaRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateDBInstanceReplicaRequest; + +CreateDBInstanceReplicaRequest::CreateDBInstanceReplicaRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateDBInstanceReplica") +{} + +CreateDBInstanceReplicaRequest::~CreateDBInstanceReplicaRequest() +{} + std::string CreateDBInstanceReplicaRequest::getConnectionMode()const { return connectionMode_; diff --git a/rds/src/model/CreateDBInstanceReplicaResult.cc b/rds/src/model/CreateDBInstanceReplicaResult.cc index f8f8e225d..e57f9f8ee 100644 --- a/rds/src/model/CreateDBInstanceReplicaResult.cc +++ b/rds/src/model/CreateDBInstanceReplicaResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult() : - ServiceResult() -{} - -CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDBInstanceReplicaResult::~CreateDBInstanceReplicaResult() -{} - -void CreateDBInstanceReplicaResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult() : + ServiceResult() +{} + +CreateDBInstanceReplicaResult::CreateDBInstanceReplicaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDBInstanceReplicaResult::~CreateDBInstanceReplicaResult() +{} + +void CreateDBInstanceReplicaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["OrderId"].isNull()) @@ -48,9 +48,9 @@ void CreateDBInstanceReplicaResult::parse(const std::string &payload) replicaId_ = value["ReplicaId"].asString(); if(!value["WorkflowId"].isNull()) workflowId_ = value["WorkflowId"].asString(); - -} - + +} + std::string CreateDBInstanceReplicaResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/CreateDBInstanceRequest.cc b/rds/src/model/CreateDBInstanceRequest.cc index bd85ceba5..a39d4046b 100644 --- a/rds/src/model/CreateDBInstanceRequest.cc +++ b/rds/src/model/CreateDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateDBInstanceRequest; - -CreateDBInstanceRequest::CreateDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateDBInstance") -{} - -CreateDBInstanceRequest::~CreateDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateDBInstanceRequest; + +CreateDBInstanceRequest::CreateDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateDBInstance") +{} + +CreateDBInstanceRequest::~CreateDBInstanceRequest() +{} + std::string CreateDBInstanceRequest::getConnectionMode()const { return connectionMode_; @@ -212,6 +212,17 @@ void CreateDBInstanceRequest::setOwnerAccount(const std::string& ownerAccount) setCoreParameter("OwnerAccount", ownerAccount); } +std::string CreateDBInstanceRequest::getEncryptionKey()const +{ + return encryptionKey_; +} + +void CreateDBInstanceRequest::setEncryptionKey(const std::string& encryptionKey) +{ + encryptionKey_ = encryptionKey; + setCoreParameter("EncryptionKey", encryptionKey); +} + long CreateDBInstanceRequest::getOwnerId()const { return ownerId_; @@ -278,6 +289,28 @@ void CreateDBInstanceRequest::setPrivateIpAddress(const std::string& privateIpAd setCoreParameter("PrivateIpAddress", privateIpAddress); } +std::string CreateDBInstanceRequest::getAutoRenew()const +{ + return autoRenew_; +} + +void CreateDBInstanceRequest::setAutoRenew(const std::string& autoRenew) +{ + autoRenew_ = autoRenew; + setCoreParameter("AutoRenew", autoRenew); +} + +std::string CreateDBInstanceRequest::getRoleARN()const +{ + return roleARN_; +} + +void CreateDBInstanceRequest::setRoleARN(const std::string& roleARN) +{ + roleARN_ = roleARN; + setCoreParameter("RoleARN", roleARN); +} + std::string CreateDBInstanceRequest::getVPCId()const { return vPCId_; diff --git a/rds/src/model/CreateDBInstanceResult.cc b/rds/src/model/CreateDBInstanceResult.cc index fd11a4220..9f4897b51 100644 --- a/rds/src/model/CreateDBInstanceResult.cc +++ b/rds/src/model/CreateDBInstanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateDBInstanceResult::CreateDBInstanceResult() : - ServiceResult() -{} - -CreateDBInstanceResult::CreateDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDBInstanceResult::~CreateDBInstanceResult() -{} - -void CreateDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateDBInstanceResult::CreateDBInstanceResult() : + ServiceResult() +{} + +CreateDBInstanceResult::CreateDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDBInstanceResult::~CreateDBInstanceResult() +{} + +void CreateDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["OrderId"].isNull()) @@ -48,9 +48,9 @@ void CreateDBInstanceResult::parse(const std::string &payload) connectionString_ = value["ConnectionString"].asString(); if(!value["Port"].isNull()) port_ = value["Port"].asString(); - -} - + +} + std::string CreateDBInstanceResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/CreateDatabaseRequest.cc b/rds/src/model/CreateDatabaseRequest.cc index a25a56856..170cb26c3 100644 --- a/rds/src/model/CreateDatabaseRequest.cc +++ b/rds/src/model/CreateDatabaseRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateDatabaseRequest; - -CreateDatabaseRequest::CreateDatabaseRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateDatabase") -{} - -CreateDatabaseRequest::~CreateDatabaseRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateDatabaseRequest; + +CreateDatabaseRequest::CreateDatabaseRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateDatabase") +{} + +CreateDatabaseRequest::~CreateDatabaseRequest() +{} + long CreateDatabaseRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateDatabaseResult.cc b/rds/src/model/CreateDatabaseResult.cc index 1dc21c9fd..b01db953f 100644 --- a/rds/src/model/CreateDatabaseResult.cc +++ b/rds/src/model/CreateDatabaseResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateDatabaseResult::CreateDatabaseResult() : - ServiceResult() -{} - -CreateDatabaseResult::CreateDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDatabaseResult::~CreateDatabaseResult() -{} - -void CreateDatabaseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateDatabaseResult::CreateDatabaseResult() : + ServiceResult() +{} + +CreateDatabaseResult::CreateDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDatabaseResult::~CreateDatabaseResult() +{} + +void CreateDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/CreateDiagnosticReportRequest.cc b/rds/src/model/CreateDiagnosticReportRequest.cc index 20229539d..f49cdcca7 100644 --- a/rds/src/model/CreateDiagnosticReportRequest.cc +++ b/rds/src/model/CreateDiagnosticReportRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateDiagnosticReportRequest; - -CreateDiagnosticReportRequest::CreateDiagnosticReportRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateDiagnosticReport") -{} - -CreateDiagnosticReportRequest::~CreateDiagnosticReportRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateDiagnosticReportRequest; + +CreateDiagnosticReportRequest::CreateDiagnosticReportRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateDiagnosticReport") +{} + +CreateDiagnosticReportRequest::~CreateDiagnosticReportRequest() +{} + std::string CreateDiagnosticReportRequest::getEndTime()const { return endTime_; diff --git a/rds/src/model/CreateDiagnosticReportResult.cc b/rds/src/model/CreateDiagnosticReportResult.cc index 9a82586d8..690942280 100644 --- a/rds/src/model/CreateDiagnosticReportResult.cc +++ b/rds/src/model/CreateDiagnosticReportResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateDiagnosticReportResult::CreateDiagnosticReportResult() : - ServiceResult() -{} - -CreateDiagnosticReportResult::CreateDiagnosticReportResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDiagnosticReportResult::~CreateDiagnosticReportResult() -{} - -void CreateDiagnosticReportResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateDiagnosticReportResult::CreateDiagnosticReportResult() : + ServiceResult() +{} + +CreateDiagnosticReportResult::CreateDiagnosticReportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDiagnosticReportResult::~CreateDiagnosticReportResult() +{} + +void CreateDiagnosticReportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["ReportId"].isNull()) reportId_ = value["ReportId"].asString(); - -} - + +} + std::string CreateDiagnosticReportResult::getReportId()const { return reportId_; diff --git a/rds/src/model/CreateMigrateTaskForSQLServerRequest.cc b/rds/src/model/CreateMigrateTaskForSQLServerRequest.cc index 2964bde33..d0e5bcc40 100644 --- a/rds/src/model/CreateMigrateTaskForSQLServerRequest.cc +++ b/rds/src/model/CreateMigrateTaskForSQLServerRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateMigrateTaskForSQLServerRequest; - -CreateMigrateTaskForSQLServerRequest::CreateMigrateTaskForSQLServerRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTaskForSQLServer") -{} - -CreateMigrateTaskForSQLServerRequest::~CreateMigrateTaskForSQLServerRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateMigrateTaskForSQLServerRequest; + +CreateMigrateTaskForSQLServerRequest::CreateMigrateTaskForSQLServerRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTaskForSQLServer") +{} + +CreateMigrateTaskForSQLServerRequest::~CreateMigrateTaskForSQLServerRequest() +{} + long CreateMigrateTaskForSQLServerRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateMigrateTaskForSQLServerResult.cc b/rds/src/model/CreateMigrateTaskForSQLServerResult.cc index dc988948b..476cc1dc7 100644 --- a/rds/src/model/CreateMigrateTaskForSQLServerResult.cc +++ b/rds/src/model/CreateMigrateTaskForSQLServerResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult() : - ServiceResult() -{} - -CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateMigrateTaskForSQLServerResult::~CreateMigrateTaskForSQLServerResult() -{} - -void CreateMigrateTaskForSQLServerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult() : + ServiceResult() +{} + +CreateMigrateTaskForSQLServerResult::CreateMigrateTaskForSQLServerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMigrateTaskForSQLServerResult::~CreateMigrateTaskForSQLServerResult() +{} + +void CreateMigrateTaskForSQLServerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["DBInstanceName"].isNull()) @@ -52,9 +52,9 @@ void CreateMigrateTaskForSQLServerResult::parse(const std::string &payload) migrateIaskId_ = value["MigrateIaskId"].asString(); if(!value["TaskType"].isNull()) taskType_ = value["TaskType"].asString(); - -} - + +} + std::string CreateMigrateTaskForSQLServerResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/CreateMigrateTaskRequest.cc b/rds/src/model/CreateMigrateTaskRequest.cc index 4ac9e2b46..22c9b9fb3 100644 --- a/rds/src/model/CreateMigrateTaskRequest.cc +++ b/rds/src/model/CreateMigrateTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateMigrateTaskRequest; - -CreateMigrateTaskRequest::CreateMigrateTaskRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTask") -{} - -CreateMigrateTaskRequest::~CreateMigrateTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateMigrateTaskRequest; + +CreateMigrateTaskRequest::CreateMigrateTaskRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateMigrateTask") +{} + +CreateMigrateTaskRequest::~CreateMigrateTaskRequest() +{} + long CreateMigrateTaskRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateMigrateTaskResult.cc b/rds/src/model/CreateMigrateTaskResult.cc index 83376f340..6231a16c9 100644 --- a/rds/src/model/CreateMigrateTaskResult.cc +++ b/rds/src/model/CreateMigrateTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateMigrateTaskResult::CreateMigrateTaskResult() : - ServiceResult() -{} - -CreateMigrateTaskResult::CreateMigrateTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateMigrateTaskResult::~CreateMigrateTaskResult() -{} - -void CreateMigrateTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateMigrateTaskResult::CreateMigrateTaskResult() : + ServiceResult() +{} + +CreateMigrateTaskResult::CreateMigrateTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMigrateTaskResult::~CreateMigrateTaskResult() +{} + +void CreateMigrateTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["TaskId"].isNull()) @@ -50,9 +50,9 @@ void CreateMigrateTaskResult::parse(const std::string &payload) migrateTaskId_ = value["MigrateTaskId"].asString(); if(!value["BackupMode"].isNull()) backupMode_ = value["BackupMode"].asString(); - -} - + +} + std::string CreateMigrateTaskResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/CreateOnlineDatabaseTaskRequest.cc b/rds/src/model/CreateOnlineDatabaseTaskRequest.cc index b257f94bb..510f5f4a6 100644 --- a/rds/src/model/CreateOnlineDatabaseTaskRequest.cc +++ b/rds/src/model/CreateOnlineDatabaseTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateOnlineDatabaseTaskRequest; - -CreateOnlineDatabaseTaskRequest::CreateOnlineDatabaseTaskRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateOnlineDatabaseTask") -{} - -CreateOnlineDatabaseTaskRequest::~CreateOnlineDatabaseTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateOnlineDatabaseTaskRequest; + +CreateOnlineDatabaseTaskRequest::CreateOnlineDatabaseTaskRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateOnlineDatabaseTask") +{} + +CreateOnlineDatabaseTaskRequest::~CreateOnlineDatabaseTaskRequest() +{} + long CreateOnlineDatabaseTaskRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateOnlineDatabaseTaskResult.cc b/rds/src/model/CreateOnlineDatabaseTaskResult.cc index 789ae5dac..feed2a3d6 100644 --- a/rds/src/model/CreateOnlineDatabaseTaskResult.cc +++ b/rds/src/model/CreateOnlineDatabaseTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult() : - ServiceResult() -{} - -CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateOnlineDatabaseTaskResult::~CreateOnlineDatabaseTaskResult() -{} - -void CreateOnlineDatabaseTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult() : + ServiceResult() +{} + +CreateOnlineDatabaseTaskResult::CreateOnlineDatabaseTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOnlineDatabaseTaskResult::~CreateOnlineDatabaseTaskResult() +{} + +void CreateOnlineDatabaseTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/CreateReadOnlyDBInstanceRequest.cc b/rds/src/model/CreateReadOnlyDBInstanceRequest.cc index 832271bb5..fcaa88ca9 100644 --- a/rds/src/model/CreateReadOnlyDBInstanceRequest.cc +++ b/rds/src/model/CreateReadOnlyDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateReadOnlyDBInstanceRequest; - -CreateReadOnlyDBInstanceRequest::CreateReadOnlyDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateReadOnlyDBInstance") -{} - -CreateReadOnlyDBInstanceRequest::~CreateReadOnlyDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateReadOnlyDBInstanceRequest; + +CreateReadOnlyDBInstanceRequest::CreateReadOnlyDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateReadOnlyDBInstance") +{} + +CreateReadOnlyDBInstanceRequest::~CreateReadOnlyDBInstanceRequest() +{} + long CreateReadOnlyDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateReadOnlyDBInstanceResult.cc b/rds/src/model/CreateReadOnlyDBInstanceResult.cc index 776712846..c5eb1e9e4 100644 --- a/rds/src/model/CreateReadOnlyDBInstanceResult.cc +++ b/rds/src/model/CreateReadOnlyDBInstanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult() : - ServiceResult() -{} - -CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateReadOnlyDBInstanceResult::~CreateReadOnlyDBInstanceResult() -{} - -void CreateReadOnlyDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult() : + ServiceResult() +{} + +CreateReadOnlyDBInstanceResult::CreateReadOnlyDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateReadOnlyDBInstanceResult::~CreateReadOnlyDBInstanceResult() +{} + +void CreateReadOnlyDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["OrderId"].isNull()) @@ -48,9 +48,9 @@ void CreateReadOnlyDBInstanceResult::parse(const std::string &payload) connectionString_ = value["ConnectionString"].asString(); if(!value["Port"].isNull()) port_ = value["Port"].asString(); - -} - + +} + std::string CreateReadOnlyDBInstanceResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/CreateTempDBInstanceRequest.cc b/rds/src/model/CreateTempDBInstanceRequest.cc index 61a3ad45d..436b9af7a 100644 --- a/rds/src/model/CreateTempDBInstanceRequest.cc +++ b/rds/src/model/CreateTempDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::CreateTempDBInstanceRequest; - -CreateTempDBInstanceRequest::CreateTempDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "CreateTempDBInstance") -{} - -CreateTempDBInstanceRequest::~CreateTempDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::CreateTempDBInstanceRequest; + +CreateTempDBInstanceRequest::CreateTempDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "CreateTempDBInstance") +{} + +CreateTempDBInstanceRequest::~CreateTempDBInstanceRequest() +{} + long CreateTempDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/CreateTempDBInstanceResult.cc b/rds/src/model/CreateTempDBInstanceResult.cc index 007211b73..473d48ff3 100644 --- a/rds/src/model/CreateTempDBInstanceResult.cc +++ b/rds/src/model/CreateTempDBInstanceResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -CreateTempDBInstanceResult::CreateTempDBInstanceResult() : - ServiceResult() -{} - -CreateTempDBInstanceResult::CreateTempDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTempDBInstanceResult::~CreateTempDBInstanceResult() -{} - -void CreateTempDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +CreateTempDBInstanceResult::CreateTempDBInstanceResult() : + ServiceResult() +{} + +CreateTempDBInstanceResult::CreateTempDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTempDBInstanceResult::~CreateTempDBInstanceResult() +{} + +void CreateTempDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TempDBInstanceId"].isNull()) tempDBInstanceId_ = value["TempDBInstanceId"].asString(); - -} - + +} + std::string CreateTempDBInstanceResult::getTempDBInstanceId()const { return tempDBInstanceId_; diff --git a/rds/src/model/DeleteAccountRequest.cc b/rds/src/model/DeleteAccountRequest.cc index deb0c4b43..3d2df83da 100644 --- a/rds/src/model/DeleteAccountRequest.cc +++ b/rds/src/model/DeleteAccountRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DeleteAccountRequest; - -DeleteAccountRequest::DeleteAccountRequest() : - RpcServiceRequest("rds", "2014-08-15", "DeleteAccount") -{} - -DeleteAccountRequest::~DeleteAccountRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DeleteAccountRequest; + +DeleteAccountRequest::DeleteAccountRequest() : + RpcServiceRequest("rds", "2014-08-15", "DeleteAccount") +{} + +DeleteAccountRequest::~DeleteAccountRequest() +{} + long DeleteAccountRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DeleteAccountResult.cc b/rds/src/model/DeleteAccountResult.cc index 32a3f4fcc..bb58fcf8a 100644 --- a/rds/src/model/DeleteAccountResult.cc +++ b/rds/src/model/DeleteAccountResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DeleteAccountResult::DeleteAccountResult() : - ServiceResult() -{} - -DeleteAccountResult::DeleteAccountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteAccountResult::~DeleteAccountResult() -{} - -void DeleteAccountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DeleteAccountResult::DeleteAccountResult() : + ServiceResult() +{} + +DeleteAccountResult::DeleteAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteAccountResult::~DeleteAccountResult() +{} + +void DeleteAccountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/DeleteBackupRequest.cc b/rds/src/model/DeleteBackupRequest.cc index 3f9f831cd..4d8c33f67 100644 --- a/rds/src/model/DeleteBackupRequest.cc +++ b/rds/src/model/DeleteBackupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DeleteBackupRequest; - -DeleteBackupRequest::DeleteBackupRequest() : - RpcServiceRequest("rds", "2014-08-15", "DeleteBackup") -{} - -DeleteBackupRequest::~DeleteBackupRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DeleteBackupRequest; + +DeleteBackupRequest::DeleteBackupRequest() : + RpcServiceRequest("rds", "2014-08-15", "DeleteBackup") +{} + +DeleteBackupRequest::~DeleteBackupRequest() +{} + long DeleteBackupRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DeleteBackupResult.cc b/rds/src/model/DeleteBackupResult.cc index 08bccb056..d6e5534b6 100644 --- a/rds/src/model/DeleteBackupResult.cc +++ b/rds/src/model/DeleteBackupResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DeleteBackupResult::DeleteBackupResult() : - ServiceResult() -{} - -DeleteBackupResult::DeleteBackupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteBackupResult::~DeleteBackupResult() -{} - -void DeleteBackupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DeleteBackupResult::DeleteBackupResult() : + ServiceResult() +{} + +DeleteBackupResult::DeleteBackupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteBackupResult::~DeleteBackupResult() +{} + +void DeleteBackupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/DeleteDBInstanceRequest.cc b/rds/src/model/DeleteDBInstanceRequest.cc index 1ea23882e..edcff5c7a 100644 --- a/rds/src/model/DeleteDBInstanceRequest.cc +++ b/rds/src/model/DeleteDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DeleteDBInstanceRequest; - -DeleteDBInstanceRequest::DeleteDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DeleteDBInstance") -{} - -DeleteDBInstanceRequest::~DeleteDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DeleteDBInstanceRequest; + +DeleteDBInstanceRequest::DeleteDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DeleteDBInstance") +{} + +DeleteDBInstanceRequest::~DeleteDBInstanceRequest() +{} + long DeleteDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DeleteDBInstanceResult.cc b/rds/src/model/DeleteDBInstanceResult.cc index 766f091d3..a54365362 100644 --- a/rds/src/model/DeleteDBInstanceResult.cc +++ b/rds/src/model/DeleteDBInstanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DeleteDBInstanceResult::DeleteDBInstanceResult() : - ServiceResult() -{} - -DeleteDBInstanceResult::DeleteDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDBInstanceResult::~DeleteDBInstanceResult() -{} - -void DeleteDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DeleteDBInstanceResult::DeleteDBInstanceResult() : + ServiceResult() +{} + +DeleteDBInstanceResult::DeleteDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDBInstanceResult::~DeleteDBInstanceResult() +{} + +void DeleteDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/DeleteDatabaseRequest.cc b/rds/src/model/DeleteDatabaseRequest.cc index c94361801..458766809 100644 --- a/rds/src/model/DeleteDatabaseRequest.cc +++ b/rds/src/model/DeleteDatabaseRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DeleteDatabaseRequest; - -DeleteDatabaseRequest::DeleteDatabaseRequest() : - RpcServiceRequest("rds", "2014-08-15", "DeleteDatabase") -{} - -DeleteDatabaseRequest::~DeleteDatabaseRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DeleteDatabaseRequest; + +DeleteDatabaseRequest::DeleteDatabaseRequest() : + RpcServiceRequest("rds", "2014-08-15", "DeleteDatabase") +{} + +DeleteDatabaseRequest::~DeleteDatabaseRequest() +{} + long DeleteDatabaseRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DeleteDatabaseResult.cc b/rds/src/model/DeleteDatabaseResult.cc index aad1f9430..3721ffa96 100644 --- a/rds/src/model/DeleteDatabaseResult.cc +++ b/rds/src/model/DeleteDatabaseResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DeleteDatabaseResult::DeleteDatabaseResult() : - ServiceResult() -{} - -DeleteDatabaseResult::DeleteDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDatabaseResult::~DeleteDatabaseResult() -{} - -void DeleteDatabaseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DeleteDatabaseResult::DeleteDatabaseResult() : + ServiceResult() +{} + +DeleteDatabaseResult::DeleteDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDatabaseResult::~DeleteDatabaseResult() +{} + +void DeleteDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/DescibeImportsFromDatabaseRequest.cc b/rds/src/model/DescibeImportsFromDatabaseRequest.cc index cb42c5c9e..71691abe2 100644 --- a/rds/src/model/DescibeImportsFromDatabaseRequest.cc +++ b/rds/src/model/DescibeImportsFromDatabaseRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescibeImportsFromDatabaseRequest; - -DescibeImportsFromDatabaseRequest::DescibeImportsFromDatabaseRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescibeImportsFromDatabase") -{} - -DescibeImportsFromDatabaseRequest::~DescibeImportsFromDatabaseRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescibeImportsFromDatabaseRequest; + +DescibeImportsFromDatabaseRequest::DescibeImportsFromDatabaseRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescibeImportsFromDatabase") +{} + +DescibeImportsFromDatabaseRequest::~DescibeImportsFromDatabaseRequest() +{} + long DescibeImportsFromDatabaseRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescibeImportsFromDatabaseResult.cc b/rds/src/model/DescibeImportsFromDatabaseResult.cc index c31bbff6b..b34969f11 100644 --- a/rds/src/model/DescibeImportsFromDatabaseResult.cc +++ b/rds/src/model/DescibeImportsFromDatabaseResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult() : - ServiceResult() -{} - -DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescibeImportsFromDatabaseResult::~DescibeImportsFromDatabaseResult() -{} - -void DescibeImportsFromDatabaseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult() : + ServiceResult() +{} + +DescibeImportsFromDatabaseResult::DescibeImportsFromDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescibeImportsFromDatabaseResult::~DescibeImportsFromDatabaseResult() +{} + +void DescibeImportsFromDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["ImportResultFromDB"]; for (auto value : allItems) { @@ -62,9 +62,9 @@ void DescibeImportsFromDatabaseResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescibeImportsFromDatabaseResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeAccountsRequest.cc b/rds/src/model/DescribeAccountsRequest.cc index c1616c8aa..2d5dabc5d 100644 --- a/rds/src/model/DescribeAccountsRequest.cc +++ b/rds/src/model/DescribeAccountsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeAccountsRequest; - -DescribeAccountsRequest::DescribeAccountsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeAccounts") -{} - -DescribeAccountsRequest::~DescribeAccountsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeAccountsRequest; + +DescribeAccountsRequest::DescribeAccountsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeAccounts") +{} + +DescribeAccountsRequest::~DescribeAccountsRequest() +{} + long DescribeAccountsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeAccountsResult.cc b/rds/src/model/DescribeAccountsResult.cc index 1d9ae7a8b..14475db91 100644 --- a/rds/src/model/DescribeAccountsResult.cc +++ b/rds/src/model/DescribeAccountsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeAccountsResult::DescribeAccountsResult() : - ServiceResult() -{} - -DescribeAccountsResult::DescribeAccountsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeAccountsResult::~DescribeAccountsResult() -{} - -void DescribeAccountsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeAccountsResult::DescribeAccountsResult() : + ServiceResult() +{} + +DescribeAccountsResult::DescribeAccountsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAccountsResult::~DescribeAccountsResult() +{} + +void DescribeAccountsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAccounts = value["Accounts"]["DBInstanceAccount"]; for (auto value : allAccounts) { @@ -70,9 +70,9 @@ void DescribeAccountsResult::parse(const std::string &payload) } accounts_.push_back(accountsObject); } - -} - + +} + std::vector DescribeAccountsResult::getAccounts()const { return accounts_; diff --git a/rds/src/model/DescribeAvailableInstanceClassRequest.cc b/rds/src/model/DescribeAvailableInstanceClassRequest.cc index 08f0a1848..f92766f76 100644 --- a/rds/src/model/DescribeAvailableInstanceClassRequest.cc +++ b/rds/src/model/DescribeAvailableInstanceClassRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeAvailableInstanceClassRequest; - -DescribeAvailableInstanceClassRequest::DescribeAvailableInstanceClassRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableInstanceClass") -{} - -DescribeAvailableInstanceClassRequest::~DescribeAvailableInstanceClassRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeAvailableInstanceClassRequest; + +DescribeAvailableInstanceClassRequest::DescribeAvailableInstanceClassRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableInstanceClass") +{} + +DescribeAvailableInstanceClassRequest::~DescribeAvailableInstanceClassRequest() +{} + long DescribeAvailableInstanceClassRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeAvailableInstanceClassResult.cc b/rds/src/model/DescribeAvailableInstanceClassResult.cc index 9954e9e65..73f2c69ff 100644 --- a/rds/src/model/DescribeAvailableInstanceClassResult.cc +++ b/rds/src/model/DescribeAvailableInstanceClassResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult() : - ServiceResult() -{} - -DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeAvailableInstanceClassResult::~DescribeAvailableInstanceClassResult() -{} - -void DescribeAvailableInstanceClassResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult() : + ServiceResult() +{} + +DescribeAvailableInstanceClassResult::DescribeAvailableInstanceClassResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAvailableInstanceClassResult::~DescribeAvailableInstanceClassResult() +{} + +void DescribeAvailableInstanceClassResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAvailableZones = value["AvailableZones"]["AvailableZone"]; for (auto value : allAvailableZones) { @@ -96,9 +96,9 @@ void DescribeAvailableInstanceClassResult::parse(const std::string &payload) } availableZones_.push_back(availableZonesObject); } - -} - + +} + std::vector DescribeAvailableInstanceClassResult::getAvailableZones()const { return availableZones_; diff --git a/rds/src/model/DescribeAvailableResourceRequest.cc b/rds/src/model/DescribeAvailableResourceRequest.cc index f346d9cfc..af7f05424 100644 --- a/rds/src/model/DescribeAvailableResourceRequest.cc +++ b/rds/src/model/DescribeAvailableResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeAvailableResourceRequest; - -DescribeAvailableResourceRequest::DescribeAvailableResourceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableResource") -{} - -DescribeAvailableResourceRequest::~DescribeAvailableResourceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeAvailableResourceRequest; + +DescribeAvailableResourceRequest::DescribeAvailableResourceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeAvailableResource") +{} + +DescribeAvailableResourceRequest::~DescribeAvailableResourceRequest() +{} + long DescribeAvailableResourceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeAvailableResourceResult.cc b/rds/src/model/DescribeAvailableResourceResult.cc index 2b60348ee..08b4c7a3c 100644 --- a/rds/src/model/DescribeAvailableResourceResult.cc +++ b/rds/src/model/DescribeAvailableResourceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeAvailableResourceResult::DescribeAvailableResourceResult() : - ServiceResult() -{} - -DescribeAvailableResourceResult::DescribeAvailableResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeAvailableResourceResult::~DescribeAvailableResourceResult() -{} - -void DescribeAvailableResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeAvailableResourceResult::DescribeAvailableResourceResult() : + ServiceResult() +{} + +DescribeAvailableResourceResult::DescribeAvailableResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAvailableResourceResult::~DescribeAvailableResourceResult() +{} + +void DescribeAvailableResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAvailableZones = value["AvailableZones"]["AvailableZone"]; for (auto value : allAvailableZones) { @@ -96,9 +96,9 @@ void DescribeAvailableResourceResult::parse(const std::string &payload) } availableZones_.push_back(availableZonesObject); } - -} - + +} + std::vector DescribeAvailableResourceResult::getAvailableZones()const { return availableZones_; diff --git a/rds/src/model/DescribeBackupDatabaseRequest.cc b/rds/src/model/DescribeBackupDatabaseRequest.cc index 5357efd1b..d0ee37a9b 100644 --- a/rds/src/model/DescribeBackupDatabaseRequest.cc +++ b/rds/src/model/DescribeBackupDatabaseRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeBackupDatabaseRequest; - -DescribeBackupDatabaseRequest::DescribeBackupDatabaseRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeBackupDatabase") -{} - -DescribeBackupDatabaseRequest::~DescribeBackupDatabaseRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeBackupDatabaseRequest; + +DescribeBackupDatabaseRequest::DescribeBackupDatabaseRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeBackupDatabase") +{} + +DescribeBackupDatabaseRequest::~DescribeBackupDatabaseRequest() +{} + long DescribeBackupDatabaseRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeBackupDatabaseResult.cc b/rds/src/model/DescribeBackupDatabaseResult.cc index ea5d8c50a..ab0508823 100644 --- a/rds/src/model/DescribeBackupDatabaseResult.cc +++ b/rds/src/model/DescribeBackupDatabaseResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeBackupDatabaseResult::DescribeBackupDatabaseResult() : - ServiceResult() -{} - -DescribeBackupDatabaseResult::DescribeBackupDatabaseResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBackupDatabaseResult::~DescribeBackupDatabaseResult() -{} - -void DescribeBackupDatabaseResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeBackupDatabaseResult::DescribeBackupDatabaseResult() : + ServiceResult() +{} + +DescribeBackupDatabaseResult::DescribeBackupDatabaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupDatabaseResult::~DescribeBackupDatabaseResult() +{} + +void DescribeBackupDatabaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DatabaseNames"].isNull()) databaseNames_ = value["DatabaseNames"].asString(); - -} - + +} + std::string DescribeBackupDatabaseResult::getDatabaseNames()const { return databaseNames_; diff --git a/rds/src/model/DescribeBackupPolicyRequest.cc b/rds/src/model/DescribeBackupPolicyRequest.cc index 1f7398942..3dccf84dd 100644 --- a/rds/src/model/DescribeBackupPolicyRequest.cc +++ b/rds/src/model/DescribeBackupPolicyRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeBackupPolicyRequest; - -DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeBackupPolicy") -{} - -DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeBackupPolicyRequest; + +DescribeBackupPolicyRequest::DescribeBackupPolicyRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeBackupPolicy") +{} + +DescribeBackupPolicyRequest::~DescribeBackupPolicyRequest() +{} + long DescribeBackupPolicyRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeBackupPolicyResult.cc b/rds/src/model/DescribeBackupPolicyResult.cc index d8a78de92..ace31bace 100644 --- a/rds/src/model/DescribeBackupPolicyResult.cc +++ b/rds/src/model/DescribeBackupPolicyResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeBackupPolicyResult::DescribeBackupPolicyResult() : - ServiceResult() -{} - -DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBackupPolicyResult::~DescribeBackupPolicyResult() -{} - -void DescribeBackupPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeBackupPolicyResult::DescribeBackupPolicyResult() : + ServiceResult() +{} + +DescribeBackupPolicyResult::DescribeBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupPolicyResult::~DescribeBackupPolicyResult() +{} + +void DescribeBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto duplicationLocationNode = value["DuplicationLocation"]; if(!duplicationLocationNode["Sotrage"].isNull()) duplicationLocation_.sotrage = duplicationLocationNode["Sotrage"].asString(); @@ -76,9 +76,9 @@ void DescribeBackupPolicyResult::parse(const std::string &payload) logBackupFrequency_ = value["LogBackupFrequency"].asString(); if(!value["CompressType"].isNull()) compressType_ = value["CompressType"].asString(); - -} - + +} + std::string DescribeBackupPolicyResult::getDuplication()const { return duplication_; diff --git a/rds/src/model/DescribeBackupTasksRequest.cc b/rds/src/model/DescribeBackupTasksRequest.cc index e2126cc85..eed4cbd22 100644 --- a/rds/src/model/DescribeBackupTasksRequest.cc +++ b/rds/src/model/DescribeBackupTasksRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeBackupTasksRequest; - -DescribeBackupTasksRequest::DescribeBackupTasksRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeBackupTasks") -{} - -DescribeBackupTasksRequest::~DescribeBackupTasksRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeBackupTasksRequest; + +DescribeBackupTasksRequest::DescribeBackupTasksRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeBackupTasks") +{} + +DescribeBackupTasksRequest::~DescribeBackupTasksRequest() +{} + std::string DescribeBackupTasksRequest::getBackupJobId()const { return backupJobId_; diff --git a/rds/src/model/DescribeBackupTasksResult.cc b/rds/src/model/DescribeBackupTasksResult.cc index e938ebfeb..3b58d541b 100644 --- a/rds/src/model/DescribeBackupTasksResult.cc +++ b/rds/src/model/DescribeBackupTasksResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeBackupTasksResult::DescribeBackupTasksResult() : - ServiceResult() -{} - -DescribeBackupTasksResult::DescribeBackupTasksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBackupTasksResult::~DescribeBackupTasksResult() -{} - -void DescribeBackupTasksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeBackupTasksResult::DescribeBackupTasksResult() : + ServiceResult() +{} + +DescribeBackupTasksResult::DescribeBackupTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupTasksResult::~DescribeBackupTasksResult() +{} + +void DescribeBackupTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["BackupJob"]; for (auto value : allItems) { @@ -60,9 +60,9 @@ void DescribeBackupTasksResult::parse(const std::string &payload) itemsObject.backupId = value["BackupId"].asString(); items_.push_back(itemsObject); } - -} - + +} + std::vector DescribeBackupTasksResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeBackupsRequest.cc b/rds/src/model/DescribeBackupsRequest.cc index 93ef76db1..e6880c6a7 100644 --- a/rds/src/model/DescribeBackupsRequest.cc +++ b/rds/src/model/DescribeBackupsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeBackupsRequest; - -DescribeBackupsRequest::DescribeBackupsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeBackups") -{} - -DescribeBackupsRequest::~DescribeBackupsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeBackupsRequest; + +DescribeBackupsRequest::DescribeBackupsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeBackups") +{} + +DescribeBackupsRequest::~DescribeBackupsRequest() +{} + long DescribeBackupsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeBackupsResult.cc b/rds/src/model/DescribeBackupsResult.cc index adcab0a26..8e23fafa5 100644 --- a/rds/src/model/DescribeBackupsResult.cc +++ b/rds/src/model/DescribeBackupsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeBackupsResult::DescribeBackupsResult() : - ServiceResult() -{} - -DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBackupsResult::~DescribeBackupsResult() -{} - -void DescribeBackupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeBackupsResult::DescribeBackupsResult() : + ServiceResult() +{} + +DescribeBackupsResult::DescribeBackupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBackupsResult::~DescribeBackupsResult() +{} + +void DescribeBackupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["Backup"]; for (auto value : allItems) { @@ -94,9 +94,9 @@ void DescribeBackupsResult::parse(const std::string &payload) pageRecordCount_ = value["PageRecordCount"].asString(); if(!value["TotalBackupSize"].isNull()) totalBackupSize_ = std::stol(value["TotalBackupSize"].asString()); - -} - + +} + std::string DescribeBackupsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeBinlogFilesRequest.cc b/rds/src/model/DescribeBinlogFilesRequest.cc index 30773fa4f..a744bb93d 100644 --- a/rds/src/model/DescribeBinlogFilesRequest.cc +++ b/rds/src/model/DescribeBinlogFilesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeBinlogFilesRequest; - -DescribeBinlogFilesRequest::DescribeBinlogFilesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeBinlogFiles") -{} - -DescribeBinlogFilesRequest::~DescribeBinlogFilesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeBinlogFilesRequest; + +DescribeBinlogFilesRequest::DescribeBinlogFilesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeBinlogFiles") +{} + +DescribeBinlogFilesRequest::~DescribeBinlogFilesRequest() +{} + long DescribeBinlogFilesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeBinlogFilesResult.cc b/rds/src/model/DescribeBinlogFilesResult.cc index 86ec4feb5..a260db28d 100644 --- a/rds/src/model/DescribeBinlogFilesResult.cc +++ b/rds/src/model/DescribeBinlogFilesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeBinlogFilesResult::DescribeBinlogFilesResult() : - ServiceResult() -{} - -DescribeBinlogFilesResult::DescribeBinlogFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeBinlogFilesResult::~DescribeBinlogFilesResult() -{} - -void DescribeBinlogFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeBinlogFilesResult::DescribeBinlogFilesResult() : + ServiceResult() +{} + +DescribeBinlogFilesResult::DescribeBinlogFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeBinlogFilesResult::~DescribeBinlogFilesResult() +{} + +void DescribeBinlogFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["BinLogFile"]; for (auto value : allItems) { @@ -72,9 +72,9 @@ void DescribeBinlogFilesResult::parse(const std::string &payload) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); if(!value["TotalFileSize"].isNull()) totalFileSize_ = std::stol(value["TotalFileSize"].asString()); - -} - + +} + int DescribeBinlogFilesResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeCharacterSetNameRequest.cc b/rds/src/model/DescribeCharacterSetNameRequest.cc index 26182c625..d510319cd 100644 --- a/rds/src/model/DescribeCharacterSetNameRequest.cc +++ b/rds/src/model/DescribeCharacterSetNameRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeCharacterSetNameRequest; - -DescribeCharacterSetNameRequest::DescribeCharacterSetNameRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeCharacterSetName") -{} - -DescribeCharacterSetNameRequest::~DescribeCharacterSetNameRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeCharacterSetNameRequest; + +DescribeCharacterSetNameRequest::DescribeCharacterSetNameRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeCharacterSetName") +{} + +DescribeCharacterSetNameRequest::~DescribeCharacterSetNameRequest() +{} + long DescribeCharacterSetNameRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeCharacterSetNameResult.cc b/rds/src/model/DescribeCharacterSetNameResult.cc index 99b164766..cecff924c 100644 --- a/rds/src/model/DescribeCharacterSetNameResult.cc +++ b/rds/src/model/DescribeCharacterSetNameResult.cc @@ -1,53 +1,53 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeCharacterSetNameResult::DescribeCharacterSetNameResult() : - ServiceResult() -{} - -DescribeCharacterSetNameResult::DescribeCharacterSetNameResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCharacterSetNameResult::~DescribeCharacterSetNameResult() -{} - -void DescribeCharacterSetNameResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeCharacterSetNameResult::DescribeCharacterSetNameResult() : + ServiceResult() +{} + +DescribeCharacterSetNameResult::DescribeCharacterSetNameResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCharacterSetNameResult::~DescribeCharacterSetNameResult() +{} + +void DescribeCharacterSetNameResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allCharacterSetNameItems = value["CharacterSetNameItems"]["CharacterSetName"]; for (const auto &item : allCharacterSetNameItems) characterSetNameItems_.push_back(item.asString()); if(!value["Engine"].isNull()) engine_ = value["Engine"].asString(); - -} - + +} + std::vector DescribeCharacterSetNameResult::getCharacterSetNameItems()const { return characterSetNameItems_; diff --git a/rds/src/model/DescribeCloudDbExpertServiceRequest.cc b/rds/src/model/DescribeCloudDbExpertServiceRequest.cc index 656821e97..0a4faf9a7 100644 --- a/rds/src/model/DescribeCloudDbExpertServiceRequest.cc +++ b/rds/src/model/DescribeCloudDbExpertServiceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeCloudDbExpertServiceRequest; - -DescribeCloudDbExpertServiceRequest::DescribeCloudDbExpertServiceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeCloudDbExpertService") -{} - -DescribeCloudDbExpertServiceRequest::~DescribeCloudDbExpertServiceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeCloudDbExpertServiceRequest; + +DescribeCloudDbExpertServiceRequest::DescribeCloudDbExpertServiceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeCloudDbExpertService") +{} + +DescribeCloudDbExpertServiceRequest::~DescribeCloudDbExpertServiceRequest() +{} + std::string DescribeCloudDbExpertServiceRequest::getServiceRequestParam()const { return serviceRequestParam_; diff --git a/rds/src/model/DescribeCloudDbExpertServiceResult.cc b/rds/src/model/DescribeCloudDbExpertServiceResult.cc index 5be715958..4f3f9b268 100644 --- a/rds/src/model/DescribeCloudDbExpertServiceResult.cc +++ b/rds/src/model/DescribeCloudDbExpertServiceResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult() : - ServiceResult() -{} - -DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCloudDbExpertServiceResult::~DescribeCloudDbExpertServiceResult() -{} - -void DescribeCloudDbExpertServiceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult() : + ServiceResult() +{} + +DescribeCloudDbExpertServiceResult::DescribeCloudDbExpertServiceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCloudDbExpertServiceResult::~DescribeCloudDbExpertServiceResult() +{} + +void DescribeCloudDbExpertServiceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["Data"].isNull()) data_ = value["Data"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); - -} - + +} + std::string DescribeCloudDbExpertServiceResult::getMessage()const { return message_; diff --git a/rds/src/model/DescribeCollationTimeZonesRequest.cc b/rds/src/model/DescribeCollationTimeZonesRequest.cc index 98ff54ea1..ea6b15a84 100644 --- a/rds/src/model/DescribeCollationTimeZonesRequest.cc +++ b/rds/src/model/DescribeCollationTimeZonesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeCollationTimeZonesRequest; - -DescribeCollationTimeZonesRequest::DescribeCollationTimeZonesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeCollationTimeZones") -{} - -DescribeCollationTimeZonesRequest::~DescribeCollationTimeZonesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeCollationTimeZonesRequest; + +DescribeCollationTimeZonesRequest::DescribeCollationTimeZonesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeCollationTimeZones") +{} + +DescribeCollationTimeZonesRequest::~DescribeCollationTimeZonesRequest() +{} + long DescribeCollationTimeZonesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeCollationTimeZonesResult.cc b/rds/src/model/DescribeCollationTimeZonesResult.cc index d7eea0c58..aea5275fc 100644 --- a/rds/src/model/DescribeCollationTimeZonesResult.cc +++ b/rds/src/model/DescribeCollationTimeZonesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult() : - ServiceResult() -{} - -DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeCollationTimeZonesResult::~DescribeCollationTimeZonesResult() -{} - -void DescribeCollationTimeZonesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult() : + ServiceResult() +{} + +DescribeCollationTimeZonesResult::DescribeCollationTimeZonesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeCollationTimeZonesResult::~DescribeCollationTimeZonesResult() +{} + +void DescribeCollationTimeZonesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allCollationTimeZones = value["CollationTimeZones"]["CollationTimeZone"]; for (auto value : allCollationTimeZones) { @@ -52,9 +52,9 @@ void DescribeCollationTimeZonesResult::parse(const std::string &payload) collationTimeZonesObject.description = value["Description"].asString(); collationTimeZones_.push_back(collationTimeZonesObject); } - -} - + +} + std::vector DescribeCollationTimeZonesResult::getCollationTimeZones()const { return collationTimeZones_; diff --git a/rds/src/model/DescribeDBInstanceAttributeRequest.cc b/rds/src/model/DescribeDBInstanceAttributeRequest.cc index 1fb372484..834cee7d5 100644 --- a/rds/src/model/DescribeDBInstanceAttributeRequest.cc +++ b/rds/src/model/DescribeDBInstanceAttributeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceAttributeRequest; - -DescribeDBInstanceAttributeRequest::DescribeDBInstanceAttributeRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceAttribute") -{} - -DescribeDBInstanceAttributeRequest::~DescribeDBInstanceAttributeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceAttributeRequest; + +DescribeDBInstanceAttributeRequest::DescribeDBInstanceAttributeRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceAttribute") +{} + +DescribeDBInstanceAttributeRequest::~DescribeDBInstanceAttributeRequest() +{} + std::string DescribeDBInstanceAttributeRequest::getResourceGroupId()const { return resourceGroupId_; diff --git a/rds/src/model/DescribeDBInstanceAttributeResult.cc b/rds/src/model/DescribeDBInstanceAttributeResult.cc index c509fb828..1f6dfec86 100644 --- a/rds/src/model/DescribeDBInstanceAttributeResult.cc +++ b/rds/src/model/DescribeDBInstanceAttributeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult() : - ServiceResult() -{} - -DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceAttributeResult::~DescribeDBInstanceAttributeResult() -{} - -void DescribeDBInstanceAttributeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult() : + ServiceResult() +{} + +DescribeDBInstanceAttributeResult::DescribeDBInstanceAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceAttributeResult::~DescribeDBInstanceAttributeResult() +{} + +void DescribeDBInstanceAttributeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstanceAttribute"]; for (auto value : allItems) { @@ -206,9 +206,9 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload) itemsObject.extra.dBInstanceId.push_back(value.asString()); items_.push_back(itemsObject); } - -} - + +} + std::vector DescribeDBInstanceAttributeResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeDBInstanceByTagsRequest.cc b/rds/src/model/DescribeDBInstanceByTagsRequest.cc index d19db1a5d..52ee79016 100644 --- a/rds/src/model/DescribeDBInstanceByTagsRequest.cc +++ b/rds/src/model/DescribeDBInstanceByTagsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceByTagsRequest; - -DescribeDBInstanceByTagsRequest::DescribeDBInstanceByTagsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceByTags") -{} - -DescribeDBInstanceByTagsRequest::~DescribeDBInstanceByTagsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceByTagsRequest; + +DescribeDBInstanceByTagsRequest::DescribeDBInstanceByTagsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceByTags") +{} + +DescribeDBInstanceByTagsRequest::~DescribeDBInstanceByTagsRequest() +{} + long DescribeDBInstanceByTagsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceByTagsResult.cc b/rds/src/model/DescribeDBInstanceByTagsResult.cc index 658022a97..d5eef0811 100644 --- a/rds/src/model/DescribeDBInstanceByTagsResult.cc +++ b/rds/src/model/DescribeDBInstanceByTagsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult() : - ServiceResult() -{} - -DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceByTagsResult::~DescribeDBInstanceByTagsResult() -{} - -void DescribeDBInstanceByTagsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult() : + ServiceResult() +{} + +DescribeDBInstanceByTagsResult::DescribeDBInstanceByTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceByTagsResult::~DescribeDBInstanceByTagsResult() +{} + +void DescribeDBInstanceByTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstanceTag"]; for (auto value : allItems) { @@ -64,9 +64,9 @@ void DescribeDBInstanceByTagsResult::parse(const std::string &payload) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); if(!value["TotalRecordCount"].isNull()) totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString()); - -} - + +} + int DescribeDBInstanceByTagsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeDBInstanceHAConfigRequest.cc b/rds/src/model/DescribeDBInstanceHAConfigRequest.cc index 743b323d1..2dd7f403f 100644 --- a/rds/src/model/DescribeDBInstanceHAConfigRequest.cc +++ b/rds/src/model/DescribeDBInstanceHAConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceHAConfigRequest; - -DescribeDBInstanceHAConfigRequest::DescribeDBInstanceHAConfigRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceHAConfig") -{} - -DescribeDBInstanceHAConfigRequest::~DescribeDBInstanceHAConfigRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceHAConfigRequest; + +DescribeDBInstanceHAConfigRequest::DescribeDBInstanceHAConfigRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceHAConfig") +{} + +DescribeDBInstanceHAConfigRequest::~DescribeDBInstanceHAConfigRequest() +{} + long DescribeDBInstanceHAConfigRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceHAConfigResult.cc b/rds/src/model/DescribeDBInstanceHAConfigResult.cc index e9e46d00d..94b62e224 100644 --- a/rds/src/model/DescribeDBInstanceHAConfigResult.cc +++ b/rds/src/model/DescribeDBInstanceHAConfigResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult() : - ServiceResult() -{} - -DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceHAConfigResult::~DescribeDBInstanceHAConfigResult() -{} - -void DescribeDBInstanceHAConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult() : + ServiceResult() +{} + +DescribeDBInstanceHAConfigResult::DescribeDBInstanceHAConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceHAConfigResult::~DescribeDBInstanceHAConfigResult() +{} + +void DescribeDBInstanceHAConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allHostInstanceInfos = value["HostInstanceInfos"]["NodeInfo"]; for (auto value : allHostInstanceInfos) { @@ -66,9 +66,9 @@ void DescribeDBInstanceHAConfigResult::parse(const std::string &payload) syncMode_ = value["SyncMode"].asString(); if(!value["HAMode"].isNull()) hAMode_ = value["HAMode"].asString(); - -} - + +} + std::string DescribeDBInstanceHAConfigResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/DescribeDBInstanceIPArrayListRequest.cc b/rds/src/model/DescribeDBInstanceIPArrayListRequest.cc index 9a5bf7884..8bba88f73 100644 --- a/rds/src/model/DescribeDBInstanceIPArrayListRequest.cc +++ b/rds/src/model/DescribeDBInstanceIPArrayListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceIPArrayListRequest; - -DescribeDBInstanceIPArrayListRequest::DescribeDBInstanceIPArrayListRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceIPArrayList") -{} - -DescribeDBInstanceIPArrayListRequest::~DescribeDBInstanceIPArrayListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceIPArrayListRequest; + +DescribeDBInstanceIPArrayListRequest::DescribeDBInstanceIPArrayListRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceIPArrayList") +{} + +DescribeDBInstanceIPArrayListRequest::~DescribeDBInstanceIPArrayListRequest() +{} + long DescribeDBInstanceIPArrayListRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceIPArrayListResult.cc b/rds/src/model/DescribeDBInstanceIPArrayListResult.cc index 43d12a6e2..ac4765cfc 100644 --- a/rds/src/model/DescribeDBInstanceIPArrayListResult.cc +++ b/rds/src/model/DescribeDBInstanceIPArrayListResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult() : - ServiceResult() -{} - -DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceIPArrayListResult::~DescribeDBInstanceIPArrayListResult() -{} - -void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult() : + ServiceResult() +{} + +DescribeDBInstanceIPArrayListResult::DescribeDBInstanceIPArrayListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceIPArrayListResult::~DescribeDBInstanceIPArrayListResult() +{} + +void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstanceIPArray"]; for (auto value : allItems) { @@ -56,9 +56,9 @@ void DescribeDBInstanceIPArrayListResult::parse(const std::string &payload) itemsObject.whitelistNetworkType = value["WhitelistNetworkType"].asString(); items_.push_back(itemsObject); } - -} - + +} + std::vector DescribeDBInstanceIPArrayListResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeDBInstanceMonitorRequest.cc b/rds/src/model/DescribeDBInstanceMonitorRequest.cc index 834d577a2..a39b4896a 100644 --- a/rds/src/model/DescribeDBInstanceMonitorRequest.cc +++ b/rds/src/model/DescribeDBInstanceMonitorRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceMonitorRequest; - -DescribeDBInstanceMonitorRequest::DescribeDBInstanceMonitorRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceMonitor") -{} - -DescribeDBInstanceMonitorRequest::~DescribeDBInstanceMonitorRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceMonitorRequest; + +DescribeDBInstanceMonitorRequest::DescribeDBInstanceMonitorRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceMonitor") +{} + +DescribeDBInstanceMonitorRequest::~DescribeDBInstanceMonitorRequest() +{} + long DescribeDBInstanceMonitorRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceMonitorResult.cc b/rds/src/model/DescribeDBInstanceMonitorResult.cc index a1eec0d8d..8450e1f6e 100644 --- a/rds/src/model/DescribeDBInstanceMonitorResult.cc +++ b/rds/src/model/DescribeDBInstanceMonitorResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult() : - ServiceResult() -{} - -DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceMonitorResult::~DescribeDBInstanceMonitorResult() -{} - -void DescribeDBInstanceMonitorResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult() : + ServiceResult() +{} + +DescribeDBInstanceMonitorResult::DescribeDBInstanceMonitorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceMonitorResult::~DescribeDBInstanceMonitorResult() +{} + +void DescribeDBInstanceMonitorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Period"].isNull()) period_ = value["Period"].asString(); - -} - + +} + std::string DescribeDBInstanceMonitorResult::getPeriod()const { return period_; diff --git a/rds/src/model/DescribeDBInstanceNetInfoRequest.cc b/rds/src/model/DescribeDBInstanceNetInfoRequest.cc index 914daa9a4..bf27f5da9 100644 --- a/rds/src/model/DescribeDBInstanceNetInfoRequest.cc +++ b/rds/src/model/DescribeDBInstanceNetInfoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceNetInfoRequest; - -DescribeDBInstanceNetInfoRequest::DescribeDBInstanceNetInfoRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceNetInfo") -{} - -DescribeDBInstanceNetInfoRequest::~DescribeDBInstanceNetInfoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceNetInfoRequest; + +DescribeDBInstanceNetInfoRequest::DescribeDBInstanceNetInfoRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceNetInfo") +{} + +DescribeDBInstanceNetInfoRequest::~DescribeDBInstanceNetInfoRequest() +{} + long DescribeDBInstanceNetInfoRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceNetInfoResult.cc b/rds/src/model/DescribeDBInstanceNetInfoResult.cc index e6ad8c913..a8f1d7b7d 100644 --- a/rds/src/model/DescribeDBInstanceNetInfoResult.cc +++ b/rds/src/model/DescribeDBInstanceNetInfoResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult() : - ServiceResult() -{} - -DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceNetInfoResult::~DescribeDBInstanceNetInfoResult() -{} - -void DescribeDBInstanceNetInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult() : + ServiceResult() +{} + +DescribeDBInstanceNetInfoResult::DescribeDBInstanceNetInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceNetInfoResult::~DescribeDBInstanceNetInfoResult() +{} + +void DescribeDBInstanceNetInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDBInstanceNetInfos = value["DBInstanceNetInfos"]["DBInstanceNetInfo"]; for (auto value : allDBInstanceNetInfos) { @@ -96,9 +96,9 @@ void DescribeDBInstanceNetInfoResult::parse(const std::string &payload) instanceNetworkType_ = value["InstanceNetworkType"].asString(); if(!value["SecurityIPMode"].isNull()) securityIPMode_ = value["SecurityIPMode"].asString(); - -} - + +} + std::vector DescribeDBInstanceNetInfoResult::getDBInstanceNetInfos()const { return dBInstanceNetInfos_; diff --git a/rds/src/model/DescribeDBInstancePerformanceRequest.cc b/rds/src/model/DescribeDBInstancePerformanceRequest.cc index 3c11738b4..f2bf3ec0f 100644 --- a/rds/src/model/DescribeDBInstancePerformanceRequest.cc +++ b/rds/src/model/DescribeDBInstancePerformanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstancePerformanceRequest; - -DescribeDBInstancePerformanceRequest::DescribeDBInstancePerformanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancePerformance") -{} - -DescribeDBInstancePerformanceRequest::~DescribeDBInstancePerformanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstancePerformanceRequest; + +DescribeDBInstancePerformanceRequest::DescribeDBInstancePerformanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancePerformance") +{} + +DescribeDBInstancePerformanceRequest::~DescribeDBInstancePerformanceRequest() +{} + long DescribeDBInstancePerformanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstancePerformanceResult.cc b/rds/src/model/DescribeDBInstancePerformanceResult.cc index 7c8eb6dd5..727e8a043 100644 --- a/rds/src/model/DescribeDBInstancePerformanceResult.cc +++ b/rds/src/model/DescribeDBInstancePerformanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult() : - ServiceResult() -{} - -DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstancePerformanceResult::~DescribeDBInstancePerformanceResult() -{} - -void DescribeDBInstancePerformanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult() : + ServiceResult() +{} + +DescribeDBInstancePerformanceResult::DescribeDBInstancePerformanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstancePerformanceResult::~DescribeDBInstancePerformanceResult() +{} + +void DescribeDBInstancePerformanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allPerformanceKeys = value["PerformanceKeys"]["PerformanceKey"]; for (auto value : allPerformanceKeys) { @@ -70,9 +70,9 @@ void DescribeDBInstancePerformanceResult::parse(const std::string &payload) startTime_ = value["StartTime"].asString(); if(!value["EndTime"].isNull()) endTime_ = value["EndTime"].asString(); - -} - + +} + std::vector DescribeDBInstancePerformanceResult::getPerformanceKeys()const { return performanceKeys_; diff --git a/rds/src/model/DescribeDBInstanceProxyConfigurationRequest.cc b/rds/src/model/DescribeDBInstanceProxyConfigurationRequest.cc index c338a809e..90e19185c 100644 --- a/rds/src/model/DescribeDBInstanceProxyConfigurationRequest.cc +++ b/rds/src/model/DescribeDBInstanceProxyConfigurationRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceProxyConfigurationRequest; - -DescribeDBInstanceProxyConfigurationRequest::DescribeDBInstanceProxyConfigurationRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceProxyConfiguration") -{} - -DescribeDBInstanceProxyConfigurationRequest::~DescribeDBInstanceProxyConfigurationRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceProxyConfigurationRequest; + +DescribeDBInstanceProxyConfigurationRequest::DescribeDBInstanceProxyConfigurationRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceProxyConfiguration") +{} + +DescribeDBInstanceProxyConfigurationRequest::~DescribeDBInstanceProxyConfigurationRequest() +{} + long DescribeDBInstanceProxyConfigurationRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceProxyConfigurationResult.cc b/rds/src/model/DescribeDBInstanceProxyConfigurationResult.cc index f6b4385e2..6a21e78b4 100644 --- a/rds/src/model/DescribeDBInstanceProxyConfigurationResult.cc +++ b/rds/src/model/DescribeDBInstanceProxyConfigurationResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult() : - ServiceResult() -{} - -DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceProxyConfigurationResult::~DescribeDBInstanceProxyConfigurationResult() -{} - -void DescribeDBInstanceProxyConfigurationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult() : + ServiceResult() +{} + +DescribeDBInstanceProxyConfigurationResult::DescribeDBInstanceProxyConfigurationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceProxyConfigurationResult::~DescribeDBInstanceProxyConfigurationResult() +{} + +void DescribeDBInstanceProxyConfigurationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TransparentSwitchConfiguration"].isNull()) transparentSwitchConfiguration_ = value["TransparentSwitchConfiguration"].asString(); if(!value["PersistentConnectionsConfiguration"].isNull()) persistentConnectionsConfiguration_ = value["PersistentConnectionsConfiguration"].asString(); if(!value["AttacksProtectionConfiguration"].isNull()) attacksProtectionConfiguration_ = value["AttacksProtectionConfiguration"].asString(); - -} - + +} + std::string DescribeDBInstanceProxyConfigurationResult::getPersistentConnectionsConfiguration()const { return persistentConnectionsConfiguration_; diff --git a/rds/src/model/DescribeDBInstanceSSLRequest.cc b/rds/src/model/DescribeDBInstanceSSLRequest.cc index 86ff06e7e..93cf846ba 100644 --- a/rds/src/model/DescribeDBInstanceSSLRequest.cc +++ b/rds/src/model/DescribeDBInstanceSSLRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceSSLRequest; - -DescribeDBInstanceSSLRequest::DescribeDBInstanceSSLRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceSSL") -{} - -DescribeDBInstanceSSLRequest::~DescribeDBInstanceSSLRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceSSLRequest; + +DescribeDBInstanceSSLRequest::DescribeDBInstanceSSLRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceSSL") +{} + +DescribeDBInstanceSSLRequest::~DescribeDBInstanceSSLRequest() +{} + long DescribeDBInstanceSSLRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceSSLResult.cc b/rds/src/model/DescribeDBInstanceSSLResult.cc index c79915f9d..649c1eb65 100644 --- a/rds/src/model/DescribeDBInstanceSSLResult.cc +++ b/rds/src/model/DescribeDBInstanceSSLResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceSSLResult::DescribeDBInstanceSSLResult() : - ServiceResult() -{} - -DescribeDBInstanceSSLResult::DescribeDBInstanceSSLResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceSSLResult::~DescribeDBInstanceSSLResult() -{} - -void DescribeDBInstanceSSLResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceSSLResult::DescribeDBInstanceSSLResult() : + ServiceResult() +{} + +DescribeDBInstanceSSLResult::DescribeDBInstanceSSLResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceSSLResult::~DescribeDBInstanceSSLResult() +{} + +void DescribeDBInstanceSSLResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["ConnectionString"].isNull()) connectionString_ = value["ConnectionString"].asString(); if(!value["SSLExpireTime"].isNull()) @@ -48,9 +48,9 @@ void DescribeDBInstanceSSLResult::parse(const std::string &payload) requireUpdate_ = value["RequireUpdate"].asString(); if(!value["RequireUpdateReason"].isNull()) requireUpdateReason_ = value["RequireUpdateReason"].asString(); - -} - + +} + std::string DescribeDBInstanceSSLResult::getSSLExpireTime()const { return sSLExpireTime_; diff --git a/rds/src/model/DescribeDBInstanceTDERequest.cc b/rds/src/model/DescribeDBInstanceTDERequest.cc index 2bcdf9c3b..d77b9507d 100644 --- a/rds/src/model/DescribeDBInstanceTDERequest.cc +++ b/rds/src/model/DescribeDBInstanceTDERequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstanceTDERequest; - -DescribeDBInstanceTDERequest::DescribeDBInstanceTDERequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceTDE") -{} - -DescribeDBInstanceTDERequest::~DescribeDBInstanceTDERequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstanceTDERequest; + +DescribeDBInstanceTDERequest::DescribeDBInstanceTDERequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstanceTDE") +{} + +DescribeDBInstanceTDERequest::~DescribeDBInstanceTDERequest() +{} + long DescribeDBInstanceTDERequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstanceTDEResult.cc b/rds/src/model/DescribeDBInstanceTDEResult.cc index e43793d61..dc1ec309d 100644 --- a/rds/src/model/DescribeDBInstanceTDEResult.cc +++ b/rds/src/model/DescribeDBInstanceTDEResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstanceTDEResult::DescribeDBInstanceTDEResult() : - ServiceResult() -{} - -DescribeDBInstanceTDEResult::DescribeDBInstanceTDEResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstanceTDEResult::~DescribeDBInstanceTDEResult() -{} - -void DescribeDBInstanceTDEResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstanceTDEResult::DescribeDBInstanceTDEResult() : + ServiceResult() +{} + +DescribeDBInstanceTDEResult::DescribeDBInstanceTDEResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstanceTDEResult::~DescribeDBInstanceTDEResult() +{} + +void DescribeDBInstanceTDEResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDatabases = value["Databases"]["Database"]; for (auto value : allDatabases) { @@ -52,9 +52,9 @@ void DescribeDBInstanceTDEResult::parse(const std::string &payload) } if(!value["TDEStatus"].isNull()) tDEStatus_ = value["TDEStatus"].asString(); - -} - + +} + std::string DescribeDBInstanceTDEResult::getTDEStatus()const { return tDEStatus_; diff --git a/rds/src/model/DescribeDBInstancesAsCsvRequest.cc b/rds/src/model/DescribeDBInstancesAsCsvRequest.cc index 4c7d6bd04..53abfef59 100644 --- a/rds/src/model/DescribeDBInstancesAsCsvRequest.cc +++ b/rds/src/model/DescribeDBInstancesAsCsvRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstancesAsCsvRequest; - -DescribeDBInstancesAsCsvRequest::DescribeDBInstancesAsCsvRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesAsCsv") -{} - -DescribeDBInstancesAsCsvRequest::~DescribeDBInstancesAsCsvRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstancesAsCsvRequest; + +DescribeDBInstancesAsCsvRequest::DescribeDBInstancesAsCsvRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesAsCsv") +{} + +DescribeDBInstancesAsCsvRequest::~DescribeDBInstancesAsCsvRequest() +{} + long DescribeDBInstancesAsCsvRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstancesAsCsvResult.cc b/rds/src/model/DescribeDBInstancesAsCsvResult.cc index 724e1f025..4026e9a46 100644 --- a/rds/src/model/DescribeDBInstancesAsCsvResult.cc +++ b/rds/src/model/DescribeDBInstancesAsCsvResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstancesAsCsvResult::DescribeDBInstancesAsCsvResult() : - ServiceResult() -{} - -DescribeDBInstancesAsCsvResult::DescribeDBInstancesAsCsvResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstancesAsCsvResult::~DescribeDBInstancesAsCsvResult() -{} - -void DescribeDBInstancesAsCsvResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstancesAsCsvResult::DescribeDBInstancesAsCsvResult() : + ServiceResult() +{} + +DescribeDBInstancesAsCsvResult::DescribeDBInstancesAsCsvResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstancesAsCsvResult::~DescribeDBInstancesAsCsvResult() +{} + +void DescribeDBInstancesAsCsvResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstanceAttribute"]; for (auto value : allItems) { @@ -128,9 +128,9 @@ void DescribeDBInstancesAsCsvResult::parse(const std::string &payload) itemsObject.tags = value["Tags"].asString(); items_.push_back(itemsObject); } - -} - + +} + std::vector DescribeDBInstancesAsCsvResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeDBInstancesByExpireTimeRequest.cc b/rds/src/model/DescribeDBInstancesByExpireTimeRequest.cc index be5409183..abfc5c0f6 100644 --- a/rds/src/model/DescribeDBInstancesByExpireTimeRequest.cc +++ b/rds/src/model/DescribeDBInstancesByExpireTimeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstancesByExpireTimeRequest; - -DescribeDBInstancesByExpireTimeRequest::DescribeDBInstancesByExpireTimeRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesByExpireTime") -{} - -DescribeDBInstancesByExpireTimeRequest::~DescribeDBInstancesByExpireTimeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstancesByExpireTimeRequest; + +DescribeDBInstancesByExpireTimeRequest::DescribeDBInstancesByExpireTimeRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesByExpireTime") +{} + +DescribeDBInstancesByExpireTimeRequest::~DescribeDBInstancesByExpireTimeRequest() +{} + long DescribeDBInstancesByExpireTimeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDBInstancesByExpireTimeResult.cc b/rds/src/model/DescribeDBInstancesByExpireTimeResult.cc index ece0bcc44..ca4ca1d2e 100644 --- a/rds/src/model/DescribeDBInstancesByExpireTimeResult.cc +++ b/rds/src/model/DescribeDBInstancesByExpireTimeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstancesByExpireTimeResult::DescribeDBInstancesByExpireTimeResult() : - ServiceResult() -{} - -DescribeDBInstancesByExpireTimeResult::DescribeDBInstancesByExpireTimeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstancesByExpireTimeResult::~DescribeDBInstancesByExpireTimeResult() -{} - -void DescribeDBInstancesByExpireTimeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstancesByExpireTimeResult::DescribeDBInstancesByExpireTimeResult() : + ServiceResult() +{} + +DescribeDBInstancesByExpireTimeResult::DescribeDBInstancesByExpireTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstancesByExpireTimeResult::~DescribeDBInstancesByExpireTimeResult() +{} + +void DescribeDBInstancesByExpireTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstanceExpireTime"]; for (auto value : allItems) { @@ -62,9 +62,9 @@ void DescribeDBInstancesByExpireTimeResult::parse(const std::string &payload) totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeDBInstancesByExpireTimeResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeDBInstancesByPerformanceRequest.cc b/rds/src/model/DescribeDBInstancesByPerformanceRequest.cc index ad870fbba..493bf0b05 100644 --- a/rds/src/model/DescribeDBInstancesByPerformanceRequest.cc +++ b/rds/src/model/DescribeDBInstancesByPerformanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstancesByPerformanceRequest; - -DescribeDBInstancesByPerformanceRequest::DescribeDBInstancesByPerformanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesByPerformance") -{} - -DescribeDBInstancesByPerformanceRequest::~DescribeDBInstancesByPerformanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstancesByPerformanceRequest; + +DescribeDBInstancesByPerformanceRequest::DescribeDBInstancesByPerformanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstancesByPerformance") +{} + +DescribeDBInstancesByPerformanceRequest::~DescribeDBInstancesByPerformanceRequest() +{} + std::string DescribeDBInstancesByPerformanceRequest::getTag4value()const { return tag4value_; @@ -58,28 +58,6 @@ void DescribeDBInstancesByPerformanceRequest::setTag2key(const std::string& tag2 setCoreParameter("Tag2key", tag2key); } -std::string DescribeDBInstancesByPerformanceRequest::getTag5key()const -{ - return tag5key_; -} - -void DescribeDBInstancesByPerformanceRequest::setTag5key(const std::string& tag5key) -{ - tag5key_ = tag5key; - setCoreParameter("Tag5key", tag5key); -} - -std::string DescribeDBInstancesByPerformanceRequest::getResourceOwnerAccount()const -{ - return resourceOwnerAccount_; -} - -void DescribeDBInstancesByPerformanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) -{ - resourceOwnerAccount_ = resourceOwnerAccount; - setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); -} - std::string DescribeDBInstancesByPerformanceRequest::getClientToken()const { return clientToken_; @@ -91,17 +69,6 @@ void DescribeDBInstancesByPerformanceRequest::setClientToken(const std::string& setCoreParameter("ClientToken", clientToken); } -std::string DescribeDBInstancesByPerformanceRequest::getOwnerAccount()const -{ - return ownerAccount_; -} - -void DescribeDBInstancesByPerformanceRequest::setOwnerAccount(const std::string& ownerAccount) -{ - ownerAccount_ = ownerAccount; - setCoreParameter("OwnerAccount", ownerAccount); -} - std::string DescribeDBInstancesByPerformanceRequest::getTag3key()const { return tag3key_; @@ -113,28 +80,6 @@ void DescribeDBInstancesByPerformanceRequest::setTag3key(const std::string& tag3 setCoreParameter("Tag3key", tag3key); } -long DescribeDBInstancesByPerformanceRequest::getOwnerId()const -{ - return ownerId_; -} - -void DescribeDBInstancesByPerformanceRequest::setOwnerId(long ownerId) -{ - ownerId_ = ownerId; - setCoreParameter("OwnerId", std::to_string(ownerId)); -} - -std::string DescribeDBInstancesByPerformanceRequest::getTag5value()const -{ - return tag5value_; -} - -void DescribeDBInstancesByPerformanceRequest::setTag5value(const std::string& tag5value) -{ - tag5value_ = tag5value; - setCoreParameter("Tag5value", tag5value); -} - int DescribeDBInstancesByPerformanceRequest::getPageNumber()const { return pageNumber_; @@ -157,28 +102,6 @@ void DescribeDBInstancesByPerformanceRequest::setAccessKeyId(const std::string& setCoreParameter("AccessKeyId", accessKeyId); } -std::string DescribeDBInstancesByPerformanceRequest::getTags()const -{ - return tags_; -} - -void DescribeDBInstancesByPerformanceRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setCoreParameter("Tags", tags); -} - -std::string DescribeDBInstancesByPerformanceRequest::getTag1key()const -{ - return tag1key_; -} - -void DescribeDBInstancesByPerformanceRequest::setTag1key(const std::string& tag1key) -{ - tag1key_ = tag1key; - setCoreParameter("Tag1key", tag1key); -} - std::string DescribeDBInstancesByPerformanceRequest::getTag1value()const { return tag1value_; @@ -201,26 +124,15 @@ void DescribeDBInstancesByPerformanceRequest::setSortKey(const std::string& sort setCoreParameter("SortKey", sortKey); } -std::string DescribeDBInstancesByPerformanceRequest::getSortMethod()const +std::string DescribeDBInstancesByPerformanceRequest::getRegionId()const { - return sortMethod_; + return regionId_; } -void DescribeDBInstancesByPerformanceRequest::setSortMethod(const std::string& sortMethod) +void DescribeDBInstancesByPerformanceRequest::setRegionId(const std::string& regionId) { - sortMethod_ = sortMethod; - setCoreParameter("SortMethod", sortMethod); -} - -std::string DescribeDBInstancesByPerformanceRequest::getTag2value()const -{ - return tag2value_; -} - -void DescribeDBInstancesByPerformanceRequest::setTag2value(const std::string& tag2value) -{ - tag2value_ = tag2value; - setCoreParameter("Tag2value", tag2value); + regionId_ = regionId; + setCoreParameter("RegionId", regionId); } int DescribeDBInstancesByPerformanceRequest::getPageSize()const @@ -234,17 +146,6 @@ void DescribeDBInstancesByPerformanceRequest::setPageSize(int pageSize) setCoreParameter("PageSize", std::to_string(pageSize)); } -std::string DescribeDBInstancesByPerformanceRequest::getTag4key()const -{ - return tag4key_; -} - -void DescribeDBInstancesByPerformanceRequest::setTag4key(const std::string& tag4key) -{ - tag4key_ = tag4key; - setCoreParameter("Tag4key", tag4key); -} - std::string DescribeDBInstancesByPerformanceRequest::getDBInstanceId()const { return dBInstanceId_; @@ -278,3 +179,113 @@ void DescribeDBInstancesByPerformanceRequest::setProxyId(const std::string& prox setCoreParameter("ProxyId", proxyId); } +std::string DescribeDBInstancesByPerformanceRequest::getTag5key()const +{ + return tag5key_; +} + +void DescribeDBInstancesByPerformanceRequest::setTag5key(const std::string& tag5key) +{ + tag5key_ = tag5key; + setCoreParameter("Tag5key", tag5key); +} + +std::string DescribeDBInstancesByPerformanceRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void DescribeDBInstancesByPerformanceRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string DescribeDBInstancesByPerformanceRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void DescribeDBInstancesByPerformanceRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setCoreParameter("OwnerAccount", ownerAccount); +} + +long DescribeDBInstancesByPerformanceRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDBInstancesByPerformanceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDBInstancesByPerformanceRequest::getTag5value()const +{ + return tag5value_; +} + +void DescribeDBInstancesByPerformanceRequest::setTag5value(const std::string& tag5value) +{ + tag5value_ = tag5value; + setCoreParameter("Tag5value", tag5value); +} + +std::string DescribeDBInstancesByPerformanceRequest::getTags()const +{ + return tags_; +} + +void DescribeDBInstancesByPerformanceRequest::setTags(const std::string& tags) +{ + tags_ = tags; + setCoreParameter("Tags", tags); +} + +std::string DescribeDBInstancesByPerformanceRequest::getTag1key()const +{ + return tag1key_; +} + +void DescribeDBInstancesByPerformanceRequest::setTag1key(const std::string& tag1key) +{ + tag1key_ = tag1key; + setCoreParameter("Tag1key", tag1key); +} + +std::string DescribeDBInstancesByPerformanceRequest::getSortMethod()const +{ + return sortMethod_; +} + +void DescribeDBInstancesByPerformanceRequest::setSortMethod(const std::string& sortMethod) +{ + sortMethod_ = sortMethod; + setCoreParameter("SortMethod", sortMethod); +} + +std::string DescribeDBInstancesByPerformanceRequest::getTag2value()const +{ + return tag2value_; +} + +void DescribeDBInstancesByPerformanceRequest::setTag2value(const std::string& tag2value) +{ + tag2value_ = tag2value; + setCoreParameter("Tag2value", tag2value); +} + +std::string DescribeDBInstancesByPerformanceRequest::getTag4key()const +{ + return tag4key_; +} + +void DescribeDBInstancesByPerformanceRequest::setTag4key(const std::string& tag4key) +{ + tag4key_ = tag4key; + setCoreParameter("Tag4key", tag4key); +} + diff --git a/rds/src/model/DescribeDBInstancesByPerformanceResult.cc b/rds/src/model/DescribeDBInstancesByPerformanceResult.cc index ebfbe0e25..10e07d391 100644 --- a/rds/src/model/DescribeDBInstancesByPerformanceResult.cc +++ b/rds/src/model/DescribeDBInstancesByPerformanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstancesByPerformanceResult::DescribeDBInstancesByPerformanceResult() : - ServiceResult() -{} - -DescribeDBInstancesByPerformanceResult::DescribeDBInstancesByPerformanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstancesByPerformanceResult::~DescribeDBInstancesByPerformanceResult() -{} - -void DescribeDBInstancesByPerformanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstancesByPerformanceResult::DescribeDBInstancesByPerformanceResult() : + ServiceResult() +{} + +DescribeDBInstancesByPerformanceResult::DescribeDBInstancesByPerformanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstancesByPerformanceResult::~DescribeDBInstancesByPerformanceResult() +{} + +void DescribeDBInstancesByPerformanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstancePerformance"]; for (auto value : allItems) { @@ -64,9 +64,9 @@ void DescribeDBInstancesByPerformanceResult::parse(const std::string &payload) totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeDBInstancesByPerformanceResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeDBInstancesRequest.cc b/rds/src/model/DescribeDBInstancesRequest.cc index 0907ed4bf..bb2ce844a 100644 --- a/rds/src/model/DescribeDBInstancesRequest.cc +++ b/rds/src/model/DescribeDBInstancesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDBInstancesRequest; - -DescribeDBInstancesRequest::DescribeDBInstancesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstances") -{} - -DescribeDBInstancesRequest::~DescribeDBInstancesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDBInstancesRequest; + +DescribeDBInstancesRequest::DescribeDBInstancesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDBInstances") +{} + +DescribeDBInstancesRequest::~DescribeDBInstancesRequest() +{} + std::string DescribeDBInstancesRequest::getConnectionMode()const { return connectionMode_; diff --git a/rds/src/model/DescribeDBInstancesResult.cc b/rds/src/model/DescribeDBInstancesResult.cc index bd02b31b0..10c1b6038 100644 --- a/rds/src/model/DescribeDBInstancesResult.cc +++ b/rds/src/model/DescribeDBInstancesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDBInstancesResult::DescribeDBInstancesResult() : - ServiceResult() -{} - -DescribeDBInstancesResult::DescribeDBInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDBInstancesResult::~DescribeDBInstancesResult() -{} - -void DescribeDBInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDBInstancesResult::DescribeDBInstancesResult() : + ServiceResult() +{} + +DescribeDBInstancesResult::DescribeDBInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDBInstancesResult::~DescribeDBInstancesResult() +{} + +void DescribeDBInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["DBInstance"]; for (auto value : allItems) { @@ -120,9 +120,9 @@ void DescribeDBInstancesResult::parse(const std::string &payload) totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeDBInstancesResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeDatabasesRequest.cc b/rds/src/model/DescribeDatabasesRequest.cc index e3fd9ea3f..37518756c 100644 --- a/rds/src/model/DescribeDatabasesRequest.cc +++ b/rds/src/model/DescribeDatabasesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDatabasesRequest; - -DescribeDatabasesRequest::DescribeDatabasesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDatabases") -{} - -DescribeDatabasesRequest::~DescribeDatabasesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDatabasesRequest; + +DescribeDatabasesRequest::DescribeDatabasesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDatabases") +{} + +DescribeDatabasesRequest::~DescribeDatabasesRequest() +{} + long DescribeDatabasesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeDatabasesResult.cc b/rds/src/model/DescribeDatabasesResult.cc index 8456a2f94..79a5aff06 100644 --- a/rds/src/model/DescribeDatabasesResult.cc +++ b/rds/src/model/DescribeDatabasesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDatabasesResult::DescribeDatabasesResult() : - ServiceResult() -{} - -DescribeDatabasesResult::DescribeDatabasesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDatabasesResult::~DescribeDatabasesResult() -{} - -void DescribeDatabasesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDatabasesResult::DescribeDatabasesResult() : + ServiceResult() +{} + +DescribeDatabasesResult::DescribeDatabasesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDatabasesResult::~DescribeDatabasesResult() +{} + +void DescribeDatabasesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDatabases = value["Databases"]["Database"]; for (auto value : allDatabases) { @@ -70,9 +70,9 @@ void DescribeDatabasesResult::parse(const std::string &payload) } databases_.push_back(databasesObject); } - -} - + +} + std::vector DescribeDatabasesResult::getDatabases()const { return databases_; diff --git a/rds/src/model/DescribeDiagnosticReportListRequest.cc b/rds/src/model/DescribeDiagnosticReportListRequest.cc index ab176a353..a34fdbe8f 100644 --- a/rds/src/model/DescribeDiagnosticReportListRequest.cc +++ b/rds/src/model/DescribeDiagnosticReportListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeDiagnosticReportListRequest; - -DescribeDiagnosticReportListRequest::DescribeDiagnosticReportListRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeDiagnosticReportList") -{} - -DescribeDiagnosticReportListRequest::~DescribeDiagnosticReportListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeDiagnosticReportListRequest; + +DescribeDiagnosticReportListRequest::DescribeDiagnosticReportListRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeDiagnosticReportList") +{} + +DescribeDiagnosticReportListRequest::~DescribeDiagnosticReportListRequest() +{} + std::string DescribeDiagnosticReportListRequest::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/DescribeDiagnosticReportListResult.cc b/rds/src/model/DescribeDiagnosticReportListResult.cc index 10b405bd6..8a1825498 100644 --- a/rds/src/model/DescribeDiagnosticReportListResult.cc +++ b/rds/src/model/DescribeDiagnosticReportListResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeDiagnosticReportListResult::DescribeDiagnosticReportListResult() : - ServiceResult() -{} - -DescribeDiagnosticReportListResult::DescribeDiagnosticReportListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeDiagnosticReportListResult::~DescribeDiagnosticReportListResult() -{} - -void DescribeDiagnosticReportListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeDiagnosticReportListResult::DescribeDiagnosticReportListResult() : + ServiceResult() +{} + +DescribeDiagnosticReportListResult::DescribeDiagnosticReportListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDiagnosticReportListResult::~DescribeDiagnosticReportListResult() +{} + +void DescribeDiagnosticReportListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allReportList = value["ReportList"]["Report"]; for (auto value : allReportList) { @@ -56,9 +56,9 @@ void DescribeDiagnosticReportListResult::parse(const std::string &payload) reportListObject.downloadURL = value["DownloadURL"].asString(); reportList_.push_back(reportListObject); } - -} - + +} + std::vector DescribeDiagnosticReportListResult::getReportList()const { return reportList_; diff --git a/rds/src/model/DescribeErrorLogsRequest.cc b/rds/src/model/DescribeErrorLogsRequest.cc index b9fb63b77..56d57f867 100644 --- a/rds/src/model/DescribeErrorLogsRequest.cc +++ b/rds/src/model/DescribeErrorLogsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeErrorLogsRequest; - -DescribeErrorLogsRequest::DescribeErrorLogsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeErrorLogs") -{} - -DescribeErrorLogsRequest::~DescribeErrorLogsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeErrorLogsRequest; + +DescribeErrorLogsRequest::DescribeErrorLogsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeErrorLogs") +{} + +DescribeErrorLogsRequest::~DescribeErrorLogsRequest() +{} + long DescribeErrorLogsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeErrorLogsResult.cc b/rds/src/model/DescribeErrorLogsResult.cc index da8329bf1..9cb4e6451 100644 --- a/rds/src/model/DescribeErrorLogsResult.cc +++ b/rds/src/model/DescribeErrorLogsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeErrorLogsResult::DescribeErrorLogsResult() : - ServiceResult() -{} - -DescribeErrorLogsResult::DescribeErrorLogsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeErrorLogsResult::~DescribeErrorLogsResult() -{} - -void DescribeErrorLogsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeErrorLogsResult::DescribeErrorLogsResult() : + ServiceResult() +{} + +DescribeErrorLogsResult::DescribeErrorLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeErrorLogsResult::~DescribeErrorLogsResult() +{} + +void DescribeErrorLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["ErrorLog"]; for (auto value : allItems) { @@ -56,9 +56,9 @@ void DescribeErrorLogsResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeErrorLogsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeInstanceAutoRenewalAttributeRequest.cc b/rds/src/model/DescribeInstanceAutoRenewalAttributeRequest.cc index 3a8460223..223d6157e 100644 --- a/rds/src/model/DescribeInstanceAutoRenewalAttributeRequest.cc +++ b/rds/src/model/DescribeInstanceAutoRenewalAttributeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeInstanceAutoRenewalAttributeRequest; - -DescribeInstanceAutoRenewalAttributeRequest::DescribeInstanceAutoRenewalAttributeRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeInstanceAutoRenewalAttribute") -{} - -DescribeInstanceAutoRenewalAttributeRequest::~DescribeInstanceAutoRenewalAttributeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeInstanceAutoRenewalAttributeRequest; + +DescribeInstanceAutoRenewalAttributeRequest::DescribeInstanceAutoRenewalAttributeRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeInstanceAutoRenewalAttribute") +{} + +DescribeInstanceAutoRenewalAttributeRequest::~DescribeInstanceAutoRenewalAttributeRequest() +{} + long DescribeInstanceAutoRenewalAttributeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeInstanceAutoRenewalAttributeResult.cc b/rds/src/model/DescribeInstanceAutoRenewalAttributeResult.cc index e637e0f34..338564c0b 100644 --- a/rds/src/model/DescribeInstanceAutoRenewalAttributeResult.cc +++ b/rds/src/model/DescribeInstanceAutoRenewalAttributeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeInstanceAutoRenewalAttributeResult::DescribeInstanceAutoRenewalAttributeResult() : - ServiceResult() -{} - -DescribeInstanceAutoRenewalAttributeResult::DescribeInstanceAutoRenewalAttributeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeInstanceAutoRenewalAttributeResult::~DescribeInstanceAutoRenewalAttributeResult() -{} - -void DescribeInstanceAutoRenewalAttributeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeInstanceAutoRenewalAttributeResult::DescribeInstanceAutoRenewalAttributeResult() : + ServiceResult() +{} + +DescribeInstanceAutoRenewalAttributeResult::DescribeInstanceAutoRenewalAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeInstanceAutoRenewalAttributeResult::~DescribeInstanceAutoRenewalAttributeResult() +{} + +void DescribeInstanceAutoRenewalAttributeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["Item"]; for (auto value : allItems) { @@ -62,9 +62,9 @@ void DescribeInstanceAutoRenewalAttributeResult::parse(const std::string &payloa totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeInstanceAutoRenewalAttributeResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeInstanceVpcMigrateInfoRequest.cc b/rds/src/model/DescribeInstanceVpcMigrateInfoRequest.cc index 71f03960e..723955f8e 100644 --- a/rds/src/model/DescribeInstanceVpcMigrateInfoRequest.cc +++ b/rds/src/model/DescribeInstanceVpcMigrateInfoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeInstanceVpcMigrateInfoRequest; - -DescribeInstanceVpcMigrateInfoRequest::DescribeInstanceVpcMigrateInfoRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeInstanceVpcMigrateInfo") -{} - -DescribeInstanceVpcMigrateInfoRequest::~DescribeInstanceVpcMigrateInfoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeInstanceVpcMigrateInfoRequest; + +DescribeInstanceVpcMigrateInfoRequest::DescribeInstanceVpcMigrateInfoRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeInstanceVpcMigrateInfo") +{} + +DescribeInstanceVpcMigrateInfoRequest::~DescribeInstanceVpcMigrateInfoRequest() +{} + long DescribeInstanceVpcMigrateInfoRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeInstanceVpcMigrateInfoResult.cc b/rds/src/model/DescribeInstanceVpcMigrateInfoResult.cc index f12a819cf..0eb721a77 100644 --- a/rds/src/model/DescribeInstanceVpcMigrateInfoResult.cc +++ b/rds/src/model/DescribeInstanceVpcMigrateInfoResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeInstanceVpcMigrateInfoResult::DescribeInstanceVpcMigrateInfoResult() : - ServiceResult() -{} - -DescribeInstanceVpcMigrateInfoResult::DescribeInstanceVpcMigrateInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeInstanceVpcMigrateInfoResult::~DescribeInstanceVpcMigrateInfoResult() -{} - -void DescribeInstanceVpcMigrateInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeInstanceVpcMigrateInfoResult::DescribeInstanceVpcMigrateInfoResult() : + ServiceResult() +{} + +DescribeInstanceVpcMigrateInfoResult::DescribeInstanceVpcMigrateInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeInstanceVpcMigrateInfoResult::~DescribeInstanceVpcMigrateInfoResult() +{} + +void DescribeInstanceVpcMigrateInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDBInstanceMigrateInfos = value["DBInstanceMigrateInfos"]["DBInstanceMigrateInfo"]; for (auto value : allDBInstanceMigrateInfos) { @@ -60,9 +60,9 @@ void DescribeInstanceVpcMigrateInfoResult::parse(const std::string &payload) dBInstanceMigrateInfosObject.targetVpcInstanceId = value["TargetVpcInstanceId"].asString(); dBInstanceMigrateInfos_.push_back(dBInstanceMigrateInfosObject); } - -} - + +} + std::vector DescribeInstanceVpcMigrateInfoResult::getDBInstanceMigrateInfos()const { return dBInstanceMigrateInfos_; diff --git a/rds/src/model/DescribeLogBackupFilesRequest.cc b/rds/src/model/DescribeLogBackupFilesRequest.cc index 676deb6b2..dd54714de 100644 --- a/rds/src/model/DescribeLogBackupFilesRequest.cc +++ b/rds/src/model/DescribeLogBackupFilesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeLogBackupFilesRequest; - -DescribeLogBackupFilesRequest::DescribeLogBackupFilesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeLogBackupFiles") -{} - -DescribeLogBackupFilesRequest::~DescribeLogBackupFilesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeLogBackupFilesRequest; + +DescribeLogBackupFilesRequest::DescribeLogBackupFilesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeLogBackupFiles") +{} + +DescribeLogBackupFilesRequest::~DescribeLogBackupFilesRequest() +{} + long DescribeLogBackupFilesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeLogBackupFilesResult.cc b/rds/src/model/DescribeLogBackupFilesResult.cc index 804ca99ec..60a2c8d30 100644 --- a/rds/src/model/DescribeLogBackupFilesResult.cc +++ b/rds/src/model/DescribeLogBackupFilesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeLogBackupFilesResult::DescribeLogBackupFilesResult() : - ServiceResult() -{} - -DescribeLogBackupFilesResult::DescribeLogBackupFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeLogBackupFilesResult::~DescribeLogBackupFilesResult() -{} - -void DescribeLogBackupFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeLogBackupFilesResult::DescribeLogBackupFilesResult() : + ServiceResult() +{} + +DescribeLogBackupFilesResult::DescribeLogBackupFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeLogBackupFilesResult::~DescribeLogBackupFilesResult() +{} + +void DescribeLogBackupFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["BinLogFile"]; for (auto value : allItems) { @@ -66,9 +66,9 @@ void DescribeLogBackupFilesResult::parse(const std::string &payload) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); if(!value["TotalFileSize"].isNull()) totalFileSize_ = std::stol(value["TotalFileSize"].asString()); - -} - + +} + int DescribeLogBackupFilesResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeMetaListRequest.cc b/rds/src/model/DescribeMetaListRequest.cc index a182eb403..357bc145d 100644 --- a/rds/src/model/DescribeMetaListRequest.cc +++ b/rds/src/model/DescribeMetaListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeMetaListRequest; - -DescribeMetaListRequest::DescribeMetaListRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeMetaList") -{} - -DescribeMetaListRequest::~DescribeMetaListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeMetaListRequest; + +DescribeMetaListRequest::DescribeMetaListRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeMetaList") +{} + +DescribeMetaListRequest::~DescribeMetaListRequest() +{} + long DescribeMetaListRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeMetaListResult.cc b/rds/src/model/DescribeMetaListResult.cc index 30a7884f1..35b7c89b9 100644 --- a/rds/src/model/DescribeMetaListResult.cc +++ b/rds/src/model/DescribeMetaListResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeMetaListResult::DescribeMetaListResult() : - ServiceResult() -{} - -DescribeMetaListResult::DescribeMetaListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMetaListResult::~DescribeMetaListResult() -{} - -void DescribeMetaListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeMetaListResult::DescribeMetaListResult() : + ServiceResult() +{} + +DescribeMetaListResult::DescribeMetaListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMetaListResult::~DescribeMetaListResult() +{} + +void DescribeMetaListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["Meta"]; for (auto value : allItems) { @@ -62,9 +62,9 @@ void DescribeMetaListResult::parse(const std::string &payload) totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString()); if(!value["TotalPageCount"].isNull()) totalPageCount_ = std::stoi(value["TotalPageCount"].asString()); - -} - + +} + int DescribeMetaListResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeMigrateTasksForSQLServerRequest.cc b/rds/src/model/DescribeMigrateTasksForSQLServerRequest.cc index 3457a8c20..2fc5c3878 100644 --- a/rds/src/model/DescribeMigrateTasksForSQLServerRequest.cc +++ b/rds/src/model/DescribeMigrateTasksForSQLServerRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeMigrateTasksForSQLServerRequest; - -DescribeMigrateTasksForSQLServerRequest::DescribeMigrateTasksForSQLServerRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeMigrateTasksForSQLServer") -{} - -DescribeMigrateTasksForSQLServerRequest::~DescribeMigrateTasksForSQLServerRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeMigrateTasksForSQLServerRequest; + +DescribeMigrateTasksForSQLServerRequest::DescribeMigrateTasksForSQLServerRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeMigrateTasksForSQLServer") +{} + +DescribeMigrateTasksForSQLServerRequest::~DescribeMigrateTasksForSQLServerRequest() +{} + long DescribeMigrateTasksForSQLServerRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeMigrateTasksForSQLServerResult.cc b/rds/src/model/DescribeMigrateTasksForSQLServerResult.cc index e93ea278c..fea91382d 100644 --- a/rds/src/model/DescribeMigrateTasksForSQLServerResult.cc +++ b/rds/src/model/DescribeMigrateTasksForSQLServerResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeMigrateTasksForSQLServerResult::DescribeMigrateTasksForSQLServerResult() : - ServiceResult() -{} - -DescribeMigrateTasksForSQLServerResult::DescribeMigrateTasksForSQLServerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMigrateTasksForSQLServerResult::~DescribeMigrateTasksForSQLServerResult() -{} - -void DescribeMigrateTasksForSQLServerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeMigrateTasksForSQLServerResult::DescribeMigrateTasksForSQLServerResult() : + ServiceResult() +{} + +DescribeMigrateTasksForSQLServerResult::DescribeMigrateTasksForSQLServerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMigrateTasksForSQLServerResult::~DescribeMigrateTasksForSQLServerResult() +{} + +void DescribeMigrateTasksForSQLServerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["MigrateTask"]; for (auto value : allItems) { @@ -76,9 +76,9 @@ void DescribeMigrateTasksForSQLServerResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeMigrateTasksForSQLServerResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeMigrateTasksRequest.cc b/rds/src/model/DescribeMigrateTasksRequest.cc index 837c1dc36..89e6b3276 100644 --- a/rds/src/model/DescribeMigrateTasksRequest.cc +++ b/rds/src/model/DescribeMigrateTasksRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeMigrateTasksRequest; - -DescribeMigrateTasksRequest::DescribeMigrateTasksRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeMigrateTasks") -{} - -DescribeMigrateTasksRequest::~DescribeMigrateTasksRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeMigrateTasksRequest; + +DescribeMigrateTasksRequest::DescribeMigrateTasksRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeMigrateTasks") +{} + +DescribeMigrateTasksRequest::~DescribeMigrateTasksRequest() +{} + long DescribeMigrateTasksRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeMigrateTasksResult.cc b/rds/src/model/DescribeMigrateTasksResult.cc index a3e00d5ad..c9ad3a0bc 100644 --- a/rds/src/model/DescribeMigrateTasksResult.cc +++ b/rds/src/model/DescribeMigrateTasksResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeMigrateTasksResult::DescribeMigrateTasksResult() : - ServiceResult() -{} - -DescribeMigrateTasksResult::DescribeMigrateTasksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeMigrateTasksResult::~DescribeMigrateTasksResult() -{} - -void DescribeMigrateTasksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeMigrateTasksResult::DescribeMigrateTasksResult() : + ServiceResult() +{} + +DescribeMigrateTasksResult::DescribeMigrateTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeMigrateTasksResult::~DescribeMigrateTasksResult() +{} + +void DescribeMigrateTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["MigrateTask"]; for (auto value : allItems) { @@ -70,9 +70,9 @@ void DescribeMigrateTasksResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeMigrateTasksResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeModifyParameterLogRequest.cc b/rds/src/model/DescribeModifyParameterLogRequest.cc index 3ac2cc1b6..68ac29288 100644 --- a/rds/src/model/DescribeModifyParameterLogRequest.cc +++ b/rds/src/model/DescribeModifyParameterLogRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeModifyParameterLogRequest; - -DescribeModifyParameterLogRequest::DescribeModifyParameterLogRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeModifyParameterLog") -{} - -DescribeModifyParameterLogRequest::~DescribeModifyParameterLogRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeModifyParameterLogRequest; + +DescribeModifyParameterLogRequest::DescribeModifyParameterLogRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeModifyParameterLog") +{} + +DescribeModifyParameterLogRequest::~DescribeModifyParameterLogRequest() +{} + long DescribeModifyParameterLogRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeModifyParameterLogResult.cc b/rds/src/model/DescribeModifyParameterLogResult.cc index 48e082bcf..cb9c963a1 100644 --- a/rds/src/model/DescribeModifyParameterLogResult.cc +++ b/rds/src/model/DescribeModifyParameterLogResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeModifyParameterLogResult::DescribeModifyParameterLogResult() : - ServiceResult() -{} - -DescribeModifyParameterLogResult::DescribeModifyParameterLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeModifyParameterLogResult::~DescribeModifyParameterLogResult() -{} - -void DescribeModifyParameterLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeModifyParameterLogResult::DescribeModifyParameterLogResult() : + ServiceResult() +{} + +DescribeModifyParameterLogResult::DescribeModifyParameterLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeModifyParameterLogResult::~DescribeModifyParameterLogResult() +{} + +void DescribeModifyParameterLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["ParameterChangeLog"]; for (auto value : allItems) { @@ -68,9 +68,9 @@ void DescribeModifyParameterLogResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeModifyParameterLogResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeOssDownloadsForSQLServerRequest.cc b/rds/src/model/DescribeOssDownloadsForSQLServerRequest.cc index 58305ee78..a8d4fc71e 100644 --- a/rds/src/model/DescribeOssDownloadsForSQLServerRequest.cc +++ b/rds/src/model/DescribeOssDownloadsForSQLServerRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeOssDownloadsForSQLServerRequest; - -DescribeOssDownloadsForSQLServerRequest::DescribeOssDownloadsForSQLServerRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeOssDownloadsForSQLServer") -{} - -DescribeOssDownloadsForSQLServerRequest::~DescribeOssDownloadsForSQLServerRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeOssDownloadsForSQLServerRequest; + +DescribeOssDownloadsForSQLServerRequest::DescribeOssDownloadsForSQLServerRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeOssDownloadsForSQLServer") +{} + +DescribeOssDownloadsForSQLServerRequest::~DescribeOssDownloadsForSQLServerRequest() +{} + long DescribeOssDownloadsForSQLServerRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeOssDownloadsForSQLServerResult.cc b/rds/src/model/DescribeOssDownloadsForSQLServerResult.cc index 89c42f33b..78af7397b 100644 --- a/rds/src/model/DescribeOssDownloadsForSQLServerResult.cc +++ b/rds/src/model/DescribeOssDownloadsForSQLServerResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeOssDownloadsForSQLServerResult::DescribeOssDownloadsForSQLServerResult() : - ServiceResult() -{} - -DescribeOssDownloadsForSQLServerResult::DescribeOssDownloadsForSQLServerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeOssDownloadsForSQLServerResult::~DescribeOssDownloadsForSQLServerResult() -{} - -void DescribeOssDownloadsForSQLServerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeOssDownloadsForSQLServerResult::DescribeOssDownloadsForSQLServerResult() : + ServiceResult() +{} + +DescribeOssDownloadsForSQLServerResult::DescribeOssDownloadsForSQLServerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssDownloadsForSQLServerResult::~DescribeOssDownloadsForSQLServerResult() +{} + +void DescribeOssDownloadsForSQLServerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["OssDownload"]; for (auto value : allItems) { @@ -66,9 +66,9 @@ void DescribeOssDownloadsForSQLServerResult::parse(const std::string &payload) dBInstanceName_ = value["DBInstanceName"].asString(); if(!value["MigrateIaskId"].isNull()) migrateIaskId_ = value["MigrateIaskId"].asString(); - -} - + +} + std::vector DescribeOssDownloadsForSQLServerResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeOssDownloadsRequest.cc b/rds/src/model/DescribeOssDownloadsRequest.cc index d7e482fc6..8498b0898 100644 --- a/rds/src/model/DescribeOssDownloadsRequest.cc +++ b/rds/src/model/DescribeOssDownloadsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeOssDownloadsRequest; - -DescribeOssDownloadsRequest::DescribeOssDownloadsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeOssDownloads") -{} - -DescribeOssDownloadsRequest::~DescribeOssDownloadsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeOssDownloadsRequest; + +DescribeOssDownloadsRequest::DescribeOssDownloadsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeOssDownloads") +{} + +DescribeOssDownloadsRequest::~DescribeOssDownloadsRequest() +{} + long DescribeOssDownloadsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeOssDownloadsResult.cc b/rds/src/model/DescribeOssDownloadsResult.cc index e7a9d71b8..d83569500 100644 --- a/rds/src/model/DescribeOssDownloadsResult.cc +++ b/rds/src/model/DescribeOssDownloadsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeOssDownloadsResult::DescribeOssDownloadsResult() : - ServiceResult() -{} - -DescribeOssDownloadsResult::DescribeOssDownloadsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeOssDownloadsResult::~DescribeOssDownloadsResult() -{} - -void DescribeOssDownloadsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeOssDownloadsResult::DescribeOssDownloadsResult() : + ServiceResult() +{} + +DescribeOssDownloadsResult::DescribeOssDownloadsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeOssDownloadsResult::~DescribeOssDownloadsResult() +{} + +void DescribeOssDownloadsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["OssDownload"]; for (auto value : allItems) { @@ -66,9 +66,9 @@ void DescribeOssDownloadsResult::parse(const std::string &payload) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["MigrateTaskId"].isNull()) migrateTaskId_ = value["MigrateTaskId"].asString(); - -} - + +} + std::string DescribeOssDownloadsResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/DescribeParameterTemplatesRequest.cc b/rds/src/model/DescribeParameterTemplatesRequest.cc index 58438be43..a41e56ab4 100644 --- a/rds/src/model/DescribeParameterTemplatesRequest.cc +++ b/rds/src/model/DescribeParameterTemplatesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeParameterTemplatesRequest; - -DescribeParameterTemplatesRequest::DescribeParameterTemplatesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeParameterTemplates") -{} - -DescribeParameterTemplatesRequest::~DescribeParameterTemplatesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeParameterTemplatesRequest; + +DescribeParameterTemplatesRequest::DescribeParameterTemplatesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeParameterTemplates") +{} + +DescribeParameterTemplatesRequest::~DescribeParameterTemplatesRequest() +{} + long DescribeParameterTemplatesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeParameterTemplatesResult.cc b/rds/src/model/DescribeParameterTemplatesResult.cc index 16815a322..172d87fec 100644 --- a/rds/src/model/DescribeParameterTemplatesResult.cc +++ b/rds/src/model/DescribeParameterTemplatesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeParameterTemplatesResult::DescribeParameterTemplatesResult() : - ServiceResult() -{} - -DescribeParameterTemplatesResult::DescribeParameterTemplatesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeParameterTemplatesResult::~DescribeParameterTemplatesResult() -{} - -void DescribeParameterTemplatesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeParameterTemplatesResult::DescribeParameterTemplatesResult() : + ServiceResult() +{} + +DescribeParameterTemplatesResult::DescribeParameterTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeParameterTemplatesResult::~DescribeParameterTemplatesResult() +{} + +void DescribeParameterTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allParameters = value["Parameters"]["TemplateRecord"]; for (auto value : allParameters) { @@ -64,9 +64,9 @@ void DescribeParameterTemplatesResult::parse(const std::string &payload) engineVersion_ = value["EngineVersion"].asString(); if(!value["ParameterCount"].isNull()) parameterCount_ = value["ParameterCount"].asString(); - -} - + +} + std::string DescribeParameterTemplatesResult::getParameterCount()const { return parameterCount_; diff --git a/rds/src/model/DescribeParametersRequest.cc b/rds/src/model/DescribeParametersRequest.cc index 2318aeff4..fef602bd1 100644 --- a/rds/src/model/DescribeParametersRequest.cc +++ b/rds/src/model/DescribeParametersRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeParametersRequest; - -DescribeParametersRequest::DescribeParametersRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeParameters") -{} - -DescribeParametersRequest::~DescribeParametersRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeParametersRequest; + +DescribeParametersRequest::DescribeParametersRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeParameters") +{} + +DescribeParametersRequest::~DescribeParametersRequest() +{} + long DescribeParametersRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeParametersResult.cc b/rds/src/model/DescribeParametersResult.cc index b0e9b5451..a4244d999 100644 --- a/rds/src/model/DescribeParametersResult.cc +++ b/rds/src/model/DescribeParametersResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeParametersResult::DescribeParametersResult() : - ServiceResult() -{} - -DescribeParametersResult::DescribeParametersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeParametersResult::~DescribeParametersResult() -{} - -void DescribeParametersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeParametersResult::DescribeParametersResult() : + ServiceResult() +{} + +DescribeParametersResult::DescribeParametersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeParametersResult::~DescribeParametersResult() +{} + +void DescribeParametersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allConfigParameters = value["ConfigParameters"]["DBInstanceParameter"]; for (auto value : allConfigParameters) { @@ -68,9 +68,9 @@ void DescribeParametersResult::parse(const std::string &payload) engine_ = value["Engine"].asString(); if(!value["EngineVersion"].isNull()) engineVersion_ = value["EngineVersion"].asString(); - -} - + +} + std::vector DescribeParametersResult::getRunningParameters()const { return runningParameters_; diff --git a/rds/src/model/DescribePriceRequest.cc b/rds/src/model/DescribePriceRequest.cc index e7c295271..313f81a9c 100644 --- a/rds/src/model/DescribePriceRequest.cc +++ b/rds/src/model/DescribePriceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribePriceRequest; - -DescribePriceRequest::DescribePriceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribePrice") -{} - -DescribePriceRequest::~DescribePriceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribePriceRequest; + +DescribePriceRequest::DescribePriceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribePrice") +{} + +DescribePriceRequest::~DescribePriceRequest() +{} + long DescribePriceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribePriceResult.cc b/rds/src/model/DescribePriceResult.cc index 40874e396..e8dab0198 100644 --- a/rds/src/model/DescribePriceResult.cc +++ b/rds/src/model/DescribePriceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribePriceResult::DescribePriceResult() : - ServiceResult() -{} - -DescribePriceResult::DescribePriceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribePriceResult::~DescribePriceResult() -{} - -void DescribePriceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribePriceResult::DescribePriceResult() : + ServiceResult() +{} + +DescribePriceResult::DescribePriceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePriceResult::~DescribePriceResult() +{} + +void DescribePriceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRules = value["Rules"]["Rule"]; for (auto value : allRules) { @@ -85,9 +85,9 @@ void DescribePriceResult::parse(const std::string &payload) auto allRuleIds = priceInfoNode["RuleIds"]["RuleId"]; for (auto value : allRuleIds) priceInfo_.ruleIds.push_back(value.asString()); - -} - + +} + std::vector DescribePriceResult::getRules()const { return rules_; diff --git a/rds/src/model/DescribeProxyFunctionSupportRequest.cc b/rds/src/model/DescribeProxyFunctionSupportRequest.cc index b3980147b..bb92e51f2 100644 --- a/rds/src/model/DescribeProxyFunctionSupportRequest.cc +++ b/rds/src/model/DescribeProxyFunctionSupportRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeProxyFunctionSupportRequest; - -DescribeProxyFunctionSupportRequest::DescribeProxyFunctionSupportRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeProxyFunctionSupport") -{} - -DescribeProxyFunctionSupportRequest::~DescribeProxyFunctionSupportRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeProxyFunctionSupportRequest; + +DescribeProxyFunctionSupportRequest::DescribeProxyFunctionSupportRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeProxyFunctionSupport") +{} + +DescribeProxyFunctionSupportRequest::~DescribeProxyFunctionSupportRequest() +{} + long DescribeProxyFunctionSupportRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeProxyFunctionSupportResult.cc b/rds/src/model/DescribeProxyFunctionSupportResult.cc index f6f07509e..f8f88b284 100644 --- a/rds/src/model/DescribeProxyFunctionSupportResult.cc +++ b/rds/src/model/DescribeProxyFunctionSupportResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeProxyFunctionSupportResult::DescribeProxyFunctionSupportResult() : - ServiceResult() -{} - -DescribeProxyFunctionSupportResult::DescribeProxyFunctionSupportResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeProxyFunctionSupportResult::~DescribeProxyFunctionSupportResult() -{} - -void DescribeProxyFunctionSupportResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeProxyFunctionSupportResult::DescribeProxyFunctionSupportResult() : + ServiceResult() +{} + +DescribeProxyFunctionSupportResult::DescribeProxyFunctionSupportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeProxyFunctionSupportResult::~DescribeProxyFunctionSupportResult() +{} + +void DescribeProxyFunctionSupportResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["IsProxySwitchEnable"].isNull()) isProxySwitchEnable_ = value["IsProxySwitchEnable"].asString() == "true"; if(!value["IsRwsplitEnable"].isNull()) @@ -54,9 +54,9 @@ void DescribeProxyFunctionSupportResult::parse(const std::string &payload) isShortConnectionOptimizeEnable_ = value["IsShortConnectionOptimizeEnable"].asString() == "true"; if(!value["IsAntiBruteFroceEnable"].isNull()) isAntiBruteFroceEnable_ = value["IsAntiBruteFroceEnable"].asString() == "true"; - -} - + +} + bool DescribeProxyFunctionSupportResult::getIsRwsplitSupportReplicationLag()const { return isRwsplitSupportReplicationLag_; diff --git a/rds/src/model/DescribeReadDBInstanceDelayRequest.cc b/rds/src/model/DescribeReadDBInstanceDelayRequest.cc index 75fdda064..47b9b12f3 100644 --- a/rds/src/model/DescribeReadDBInstanceDelayRequest.cc +++ b/rds/src/model/DescribeReadDBInstanceDelayRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeReadDBInstanceDelayRequest; - -DescribeReadDBInstanceDelayRequest::DescribeReadDBInstanceDelayRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeReadDBInstanceDelay") -{} - -DescribeReadDBInstanceDelayRequest::~DescribeReadDBInstanceDelayRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeReadDBInstanceDelayRequest; + +DescribeReadDBInstanceDelayRequest::DescribeReadDBInstanceDelayRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeReadDBInstanceDelay") +{} + +DescribeReadDBInstanceDelayRequest::~DescribeReadDBInstanceDelayRequest() +{} + long DescribeReadDBInstanceDelayRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeReadDBInstanceDelayResult.cc b/rds/src/model/DescribeReadDBInstanceDelayResult.cc index 3406f92fa..c5b54ea72 100644 --- a/rds/src/model/DescribeReadDBInstanceDelayResult.cc +++ b/rds/src/model/DescribeReadDBInstanceDelayResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeReadDBInstanceDelayResult::DescribeReadDBInstanceDelayResult() : - ServiceResult() -{} - -DescribeReadDBInstanceDelayResult::DescribeReadDBInstanceDelayResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeReadDBInstanceDelayResult::~DescribeReadDBInstanceDelayResult() -{} - -void DescribeReadDBInstanceDelayResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeReadDBInstanceDelayResult::DescribeReadDBInstanceDelayResult() : + ServiceResult() +{} + +DescribeReadDBInstanceDelayResult::DescribeReadDBInstanceDelayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeReadDBInstanceDelayResult::~DescribeReadDBInstanceDelayResult() +{} + +void DescribeReadDBInstanceDelayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["ItemsItem"]; for (auto value : allItems) { @@ -82,9 +82,9 @@ void DescribeReadDBInstanceDelayResult::parse(const std::string &payload) readDBInstanceId_ = value["ReadDBInstanceId"].asString(); if(!value["DelayTime"].isNull()) delayTime_ = std::stoi(value["DelayTime"].asString()); - -} - + +} + std::string DescribeReadDBInstanceDelayResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/DescribeRegionsRequest.cc b/rds/src/model/DescribeRegionsRequest.cc index 9c709f5a5..294437129 100644 --- a/rds/src/model/DescribeRegionsRequest.cc +++ b/rds/src/model/DescribeRegionsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeRegionsRequest; - -DescribeRegionsRequest::DescribeRegionsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeRegions") -{} - -DescribeRegionsRequest::~DescribeRegionsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeRegionsRequest; + +DescribeRegionsRequest::DescribeRegionsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeRegions") +{} + +DescribeRegionsRequest::~DescribeRegionsRequest() +{} + long DescribeRegionsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeRegionsResult.cc b/rds/src/model/DescribeRegionsResult.cc index 181caf7aa..e04185a18 100644 --- a/rds/src/model/DescribeRegionsResult.cc +++ b/rds/src/model/DescribeRegionsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeRegionsResult::DescribeRegionsResult() : - ServiceResult() -{} - -DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRegionsResult::~DescribeRegionsResult() -{} - -void DescribeRegionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeRegionsResult::DescribeRegionsResult() : + ServiceResult() +{} + +DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRegionsResult::~DescribeRegionsResult() +{} + +void DescribeRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRegions = value["Regions"]["RDSRegion"]; for (auto value : allRegions) { @@ -50,9 +50,9 @@ void DescribeRegionsResult::parse(const std::string &payload) regionsObject.zoneId = value["ZoneId"].asString(); regions_.push_back(regionsObject); } - -} - + +} + std::vector DescribeRegionsResult::getRegions()const { return regions_; diff --git a/rds/src/model/DescribeRenewalPriceRequest.cc b/rds/src/model/DescribeRenewalPriceRequest.cc index 2a0221c51..2cd117da5 100644 --- a/rds/src/model/DescribeRenewalPriceRequest.cc +++ b/rds/src/model/DescribeRenewalPriceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeRenewalPriceRequest; - -DescribeRenewalPriceRequest::DescribeRenewalPriceRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeRenewalPrice") -{} - -DescribeRenewalPriceRequest::~DescribeRenewalPriceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeRenewalPriceRequest; + +DescribeRenewalPriceRequest::DescribeRenewalPriceRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeRenewalPrice") +{} + +DescribeRenewalPriceRequest::~DescribeRenewalPriceRequest() +{} + long DescribeRenewalPriceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeRenewalPriceResult.cc b/rds/src/model/DescribeRenewalPriceResult.cc index 42f542349..d650b764a 100644 --- a/rds/src/model/DescribeRenewalPriceResult.cc +++ b/rds/src/model/DescribeRenewalPriceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeRenewalPriceResult::DescribeRenewalPriceResult() : - ServiceResult() -{} - -DescribeRenewalPriceResult::DescribeRenewalPriceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRenewalPriceResult::~DescribeRenewalPriceResult() -{} - -void DescribeRenewalPriceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeRenewalPriceResult::DescribeRenewalPriceResult() : + ServiceResult() +{} + +DescribeRenewalPriceResult::DescribeRenewalPriceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRenewalPriceResult::~DescribeRenewalPriceResult() +{} + +void DescribeRenewalPriceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allRules = value["Rules"]["Rule"]; for (auto value : allRules) { @@ -85,9 +85,9 @@ void DescribeRenewalPriceResult::parse(const std::string &payload) auto allRuleIds = priceInfoNode["RuleIds"]["RuleId"]; for (auto value : allRuleIds) priceInfo_.ruleIds.push_back(value.asString()); - -} - + +} + std::vector DescribeRenewalPriceResult::getRules()const { return rules_; diff --git a/rds/src/model/DescribeResourceUsageRequest.cc b/rds/src/model/DescribeResourceUsageRequest.cc index 178fc972b..b1fcbb466 100644 --- a/rds/src/model/DescribeResourceUsageRequest.cc +++ b/rds/src/model/DescribeResourceUsageRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeResourceUsageRequest; - -DescribeResourceUsageRequest::DescribeResourceUsageRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeResourceUsage") -{} - -DescribeResourceUsageRequest::~DescribeResourceUsageRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeResourceUsageRequest; + +DescribeResourceUsageRequest::DescribeResourceUsageRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeResourceUsage") +{} + +DescribeResourceUsageRequest::~DescribeResourceUsageRequest() +{} + long DescribeResourceUsageRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeResourceUsageResult.cc b/rds/src/model/DescribeResourceUsageResult.cc index d4bc5f8c3..17faa2273 100644 --- a/rds/src/model/DescribeResourceUsageResult.cc +++ b/rds/src/model/DescribeResourceUsageResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeResourceUsageResult::DescribeResourceUsageResult() : - ServiceResult() -{} - -DescribeResourceUsageResult::DescribeResourceUsageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeResourceUsageResult::~DescribeResourceUsageResult() -{} - -void DescribeResourceUsageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeResourceUsageResult::DescribeResourceUsageResult() : + ServiceResult() +{} + +DescribeResourceUsageResult::DescribeResourceUsageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeResourceUsageResult::~DescribeResourceUsageResult() +{} + +void DescribeResourceUsageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["Engine"].isNull()) @@ -60,9 +60,9 @@ void DescribeResourceUsageResult::parse(const std::string &payload) sQLSize_ = std::stol(value["SQLSize"].asString()); if(!value["ColdBackupSize"].isNull()) coldBackupSize_ = std::stol(value["ColdBackupSize"].asString()); - -} - + +} + long DescribeResourceUsageResult::getLogSize()const { return logSize_; diff --git a/rds/src/model/DescribeSQLLogFilesRequest.cc b/rds/src/model/DescribeSQLLogFilesRequest.cc index 1205b2935..25fda302d 100644 --- a/rds/src/model/DescribeSQLLogFilesRequest.cc +++ b/rds/src/model/DescribeSQLLogFilesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSQLLogFilesRequest; - -DescribeSQLLogFilesRequest::DescribeSQLLogFilesRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogFiles") -{} - -DescribeSQLLogFilesRequest::~DescribeSQLLogFilesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSQLLogFilesRequest; + +DescribeSQLLogFilesRequest::DescribeSQLLogFilesRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogFiles") +{} + +DescribeSQLLogFilesRequest::~DescribeSQLLogFilesRequest() +{} + long DescribeSQLLogFilesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSQLLogFilesResult.cc b/rds/src/model/DescribeSQLLogFilesResult.cc index e582776a3..8fa6e6f8a 100644 --- a/rds/src/model/DescribeSQLLogFilesResult.cc +++ b/rds/src/model/DescribeSQLLogFilesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSQLLogFilesResult::DescribeSQLLogFilesResult() : - ServiceResult() -{} - -DescribeSQLLogFilesResult::DescribeSQLLogFilesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSQLLogFilesResult::~DescribeSQLLogFilesResult() -{} - -void DescribeSQLLogFilesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLLogFilesResult::DescribeSQLLogFilesResult() : + ServiceResult() +{} + +DescribeSQLLogFilesResult::DescribeSQLLogFilesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLLogFilesResult::~DescribeSQLLogFilesResult() +{} + +void DescribeSQLLogFilesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["LogFile"]; for (auto value : allItems) { @@ -64,9 +64,9 @@ void DescribeSQLLogFilesResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeSQLLogFilesResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeSQLLogRecordsRequest.cc b/rds/src/model/DescribeSQLLogRecordsRequest.cc index 77560ccd2..45c52e9c0 100644 --- a/rds/src/model/DescribeSQLLogRecordsRequest.cc +++ b/rds/src/model/DescribeSQLLogRecordsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSQLLogRecordsRequest; - -DescribeSQLLogRecordsRequest::DescribeSQLLogRecordsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogRecords") -{} - -DescribeSQLLogRecordsRequest::~DescribeSQLLogRecordsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSQLLogRecordsRequest; + +DescribeSQLLogRecordsRequest::DescribeSQLLogRecordsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogRecords") +{} + +DescribeSQLLogRecordsRequest::~DescribeSQLLogRecordsRequest() +{} + long DescribeSQLLogRecordsRequest::getSQLId()const { return sQLId_; diff --git a/rds/src/model/DescribeSQLLogRecordsResult.cc b/rds/src/model/DescribeSQLLogRecordsResult.cc index e4d9f7fe7..5ae06b743 100644 --- a/rds/src/model/DescribeSQLLogRecordsResult.cc +++ b/rds/src/model/DescribeSQLLogRecordsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSQLLogRecordsResult::DescribeSQLLogRecordsResult() : - ServiceResult() -{} - -DescribeSQLLogRecordsResult::DescribeSQLLogRecordsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSQLLogRecordsResult::~DescribeSQLLogRecordsResult() -{} - -void DescribeSQLLogRecordsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLLogRecordsResult::DescribeSQLLogRecordsResult() : + ServiceResult() +{} + +DescribeSQLLogRecordsResult::DescribeSQLLogRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLLogRecordsResult::~DescribeSQLLogRecordsResult() +{} + +void DescribeSQLLogRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["SQLRecord"]; for (auto value : allItems) { @@ -68,9 +68,9 @@ void DescribeSQLLogRecordsResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + long DescribeSQLLogRecordsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeSQLLogReportListRequest.cc b/rds/src/model/DescribeSQLLogReportListRequest.cc index 70a7009ad..182d1c1c2 100644 --- a/rds/src/model/DescribeSQLLogReportListRequest.cc +++ b/rds/src/model/DescribeSQLLogReportListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSQLLogReportListRequest; - -DescribeSQLLogReportListRequest::DescribeSQLLogReportListRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogReportList") -{} - -DescribeSQLLogReportListRequest::~DescribeSQLLogReportListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSQLLogReportListRequest; + +DescribeSQLLogReportListRequest::DescribeSQLLogReportListRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogReportList") +{} + +DescribeSQLLogReportListRequest::~DescribeSQLLogReportListRequest() +{} + long DescribeSQLLogReportListRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSQLLogReportListResult.cc b/rds/src/model/DescribeSQLLogReportListResult.cc index bc2c0db50..02bdf2b7e 100644 --- a/rds/src/model/DescribeSQLLogReportListResult.cc +++ b/rds/src/model/DescribeSQLLogReportListResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSQLLogReportListResult::DescribeSQLLogReportListResult() : - ServiceResult() -{} - -DescribeSQLLogReportListResult::DescribeSQLLogReportListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSQLLogReportListResult::~DescribeSQLLogReportListResult() -{} - -void DescribeSQLLogReportListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLLogReportListResult::DescribeSQLLogReportListResult() : + ServiceResult() +{} + +DescribeSQLLogReportListResult::DescribeSQLLogReportListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLLogReportListResult::~DescribeSQLLogReportListResult() +{} + +void DescribeSQLLogReportListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["Item"]; for (auto value : allItems) { @@ -76,9 +76,9 @@ void DescribeSQLLogReportListResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeSQLLogReportListResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeSQLLogReportsRequest.cc b/rds/src/model/DescribeSQLLogReportsRequest.cc index 5d76e9106..ad15f2b0e 100644 --- a/rds/src/model/DescribeSQLLogReportsRequest.cc +++ b/rds/src/model/DescribeSQLLogReportsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSQLLogReportsRequest; - -DescribeSQLLogReportsRequest::DescribeSQLLogReportsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogReports") -{} - -DescribeSQLLogReportsRequest::~DescribeSQLLogReportsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSQLLogReportsRequest; + +DescribeSQLLogReportsRequest::DescribeSQLLogReportsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLLogReports") +{} + +DescribeSQLLogReportsRequest::~DescribeSQLLogReportsRequest() +{} + long DescribeSQLLogReportsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSQLLogReportsResult.cc b/rds/src/model/DescribeSQLLogReportsResult.cc index d4c529f22..eaa2ae15f 100644 --- a/rds/src/model/DescribeSQLLogReportsResult.cc +++ b/rds/src/model/DescribeSQLLogReportsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSQLLogReportsResult::DescribeSQLLogReportsResult() : - ServiceResult() -{} - -DescribeSQLLogReportsResult::DescribeSQLLogReportsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSQLLogReportsResult::~DescribeSQLLogReportsResult() -{} - -void DescribeSQLLogReportsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLLogReportsResult::DescribeSQLLogReportsResult() : + ServiceResult() +{} + +DescribeSQLLogReportsResult::DescribeSQLLogReportsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLLogReportsResult::~DescribeSQLLogReportsResult() +{} + +void DescribeSQLLogReportsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["Item"]; for (auto value : allItems) { @@ -76,9 +76,9 @@ void DescribeSQLLogReportsResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeSQLLogReportsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeSQLReportsRequest.cc b/rds/src/model/DescribeSQLReportsRequest.cc index 8f9516bea..e63a185a8 100644 --- a/rds/src/model/DescribeSQLReportsRequest.cc +++ b/rds/src/model/DescribeSQLReportsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSQLReportsRequest; - -DescribeSQLReportsRequest::DescribeSQLReportsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSQLReports") -{} - -DescribeSQLReportsRequest::~DescribeSQLReportsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSQLReportsRequest; + +DescribeSQLReportsRequest::DescribeSQLReportsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSQLReports") +{} + +DescribeSQLReportsRequest::~DescribeSQLReportsRequest() +{} + long DescribeSQLReportsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSQLReportsResult.cc b/rds/src/model/DescribeSQLReportsResult.cc index b7d68fc3a..d2a96a705 100644 --- a/rds/src/model/DescribeSQLReportsResult.cc +++ b/rds/src/model/DescribeSQLReportsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSQLReportsResult::DescribeSQLReportsResult() : - ServiceResult() -{} - -DescribeSQLReportsResult::DescribeSQLReportsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSQLReportsResult::~DescribeSQLReportsResult() -{} - -void DescribeSQLReportsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSQLReportsResult::DescribeSQLReportsResult() : + ServiceResult() +{} + +DescribeSQLReportsResult::DescribeSQLReportsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSQLReportsResult::~DescribeSQLReportsResult() +{} + +void DescribeSQLReportsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["Item"]; for (auto value : allItems) { @@ -76,9 +76,9 @@ void DescribeSQLReportsResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeSQLReportsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeSecurityGroupConfigurationRequest.cc b/rds/src/model/DescribeSecurityGroupConfigurationRequest.cc index 4faaea6b9..321d6fd3a 100644 --- a/rds/src/model/DescribeSecurityGroupConfigurationRequest.cc +++ b/rds/src/model/DescribeSecurityGroupConfigurationRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSecurityGroupConfigurationRequest; - -DescribeSecurityGroupConfigurationRequest::DescribeSecurityGroupConfigurationRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSecurityGroupConfiguration") -{} - -DescribeSecurityGroupConfigurationRequest::~DescribeSecurityGroupConfigurationRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSecurityGroupConfigurationRequest; + +DescribeSecurityGroupConfigurationRequest::DescribeSecurityGroupConfigurationRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSecurityGroupConfiguration") +{} + +DescribeSecurityGroupConfigurationRequest::~DescribeSecurityGroupConfigurationRequest() +{} + long DescribeSecurityGroupConfigurationRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSecurityGroupConfigurationResult.cc b/rds/src/model/DescribeSecurityGroupConfigurationResult.cc index a6d1f4b9e..d2a49f8cf 100644 --- a/rds/src/model/DescribeSecurityGroupConfigurationResult.cc +++ b/rds/src/model/DescribeSecurityGroupConfigurationResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSecurityGroupConfigurationResult::DescribeSecurityGroupConfigurationResult() : - ServiceResult() -{} - -DescribeSecurityGroupConfigurationResult::DescribeSecurityGroupConfigurationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSecurityGroupConfigurationResult::~DescribeSecurityGroupConfigurationResult() -{} - -void DescribeSecurityGroupConfigurationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSecurityGroupConfigurationResult::DescribeSecurityGroupConfigurationResult() : + ServiceResult() +{} + +DescribeSecurityGroupConfigurationResult::DescribeSecurityGroupConfigurationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSecurityGroupConfigurationResult::~DescribeSecurityGroupConfigurationResult() +{} + +void DescribeSecurityGroupConfigurationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["EcsSecurityGroupRelation"]; for (auto value : allItems) { @@ -54,9 +54,9 @@ void DescribeSecurityGroupConfigurationResult::parse(const std::string &payload) } if(!value["DBInstanceName"].isNull()) dBInstanceName_ = value["DBInstanceName"].asString(); - -} - + +} + std::vector DescribeSecurityGroupConfigurationResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeSlowLogRecordsRequest.cc b/rds/src/model/DescribeSlowLogRecordsRequest.cc index 0b27c1dbd..12dcb0040 100644 --- a/rds/src/model/DescribeSlowLogRecordsRequest.cc +++ b/rds/src/model/DescribeSlowLogRecordsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSlowLogRecordsRequest; - -DescribeSlowLogRecordsRequest::DescribeSlowLogRecordsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSlowLogRecords") -{} - -DescribeSlowLogRecordsRequest::~DescribeSlowLogRecordsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSlowLogRecordsRequest; + +DescribeSlowLogRecordsRequest::DescribeSlowLogRecordsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSlowLogRecords") +{} + +DescribeSlowLogRecordsRequest::~DescribeSlowLogRecordsRequest() +{} + long DescribeSlowLogRecordsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSlowLogRecordsResult.cc b/rds/src/model/DescribeSlowLogRecordsResult.cc index fcc5acfb5..1098c352e 100644 --- a/rds/src/model/DescribeSlowLogRecordsResult.cc +++ b/rds/src/model/DescribeSlowLogRecordsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSlowLogRecordsResult::DescribeSlowLogRecordsResult() : - ServiceResult() -{} - -DescribeSlowLogRecordsResult::DescribeSlowLogRecordsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSlowLogRecordsResult::~DescribeSlowLogRecordsResult() -{} - -void DescribeSlowLogRecordsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSlowLogRecordsResult::DescribeSlowLogRecordsResult() : + ServiceResult() +{} + +DescribeSlowLogRecordsResult::DescribeSlowLogRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSlowLogRecordsResult::~DescribeSlowLogRecordsResult() +{} + +void DescribeSlowLogRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["SQLSlowRecord"]; for (auto value : allItems) { @@ -72,9 +72,9 @@ void DescribeSlowLogRecordsResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeSlowLogRecordsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeSlowLogsRequest.cc b/rds/src/model/DescribeSlowLogsRequest.cc index f1da57369..8c2a91676 100644 --- a/rds/src/model/DescribeSlowLogsRequest.cc +++ b/rds/src/model/DescribeSlowLogsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeSlowLogsRequest; - -DescribeSlowLogsRequest::DescribeSlowLogsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeSlowLogs") -{} - -DescribeSlowLogsRequest::~DescribeSlowLogsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeSlowLogsRequest; + +DescribeSlowLogsRequest::DescribeSlowLogsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeSlowLogs") +{} + +DescribeSlowLogsRequest::~DescribeSlowLogsRequest() +{} + long DescribeSlowLogsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeSlowLogsResult.cc b/rds/src/model/DescribeSlowLogsResult.cc index d2dd0bd13..79a57a227 100644 --- a/rds/src/model/DescribeSlowLogsResult.cc +++ b/rds/src/model/DescribeSlowLogsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeSlowLogsResult::DescribeSlowLogsResult() : - ServiceResult() -{} - -DescribeSlowLogsResult::DescribeSlowLogsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeSlowLogsResult::~DescribeSlowLogsResult() -{} - -void DescribeSlowLogsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeSlowLogsResult::DescribeSlowLogsResult() : + ServiceResult() +{} + +DescribeSlowLogsResult::DescribeSlowLogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeSlowLogsResult::~DescribeSlowLogsResult() +{} + +void DescribeSlowLogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["SQLSlowLog"]; for (auto value : allItems) { @@ -102,9 +102,9 @@ void DescribeSlowLogsResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeSlowLogsResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeTagsRequest.cc b/rds/src/model/DescribeTagsRequest.cc index 69777d526..f274ab89d 100644 --- a/rds/src/model/DescribeTagsRequest.cc +++ b/rds/src/model/DescribeTagsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeTagsRequest; - -DescribeTagsRequest::DescribeTagsRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeTags") -{} - -DescribeTagsRequest::~DescribeTagsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeTagsRequest; + +DescribeTagsRequest::DescribeTagsRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeTags") +{} + +DescribeTagsRequest::~DescribeTagsRequest() +{} + long DescribeTagsRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeTagsResult.cc b/rds/src/model/DescribeTagsResult.cc index c372d0750..1ea7ad789 100644 --- a/rds/src/model/DescribeTagsResult.cc +++ b/rds/src/model/DescribeTagsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeTagsResult::DescribeTagsResult() : - ServiceResult() -{} - -DescribeTagsResult::DescribeTagsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeTagsResult::~DescribeTagsResult() -{} - -void DescribeTagsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeTagsResult::DescribeTagsResult() : + ServiceResult() +{} + +DescribeTagsResult::DescribeTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTagsResult::~DescribeTagsResult() +{} + +void DescribeTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["TagInfos"]; for (auto value : allItems) { @@ -53,9 +53,9 @@ void DescribeTagsResult::parse(const std::string &payload) itemsObject.dBInstanceIds.push_back(value.asString()); items_.push_back(itemsObject); } - -} - + +} + std::vector DescribeTagsResult::getItems()const { return items_; diff --git a/rds/src/model/DescribeTaskInfoRequest.cc b/rds/src/model/DescribeTaskInfoRequest.cc index c9caa09c9..0258220ef 100644 --- a/rds/src/model/DescribeTaskInfoRequest.cc +++ b/rds/src/model/DescribeTaskInfoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeTaskInfoRequest; - -DescribeTaskInfoRequest::DescribeTaskInfoRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeTaskInfo") -{} - -DescribeTaskInfoRequest::~DescribeTaskInfoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeTaskInfoRequest; + +DescribeTaskInfoRequest::DescribeTaskInfoRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeTaskInfo") +{} + +DescribeTaskInfoRequest::~DescribeTaskInfoRequest() +{} + long DescribeTaskInfoRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeTaskInfoResult.cc b/rds/src/model/DescribeTaskInfoResult.cc index 9ac2bffec..da0043788 100644 --- a/rds/src/model/DescribeTaskInfoResult.cc +++ b/rds/src/model/DescribeTaskInfoResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeTaskInfoResult::DescribeTaskInfoResult() : - ServiceResult() -{} - -DescribeTaskInfoResult::DescribeTaskInfoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeTaskInfoResult::~DescribeTaskInfoResult() -{} - -void DescribeTaskInfoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeTaskInfoResult::DescribeTaskInfoResult() : + ServiceResult() +{} + +DescribeTaskInfoResult::DescribeTaskInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTaskInfoResult::~DescribeTaskInfoResult() +{} + +void DescribeTaskInfoResult::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["BeginTime"].isNull()) @@ -64,9 +64,9 @@ void DescribeTaskInfoResult::parse(const std::string &payload) progressInfo_ = value["ProgressInfo"].asString(); if(!value["Status"].isNull()) status_ = value["Status"].asString(); - -} - + +} + std::string DescribeTaskInfoResult::getExpectedFinishTime()const { return expectedFinishTime_; diff --git a/rds/src/model/DescribeTasksRequest.cc b/rds/src/model/DescribeTasksRequest.cc index e428d047a..dc9442aad 100644 --- a/rds/src/model/DescribeTasksRequest.cc +++ b/rds/src/model/DescribeTasksRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeTasksRequest; - -DescribeTasksRequest::DescribeTasksRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeTasks") -{} - -DescribeTasksRequest::~DescribeTasksRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeTasksRequest; + +DescribeTasksRequest::DescribeTasksRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeTasks") +{} + +DescribeTasksRequest::~DescribeTasksRequest() +{} + long DescribeTasksRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeTasksResult.cc b/rds/src/model/DescribeTasksResult.cc index 0d2915aba..bef958aed 100644 --- a/rds/src/model/DescribeTasksResult.cc +++ b/rds/src/model/DescribeTasksResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeTasksResult::DescribeTasksResult() : - ServiceResult() -{} - -DescribeTasksResult::DescribeTasksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeTasksResult::~DescribeTasksResult() -{} - -void DescribeTasksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeTasksResult::DescribeTasksResult() : + ServiceResult() +{} + +DescribeTasksResult::DescribeTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTasksResult::~DescribeTasksResult() +{} + +void DescribeTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["TaskProgressInfo"]; for (auto value : allItems) { @@ -74,9 +74,9 @@ void DescribeTasksResult::parse(const std::string &payload) pageNumber_ = std::stoi(value["PageNumber"].asString()); if(!value["PageRecordCount"].isNull()) pageRecordCount_ = std::stoi(value["PageRecordCount"].asString()); - -} - + +} + int DescribeTasksResult::getTotalRecordCount()const { return totalRecordCount_; diff --git a/rds/src/model/DescribeTemplatesListRequest.cc b/rds/src/model/DescribeTemplatesListRequest.cc index 87b888f9e..37562f00d 100644 --- a/rds/src/model/DescribeTemplatesListRequest.cc +++ b/rds/src/model/DescribeTemplatesListRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::DescribeTemplatesListRequest; - -DescribeTemplatesListRequest::DescribeTemplatesListRequest() : - RpcServiceRequest("rds", "2014-08-15", "DescribeTemplatesList") -{} - -DescribeTemplatesListRequest::~DescribeTemplatesListRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::DescribeTemplatesListRequest; + +DescribeTemplatesListRequest::DescribeTemplatesListRequest() : + RpcServiceRequest("rds", "2014-08-15", "DescribeTemplatesList") +{} + +DescribeTemplatesListRequest::~DescribeTemplatesListRequest() +{} + long DescribeTemplatesListRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/DescribeTemplatesListResult.cc b/rds/src/model/DescribeTemplatesListResult.cc index 758ea4c68..b1aa403a6 100644 --- a/rds/src/model/DescribeTemplatesListResult.cc +++ b/rds/src/model/DescribeTemplatesListResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -DescribeTemplatesListResult::DescribeTemplatesListResult() : - ServiceResult() -{} - -DescribeTemplatesListResult::DescribeTemplatesListResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeTemplatesListResult::~DescribeTemplatesListResult() -{} - -void DescribeTemplatesListResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +DescribeTemplatesListResult::DescribeTemplatesListResult() : + ServiceResult() +{} + +DescribeTemplatesListResult::DescribeTemplatesListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplatesListResult::~DescribeTemplatesListResult() +{} + +void DescribeTemplatesListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["ItemsItem"]; for (auto value : allItems) { @@ -84,9 +84,9 @@ void DescribeTemplatesListResult::parse(const std::string &payload) pageNumbers_ = std::stoi(value["PageNumbers"].asString()); if(!value["ItemsNumbers"].isNull()) itemsNumbers_ = std::stoi(value["ItemsNumbers"].asString()); - -} - + +} + int DescribeTemplatesListResult::getMaxRecordsPerPage()const { return maxRecordsPerPage_; diff --git a/rds/src/model/EvaluateSupportByokShowRequest.cc b/rds/src/model/EvaluateSupportByokShowRequest.cc new file mode 100644 index 000000000..bfbc26f7d --- /dev/null +++ b/rds/src/model/EvaluateSupportByokShowRequest.cc @@ -0,0 +1,159 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::EvaluateSupportByokShowRequest; + +EvaluateSupportByokShowRequest::EvaluateSupportByokShowRequest() : + RpcServiceRequest("rds", "2014-08-15", "EvaluateSupportByokShow") +{} + +EvaluateSupportByokShowRequest::~EvaluateSupportByokShowRequest() +{} + +long EvaluateSupportByokShowRequest::getResourceOwnerId()const +{ + return resourceOwnerId_; +} + +void EvaluateSupportByokShowRequest::setResourceOwnerId(long resourceOwnerId) +{ + resourceOwnerId_ = resourceOwnerId; + setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId)); +} + +std::string EvaluateSupportByokShowRequest::getNodeType()const +{ + return nodeType_; +} + +void EvaluateSupportByokShowRequest::setNodeType(const std::string& nodeType) +{ + nodeType_ = nodeType; + setCoreParameter("NodeType", nodeType); +} + +std::string EvaluateSupportByokShowRequest::getResourceOwnerAccount()const +{ + return resourceOwnerAccount_; +} + +void EvaluateSupportByokShowRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount) +{ + resourceOwnerAccount_ = resourceOwnerAccount; + setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount); +} + +std::string EvaluateSupportByokShowRequest::getOwnerAccount()const +{ + return ownerAccount_; +} + +void EvaluateSupportByokShowRequest::setOwnerAccount(const std::string& ownerAccount) +{ + ownerAccount_ = ownerAccount; + setCoreParameter("OwnerAccount", ownerAccount); +} + +std::string EvaluateSupportByokShowRequest::getEngineVersion()const +{ + return engineVersion_; +} + +void EvaluateSupportByokShowRequest::setEngineVersion(const std::string& engineVersion) +{ + engineVersion_ = engineVersion; + setCoreParameter("EngineVersion", engineVersion); +} + +long EvaluateSupportByokShowRequest::getOwnerId()const +{ + return ownerId_; +} + +void EvaluateSupportByokShowRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setCoreParameter("OwnerId", std::to_string(ownerId)); +} + +std::string EvaluateSupportByokShowRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void EvaluateSupportByokShowRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + +std::string EvaluateSupportByokShowRequest::getSecurityToken()const +{ + return securityToken_; +} + +void EvaluateSupportByokShowRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setCoreParameter("SecurityToken", securityToken); +} + +std::string EvaluateSupportByokShowRequest::getRegionId()const +{ + return regionId_; +} + +void EvaluateSupportByokShowRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string EvaluateSupportByokShowRequest::getEngine()const +{ + return engine_; +} + +void EvaluateSupportByokShowRequest::setEngine(const std::string& engine) +{ + engine_ = engine; + setCoreParameter("Engine", engine); +} + +std::string EvaluateSupportByokShowRequest::getTargetRegionId()const +{ + return targetRegionId_; +} + +void EvaluateSupportByokShowRequest::setTargetRegionId(const std::string& targetRegionId) +{ + targetRegionId_ = targetRegionId; + setCoreParameter("TargetRegionId", targetRegionId); +} + +std::string EvaluateSupportByokShowRequest::getDbInstanceStorageType()const +{ + return dbInstanceStorageType_; +} + +void EvaluateSupportByokShowRequest::setDbInstanceStorageType(const std::string& dbInstanceStorageType) +{ + dbInstanceStorageType_ = dbInstanceStorageType; + setCoreParameter("DbInstanceStorageType", dbInstanceStorageType); +} + diff --git a/rds/src/model/EvaluateSupportByokShowResult.cc b/rds/src/model/EvaluateSupportByokShowResult.cc new file mode 100644 index 000000000..cb74aca04 --- /dev/null +++ b/rds/src/model/EvaluateSupportByokShowResult.cc @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +EvaluateSupportByokShowResult::EvaluateSupportByokShowResult() : + ServiceResult() +{} + +EvaluateSupportByokShowResult::EvaluateSupportByokShowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +EvaluateSupportByokShowResult::~EvaluateSupportByokShowResult() +{} + +void EvaluateSupportByokShowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["SupportByokShow"].isNull()) + supportByokShow_ = std::stoi(value["SupportByokShow"].asString()); + if(!value["SupportByokZone"].isNull()) + supportByokZone_ = value["SupportByokZone"].asString(); + +} + +std::string EvaluateSupportByokShowResult::getSupportByokZone()const +{ + return supportByokZone_; +} + +int EvaluateSupportByokShowResult::getSupportByokShow()const +{ + return supportByokShow_; +} + diff --git a/rds/src/model/GrantAccountPrivilegeRequest.cc b/rds/src/model/GrantAccountPrivilegeRequest.cc index 1b902aeeb..a18d0025c 100644 --- a/rds/src/model/GrantAccountPrivilegeRequest.cc +++ b/rds/src/model/GrantAccountPrivilegeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::GrantAccountPrivilegeRequest; - -GrantAccountPrivilegeRequest::GrantAccountPrivilegeRequest() : - RpcServiceRequest("rds", "2014-08-15", "GrantAccountPrivilege") -{} - -GrantAccountPrivilegeRequest::~GrantAccountPrivilegeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::GrantAccountPrivilegeRequest; + +GrantAccountPrivilegeRequest::GrantAccountPrivilegeRequest() : + RpcServiceRequest("rds", "2014-08-15", "GrantAccountPrivilege") +{} + +GrantAccountPrivilegeRequest::~GrantAccountPrivilegeRequest() +{} + long GrantAccountPrivilegeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/GrantAccountPrivilegeResult.cc b/rds/src/model/GrantAccountPrivilegeResult.cc index d3a2847e7..76b95ae08 100644 --- a/rds/src/model/GrantAccountPrivilegeResult.cc +++ b/rds/src/model/GrantAccountPrivilegeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -GrantAccountPrivilegeResult::GrantAccountPrivilegeResult() : - ServiceResult() -{} - -GrantAccountPrivilegeResult::GrantAccountPrivilegeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GrantAccountPrivilegeResult::~GrantAccountPrivilegeResult() -{} - -void GrantAccountPrivilegeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +GrantAccountPrivilegeResult::GrantAccountPrivilegeResult() : + ServiceResult() +{} + +GrantAccountPrivilegeResult::GrantAccountPrivilegeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GrantAccountPrivilegeResult::~GrantAccountPrivilegeResult() +{} + +void GrantAccountPrivilegeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/GrantOperatorPermissionRequest.cc b/rds/src/model/GrantOperatorPermissionRequest.cc index 2c0016eb9..732d10021 100644 --- a/rds/src/model/GrantOperatorPermissionRequest.cc +++ b/rds/src/model/GrantOperatorPermissionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::GrantOperatorPermissionRequest; - -GrantOperatorPermissionRequest::GrantOperatorPermissionRequest() : - RpcServiceRequest("rds", "2014-08-15", "GrantOperatorPermission") -{} - -GrantOperatorPermissionRequest::~GrantOperatorPermissionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::GrantOperatorPermissionRequest; + +GrantOperatorPermissionRequest::GrantOperatorPermissionRequest() : + RpcServiceRequest("rds", "2014-08-15", "GrantOperatorPermission") +{} + +GrantOperatorPermissionRequest::~GrantOperatorPermissionRequest() +{} + std::string GrantOperatorPermissionRequest::getPrivileges()const { return privileges_; diff --git a/rds/src/model/GrantOperatorPermissionResult.cc b/rds/src/model/GrantOperatorPermissionResult.cc index 64598fc68..e14a7dc39 100644 --- a/rds/src/model/GrantOperatorPermissionResult.cc +++ b/rds/src/model/GrantOperatorPermissionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -GrantOperatorPermissionResult::GrantOperatorPermissionResult() : - ServiceResult() -{} - -GrantOperatorPermissionResult::GrantOperatorPermissionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GrantOperatorPermissionResult::~GrantOperatorPermissionResult() -{} - -void GrantOperatorPermissionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +GrantOperatorPermissionResult::GrantOperatorPermissionResult() : + ServiceResult() +{} + +GrantOperatorPermissionResult::GrantOperatorPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GrantOperatorPermissionResult::~GrantOperatorPermissionResult() +{} + +void GrantOperatorPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ImportDataForSQLServerRequest.cc b/rds/src/model/ImportDataForSQLServerRequest.cc index 6538cf322..1f3377b52 100644 --- a/rds/src/model/ImportDataForSQLServerRequest.cc +++ b/rds/src/model/ImportDataForSQLServerRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ImportDataForSQLServerRequest; - -ImportDataForSQLServerRequest::ImportDataForSQLServerRequest() : - RpcServiceRequest("rds", "2014-08-15", "ImportDataForSQLServer") -{} - -ImportDataForSQLServerRequest::~ImportDataForSQLServerRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ImportDataForSQLServerRequest; + +ImportDataForSQLServerRequest::ImportDataForSQLServerRequest() : + RpcServiceRequest("rds", "2014-08-15", "ImportDataForSQLServer") +{} + +ImportDataForSQLServerRequest::~ImportDataForSQLServerRequest() +{} + long ImportDataForSQLServerRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ImportDataForSQLServerResult.cc b/rds/src/model/ImportDataForSQLServerResult.cc index 5bbdfa659..9fcc7e639 100644 --- a/rds/src/model/ImportDataForSQLServerResult.cc +++ b/rds/src/model/ImportDataForSQLServerResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ImportDataForSQLServerResult::ImportDataForSQLServerResult() : - ServiceResult() -{} - -ImportDataForSQLServerResult::ImportDataForSQLServerResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ImportDataForSQLServerResult::~ImportDataForSQLServerResult() -{} - -void ImportDataForSQLServerResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ImportDataForSQLServerResult::ImportDataForSQLServerResult() : + ServiceResult() +{} + +ImportDataForSQLServerResult::ImportDataForSQLServerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportDataForSQLServerResult::~ImportDataForSQLServerResult() +{} + +void ImportDataForSQLServerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["ImportID"].isNull()) importID_ = std::stoi(value["ImportID"].asString()); - -} - + +} + int ImportDataForSQLServerResult::getImportID()const { return importID_; diff --git a/rds/src/model/ImportDatabaseBetweenInstancesRequest.cc b/rds/src/model/ImportDatabaseBetweenInstancesRequest.cc index 48bea2137..2e12dccaf 100644 --- a/rds/src/model/ImportDatabaseBetweenInstancesRequest.cc +++ b/rds/src/model/ImportDatabaseBetweenInstancesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ImportDatabaseBetweenInstancesRequest; - -ImportDatabaseBetweenInstancesRequest::ImportDatabaseBetweenInstancesRequest() : - RpcServiceRequest("rds", "2014-08-15", "ImportDatabaseBetweenInstances") -{} - -ImportDatabaseBetweenInstancesRequest::~ImportDatabaseBetweenInstancesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ImportDatabaseBetweenInstancesRequest; + +ImportDatabaseBetweenInstancesRequest::ImportDatabaseBetweenInstancesRequest() : + RpcServiceRequest("rds", "2014-08-15", "ImportDatabaseBetweenInstances") +{} + +ImportDatabaseBetweenInstancesRequest::~ImportDatabaseBetweenInstancesRequest() +{} + long ImportDatabaseBetweenInstancesRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ImportDatabaseBetweenInstancesResult.cc b/rds/src/model/ImportDatabaseBetweenInstancesResult.cc index ab6ad7912..487047fa7 100644 --- a/rds/src/model/ImportDatabaseBetweenInstancesResult.cc +++ b/rds/src/model/ImportDatabaseBetweenInstancesResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ImportDatabaseBetweenInstancesResult::ImportDatabaseBetweenInstancesResult() : - ServiceResult() -{} - -ImportDatabaseBetweenInstancesResult::ImportDatabaseBetweenInstancesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ImportDatabaseBetweenInstancesResult::~ImportDatabaseBetweenInstancesResult() -{} - -void ImportDatabaseBetweenInstancesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ImportDatabaseBetweenInstancesResult::ImportDatabaseBetweenInstancesResult() : + ServiceResult() +{} + +ImportDatabaseBetweenInstancesResult::ImportDatabaseBetweenInstancesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportDatabaseBetweenInstancesResult::~ImportDatabaseBetweenInstancesResult() +{} + +void ImportDatabaseBetweenInstancesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["ImportId"].isNull()) importId_ = value["ImportId"].asString(); - -} - + +} + std::string ImportDatabaseBetweenInstancesResult::getImportId()const { return importId_; diff --git a/rds/src/model/MigrateSecurityIPModeRequest.cc b/rds/src/model/MigrateSecurityIPModeRequest.cc index c3ee7899a..a54c9f3dd 100644 --- a/rds/src/model/MigrateSecurityIPModeRequest.cc +++ b/rds/src/model/MigrateSecurityIPModeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::MigrateSecurityIPModeRequest; - -MigrateSecurityIPModeRequest::MigrateSecurityIPModeRequest() : - RpcServiceRequest("rds", "2014-08-15", "MigrateSecurityIPMode") -{} - -MigrateSecurityIPModeRequest::~MigrateSecurityIPModeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::MigrateSecurityIPModeRequest; + +MigrateSecurityIPModeRequest::MigrateSecurityIPModeRequest() : + RpcServiceRequest("rds", "2014-08-15", "MigrateSecurityIPMode") +{} + +MigrateSecurityIPModeRequest::~MigrateSecurityIPModeRequest() +{} + long MigrateSecurityIPModeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/MigrateSecurityIPModeResult.cc b/rds/src/model/MigrateSecurityIPModeResult.cc index 0606a53b3..42eee7d26 100644 --- a/rds/src/model/MigrateSecurityIPModeResult.cc +++ b/rds/src/model/MigrateSecurityIPModeResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -MigrateSecurityIPModeResult::MigrateSecurityIPModeResult() : - ServiceResult() -{} - -MigrateSecurityIPModeResult::MigrateSecurityIPModeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MigrateSecurityIPModeResult::~MigrateSecurityIPModeResult() -{} - -void MigrateSecurityIPModeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +MigrateSecurityIPModeResult::MigrateSecurityIPModeResult() : + ServiceResult() +{} + +MigrateSecurityIPModeResult::MigrateSecurityIPModeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MigrateSecurityIPModeResult::~MigrateSecurityIPModeResult() +{} + +void MigrateSecurityIPModeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["SecurityIPMode"].isNull()) securityIPMode_ = value["SecurityIPMode"].asString(); - -} - + +} + std::string MigrateSecurityIPModeResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/MigrateToOtherRegionRequest.cc b/rds/src/model/MigrateToOtherRegionRequest.cc index 18aa9f943..b4d96101c 100644 --- a/rds/src/model/MigrateToOtherRegionRequest.cc +++ b/rds/src/model/MigrateToOtherRegionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::MigrateToOtherRegionRequest; - -MigrateToOtherRegionRequest::MigrateToOtherRegionRequest() : - RpcServiceRequest("rds", "2014-08-15", "MigrateToOtherRegion") -{} - -MigrateToOtherRegionRequest::~MigrateToOtherRegionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::MigrateToOtherRegionRequest; + +MigrateToOtherRegionRequest::MigrateToOtherRegionRequest() : + RpcServiceRequest("rds", "2014-08-15", "MigrateToOtherRegion") +{} + +MigrateToOtherRegionRequest::~MigrateToOtherRegionRequest() +{} + long MigrateToOtherRegionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/MigrateToOtherRegionResult.cc b/rds/src/model/MigrateToOtherRegionResult.cc index 7201bacd1..8c613c1cd 100644 --- a/rds/src/model/MigrateToOtherRegionResult.cc +++ b/rds/src/model/MigrateToOtherRegionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -MigrateToOtherRegionResult::MigrateToOtherRegionResult() : - ServiceResult() -{} - -MigrateToOtherRegionResult::MigrateToOtherRegionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MigrateToOtherRegionResult::~MigrateToOtherRegionResult() -{} - -void MigrateToOtherRegionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +MigrateToOtherRegionResult::MigrateToOtherRegionResult() : + ServiceResult() +{} + +MigrateToOtherRegionResult::MigrateToOtherRegionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MigrateToOtherRegionResult::~MigrateToOtherRegionResult() +{} + +void MigrateToOtherRegionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/MigrateToOtherZoneRequest.cc b/rds/src/model/MigrateToOtherZoneRequest.cc index c389f1268..5a5c0a456 100644 --- a/rds/src/model/MigrateToOtherZoneRequest.cc +++ b/rds/src/model/MigrateToOtherZoneRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::MigrateToOtherZoneRequest; - -MigrateToOtherZoneRequest::MigrateToOtherZoneRequest() : - RpcServiceRequest("rds", "2014-08-15", "MigrateToOtherZone") -{} - -MigrateToOtherZoneRequest::~MigrateToOtherZoneRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::MigrateToOtherZoneRequest; + +MigrateToOtherZoneRequest::MigrateToOtherZoneRequest() : + RpcServiceRequest("rds", "2014-08-15", "MigrateToOtherZone") +{} + +MigrateToOtherZoneRequest::~MigrateToOtherZoneRequest() +{} + long MigrateToOtherZoneRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/MigrateToOtherZoneResult.cc b/rds/src/model/MigrateToOtherZoneResult.cc index 8eb40a2e6..2eb14969d 100644 --- a/rds/src/model/MigrateToOtherZoneResult.cc +++ b/rds/src/model/MigrateToOtherZoneResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -MigrateToOtherZoneResult::MigrateToOtherZoneResult() : - ServiceResult() -{} - -MigrateToOtherZoneResult::MigrateToOtherZoneResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -MigrateToOtherZoneResult::~MigrateToOtherZoneResult() -{} - -void MigrateToOtherZoneResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +MigrateToOtherZoneResult::MigrateToOtherZoneResult() : + ServiceResult() +{} + +MigrateToOtherZoneResult::MigrateToOtherZoneResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +MigrateToOtherZoneResult::~MigrateToOtherZoneResult() +{} + +void MigrateToOtherZoneResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyAccountDescriptionRequest.cc b/rds/src/model/ModifyAccountDescriptionRequest.cc index 54a36d8df..ee65fd491 100644 --- a/rds/src/model/ModifyAccountDescriptionRequest.cc +++ b/rds/src/model/ModifyAccountDescriptionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyAccountDescriptionRequest; - -ModifyAccountDescriptionRequest::ModifyAccountDescriptionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyAccountDescription") -{} - -ModifyAccountDescriptionRequest::~ModifyAccountDescriptionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyAccountDescriptionRequest; + +ModifyAccountDescriptionRequest::ModifyAccountDescriptionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyAccountDescription") +{} + +ModifyAccountDescriptionRequest::~ModifyAccountDescriptionRequest() +{} + long ModifyAccountDescriptionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyAccountDescriptionResult.cc b/rds/src/model/ModifyAccountDescriptionResult.cc index 8b8222424..5ff77ff21 100644 --- a/rds/src/model/ModifyAccountDescriptionResult.cc +++ b/rds/src/model/ModifyAccountDescriptionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyAccountDescriptionResult::ModifyAccountDescriptionResult() : - ServiceResult() -{} - -ModifyAccountDescriptionResult::ModifyAccountDescriptionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyAccountDescriptionResult::~ModifyAccountDescriptionResult() -{} - -void ModifyAccountDescriptionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyAccountDescriptionResult::ModifyAccountDescriptionResult() : + ServiceResult() +{} + +ModifyAccountDescriptionResult::ModifyAccountDescriptionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyAccountDescriptionResult::~ModifyAccountDescriptionResult() +{} + +void ModifyAccountDescriptionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyBackupPolicyRequest.cc b/rds/src/model/ModifyBackupPolicyRequest.cc index 68a693949..51812e1c9 100644 --- a/rds/src/model/ModifyBackupPolicyRequest.cc +++ b/rds/src/model/ModifyBackupPolicyRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyBackupPolicyRequest; - -ModifyBackupPolicyRequest::ModifyBackupPolicyRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyBackupPolicy") -{} - -ModifyBackupPolicyRequest::~ModifyBackupPolicyRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyBackupPolicyRequest; + +ModifyBackupPolicyRequest::ModifyBackupPolicyRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyBackupPolicy") +{} + +ModifyBackupPolicyRequest::~ModifyBackupPolicyRequest() +{} + std::string ModifyBackupPolicyRequest::getPreferredBackupPeriod()const { return preferredBackupPeriod_; diff --git a/rds/src/model/ModifyBackupPolicyResult.cc b/rds/src/model/ModifyBackupPolicyResult.cc index cddaa03c4..d697c7a9a 100644 --- a/rds/src/model/ModifyBackupPolicyResult.cc +++ b/rds/src/model/ModifyBackupPolicyResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyBackupPolicyResult::ModifyBackupPolicyResult() : - ServiceResult() -{} - -ModifyBackupPolicyResult::ModifyBackupPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyBackupPolicyResult::~ModifyBackupPolicyResult() -{} - -void ModifyBackupPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyBackupPolicyResult::ModifyBackupPolicyResult() : + ServiceResult() +{} + +ModifyBackupPolicyResult::ModifyBackupPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyBackupPolicyResult::~ModifyBackupPolicyResult() +{} + +void ModifyBackupPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceID"].isNull()) dBInstanceID_ = value["DBInstanceID"].asString(); if(!value["EnableBackupLog"].isNull()) @@ -52,9 +52,9 @@ void ModifyBackupPolicyResult::parse(const std::string &payload) highSpaceUsageProtection_ = value["HighSpaceUsageProtection"].asString(); if(!value["CompressType"].isNull()) compressType_ = value["CompressType"].asString(); - -} - + +} + std::string ModifyBackupPolicyResult::getDBInstanceID()const { return dBInstanceID_; diff --git a/rds/src/model/ModifyCollationTimeZoneRequest.cc b/rds/src/model/ModifyCollationTimeZoneRequest.cc index ffc67e744..54605f777 100644 --- a/rds/src/model/ModifyCollationTimeZoneRequest.cc +++ b/rds/src/model/ModifyCollationTimeZoneRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyCollationTimeZoneRequest; - -ModifyCollationTimeZoneRequest::ModifyCollationTimeZoneRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyCollationTimeZone") -{} - -ModifyCollationTimeZoneRequest::~ModifyCollationTimeZoneRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyCollationTimeZoneRequest; + +ModifyCollationTimeZoneRequest::ModifyCollationTimeZoneRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyCollationTimeZone") +{} + +ModifyCollationTimeZoneRequest::~ModifyCollationTimeZoneRequest() +{} + long ModifyCollationTimeZoneRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyCollationTimeZoneResult.cc b/rds/src/model/ModifyCollationTimeZoneResult.cc index cf2d38448..7b5df80c8 100644 --- a/rds/src/model/ModifyCollationTimeZoneResult.cc +++ b/rds/src/model/ModifyCollationTimeZoneResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyCollationTimeZoneResult::ModifyCollationTimeZoneResult() : - ServiceResult() -{} - -ModifyCollationTimeZoneResult::ModifyCollationTimeZoneResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyCollationTimeZoneResult::~ModifyCollationTimeZoneResult() -{} - -void ModifyCollationTimeZoneResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyCollationTimeZoneResult::ModifyCollationTimeZoneResult() : + ServiceResult() +{} + +ModifyCollationTimeZoneResult::ModifyCollationTimeZoneResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCollationTimeZoneResult::~ModifyCollationTimeZoneResult() +{} + +void ModifyCollationTimeZoneResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["TaskId"].isNull()) @@ -48,9 +48,9 @@ void ModifyCollationTimeZoneResult::parse(const std::string &payload) timezone_ = value["Timezone"].asString(); if(!value["Collation"].isNull()) collation_ = value["Collation"].asString(); - -} - + +} + std::string ModifyCollationTimeZoneResult::getTimezone()const { return timezone_; diff --git a/rds/src/model/ModifyDBDescriptionRequest.cc b/rds/src/model/ModifyDBDescriptionRequest.cc index 8175ad270..3c632e283 100644 --- a/rds/src/model/ModifyDBDescriptionRequest.cc +++ b/rds/src/model/ModifyDBDescriptionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBDescriptionRequest; - -ModifyDBDescriptionRequest::ModifyDBDescriptionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBDescription") -{} - -ModifyDBDescriptionRequest::~ModifyDBDescriptionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBDescriptionRequest; + +ModifyDBDescriptionRequest::ModifyDBDescriptionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBDescription") +{} + +ModifyDBDescriptionRequest::~ModifyDBDescriptionRequest() +{} + long ModifyDBDescriptionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBDescriptionResult.cc b/rds/src/model/ModifyDBDescriptionResult.cc index ef43e1163..c0cd252ba 100644 --- a/rds/src/model/ModifyDBDescriptionResult.cc +++ b/rds/src/model/ModifyDBDescriptionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBDescriptionResult::ModifyDBDescriptionResult() : - ServiceResult() -{} - -ModifyDBDescriptionResult::ModifyDBDescriptionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBDescriptionResult::~ModifyDBDescriptionResult() -{} - -void ModifyDBDescriptionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBDescriptionResult::ModifyDBDescriptionResult() : + ServiceResult() +{} + +ModifyDBDescriptionResult::ModifyDBDescriptionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBDescriptionResult::~ModifyDBDescriptionResult() +{} + +void ModifyDBDescriptionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceConnectionModeRequest.cc b/rds/src/model/ModifyDBInstanceConnectionModeRequest.cc index 264026568..ccf55cd04 100644 --- a/rds/src/model/ModifyDBInstanceConnectionModeRequest.cc +++ b/rds/src/model/ModifyDBInstanceConnectionModeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceConnectionModeRequest; - -ModifyDBInstanceConnectionModeRequest::ModifyDBInstanceConnectionModeRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceConnectionMode") -{} - -ModifyDBInstanceConnectionModeRequest::~ModifyDBInstanceConnectionModeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceConnectionModeRequest; + +ModifyDBInstanceConnectionModeRequest::ModifyDBInstanceConnectionModeRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceConnectionMode") +{} + +ModifyDBInstanceConnectionModeRequest::~ModifyDBInstanceConnectionModeRequest() +{} + std::string ModifyDBInstanceConnectionModeRequest::getConnectionMode()const { return connectionMode_; diff --git a/rds/src/model/ModifyDBInstanceConnectionModeResult.cc b/rds/src/model/ModifyDBInstanceConnectionModeResult.cc index f013379d0..b2806df44 100644 --- a/rds/src/model/ModifyDBInstanceConnectionModeResult.cc +++ b/rds/src/model/ModifyDBInstanceConnectionModeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceConnectionModeResult::ModifyDBInstanceConnectionModeResult() : - ServiceResult() -{} - -ModifyDBInstanceConnectionModeResult::ModifyDBInstanceConnectionModeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceConnectionModeResult::~ModifyDBInstanceConnectionModeResult() -{} - -void ModifyDBInstanceConnectionModeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceConnectionModeResult::ModifyDBInstanceConnectionModeResult() : + ServiceResult() +{} + +ModifyDBInstanceConnectionModeResult::ModifyDBInstanceConnectionModeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceConnectionModeResult::~ModifyDBInstanceConnectionModeResult() +{} + +void ModifyDBInstanceConnectionModeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceConnectionStringRequest.cc b/rds/src/model/ModifyDBInstanceConnectionStringRequest.cc index ab44cbf87..c2df15f63 100644 --- a/rds/src/model/ModifyDBInstanceConnectionStringRequest.cc +++ b/rds/src/model/ModifyDBInstanceConnectionStringRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceConnectionStringRequest; - -ModifyDBInstanceConnectionStringRequest::ModifyDBInstanceConnectionStringRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceConnectionString") -{} - -ModifyDBInstanceConnectionStringRequest::~ModifyDBInstanceConnectionStringRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceConnectionStringRequest; + +ModifyDBInstanceConnectionStringRequest::ModifyDBInstanceConnectionStringRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceConnectionString") +{} + +ModifyDBInstanceConnectionStringRequest::~ModifyDBInstanceConnectionStringRequest() +{} + long ModifyDBInstanceConnectionStringRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceConnectionStringResult.cc b/rds/src/model/ModifyDBInstanceConnectionStringResult.cc index b9576f415..1cbc20133 100644 --- a/rds/src/model/ModifyDBInstanceConnectionStringResult.cc +++ b/rds/src/model/ModifyDBInstanceConnectionStringResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceConnectionStringResult::ModifyDBInstanceConnectionStringResult() : - ServiceResult() -{} - -ModifyDBInstanceConnectionStringResult::ModifyDBInstanceConnectionStringResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceConnectionStringResult::~ModifyDBInstanceConnectionStringResult() -{} - -void ModifyDBInstanceConnectionStringResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceConnectionStringResult::ModifyDBInstanceConnectionStringResult() : + ServiceResult() +{} + +ModifyDBInstanceConnectionStringResult::ModifyDBInstanceConnectionStringResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceConnectionStringResult::~ModifyDBInstanceConnectionStringResult() +{} + +void ModifyDBInstanceConnectionStringResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceDescriptionRequest.cc b/rds/src/model/ModifyDBInstanceDescriptionRequest.cc index af7312df4..74d1ab768 100644 --- a/rds/src/model/ModifyDBInstanceDescriptionRequest.cc +++ b/rds/src/model/ModifyDBInstanceDescriptionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceDescriptionRequest; - -ModifyDBInstanceDescriptionRequest::ModifyDBInstanceDescriptionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceDescription") -{} - -ModifyDBInstanceDescriptionRequest::~ModifyDBInstanceDescriptionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceDescriptionRequest; + +ModifyDBInstanceDescriptionRequest::ModifyDBInstanceDescriptionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceDescription") +{} + +ModifyDBInstanceDescriptionRequest::~ModifyDBInstanceDescriptionRequest() +{} + long ModifyDBInstanceDescriptionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceDescriptionResult.cc b/rds/src/model/ModifyDBInstanceDescriptionResult.cc index 06afd5cde..f31fcb308 100644 --- a/rds/src/model/ModifyDBInstanceDescriptionResult.cc +++ b/rds/src/model/ModifyDBInstanceDescriptionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceDescriptionResult::ModifyDBInstanceDescriptionResult() : - ServiceResult() -{} - -ModifyDBInstanceDescriptionResult::ModifyDBInstanceDescriptionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceDescriptionResult::~ModifyDBInstanceDescriptionResult() -{} - -void ModifyDBInstanceDescriptionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceDescriptionResult::ModifyDBInstanceDescriptionResult() : + ServiceResult() +{} + +ModifyDBInstanceDescriptionResult::ModifyDBInstanceDescriptionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceDescriptionResult::~ModifyDBInstanceDescriptionResult() +{} + +void ModifyDBInstanceDescriptionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceHAConfigRequest.cc b/rds/src/model/ModifyDBInstanceHAConfigRequest.cc index 22a9c9a7d..006661e2e 100644 --- a/rds/src/model/ModifyDBInstanceHAConfigRequest.cc +++ b/rds/src/model/ModifyDBInstanceHAConfigRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceHAConfigRequest; - -ModifyDBInstanceHAConfigRequest::ModifyDBInstanceHAConfigRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceHAConfig") -{} - -ModifyDBInstanceHAConfigRequest::~ModifyDBInstanceHAConfigRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceHAConfigRequest; + +ModifyDBInstanceHAConfigRequest::ModifyDBInstanceHAConfigRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceHAConfig") +{} + +ModifyDBInstanceHAConfigRequest::~ModifyDBInstanceHAConfigRequest() +{} + long ModifyDBInstanceHAConfigRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceHAConfigResult.cc b/rds/src/model/ModifyDBInstanceHAConfigResult.cc index 597639c84..42bf7be4b 100644 --- a/rds/src/model/ModifyDBInstanceHAConfigResult.cc +++ b/rds/src/model/ModifyDBInstanceHAConfigResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceHAConfigResult::ModifyDBInstanceHAConfigResult() : - ServiceResult() -{} - -ModifyDBInstanceHAConfigResult::ModifyDBInstanceHAConfigResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceHAConfigResult::~ModifyDBInstanceHAConfigResult() -{} - -void ModifyDBInstanceHAConfigResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceHAConfigResult::ModifyDBInstanceHAConfigResult() : + ServiceResult() +{} + +ModifyDBInstanceHAConfigResult::ModifyDBInstanceHAConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceHAConfigResult::~ModifyDBInstanceHAConfigResult() +{} + +void ModifyDBInstanceHAConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceMaintainTimeRequest.cc b/rds/src/model/ModifyDBInstanceMaintainTimeRequest.cc index 7d2b52e12..e19d2270f 100644 --- a/rds/src/model/ModifyDBInstanceMaintainTimeRequest.cc +++ b/rds/src/model/ModifyDBInstanceMaintainTimeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceMaintainTimeRequest; - -ModifyDBInstanceMaintainTimeRequest::ModifyDBInstanceMaintainTimeRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceMaintainTime") -{} - -ModifyDBInstanceMaintainTimeRequest::~ModifyDBInstanceMaintainTimeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceMaintainTimeRequest; + +ModifyDBInstanceMaintainTimeRequest::ModifyDBInstanceMaintainTimeRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceMaintainTime") +{} + +ModifyDBInstanceMaintainTimeRequest::~ModifyDBInstanceMaintainTimeRequest() +{} + std::string ModifyDBInstanceMaintainTimeRequest::getMaintainTime()const { return maintainTime_; diff --git a/rds/src/model/ModifyDBInstanceMaintainTimeResult.cc b/rds/src/model/ModifyDBInstanceMaintainTimeResult.cc index f9826b4ec..eaae9c561 100644 --- a/rds/src/model/ModifyDBInstanceMaintainTimeResult.cc +++ b/rds/src/model/ModifyDBInstanceMaintainTimeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceMaintainTimeResult::ModifyDBInstanceMaintainTimeResult() : - ServiceResult() -{} - -ModifyDBInstanceMaintainTimeResult::ModifyDBInstanceMaintainTimeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceMaintainTimeResult::~ModifyDBInstanceMaintainTimeResult() -{} - -void ModifyDBInstanceMaintainTimeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceMaintainTimeResult::ModifyDBInstanceMaintainTimeResult() : + ServiceResult() +{} + +ModifyDBInstanceMaintainTimeResult::ModifyDBInstanceMaintainTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceMaintainTimeResult::~ModifyDBInstanceMaintainTimeResult() +{} + +void ModifyDBInstanceMaintainTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceMonitorRequest.cc b/rds/src/model/ModifyDBInstanceMonitorRequest.cc index 4960850a5..1f4c66430 100644 --- a/rds/src/model/ModifyDBInstanceMonitorRequest.cc +++ b/rds/src/model/ModifyDBInstanceMonitorRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceMonitorRequest; - -ModifyDBInstanceMonitorRequest::ModifyDBInstanceMonitorRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceMonitor") -{} - -ModifyDBInstanceMonitorRequest::~ModifyDBInstanceMonitorRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceMonitorRequest; + +ModifyDBInstanceMonitorRequest::ModifyDBInstanceMonitorRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceMonitor") +{} + +ModifyDBInstanceMonitorRequest::~ModifyDBInstanceMonitorRequest() +{} + long ModifyDBInstanceMonitorRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceMonitorResult.cc b/rds/src/model/ModifyDBInstanceMonitorResult.cc index 7e381f50a..81ee02e29 100644 --- a/rds/src/model/ModifyDBInstanceMonitorResult.cc +++ b/rds/src/model/ModifyDBInstanceMonitorResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceMonitorResult::ModifyDBInstanceMonitorResult() : - ServiceResult() -{} - -ModifyDBInstanceMonitorResult::ModifyDBInstanceMonitorResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceMonitorResult::~ModifyDBInstanceMonitorResult() -{} - -void ModifyDBInstanceMonitorResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceMonitorResult::ModifyDBInstanceMonitorResult() : + ServiceResult() +{} + +ModifyDBInstanceMonitorResult::ModifyDBInstanceMonitorResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceMonitorResult::~ModifyDBInstanceMonitorResult() +{} + +void ModifyDBInstanceMonitorResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceNetworkExpireTimeRequest.cc b/rds/src/model/ModifyDBInstanceNetworkExpireTimeRequest.cc index 9b25f9c36..b71f1e8f4 100644 --- a/rds/src/model/ModifyDBInstanceNetworkExpireTimeRequest.cc +++ b/rds/src/model/ModifyDBInstanceNetworkExpireTimeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceNetworkExpireTimeRequest; - -ModifyDBInstanceNetworkExpireTimeRequest::ModifyDBInstanceNetworkExpireTimeRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceNetworkExpireTime") -{} - -ModifyDBInstanceNetworkExpireTimeRequest::~ModifyDBInstanceNetworkExpireTimeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceNetworkExpireTimeRequest; + +ModifyDBInstanceNetworkExpireTimeRequest::ModifyDBInstanceNetworkExpireTimeRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceNetworkExpireTime") +{} + +ModifyDBInstanceNetworkExpireTimeRequest::~ModifyDBInstanceNetworkExpireTimeRequest() +{} + long ModifyDBInstanceNetworkExpireTimeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceNetworkExpireTimeResult.cc b/rds/src/model/ModifyDBInstanceNetworkExpireTimeResult.cc index 6ec274643..79646ce6f 100644 --- a/rds/src/model/ModifyDBInstanceNetworkExpireTimeResult.cc +++ b/rds/src/model/ModifyDBInstanceNetworkExpireTimeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceNetworkExpireTimeResult::ModifyDBInstanceNetworkExpireTimeResult() : - ServiceResult() -{} - -ModifyDBInstanceNetworkExpireTimeResult::ModifyDBInstanceNetworkExpireTimeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceNetworkExpireTimeResult::~ModifyDBInstanceNetworkExpireTimeResult() -{} - -void ModifyDBInstanceNetworkExpireTimeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceNetworkExpireTimeResult::ModifyDBInstanceNetworkExpireTimeResult() : + ServiceResult() +{} + +ModifyDBInstanceNetworkExpireTimeResult::ModifyDBInstanceNetworkExpireTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceNetworkExpireTimeResult::~ModifyDBInstanceNetworkExpireTimeResult() +{} + +void ModifyDBInstanceNetworkExpireTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceNetworkTypeRequest.cc b/rds/src/model/ModifyDBInstanceNetworkTypeRequest.cc index f615d42e8..c70b5288c 100644 --- a/rds/src/model/ModifyDBInstanceNetworkTypeRequest.cc +++ b/rds/src/model/ModifyDBInstanceNetworkTypeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceNetworkTypeRequest; - -ModifyDBInstanceNetworkTypeRequest::ModifyDBInstanceNetworkTypeRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceNetworkType") -{} - -ModifyDBInstanceNetworkTypeRequest::~ModifyDBInstanceNetworkTypeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceNetworkTypeRequest; + +ModifyDBInstanceNetworkTypeRequest::ModifyDBInstanceNetworkTypeRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceNetworkType") +{} + +ModifyDBInstanceNetworkTypeRequest::~ModifyDBInstanceNetworkTypeRequest() +{} + long ModifyDBInstanceNetworkTypeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceNetworkTypeResult.cc b/rds/src/model/ModifyDBInstanceNetworkTypeResult.cc index d74eaf3e3..70801b8c6 100644 --- a/rds/src/model/ModifyDBInstanceNetworkTypeResult.cc +++ b/rds/src/model/ModifyDBInstanceNetworkTypeResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceNetworkTypeResult::ModifyDBInstanceNetworkTypeResult() : - ServiceResult() -{} - -ModifyDBInstanceNetworkTypeResult::ModifyDBInstanceNetworkTypeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceNetworkTypeResult::~ModifyDBInstanceNetworkTypeResult() -{} - -void ModifyDBInstanceNetworkTypeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceNetworkTypeResult::ModifyDBInstanceNetworkTypeResult() : + ServiceResult() +{} + +ModifyDBInstanceNetworkTypeResult::ModifyDBInstanceNetworkTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceNetworkTypeResult::~ModifyDBInstanceNetworkTypeResult() +{} + +void ModifyDBInstanceNetworkTypeResult::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(); - -} - + +} + std::string ModifyDBInstanceNetworkTypeResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/ModifyDBInstanceProxyConfigurationRequest.cc b/rds/src/model/ModifyDBInstanceProxyConfigurationRequest.cc index ae6d2fdd3..ac5ccde37 100644 --- a/rds/src/model/ModifyDBInstanceProxyConfigurationRequest.cc +++ b/rds/src/model/ModifyDBInstanceProxyConfigurationRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceProxyConfigurationRequest; - -ModifyDBInstanceProxyConfigurationRequest::ModifyDBInstanceProxyConfigurationRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceProxyConfiguration") -{} - -ModifyDBInstanceProxyConfigurationRequest::~ModifyDBInstanceProxyConfigurationRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceProxyConfigurationRequest; + +ModifyDBInstanceProxyConfigurationRequest::ModifyDBInstanceProxyConfigurationRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceProxyConfiguration") +{} + +ModifyDBInstanceProxyConfigurationRequest::~ModifyDBInstanceProxyConfigurationRequest() +{} + long ModifyDBInstanceProxyConfigurationRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceProxyConfigurationResult.cc b/rds/src/model/ModifyDBInstanceProxyConfigurationResult.cc index f47f96241..f7f72facb 100644 --- a/rds/src/model/ModifyDBInstanceProxyConfigurationResult.cc +++ b/rds/src/model/ModifyDBInstanceProxyConfigurationResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceProxyConfigurationResult::ModifyDBInstanceProxyConfigurationResult() : - ServiceResult() -{} - -ModifyDBInstanceProxyConfigurationResult::ModifyDBInstanceProxyConfigurationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceProxyConfigurationResult::~ModifyDBInstanceProxyConfigurationResult() -{} - -void ModifyDBInstanceProxyConfigurationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceProxyConfigurationResult::ModifyDBInstanceProxyConfigurationResult() : + ServiceResult() +{} + +ModifyDBInstanceProxyConfigurationResult::ModifyDBInstanceProxyConfigurationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceProxyConfigurationResult::~ModifyDBInstanceProxyConfigurationResult() +{} + +void ModifyDBInstanceProxyConfigurationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceSSLRequest.cc b/rds/src/model/ModifyDBInstanceSSLRequest.cc index 81c3f6e7f..68629d966 100644 --- a/rds/src/model/ModifyDBInstanceSSLRequest.cc +++ b/rds/src/model/ModifyDBInstanceSSLRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceSSLRequest; - -ModifyDBInstanceSSLRequest::ModifyDBInstanceSSLRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceSSL") -{} - -ModifyDBInstanceSSLRequest::~ModifyDBInstanceSSLRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceSSLRequest; + +ModifyDBInstanceSSLRequest::ModifyDBInstanceSSLRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceSSL") +{} + +ModifyDBInstanceSSLRequest::~ModifyDBInstanceSSLRequest() +{} + long ModifyDBInstanceSSLRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceSSLResult.cc b/rds/src/model/ModifyDBInstanceSSLResult.cc index aa910ddf9..a563857b3 100644 --- a/rds/src/model/ModifyDBInstanceSSLResult.cc +++ b/rds/src/model/ModifyDBInstanceSSLResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceSSLResult::ModifyDBInstanceSSLResult() : - ServiceResult() -{} - -ModifyDBInstanceSSLResult::ModifyDBInstanceSSLResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceSSLResult::~ModifyDBInstanceSSLResult() -{} - -void ModifyDBInstanceSSLResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceSSLResult::ModifyDBInstanceSSLResult() : + ServiceResult() +{} + +ModifyDBInstanceSSLResult::ModifyDBInstanceSSLResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceSSLResult::~ModifyDBInstanceSSLResult() +{} + +void ModifyDBInstanceSSLResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceSpecRequest.cc b/rds/src/model/ModifyDBInstanceSpecRequest.cc index aacd108df..6f7269be8 100644 --- a/rds/src/model/ModifyDBInstanceSpecRequest.cc +++ b/rds/src/model/ModifyDBInstanceSpecRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceSpecRequest; - -ModifyDBInstanceSpecRequest::ModifyDBInstanceSpecRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceSpec") -{} - -ModifyDBInstanceSpecRequest::~ModifyDBInstanceSpecRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceSpecRequest; + +ModifyDBInstanceSpecRequest::ModifyDBInstanceSpecRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceSpec") +{} + +ModifyDBInstanceSpecRequest::~ModifyDBInstanceSpecRequest() +{} + long ModifyDBInstanceSpecRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceSpecResult.cc b/rds/src/model/ModifyDBInstanceSpecResult.cc index bb3f5c067..35ffee855 100644 --- a/rds/src/model/ModifyDBInstanceSpecResult.cc +++ b/rds/src/model/ModifyDBInstanceSpecResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceSpecResult::ModifyDBInstanceSpecResult() : - ServiceResult() -{} - -ModifyDBInstanceSpecResult::ModifyDBInstanceSpecResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceSpecResult::~ModifyDBInstanceSpecResult() -{} - -void ModifyDBInstanceSpecResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceSpecResult::ModifyDBInstanceSpecResult() : + ServiceResult() +{} + +ModifyDBInstanceSpecResult::ModifyDBInstanceSpecResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceSpecResult::~ModifyDBInstanceSpecResult() +{} + +void ModifyDBInstanceSpecResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyDBInstanceTDERequest.cc b/rds/src/model/ModifyDBInstanceTDERequest.cc index 577bc6a12..a6f45f0f7 100644 --- a/rds/src/model/ModifyDBInstanceTDERequest.cc +++ b/rds/src/model/ModifyDBInstanceTDERequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyDBInstanceTDERequest; - -ModifyDBInstanceTDERequest::ModifyDBInstanceTDERequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceTDE") -{} - -ModifyDBInstanceTDERequest::~ModifyDBInstanceTDERequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyDBInstanceTDERequest; + +ModifyDBInstanceTDERequest::ModifyDBInstanceTDERequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyDBInstanceTDE") +{} + +ModifyDBInstanceTDERequest::~ModifyDBInstanceTDERequest() +{} + long ModifyDBInstanceTDERequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyDBInstanceTDEResult.cc b/rds/src/model/ModifyDBInstanceTDEResult.cc index 265c646b5..9a72ae820 100644 --- a/rds/src/model/ModifyDBInstanceTDEResult.cc +++ b/rds/src/model/ModifyDBInstanceTDEResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyDBInstanceTDEResult::ModifyDBInstanceTDEResult() : - ServiceResult() -{} - -ModifyDBInstanceTDEResult::ModifyDBInstanceTDEResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyDBInstanceTDEResult::~ModifyDBInstanceTDEResult() -{} - -void ModifyDBInstanceTDEResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyDBInstanceTDEResult::ModifyDBInstanceTDEResult() : + ServiceResult() +{} + +ModifyDBInstanceTDEResult::ModifyDBInstanceTDEResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDBInstanceTDEResult::~ModifyDBInstanceTDEResult() +{} + +void ModifyDBInstanceTDEResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyInstanceAutoRenewalAttributeRequest.cc b/rds/src/model/ModifyInstanceAutoRenewalAttributeRequest.cc index a11d3a0d0..70d0c9dfd 100644 --- a/rds/src/model/ModifyInstanceAutoRenewalAttributeRequest.cc +++ b/rds/src/model/ModifyInstanceAutoRenewalAttributeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyInstanceAutoRenewalAttributeRequest; - -ModifyInstanceAutoRenewalAttributeRequest::ModifyInstanceAutoRenewalAttributeRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyInstanceAutoRenewalAttribute") -{} - -ModifyInstanceAutoRenewalAttributeRequest::~ModifyInstanceAutoRenewalAttributeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyInstanceAutoRenewalAttributeRequest; + +ModifyInstanceAutoRenewalAttributeRequest::ModifyInstanceAutoRenewalAttributeRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyInstanceAutoRenewalAttribute") +{} + +ModifyInstanceAutoRenewalAttributeRequest::~ModifyInstanceAutoRenewalAttributeRequest() +{} + std::string ModifyInstanceAutoRenewalAttributeRequest::getDuration()const { return duration_; diff --git a/rds/src/model/ModifyInstanceAutoRenewalAttributeResult.cc b/rds/src/model/ModifyInstanceAutoRenewalAttributeResult.cc index d82c57c55..cecfefce9 100644 --- a/rds/src/model/ModifyInstanceAutoRenewalAttributeResult.cc +++ b/rds/src/model/ModifyInstanceAutoRenewalAttributeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyInstanceAutoRenewalAttributeResult::ModifyInstanceAutoRenewalAttributeResult() : - ServiceResult() -{} - -ModifyInstanceAutoRenewalAttributeResult::ModifyInstanceAutoRenewalAttributeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyInstanceAutoRenewalAttributeResult::~ModifyInstanceAutoRenewalAttributeResult() -{} - -void ModifyInstanceAutoRenewalAttributeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyInstanceAutoRenewalAttributeResult::ModifyInstanceAutoRenewalAttributeResult() : + ServiceResult() +{} + +ModifyInstanceAutoRenewalAttributeResult::ModifyInstanceAutoRenewalAttributeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyInstanceAutoRenewalAttributeResult::~ModifyInstanceAutoRenewalAttributeResult() +{} + +void ModifyInstanceAutoRenewalAttributeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyMySQLDBInstanceDelayRequest.cc b/rds/src/model/ModifyMySQLDBInstanceDelayRequest.cc index 4f9af3322..baa2d4e8c 100644 --- a/rds/src/model/ModifyMySQLDBInstanceDelayRequest.cc +++ b/rds/src/model/ModifyMySQLDBInstanceDelayRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyMySQLDBInstanceDelayRequest; - -ModifyMySQLDBInstanceDelayRequest::ModifyMySQLDBInstanceDelayRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyMySQLDBInstanceDelay") -{} - -ModifyMySQLDBInstanceDelayRequest::~ModifyMySQLDBInstanceDelayRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyMySQLDBInstanceDelayRequest; + +ModifyMySQLDBInstanceDelayRequest::ModifyMySQLDBInstanceDelayRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyMySQLDBInstanceDelay") +{} + +ModifyMySQLDBInstanceDelayRequest::~ModifyMySQLDBInstanceDelayRequest() +{} + long ModifyMySQLDBInstanceDelayRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyMySQLDBInstanceDelayResult.cc b/rds/src/model/ModifyMySQLDBInstanceDelayResult.cc index 63846cf37..30efb64b5 100644 --- a/rds/src/model/ModifyMySQLDBInstanceDelayResult.cc +++ b/rds/src/model/ModifyMySQLDBInstanceDelayResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyMySQLDBInstanceDelayResult::ModifyMySQLDBInstanceDelayResult() : - ServiceResult() -{} - -ModifyMySQLDBInstanceDelayResult::ModifyMySQLDBInstanceDelayResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyMySQLDBInstanceDelayResult::~ModifyMySQLDBInstanceDelayResult() -{} - -void ModifyMySQLDBInstanceDelayResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyMySQLDBInstanceDelayResult::ModifyMySQLDBInstanceDelayResult() : + ServiceResult() +{} + +ModifyMySQLDBInstanceDelayResult::ModifyMySQLDBInstanceDelayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyMySQLDBInstanceDelayResult::~ModifyMySQLDBInstanceDelayResult() +{} + +void ModifyMySQLDBInstanceDelayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceName"].isNull()) dBInstanceName_ = value["DBInstanceName"].asString(); if(!value["SqlDelay"].isNull()) sqlDelay_ = value["SqlDelay"].asString(); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); - -} - + +} + std::string ModifyMySQLDBInstanceDelayResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/ModifyParameterRequest.cc b/rds/src/model/ModifyParameterRequest.cc index 8115f59f4..c7cafb6a8 100644 --- a/rds/src/model/ModifyParameterRequest.cc +++ b/rds/src/model/ModifyParameterRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyParameterRequest; - -ModifyParameterRequest::ModifyParameterRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyParameter") -{} - -ModifyParameterRequest::~ModifyParameterRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyParameterRequest; + +ModifyParameterRequest::ModifyParameterRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyParameter") +{} + +ModifyParameterRequest::~ModifyParameterRequest() +{} + long ModifyParameterRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyParameterResult.cc b/rds/src/model/ModifyParameterResult.cc index fbc51f72d..1479cb1f8 100644 --- a/rds/src/model/ModifyParameterResult.cc +++ b/rds/src/model/ModifyParameterResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyParameterResult::ModifyParameterResult() : - ServiceResult() -{} - -ModifyParameterResult::ModifyParameterResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyParameterResult::~ModifyParameterResult() -{} - -void ModifyParameterResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyParameterResult::ModifyParameterResult() : + ServiceResult() +{} + +ModifyParameterResult::ModifyParameterResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyParameterResult::~ModifyParameterResult() +{} + +void ModifyParameterResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyReadWriteSplittingConnectionRequest.cc b/rds/src/model/ModifyReadWriteSplittingConnectionRequest.cc index e32c13ede..70aef5f31 100644 --- a/rds/src/model/ModifyReadWriteSplittingConnectionRequest.cc +++ b/rds/src/model/ModifyReadWriteSplittingConnectionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyReadWriteSplittingConnectionRequest; - -ModifyReadWriteSplittingConnectionRequest::ModifyReadWriteSplittingConnectionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyReadWriteSplittingConnection") -{} - -ModifyReadWriteSplittingConnectionRequest::~ModifyReadWriteSplittingConnectionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyReadWriteSplittingConnectionRequest; + +ModifyReadWriteSplittingConnectionRequest::ModifyReadWriteSplittingConnectionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyReadWriteSplittingConnection") +{} + +ModifyReadWriteSplittingConnectionRequest::~ModifyReadWriteSplittingConnectionRequest() +{} + long ModifyReadWriteSplittingConnectionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyReadWriteSplittingConnectionResult.cc b/rds/src/model/ModifyReadWriteSplittingConnectionResult.cc index e691b7357..628cf2118 100644 --- a/rds/src/model/ModifyReadWriteSplittingConnectionResult.cc +++ b/rds/src/model/ModifyReadWriteSplittingConnectionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyReadWriteSplittingConnectionResult::ModifyReadWriteSplittingConnectionResult() : - ServiceResult() -{} - -ModifyReadWriteSplittingConnectionResult::ModifyReadWriteSplittingConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyReadWriteSplittingConnectionResult::~ModifyReadWriteSplittingConnectionResult() -{} - -void ModifyReadWriteSplittingConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyReadWriteSplittingConnectionResult::ModifyReadWriteSplittingConnectionResult() : + ServiceResult() +{} + +ModifyReadWriteSplittingConnectionResult::ModifyReadWriteSplittingConnectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyReadWriteSplittingConnectionResult::~ModifyReadWriteSplittingConnectionResult() +{} + +void ModifyReadWriteSplittingConnectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.cc b/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.cc index 02bbf910b..aa9423081 100644 --- a/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.cc +++ b/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyReadonlyInstanceDelayReplicationTimeRequest; - -ModifyReadonlyInstanceDelayReplicationTimeRequest::ModifyReadonlyInstanceDelayReplicationTimeRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyReadonlyInstanceDelayReplicationTime") -{} - -ModifyReadonlyInstanceDelayReplicationTimeRequest::~ModifyReadonlyInstanceDelayReplicationTimeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyReadonlyInstanceDelayReplicationTimeRequest; + +ModifyReadonlyInstanceDelayReplicationTimeRequest::ModifyReadonlyInstanceDelayReplicationTimeRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyReadonlyInstanceDelayReplicationTime") +{} + +ModifyReadonlyInstanceDelayReplicationTimeRequest::~ModifyReadonlyInstanceDelayReplicationTimeRequest() +{} + long ModifyReadonlyInstanceDelayReplicationTimeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeResult.cc b/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeResult.cc index 98a4b0a63..56fbef13e 100644 --- a/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeResult.cc +++ b/rds/src/model/ModifyReadonlyInstanceDelayReplicationTimeResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyReadonlyInstanceDelayReplicationTimeResult::ModifyReadonlyInstanceDelayReplicationTimeResult() : - ServiceResult() -{} - -ModifyReadonlyInstanceDelayReplicationTimeResult::ModifyReadonlyInstanceDelayReplicationTimeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyReadonlyInstanceDelayReplicationTimeResult::~ModifyReadonlyInstanceDelayReplicationTimeResult() -{} - -void ModifyReadonlyInstanceDelayReplicationTimeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyReadonlyInstanceDelayReplicationTimeResult::ModifyReadonlyInstanceDelayReplicationTimeResult() : + ServiceResult() +{} + +ModifyReadonlyInstanceDelayReplicationTimeResult::ModifyReadonlyInstanceDelayReplicationTimeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyReadonlyInstanceDelayReplicationTimeResult::~ModifyReadonlyInstanceDelayReplicationTimeResult() +{} + +void ModifyReadonlyInstanceDelayReplicationTimeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["ReadSQLReplicationTime"].isNull()) readSQLReplicationTime_ = value["ReadSQLReplicationTime"].asString(); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); - -} - + +} + std::string ModifyReadonlyInstanceDelayReplicationTimeResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/ModifyReplicaDescriptionRequest.cc b/rds/src/model/ModifyReplicaDescriptionRequest.cc index 6c3f90430..f9b407378 100644 --- a/rds/src/model/ModifyReplicaDescriptionRequest.cc +++ b/rds/src/model/ModifyReplicaDescriptionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyReplicaDescriptionRequest; - -ModifyReplicaDescriptionRequest::ModifyReplicaDescriptionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyReplicaDescription") -{} - -ModifyReplicaDescriptionRequest::~ModifyReplicaDescriptionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyReplicaDescriptionRequest; + +ModifyReplicaDescriptionRequest::ModifyReplicaDescriptionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyReplicaDescription") +{} + +ModifyReplicaDescriptionRequest::~ModifyReplicaDescriptionRequest() +{} + std::string ModifyReplicaDescriptionRequest::getReplicaDescription()const { return replicaDescription_; diff --git a/rds/src/model/ModifyReplicaDescriptionResult.cc b/rds/src/model/ModifyReplicaDescriptionResult.cc index fe393a3d1..065cbd044 100644 --- a/rds/src/model/ModifyReplicaDescriptionResult.cc +++ b/rds/src/model/ModifyReplicaDescriptionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyReplicaDescriptionResult::ModifyReplicaDescriptionResult() : - ServiceResult() -{} - -ModifyReplicaDescriptionResult::ModifyReplicaDescriptionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyReplicaDescriptionResult::~ModifyReplicaDescriptionResult() -{} - -void ModifyReplicaDescriptionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyReplicaDescriptionResult::ModifyReplicaDescriptionResult() : + ServiceResult() +{} + +ModifyReplicaDescriptionResult::ModifyReplicaDescriptionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyReplicaDescriptionResult::~ModifyReplicaDescriptionResult() +{} + +void ModifyReplicaDescriptionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifyResourceGroupRequest.cc b/rds/src/model/ModifyResourceGroupRequest.cc index b571b31f9..fc00d8947 100644 --- a/rds/src/model/ModifyResourceGroupRequest.cc +++ b/rds/src/model/ModifyResourceGroupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifyResourceGroupRequest; - -ModifyResourceGroupRequest::ModifyResourceGroupRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifyResourceGroup") -{} - -ModifyResourceGroupRequest::~ModifyResourceGroupRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifyResourceGroupRequest; + +ModifyResourceGroupRequest::ModifyResourceGroupRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifyResourceGroup") +{} + +ModifyResourceGroupRequest::~ModifyResourceGroupRequest() +{} + std::string ModifyResourceGroupRequest::getResourceGroupId()const { return resourceGroupId_; diff --git a/rds/src/model/ModifyResourceGroupResult.cc b/rds/src/model/ModifyResourceGroupResult.cc index cdea6bd32..e27be73f6 100644 --- a/rds/src/model/ModifyResourceGroupResult.cc +++ b/rds/src/model/ModifyResourceGroupResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifyResourceGroupResult::ModifyResourceGroupResult() : - ServiceResult() -{} - -ModifyResourceGroupResult::ModifyResourceGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifyResourceGroupResult::~ModifyResourceGroupResult() -{} - -void ModifyResourceGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifyResourceGroupResult::ModifyResourceGroupResult() : + ServiceResult() +{} + +ModifyResourceGroupResult::ModifyResourceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyResourceGroupResult::~ModifyResourceGroupResult() +{} + +void ModifyResourceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifySQLCollectorPolicyRequest.cc b/rds/src/model/ModifySQLCollectorPolicyRequest.cc index fc2d81cea..8aea19d44 100644 --- a/rds/src/model/ModifySQLCollectorPolicyRequest.cc +++ b/rds/src/model/ModifySQLCollectorPolicyRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifySQLCollectorPolicyRequest; - -ModifySQLCollectorPolicyRequest::ModifySQLCollectorPolicyRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifySQLCollectorPolicy") -{} - -ModifySQLCollectorPolicyRequest::~ModifySQLCollectorPolicyRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifySQLCollectorPolicyRequest; + +ModifySQLCollectorPolicyRequest::ModifySQLCollectorPolicyRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifySQLCollectorPolicy") +{} + +ModifySQLCollectorPolicyRequest::~ModifySQLCollectorPolicyRequest() +{} + long ModifySQLCollectorPolicyRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifySQLCollectorPolicyResult.cc b/rds/src/model/ModifySQLCollectorPolicyResult.cc index 5a3c804cc..3921bd2ac 100644 --- a/rds/src/model/ModifySQLCollectorPolicyResult.cc +++ b/rds/src/model/ModifySQLCollectorPolicyResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifySQLCollectorPolicyResult::ModifySQLCollectorPolicyResult() : - ServiceResult() -{} - -ModifySQLCollectorPolicyResult::ModifySQLCollectorPolicyResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifySQLCollectorPolicyResult::~ModifySQLCollectorPolicyResult() -{} - -void ModifySQLCollectorPolicyResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifySQLCollectorPolicyResult::ModifySQLCollectorPolicyResult() : + ServiceResult() +{} + +ModifySQLCollectorPolicyResult::ModifySQLCollectorPolicyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySQLCollectorPolicyResult::~ModifySQLCollectorPolicyResult() +{} + +void ModifySQLCollectorPolicyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ModifySecurityGroupConfigurationRequest.cc b/rds/src/model/ModifySecurityGroupConfigurationRequest.cc index 5275baf9b..ed176cdf3 100644 --- a/rds/src/model/ModifySecurityGroupConfigurationRequest.cc +++ b/rds/src/model/ModifySecurityGroupConfigurationRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifySecurityGroupConfigurationRequest; - -ModifySecurityGroupConfigurationRequest::ModifySecurityGroupConfigurationRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifySecurityGroupConfiguration") -{} - -ModifySecurityGroupConfigurationRequest::~ModifySecurityGroupConfigurationRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifySecurityGroupConfigurationRequest; + +ModifySecurityGroupConfigurationRequest::ModifySecurityGroupConfigurationRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifySecurityGroupConfiguration") +{} + +ModifySecurityGroupConfigurationRequest::~ModifySecurityGroupConfigurationRequest() +{} + long ModifySecurityGroupConfigurationRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ModifySecurityGroupConfigurationResult.cc b/rds/src/model/ModifySecurityGroupConfigurationResult.cc index 12dad88c7..62a8536e3 100644 --- a/rds/src/model/ModifySecurityGroupConfigurationResult.cc +++ b/rds/src/model/ModifySecurityGroupConfigurationResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifySecurityGroupConfigurationResult::ModifySecurityGroupConfigurationResult() : - ServiceResult() -{} - -ModifySecurityGroupConfigurationResult::ModifySecurityGroupConfigurationResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifySecurityGroupConfigurationResult::~ModifySecurityGroupConfigurationResult() -{} - -void ModifySecurityGroupConfigurationResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifySecurityGroupConfigurationResult::ModifySecurityGroupConfigurationResult() : + ServiceResult() +{} + +ModifySecurityGroupConfigurationResult::ModifySecurityGroupConfigurationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySecurityGroupConfigurationResult::~ModifySecurityGroupConfigurationResult() +{} + +void ModifySecurityGroupConfigurationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allItems = value["Items"]["EcsSecurityGroupRelation"]; for (auto value : allItems) { @@ -54,9 +54,9 @@ void ModifySecurityGroupConfigurationResult::parse(const std::string &payload) } if(!value["DBInstanceName"].isNull()) dBInstanceName_ = value["DBInstanceName"].asString(); - -} - + +} + std::vector ModifySecurityGroupConfigurationResult::getItems()const { return items_; diff --git a/rds/src/model/ModifySecurityIpsRequest.cc b/rds/src/model/ModifySecurityIpsRequest.cc index af3deae15..e25aa85f5 100644 --- a/rds/src/model/ModifySecurityIpsRequest.cc +++ b/rds/src/model/ModifySecurityIpsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ModifySecurityIpsRequest; - -ModifySecurityIpsRequest::ModifySecurityIpsRequest() : - RpcServiceRequest("rds", "2014-08-15", "ModifySecurityIps") -{} - -ModifySecurityIpsRequest::~ModifySecurityIpsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ModifySecurityIpsRequest; + +ModifySecurityIpsRequest::ModifySecurityIpsRequest() : + RpcServiceRequest("rds", "2014-08-15", "ModifySecurityIps") +{} + +ModifySecurityIpsRequest::~ModifySecurityIpsRequest() +{} + std::string ModifySecurityIpsRequest::getDBInstanceIPArrayName()const { return dBInstanceIPArrayName_; diff --git a/rds/src/model/ModifySecurityIpsResult.cc b/rds/src/model/ModifySecurityIpsResult.cc index 9c90521d9..9f115a180 100644 --- a/rds/src/model/ModifySecurityIpsResult.cc +++ b/rds/src/model/ModifySecurityIpsResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ModifySecurityIpsResult::ModifySecurityIpsResult() : - ServiceResult() -{} - -ModifySecurityIpsResult::ModifySecurityIpsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ModifySecurityIpsResult::~ModifySecurityIpsResult() -{} - -void ModifySecurityIpsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ModifySecurityIpsResult::ModifySecurityIpsResult() : + ServiceResult() +{} + +ModifySecurityIpsResult::ModifySecurityIpsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifySecurityIpsResult::~ModifySecurityIpsResult() +{} + +void ModifySecurityIpsResult::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(); - -} - + +} + std::string ModifySecurityIpsResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/PurgeDBInstanceLogRequest.cc b/rds/src/model/PurgeDBInstanceLogRequest.cc index 330c636e6..4125c9cce 100644 --- a/rds/src/model/PurgeDBInstanceLogRequest.cc +++ b/rds/src/model/PurgeDBInstanceLogRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::PurgeDBInstanceLogRequest; - -PurgeDBInstanceLogRequest::PurgeDBInstanceLogRequest() : - RpcServiceRequest("rds", "2014-08-15", "PurgeDBInstanceLog") -{} - -PurgeDBInstanceLogRequest::~PurgeDBInstanceLogRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::PurgeDBInstanceLogRequest; + +PurgeDBInstanceLogRequest::PurgeDBInstanceLogRequest() : + RpcServiceRequest("rds", "2014-08-15", "PurgeDBInstanceLog") +{} + +PurgeDBInstanceLogRequest::~PurgeDBInstanceLogRequest() +{} + long PurgeDBInstanceLogRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/PurgeDBInstanceLogResult.cc b/rds/src/model/PurgeDBInstanceLogResult.cc index 439336084..5f007f524 100644 --- a/rds/src/model/PurgeDBInstanceLogResult.cc +++ b/rds/src/model/PurgeDBInstanceLogResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -PurgeDBInstanceLogResult::PurgeDBInstanceLogResult() : - ServiceResult() -{} - -PurgeDBInstanceLogResult::PurgeDBInstanceLogResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PurgeDBInstanceLogResult::~PurgeDBInstanceLogResult() -{} - -void PurgeDBInstanceLogResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +PurgeDBInstanceLogResult::PurgeDBInstanceLogResult() : + ServiceResult() +{} + +PurgeDBInstanceLogResult::PurgeDBInstanceLogResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PurgeDBInstanceLogResult::~PurgeDBInstanceLogResult() +{} + +void PurgeDBInstanceLogResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RecoveryDBInstanceRequest.cc b/rds/src/model/RecoveryDBInstanceRequest.cc index a7d33192f..071a37ca1 100644 --- a/rds/src/model/RecoveryDBInstanceRequest.cc +++ b/rds/src/model/RecoveryDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RecoveryDBInstanceRequest; - -RecoveryDBInstanceRequest::RecoveryDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "RecoveryDBInstance") -{} - -RecoveryDBInstanceRequest::~RecoveryDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RecoveryDBInstanceRequest; + +RecoveryDBInstanceRequest::RecoveryDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "RecoveryDBInstance") +{} + +RecoveryDBInstanceRequest::~RecoveryDBInstanceRequest() +{} + long RecoveryDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RecoveryDBInstanceResult.cc b/rds/src/model/RecoveryDBInstanceResult.cc index 72fe92744..d55cac7c7 100644 --- a/rds/src/model/RecoveryDBInstanceResult.cc +++ b/rds/src/model/RecoveryDBInstanceResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RecoveryDBInstanceResult::RecoveryDBInstanceResult() : - ServiceResult() -{} - -RecoveryDBInstanceResult::RecoveryDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RecoveryDBInstanceResult::~RecoveryDBInstanceResult() -{} - -void RecoveryDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RecoveryDBInstanceResult::RecoveryDBInstanceResult() : + ServiceResult() +{} + +RecoveryDBInstanceResult::RecoveryDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RecoveryDBInstanceResult::~RecoveryDBInstanceResult() +{} + +void RecoveryDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceId"].isNull()) dBInstanceId_ = value["DBInstanceId"].asString(); if(!value["OrderId"].isNull()) orderId_ = value["OrderId"].asString(); - -} - + +} + std::string RecoveryDBInstanceResult::getDBInstanceId()const { return dBInstanceId_; diff --git a/rds/src/model/ReleaseInstancePublicConnectionRequest.cc b/rds/src/model/ReleaseInstancePublicConnectionRequest.cc index 45b757de9..15dff2474 100644 --- a/rds/src/model/ReleaseInstancePublicConnectionRequest.cc +++ b/rds/src/model/ReleaseInstancePublicConnectionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ReleaseInstancePublicConnectionRequest; - -ReleaseInstancePublicConnectionRequest::ReleaseInstancePublicConnectionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ReleaseInstancePublicConnection") -{} - -ReleaseInstancePublicConnectionRequest::~ReleaseInstancePublicConnectionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ReleaseInstancePublicConnectionRequest; + +ReleaseInstancePublicConnectionRequest::ReleaseInstancePublicConnectionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ReleaseInstancePublicConnection") +{} + +ReleaseInstancePublicConnectionRequest::~ReleaseInstancePublicConnectionRequest() +{} + long ReleaseInstancePublicConnectionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ReleaseInstancePublicConnectionResult.cc b/rds/src/model/ReleaseInstancePublicConnectionResult.cc index 3db52ef49..4c6a003f2 100644 --- a/rds/src/model/ReleaseInstancePublicConnectionResult.cc +++ b/rds/src/model/ReleaseInstancePublicConnectionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ReleaseInstancePublicConnectionResult::ReleaseInstancePublicConnectionResult() : - ServiceResult() -{} - -ReleaseInstancePublicConnectionResult::ReleaseInstancePublicConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReleaseInstancePublicConnectionResult::~ReleaseInstancePublicConnectionResult() -{} - -void ReleaseInstancePublicConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ReleaseInstancePublicConnectionResult::ReleaseInstancePublicConnectionResult() : + ServiceResult() +{} + +ReleaseInstancePublicConnectionResult::ReleaseInstancePublicConnectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ReleaseInstancePublicConnectionResult::~ReleaseInstancePublicConnectionResult() +{} + +void ReleaseInstancePublicConnectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ReleaseReadWriteSplittingConnectionRequest.cc b/rds/src/model/ReleaseReadWriteSplittingConnectionRequest.cc index 51d7a4c8b..15e86ab81 100644 --- a/rds/src/model/ReleaseReadWriteSplittingConnectionRequest.cc +++ b/rds/src/model/ReleaseReadWriteSplittingConnectionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ReleaseReadWriteSplittingConnectionRequest; - -ReleaseReadWriteSplittingConnectionRequest::ReleaseReadWriteSplittingConnectionRequest() : - RpcServiceRequest("rds", "2014-08-15", "ReleaseReadWriteSplittingConnection") -{} - -ReleaseReadWriteSplittingConnectionRequest::~ReleaseReadWriteSplittingConnectionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ReleaseReadWriteSplittingConnectionRequest; + +ReleaseReadWriteSplittingConnectionRequest::ReleaseReadWriteSplittingConnectionRequest() : + RpcServiceRequest("rds", "2014-08-15", "ReleaseReadWriteSplittingConnection") +{} + +ReleaseReadWriteSplittingConnectionRequest::~ReleaseReadWriteSplittingConnectionRequest() +{} + long ReleaseReadWriteSplittingConnectionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ReleaseReadWriteSplittingConnectionResult.cc b/rds/src/model/ReleaseReadWriteSplittingConnectionResult.cc index e7b6b9ee0..dc3a899a1 100644 --- a/rds/src/model/ReleaseReadWriteSplittingConnectionResult.cc +++ b/rds/src/model/ReleaseReadWriteSplittingConnectionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ReleaseReadWriteSplittingConnectionResult::ReleaseReadWriteSplittingConnectionResult() : - ServiceResult() -{} - -ReleaseReadWriteSplittingConnectionResult::ReleaseReadWriteSplittingConnectionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ReleaseReadWriteSplittingConnectionResult::~ReleaseReadWriteSplittingConnectionResult() -{} - -void ReleaseReadWriteSplittingConnectionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ReleaseReadWriteSplittingConnectionResult::ReleaseReadWriteSplittingConnectionResult() : + ServiceResult() +{} + +ReleaseReadWriteSplittingConnectionResult::ReleaseReadWriteSplittingConnectionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ReleaseReadWriteSplittingConnectionResult::~ReleaseReadWriteSplittingConnectionResult() +{} + +void ReleaseReadWriteSplittingConnectionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RemoveTagsFromResourceRequest.cc b/rds/src/model/RemoveTagsFromResourceRequest.cc index 12b770ddc..9c361422e 100644 --- a/rds/src/model/RemoveTagsFromResourceRequest.cc +++ b/rds/src/model/RemoveTagsFromResourceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RemoveTagsFromResourceRequest; - -RemoveTagsFromResourceRequest::RemoveTagsFromResourceRequest() : - RpcServiceRequest("rds", "2014-08-15", "RemoveTagsFromResource") -{} - -RemoveTagsFromResourceRequest::~RemoveTagsFromResourceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RemoveTagsFromResourceRequest; + +RemoveTagsFromResourceRequest::RemoveTagsFromResourceRequest() : + RpcServiceRequest("rds", "2014-08-15", "RemoveTagsFromResource") +{} + +RemoveTagsFromResourceRequest::~RemoveTagsFromResourceRequest() +{} + std::string RemoveTagsFromResourceRequest::getTag4value()const { return tag4value_; diff --git a/rds/src/model/RemoveTagsFromResourceResult.cc b/rds/src/model/RemoveTagsFromResourceResult.cc index 1d7162ce5..2e9718fa8 100644 --- a/rds/src/model/RemoveTagsFromResourceResult.cc +++ b/rds/src/model/RemoveTagsFromResourceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RemoveTagsFromResourceResult::RemoveTagsFromResourceResult() : - ServiceResult() -{} - -RemoveTagsFromResourceResult::RemoveTagsFromResourceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RemoveTagsFromResourceResult::~RemoveTagsFromResourceResult() -{} - -void RemoveTagsFromResourceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RemoveTagsFromResourceResult::RemoveTagsFromResourceResult() : + ServiceResult() +{} + +RemoveTagsFromResourceResult::RemoveTagsFromResourceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveTagsFromResourceResult::~RemoveTagsFromResourceResult() +{} + +void RemoveTagsFromResourceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RenewInstanceRequest.cc b/rds/src/model/RenewInstanceRequest.cc index 480ac65b1..abadc25b1 100644 --- a/rds/src/model/RenewInstanceRequest.cc +++ b/rds/src/model/RenewInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RenewInstanceRequest; - -RenewInstanceRequest::RenewInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "RenewInstance") -{} - -RenewInstanceRequest::~RenewInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RenewInstanceRequest; + +RenewInstanceRequest::RenewInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "RenewInstance") +{} + +RenewInstanceRequest::~RenewInstanceRequest() +{} + long RenewInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RenewInstanceResult.cc b/rds/src/model/RenewInstanceResult.cc index 993eeb82d..adba65b7d 100644 --- a/rds/src/model/RenewInstanceResult.cc +++ b/rds/src/model/RenewInstanceResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RenewInstanceResult::RenewInstanceResult() : - ServiceResult() -{} - -RenewInstanceResult::RenewInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RenewInstanceResult::~RenewInstanceResult() -{} - -void RenewInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RenewInstanceResult::RenewInstanceResult() : + ServiceResult() +{} + +RenewInstanceResult::RenewInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RenewInstanceResult::~RenewInstanceResult() +{} + +void RenewInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["OrderId"].isNull()) orderId_ = std::stol(value["OrderId"].asString()); - -} - + +} + long RenewInstanceResult::getOrderId()const { return orderId_; diff --git a/rds/src/model/RequestServiceOfCloudDBExpertRequest.cc b/rds/src/model/RequestServiceOfCloudDBExpertRequest.cc index 85290d595..643d6cc21 100644 --- a/rds/src/model/RequestServiceOfCloudDBExpertRequest.cc +++ b/rds/src/model/RequestServiceOfCloudDBExpertRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RequestServiceOfCloudDBExpertRequest; - -RequestServiceOfCloudDBExpertRequest::RequestServiceOfCloudDBExpertRequest() : - RpcServiceRequest("rds", "2014-08-15", "RequestServiceOfCloudDBExpert") -{} - -RequestServiceOfCloudDBExpertRequest::~RequestServiceOfCloudDBExpertRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RequestServiceOfCloudDBExpertRequest; + +RequestServiceOfCloudDBExpertRequest::RequestServiceOfCloudDBExpertRequest() : + RpcServiceRequest("rds", "2014-08-15", "RequestServiceOfCloudDBExpert") +{} + +RequestServiceOfCloudDBExpertRequest::~RequestServiceOfCloudDBExpertRequest() +{} + std::string RequestServiceOfCloudDBExpertRequest::getServiceRequestParam()const { return serviceRequestParam_; diff --git a/rds/src/model/RequestServiceOfCloudDBExpertResult.cc b/rds/src/model/RequestServiceOfCloudDBExpertResult.cc index ff325bfb0..a35383162 100644 --- a/rds/src/model/RequestServiceOfCloudDBExpertResult.cc +++ b/rds/src/model/RequestServiceOfCloudDBExpertResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RequestServiceOfCloudDBExpertResult::RequestServiceOfCloudDBExpertResult() : - ServiceResult() -{} - -RequestServiceOfCloudDBExpertResult::RequestServiceOfCloudDBExpertResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RequestServiceOfCloudDBExpertResult::~RequestServiceOfCloudDBExpertResult() -{} - -void RequestServiceOfCloudDBExpertResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RequestServiceOfCloudDBExpertResult::RequestServiceOfCloudDBExpertResult() : + ServiceResult() +{} + +RequestServiceOfCloudDBExpertResult::RequestServiceOfCloudDBExpertResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RequestServiceOfCloudDBExpertResult::~RequestServiceOfCloudDBExpertResult() +{} + +void RequestServiceOfCloudDBExpertResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Message"].isNull()) message_ = value["Message"].asString(); if(!value["Data"].isNull()) data_ = value["Data"].asString(); if(!value["Code"].isNull()) code_ = value["Code"].asString(); - -} - + +} + std::string RequestServiceOfCloudDBExpertResult::getMessage()const { return message_; diff --git a/rds/src/model/ResetAccountForPGRequest.cc b/rds/src/model/ResetAccountForPGRequest.cc index 273ac14df..78703a8b5 100644 --- a/rds/src/model/ResetAccountForPGRequest.cc +++ b/rds/src/model/ResetAccountForPGRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ResetAccountForPGRequest; - -ResetAccountForPGRequest::ResetAccountForPGRequest() : - RpcServiceRequest("rds", "2014-08-15", "ResetAccountForPG") -{} - -ResetAccountForPGRequest::~ResetAccountForPGRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ResetAccountForPGRequest; + +ResetAccountForPGRequest::ResetAccountForPGRequest() : + RpcServiceRequest("rds", "2014-08-15", "ResetAccountForPG") +{} + +ResetAccountForPGRequest::~ResetAccountForPGRequest() +{} + long ResetAccountForPGRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ResetAccountForPGResult.cc b/rds/src/model/ResetAccountForPGResult.cc index bef3d2aa1..084800344 100644 --- a/rds/src/model/ResetAccountForPGResult.cc +++ b/rds/src/model/ResetAccountForPGResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ResetAccountForPGResult::ResetAccountForPGResult() : - ServiceResult() -{} - -ResetAccountForPGResult::ResetAccountForPGResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResetAccountForPGResult::~ResetAccountForPGResult() -{} - -void ResetAccountForPGResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ResetAccountForPGResult::ResetAccountForPGResult() : + ServiceResult() +{} + +ResetAccountForPGResult::ResetAccountForPGResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResetAccountForPGResult::~ResetAccountForPGResult() +{} + +void ResetAccountForPGResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ResetAccountPasswordRequest.cc b/rds/src/model/ResetAccountPasswordRequest.cc index df8f45800..3ff696254 100644 --- a/rds/src/model/ResetAccountPasswordRequest.cc +++ b/rds/src/model/ResetAccountPasswordRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ResetAccountPasswordRequest; - -ResetAccountPasswordRequest::ResetAccountPasswordRequest() : - RpcServiceRequest("rds", "2014-08-15", "ResetAccountPassword") -{} - -ResetAccountPasswordRequest::~ResetAccountPasswordRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ResetAccountPasswordRequest; + +ResetAccountPasswordRequest::ResetAccountPasswordRequest() : + RpcServiceRequest("rds", "2014-08-15", "ResetAccountPassword") +{} + +ResetAccountPasswordRequest::~ResetAccountPasswordRequest() +{} + long ResetAccountPasswordRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ResetAccountPasswordResult.cc b/rds/src/model/ResetAccountPasswordResult.cc index 6eb877b87..82b902cf8 100644 --- a/rds/src/model/ResetAccountPasswordResult.cc +++ b/rds/src/model/ResetAccountPasswordResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ResetAccountPasswordResult::ResetAccountPasswordResult() : - ServiceResult() -{} - -ResetAccountPasswordResult::ResetAccountPasswordResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResetAccountPasswordResult::~ResetAccountPasswordResult() -{} - -void ResetAccountPasswordResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ResetAccountPasswordResult::ResetAccountPasswordResult() : + ServiceResult() +{} + +ResetAccountPasswordResult::ResetAccountPasswordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResetAccountPasswordResult::~ResetAccountPasswordResult() +{} + +void ResetAccountPasswordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/ResetAccountRequest.cc b/rds/src/model/ResetAccountRequest.cc index e1772cd7c..ff39345f4 100644 --- a/rds/src/model/ResetAccountRequest.cc +++ b/rds/src/model/ResetAccountRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::ResetAccountRequest; - -ResetAccountRequest::ResetAccountRequest() : - RpcServiceRequest("rds", "2014-08-15", "ResetAccount") -{} - -ResetAccountRequest::~ResetAccountRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::ResetAccountRequest; + +ResetAccountRequest::ResetAccountRequest() : + RpcServiceRequest("rds", "2014-08-15", "ResetAccount") +{} + +ResetAccountRequest::~ResetAccountRequest() +{} + long ResetAccountRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/ResetAccountResult.cc b/rds/src/model/ResetAccountResult.cc index cbf634676..474c02e6c 100644 --- a/rds/src/model/ResetAccountResult.cc +++ b/rds/src/model/ResetAccountResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -ResetAccountResult::ResetAccountResult() : - ServiceResult() -{} - -ResetAccountResult::ResetAccountResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ResetAccountResult::~ResetAccountResult() -{} - -void ResetAccountResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +ResetAccountResult::ResetAccountResult() : + ServiceResult() +{} + +ResetAccountResult::ResetAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResetAccountResult::~ResetAccountResult() +{} + +void ResetAccountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RestartDBInstanceRequest.cc b/rds/src/model/RestartDBInstanceRequest.cc index fde66da5a..9ef705c66 100644 --- a/rds/src/model/RestartDBInstanceRequest.cc +++ b/rds/src/model/RestartDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RestartDBInstanceRequest; - -RestartDBInstanceRequest::RestartDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "RestartDBInstance") -{} - -RestartDBInstanceRequest::~RestartDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RestartDBInstanceRequest; + +RestartDBInstanceRequest::RestartDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "RestartDBInstance") +{} + +RestartDBInstanceRequest::~RestartDBInstanceRequest() +{} + long RestartDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RestartDBInstanceResult.cc b/rds/src/model/RestartDBInstanceResult.cc index 9f94b3168..22f34d11c 100644 --- a/rds/src/model/RestartDBInstanceResult.cc +++ b/rds/src/model/RestartDBInstanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RestartDBInstanceResult::RestartDBInstanceResult() : - ServiceResult() -{} - -RestartDBInstanceResult::RestartDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestartDBInstanceResult::~RestartDBInstanceResult() -{} - -void RestartDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RestartDBInstanceResult::RestartDBInstanceResult() : + ServiceResult() +{} + +RestartDBInstanceResult::RestartDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RestartDBInstanceResult::~RestartDBInstanceResult() +{} + +void RestartDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RestoreDBInstanceRequest.cc b/rds/src/model/RestoreDBInstanceRequest.cc index 2b342a34f..31974764e 100644 --- a/rds/src/model/RestoreDBInstanceRequest.cc +++ b/rds/src/model/RestoreDBInstanceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RestoreDBInstanceRequest; - -RestoreDBInstanceRequest::RestoreDBInstanceRequest() : - RpcServiceRequest("rds", "2014-08-15", "RestoreDBInstance") -{} - -RestoreDBInstanceRequest::~RestoreDBInstanceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RestoreDBInstanceRequest; + +RestoreDBInstanceRequest::RestoreDBInstanceRequest() : + RpcServiceRequest("rds", "2014-08-15", "RestoreDBInstance") +{} + +RestoreDBInstanceRequest::~RestoreDBInstanceRequest() +{} + long RestoreDBInstanceRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RestoreDBInstanceResult.cc b/rds/src/model/RestoreDBInstanceResult.cc index 654dd1423..60beec1b8 100644 --- a/rds/src/model/RestoreDBInstanceResult.cc +++ b/rds/src/model/RestoreDBInstanceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RestoreDBInstanceResult::RestoreDBInstanceResult() : - ServiceResult() -{} - -RestoreDBInstanceResult::RestoreDBInstanceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestoreDBInstanceResult::~RestoreDBInstanceResult() -{} - -void RestoreDBInstanceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RestoreDBInstanceResult::RestoreDBInstanceResult() : + ServiceResult() +{} + +RestoreDBInstanceResult::RestoreDBInstanceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RestoreDBInstanceResult::~RestoreDBInstanceResult() +{} + +void RestoreDBInstanceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RestoreTableRequest.cc b/rds/src/model/RestoreTableRequest.cc index 6e7c9ba9f..61b599d92 100644 --- a/rds/src/model/RestoreTableRequest.cc +++ b/rds/src/model/RestoreTableRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RestoreTableRequest; - -RestoreTableRequest::RestoreTableRequest() : - RpcServiceRequest("rds", "2014-08-15", "RestoreTable") -{} - -RestoreTableRequest::~RestoreTableRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RestoreTableRequest; + +RestoreTableRequest::RestoreTableRequest() : + RpcServiceRequest("rds", "2014-08-15", "RestoreTable") +{} + +RestoreTableRequest::~RestoreTableRequest() +{} + long RestoreTableRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RestoreTableResult.cc b/rds/src/model/RestoreTableResult.cc index 833b2df1e..2f38d30e0 100644 --- a/rds/src/model/RestoreTableResult.cc +++ b/rds/src/model/RestoreTableResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RestoreTableResult::RestoreTableResult() : - ServiceResult() -{} - -RestoreTableResult::RestoreTableResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RestoreTableResult::~RestoreTableResult() -{} - -void RestoreTableResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RestoreTableResult::RestoreTableResult() : + ServiceResult() +{} + +RestoreTableResult::RestoreTableResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RestoreTableResult::~RestoreTableResult() +{} + +void RestoreTableResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RevokeAccountPrivilegeRequest.cc b/rds/src/model/RevokeAccountPrivilegeRequest.cc index abbc3f184..f3158380e 100644 --- a/rds/src/model/RevokeAccountPrivilegeRequest.cc +++ b/rds/src/model/RevokeAccountPrivilegeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RevokeAccountPrivilegeRequest; - -RevokeAccountPrivilegeRequest::RevokeAccountPrivilegeRequest() : - RpcServiceRequest("rds", "2014-08-15", "RevokeAccountPrivilege") -{} - -RevokeAccountPrivilegeRequest::~RevokeAccountPrivilegeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RevokeAccountPrivilegeRequest; + +RevokeAccountPrivilegeRequest::RevokeAccountPrivilegeRequest() : + RpcServiceRequest("rds", "2014-08-15", "RevokeAccountPrivilege") +{} + +RevokeAccountPrivilegeRequest::~RevokeAccountPrivilegeRequest() +{} + long RevokeAccountPrivilegeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RevokeAccountPrivilegeResult.cc b/rds/src/model/RevokeAccountPrivilegeResult.cc index d846e294e..8d55b01b7 100644 --- a/rds/src/model/RevokeAccountPrivilegeResult.cc +++ b/rds/src/model/RevokeAccountPrivilegeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RevokeAccountPrivilegeResult::RevokeAccountPrivilegeResult() : - ServiceResult() -{} - -RevokeAccountPrivilegeResult::RevokeAccountPrivilegeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RevokeAccountPrivilegeResult::~RevokeAccountPrivilegeResult() -{} - -void RevokeAccountPrivilegeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RevokeAccountPrivilegeResult::RevokeAccountPrivilegeResult() : + ServiceResult() +{} + +RevokeAccountPrivilegeResult::RevokeAccountPrivilegeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RevokeAccountPrivilegeResult::~RevokeAccountPrivilegeResult() +{} + +void RevokeAccountPrivilegeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/RevokeOperatorPermissionRequest.cc b/rds/src/model/RevokeOperatorPermissionRequest.cc index b6d8d16d5..770c627c1 100644 --- a/rds/src/model/RevokeOperatorPermissionRequest.cc +++ b/rds/src/model/RevokeOperatorPermissionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::RevokeOperatorPermissionRequest; - -RevokeOperatorPermissionRequest::RevokeOperatorPermissionRequest() : - RpcServiceRequest("rds", "2014-08-15", "RevokeOperatorPermission") -{} - -RevokeOperatorPermissionRequest::~RevokeOperatorPermissionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::RevokeOperatorPermissionRequest; + +RevokeOperatorPermissionRequest::RevokeOperatorPermissionRequest() : + RpcServiceRequest("rds", "2014-08-15", "RevokeOperatorPermission") +{} + +RevokeOperatorPermissionRequest::~RevokeOperatorPermissionRequest() +{} + long RevokeOperatorPermissionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/RevokeOperatorPermissionResult.cc b/rds/src/model/RevokeOperatorPermissionResult.cc index 717f2746d..f62a15479 100644 --- a/rds/src/model/RevokeOperatorPermissionResult.cc +++ b/rds/src/model/RevokeOperatorPermissionResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -RevokeOperatorPermissionResult::RevokeOperatorPermissionResult() : - ServiceResult() -{} - -RevokeOperatorPermissionResult::RevokeOperatorPermissionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RevokeOperatorPermissionResult::~RevokeOperatorPermissionResult() -{} - -void RevokeOperatorPermissionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +RevokeOperatorPermissionResult::RevokeOperatorPermissionResult() : + ServiceResult() +{} + +RevokeOperatorPermissionResult::RevokeOperatorPermissionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RevokeOperatorPermissionResult::~RevokeOperatorPermissionResult() +{} + +void RevokeOperatorPermissionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/SwitchDBInstanceHARequest.cc b/rds/src/model/SwitchDBInstanceHARequest.cc index b2d38c059..5babea4c1 100644 --- a/rds/src/model/SwitchDBInstanceHARequest.cc +++ b/rds/src/model/SwitchDBInstanceHARequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::SwitchDBInstanceHARequest; - -SwitchDBInstanceHARequest::SwitchDBInstanceHARequest() : - RpcServiceRequest("rds", "2014-08-15", "SwitchDBInstanceHA") -{} - -SwitchDBInstanceHARequest::~SwitchDBInstanceHARequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::SwitchDBInstanceHARequest; + +SwitchDBInstanceHARequest::SwitchDBInstanceHARequest() : + RpcServiceRequest("rds", "2014-08-15", "SwitchDBInstanceHA") +{} + +SwitchDBInstanceHARequest::~SwitchDBInstanceHARequest() +{} + long SwitchDBInstanceHARequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/SwitchDBInstanceHAResult.cc b/rds/src/model/SwitchDBInstanceHAResult.cc index ee8ba5f0e..4994a2c86 100644 --- a/rds/src/model/SwitchDBInstanceHAResult.cc +++ b/rds/src/model/SwitchDBInstanceHAResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -SwitchDBInstanceHAResult::SwitchDBInstanceHAResult() : - ServiceResult() -{} - -SwitchDBInstanceHAResult::SwitchDBInstanceHAResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SwitchDBInstanceHAResult::~SwitchDBInstanceHAResult() -{} - -void SwitchDBInstanceHAResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +SwitchDBInstanceHAResult::SwitchDBInstanceHAResult() : + ServiceResult() +{} + +SwitchDBInstanceHAResult::SwitchDBInstanceHAResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SwitchDBInstanceHAResult::~SwitchDBInstanceHAResult() +{} + +void SwitchDBInstanceHAResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/SwitchDBInstanceNetTypeRequest.cc b/rds/src/model/SwitchDBInstanceNetTypeRequest.cc index b47eb31c7..a72bee52d 100644 --- a/rds/src/model/SwitchDBInstanceNetTypeRequest.cc +++ b/rds/src/model/SwitchDBInstanceNetTypeRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::SwitchDBInstanceNetTypeRequest; - -SwitchDBInstanceNetTypeRequest::SwitchDBInstanceNetTypeRequest() : - RpcServiceRequest("rds", "2014-08-15", "SwitchDBInstanceNetType") -{} - -SwitchDBInstanceNetTypeRequest::~SwitchDBInstanceNetTypeRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::SwitchDBInstanceNetTypeRequest; + +SwitchDBInstanceNetTypeRequest::SwitchDBInstanceNetTypeRequest() : + RpcServiceRequest("rds", "2014-08-15", "SwitchDBInstanceNetType") +{} + +SwitchDBInstanceNetTypeRequest::~SwitchDBInstanceNetTypeRequest() +{} + long SwitchDBInstanceNetTypeRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/SwitchDBInstanceNetTypeResult.cc b/rds/src/model/SwitchDBInstanceNetTypeResult.cc index 3ebe1030d..52470df4e 100644 --- a/rds/src/model/SwitchDBInstanceNetTypeResult.cc +++ b/rds/src/model/SwitchDBInstanceNetTypeResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -SwitchDBInstanceNetTypeResult::SwitchDBInstanceNetTypeResult() : - ServiceResult() -{} - -SwitchDBInstanceNetTypeResult::SwitchDBInstanceNetTypeResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SwitchDBInstanceNetTypeResult::~SwitchDBInstanceNetTypeResult() -{} - -void SwitchDBInstanceNetTypeResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +SwitchDBInstanceNetTypeResult::SwitchDBInstanceNetTypeResult() : + ServiceResult() +{} + +SwitchDBInstanceNetTypeResult::SwitchDBInstanceNetTypeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SwitchDBInstanceNetTypeResult::~SwitchDBInstanceNetTypeResult() +{} + +void SwitchDBInstanceNetTypeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/SwitchDBInstanceVpcRequest.cc b/rds/src/model/SwitchDBInstanceVpcRequest.cc index 4e324d150..2bf1f1c62 100644 --- a/rds/src/model/SwitchDBInstanceVpcRequest.cc +++ b/rds/src/model/SwitchDBInstanceVpcRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::SwitchDBInstanceVpcRequest; - -SwitchDBInstanceVpcRequest::SwitchDBInstanceVpcRequest() : - RpcServiceRequest("rds", "2014-08-15", "SwitchDBInstanceVpc") -{} - -SwitchDBInstanceVpcRequest::~SwitchDBInstanceVpcRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::SwitchDBInstanceVpcRequest; + +SwitchDBInstanceVpcRequest::SwitchDBInstanceVpcRequest() : + RpcServiceRequest("rds", "2014-08-15", "SwitchDBInstanceVpc") +{} + +SwitchDBInstanceVpcRequest::~SwitchDBInstanceVpcRequest() +{} + std::string SwitchDBInstanceVpcRequest::getVSwitchId()const { return vSwitchId_; diff --git a/rds/src/model/SwitchDBInstanceVpcResult.cc b/rds/src/model/SwitchDBInstanceVpcResult.cc index 81d4b884b..2451f425c 100644 --- a/rds/src/model/SwitchDBInstanceVpcResult.cc +++ b/rds/src/model/SwitchDBInstanceVpcResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -SwitchDBInstanceVpcResult::SwitchDBInstanceVpcResult() : - ServiceResult() -{} - -SwitchDBInstanceVpcResult::SwitchDBInstanceVpcResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SwitchDBInstanceVpcResult::~SwitchDBInstanceVpcResult() -{} - -void SwitchDBInstanceVpcResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +SwitchDBInstanceVpcResult::SwitchDBInstanceVpcResult() : + ServiceResult() +{} + +SwitchDBInstanceVpcResult::SwitchDBInstanceVpcResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SwitchDBInstanceVpcResult::~SwitchDBInstanceVpcResult() +{} + +void SwitchDBInstanceVpcResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/rds/src/model/UpgradeDBInstanceEngineVersionRequest.cc b/rds/src/model/UpgradeDBInstanceEngineVersionRequest.cc index add4b7445..c44ee9b64 100644 --- a/rds/src/model/UpgradeDBInstanceEngineVersionRequest.cc +++ b/rds/src/model/UpgradeDBInstanceEngineVersionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::UpgradeDBInstanceEngineVersionRequest; - -UpgradeDBInstanceEngineVersionRequest::UpgradeDBInstanceEngineVersionRequest() : - RpcServiceRequest("rds", "2014-08-15", "UpgradeDBInstanceEngineVersion") -{} - -UpgradeDBInstanceEngineVersionRequest::~UpgradeDBInstanceEngineVersionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::UpgradeDBInstanceEngineVersionRequest; + +UpgradeDBInstanceEngineVersionRequest::UpgradeDBInstanceEngineVersionRequest() : + RpcServiceRequest("rds", "2014-08-15", "UpgradeDBInstanceEngineVersion") +{} + +UpgradeDBInstanceEngineVersionRequest::~UpgradeDBInstanceEngineVersionRequest() +{} + long UpgradeDBInstanceEngineVersionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/UpgradeDBInstanceEngineVersionResult.cc b/rds/src/model/UpgradeDBInstanceEngineVersionResult.cc index d2e65d893..db9c07458 100644 --- a/rds/src/model/UpgradeDBInstanceEngineVersionResult.cc +++ b/rds/src/model/UpgradeDBInstanceEngineVersionResult.cc @@ -1,50 +1,50 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -UpgradeDBInstanceEngineVersionResult::UpgradeDBInstanceEngineVersionResult() : - ServiceResult() -{} - -UpgradeDBInstanceEngineVersionResult::UpgradeDBInstanceEngineVersionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpgradeDBInstanceEngineVersionResult::~UpgradeDBInstanceEngineVersionResult() -{} - -void UpgradeDBInstanceEngineVersionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +UpgradeDBInstanceEngineVersionResult::UpgradeDBInstanceEngineVersionResult() : + ServiceResult() +{} + +UpgradeDBInstanceEngineVersionResult::UpgradeDBInstanceEngineVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpgradeDBInstanceEngineVersionResult::~UpgradeDBInstanceEngineVersionResult() +{} + +void UpgradeDBInstanceEngineVersionResult::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(); - -} - + +} + std::string UpgradeDBInstanceEngineVersionResult::getTaskId()const { return taskId_; diff --git a/rds/src/model/UpgradeDBInstanceKernelVersionRequest.cc b/rds/src/model/UpgradeDBInstanceKernelVersionRequest.cc index 53db8fb39..b9e695df3 100644 --- a/rds/src/model/UpgradeDBInstanceKernelVersionRequest.cc +++ b/rds/src/model/UpgradeDBInstanceKernelVersionRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Rds::Model::UpgradeDBInstanceKernelVersionRequest; - -UpgradeDBInstanceKernelVersionRequest::UpgradeDBInstanceKernelVersionRequest() : - RpcServiceRequest("rds", "2014-08-15", "UpgradeDBInstanceKernelVersion") -{} - -UpgradeDBInstanceKernelVersionRequest::~UpgradeDBInstanceKernelVersionRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Rds::Model::UpgradeDBInstanceKernelVersionRequest; + +UpgradeDBInstanceKernelVersionRequest::UpgradeDBInstanceKernelVersionRequest() : + RpcServiceRequest("rds", "2014-08-15", "UpgradeDBInstanceKernelVersion") +{} + +UpgradeDBInstanceKernelVersionRequest::~UpgradeDBInstanceKernelVersionRequest() +{} + long UpgradeDBInstanceKernelVersionRequest::getResourceOwnerId()const { return resourceOwnerId_; diff --git a/rds/src/model/UpgradeDBInstanceKernelVersionResult.cc b/rds/src/model/UpgradeDBInstanceKernelVersionResult.cc index e6e05454c..db27dcf39 100644 --- a/rds/src/model/UpgradeDBInstanceKernelVersionResult.cc +++ b/rds/src/model/UpgradeDBInstanceKernelVersionResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Rds; -using namespace AlibabaCloud::Rds::Model; - -UpgradeDBInstanceKernelVersionResult::UpgradeDBInstanceKernelVersionResult() : - ServiceResult() -{} - -UpgradeDBInstanceKernelVersionResult::UpgradeDBInstanceKernelVersionResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpgradeDBInstanceKernelVersionResult::~UpgradeDBInstanceKernelVersionResult() -{} - -void UpgradeDBInstanceKernelVersionResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Rds; +using namespace AlibabaCloud::Rds::Model; + +UpgradeDBInstanceKernelVersionResult::UpgradeDBInstanceKernelVersionResult() : + ServiceResult() +{} + +UpgradeDBInstanceKernelVersionResult::UpgradeDBInstanceKernelVersionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpgradeDBInstanceKernelVersionResult::~UpgradeDBInstanceKernelVersionResult() +{} + +void UpgradeDBInstanceKernelVersionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["DBInstanceName"].isNull()) dBInstanceName_ = value["DBInstanceName"].asString(); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["TargetMinorVersion"].isNull()) targetMinorVersion_ = value["TargetMinorVersion"].asString(); - -} - + +} + std::string UpgradeDBInstanceKernelVersionResult::getTaskId()const { return taskId_;