Generated 2017-08-01 for polardb.
This commit is contained in:
@@ -21,6 +21,8 @@ set(polardb_public_header
|
||||
include/alibabacloud/polardb/PolardbExport.h )
|
||||
|
||||
set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/CancelActiveOperationTasksRequest.h
|
||||
include/alibabacloud/polardb/model/CancelActiveOperationTasksResult.h
|
||||
include/alibabacloud/polardb/model/CancelScheduleTasksRequest.h
|
||||
include/alibabacloud/polardb/model/CancelScheduleTasksResult.h
|
||||
include/alibabacloud/polardb/model/CheckAccountNameRequest.h
|
||||
@@ -37,6 +39,8 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/CloseDBClusterMigrationResult.h
|
||||
include/alibabacloud/polardb/model/CreateAccountRequest.h
|
||||
include/alibabacloud/polardb/model/CreateAccountResult.h
|
||||
include/alibabacloud/polardb/model/CreateActivationCodeRequest.h
|
||||
include/alibabacloud/polardb/model/CreateActivationCodeResult.h
|
||||
include/alibabacloud/polardb/model/CreateBackupRequest.h
|
||||
include/alibabacloud/polardb/model/CreateBackupResult.h
|
||||
include/alibabacloud/polardb/model/CreateColdStorageInstanceRequest.h
|
||||
@@ -57,6 +61,8 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/CreateGlobalDatabaseNetworkResult.h
|
||||
include/alibabacloud/polardb/model/CreateGlobalSecurityIPGroupRequest.h
|
||||
include/alibabacloud/polardb/model/CreateGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/polardb/model/CreateOrGetVirtualLicenseOrderRequest.h
|
||||
include/alibabacloud/polardb/model/CreateOrGetVirtualLicenseOrderResult.h
|
||||
include/alibabacloud/polardb/model/CreateParameterGroupRequest.h
|
||||
include/alibabacloud/polardb/model/CreateParameterGroupResult.h
|
||||
include/alibabacloud/polardb/model/CreateServiceLinkedRoleRequest.h
|
||||
@@ -91,6 +97,12 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/DescribeAITaskStatusResult.h
|
||||
include/alibabacloud/polardb/model/DescribeAccountsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeActivationCodeDetailsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeActivationCodeDetailsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeActivationCodesRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeActivationCodesResult.h
|
||||
include/alibabacloud/polardb/model/DescribeActiveOperationTasksRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeActiveOperationTasksResult.h
|
||||
include/alibabacloud/polardb/model/DescribeAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeAutoRenewAttributeResult.h
|
||||
include/alibabacloud/polardb/model/DescribeBackupLogsRequest.h
|
||||
@@ -161,6 +173,10 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/DescribeGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/polardb/model/DescribeGlobalSecurityIPGroupRelationRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeGlobalSecurityIPGroupRelationResult.h
|
||||
include/alibabacloud/polardb/model/DescribeLicenseOrderDetailsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeLicenseOrderDetailsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeLicenseOrdersRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeLicenseOrdersResult.h
|
||||
include/alibabacloud/polardb/model/DescribeLogBackupPolicyRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeLogBackupPolicyResult.h
|
||||
include/alibabacloud/polardb/model/DescribeMaskingRulesRequest.h
|
||||
@@ -213,6 +229,8 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/polardb/model/ModifyAccountPasswordRequest.h
|
||||
include/alibabacloud/polardb/model/ModifyAccountPasswordResult.h
|
||||
include/alibabacloud/polardb/model/ModifyActiveOperationTasksRequest.h
|
||||
include/alibabacloud/polardb/model/ModifyActiveOperationTasksResult.h
|
||||
include/alibabacloud/polardb/model/ModifyAutoRenewAttributeRequest.h
|
||||
include/alibabacloud/polardb/model/ModifyAutoRenewAttributeResult.h
|
||||
include/alibabacloud/polardb/model/ModifyBackupPolicyRequest.h
|
||||
@@ -247,6 +265,8 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterSSLResult.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterServerlessConfRequest.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterServerlessConfResult.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterStoragePerformanceRequest.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterStoragePerformanceResult.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterStorageSpaceRequest.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterStorageSpaceResult.h
|
||||
include/alibabacloud/polardb/model/ModifyDBClusterTDERequest.h
|
||||
@@ -287,6 +307,8 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/ResetAccountResult.h
|
||||
include/alibabacloud/polardb/model/ResetGlobalDatabaseNetworkRequest.h
|
||||
include/alibabacloud/polardb/model/ResetGlobalDatabaseNetworkResult.h
|
||||
include/alibabacloud/polardb/model/RestartDBLinkRequest.h
|
||||
include/alibabacloud/polardb/model/RestartDBLinkResult.h
|
||||
include/alibabacloud/polardb/model/RestartDBNodeRequest.h
|
||||
include/alibabacloud/polardb/model/RestartDBNodeResult.h
|
||||
include/alibabacloud/polardb/model/RestoreTableRequest.h
|
||||
@@ -303,13 +325,13 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/TransformDBClusterPayTypeResult.h
|
||||
include/alibabacloud/polardb/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/polardb/model/UntagResourcesResult.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionRequest.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterMinorVersionResult.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterVersionRequest.h
|
||||
include/alibabacloud/polardb/model/UpgradeDBClusterVersionResult.h )
|
||||
|
||||
set(polardb_src
|
||||
src/PolardbClient.cc
|
||||
src/model/CancelActiveOperationTasksRequest.cc
|
||||
src/model/CancelActiveOperationTasksResult.cc
|
||||
src/model/CancelScheduleTasksRequest.cc
|
||||
src/model/CancelScheduleTasksResult.cc
|
||||
src/model/CheckAccountNameRequest.cc
|
||||
@@ -326,6 +348,8 @@ set(polardb_src
|
||||
src/model/CloseDBClusterMigrationResult.cc
|
||||
src/model/CreateAccountRequest.cc
|
||||
src/model/CreateAccountResult.cc
|
||||
src/model/CreateActivationCodeRequest.cc
|
||||
src/model/CreateActivationCodeResult.cc
|
||||
src/model/CreateBackupRequest.cc
|
||||
src/model/CreateBackupResult.cc
|
||||
src/model/CreateColdStorageInstanceRequest.cc
|
||||
@@ -346,6 +370,8 @@ set(polardb_src
|
||||
src/model/CreateGlobalDatabaseNetworkResult.cc
|
||||
src/model/CreateGlobalSecurityIPGroupRequest.cc
|
||||
src/model/CreateGlobalSecurityIPGroupResult.cc
|
||||
src/model/CreateOrGetVirtualLicenseOrderRequest.cc
|
||||
src/model/CreateOrGetVirtualLicenseOrderResult.cc
|
||||
src/model/CreateParameterGroupRequest.cc
|
||||
src/model/CreateParameterGroupResult.cc
|
||||
src/model/CreateServiceLinkedRoleRequest.cc
|
||||
@@ -380,6 +406,12 @@ set(polardb_src
|
||||
src/model/DescribeAITaskStatusResult.cc
|
||||
src/model/DescribeAccountsRequest.cc
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeActivationCodeDetailsRequest.cc
|
||||
src/model/DescribeActivationCodeDetailsResult.cc
|
||||
src/model/DescribeActivationCodesRequest.cc
|
||||
src/model/DescribeActivationCodesResult.cc
|
||||
src/model/DescribeActiveOperationTasksRequest.cc
|
||||
src/model/DescribeActiveOperationTasksResult.cc
|
||||
src/model/DescribeAutoRenewAttributeRequest.cc
|
||||
src/model/DescribeAutoRenewAttributeResult.cc
|
||||
src/model/DescribeBackupLogsRequest.cc
|
||||
@@ -450,6 +482,10 @@ set(polardb_src
|
||||
src/model/DescribeGlobalSecurityIPGroupResult.cc
|
||||
src/model/DescribeGlobalSecurityIPGroupRelationRequest.cc
|
||||
src/model/DescribeGlobalSecurityIPGroupRelationResult.cc
|
||||
src/model/DescribeLicenseOrderDetailsRequest.cc
|
||||
src/model/DescribeLicenseOrderDetailsResult.cc
|
||||
src/model/DescribeLicenseOrdersRequest.cc
|
||||
src/model/DescribeLicenseOrdersResult.cc
|
||||
src/model/DescribeLogBackupPolicyRequest.cc
|
||||
src/model/DescribeLogBackupPolicyResult.cc
|
||||
src/model/DescribeMaskingRulesRequest.cc
|
||||
@@ -502,6 +538,8 @@ set(polardb_src
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyAccountPasswordRequest.cc
|
||||
src/model/ModifyAccountPasswordResult.cc
|
||||
src/model/ModifyActiveOperationTasksRequest.cc
|
||||
src/model/ModifyActiveOperationTasksResult.cc
|
||||
src/model/ModifyAutoRenewAttributeRequest.cc
|
||||
src/model/ModifyAutoRenewAttributeResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
@@ -536,6 +574,8 @@ set(polardb_src
|
||||
src/model/ModifyDBClusterSSLResult.cc
|
||||
src/model/ModifyDBClusterServerlessConfRequest.cc
|
||||
src/model/ModifyDBClusterServerlessConfResult.cc
|
||||
src/model/ModifyDBClusterStoragePerformanceRequest.cc
|
||||
src/model/ModifyDBClusterStoragePerformanceResult.cc
|
||||
src/model/ModifyDBClusterStorageSpaceRequest.cc
|
||||
src/model/ModifyDBClusterStorageSpaceResult.cc
|
||||
src/model/ModifyDBClusterTDERequest.cc
|
||||
@@ -576,6 +616,8 @@ set(polardb_src
|
||||
src/model/ResetAccountResult.cc
|
||||
src/model/ResetGlobalDatabaseNetworkRequest.cc
|
||||
src/model/ResetGlobalDatabaseNetworkResult.cc
|
||||
src/model/RestartDBLinkRequest.cc
|
||||
src/model/RestartDBLinkResult.cc
|
||||
src/model/RestartDBNodeRequest.cc
|
||||
src/model/RestartDBNodeResult.cc
|
||||
src/model/RestoreTableRequest.cc
|
||||
@@ -592,8 +634,6 @@ set(polardb_src
|
||||
src/model/TransformDBClusterPayTypeResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc
|
||||
src/model/UpgradeDBClusterMinorVersionRequest.cc
|
||||
src/model/UpgradeDBClusterMinorVersionResult.cc
|
||||
src/model/UpgradeDBClusterVersionRequest.cc
|
||||
src/model/UpgradeDBClusterVersionResult.cc )
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "PolardbExport.h"
|
||||
#include "model/CancelActiveOperationTasksRequest.h"
|
||||
#include "model/CancelActiveOperationTasksResult.h"
|
||||
#include "model/CancelScheduleTasksRequest.h"
|
||||
#include "model/CancelScheduleTasksResult.h"
|
||||
#include "model/CheckAccountNameRequest.h"
|
||||
@@ -38,6 +40,8 @@
|
||||
#include "model/CloseDBClusterMigrationResult.h"
|
||||
#include "model/CreateAccountRequest.h"
|
||||
#include "model/CreateAccountResult.h"
|
||||
#include "model/CreateActivationCodeRequest.h"
|
||||
#include "model/CreateActivationCodeResult.h"
|
||||
#include "model/CreateBackupRequest.h"
|
||||
#include "model/CreateBackupResult.h"
|
||||
#include "model/CreateColdStorageInstanceRequest.h"
|
||||
@@ -58,6 +62,8 @@
|
||||
#include "model/CreateGlobalDatabaseNetworkResult.h"
|
||||
#include "model/CreateGlobalSecurityIPGroupRequest.h"
|
||||
#include "model/CreateGlobalSecurityIPGroupResult.h"
|
||||
#include "model/CreateOrGetVirtualLicenseOrderRequest.h"
|
||||
#include "model/CreateOrGetVirtualLicenseOrderResult.h"
|
||||
#include "model/CreateParameterGroupRequest.h"
|
||||
#include "model/CreateParameterGroupResult.h"
|
||||
#include "model/CreateServiceLinkedRoleRequest.h"
|
||||
@@ -92,6 +98,12 @@
|
||||
#include "model/DescribeAITaskStatusResult.h"
|
||||
#include "model/DescribeAccountsRequest.h"
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeActivationCodeDetailsRequest.h"
|
||||
#include "model/DescribeActivationCodeDetailsResult.h"
|
||||
#include "model/DescribeActivationCodesRequest.h"
|
||||
#include "model/DescribeActivationCodesResult.h"
|
||||
#include "model/DescribeActiveOperationTasksRequest.h"
|
||||
#include "model/DescribeActiveOperationTasksResult.h"
|
||||
#include "model/DescribeAutoRenewAttributeRequest.h"
|
||||
#include "model/DescribeAutoRenewAttributeResult.h"
|
||||
#include "model/DescribeBackupLogsRequest.h"
|
||||
@@ -162,6 +174,10 @@
|
||||
#include "model/DescribeGlobalSecurityIPGroupResult.h"
|
||||
#include "model/DescribeGlobalSecurityIPGroupRelationRequest.h"
|
||||
#include "model/DescribeGlobalSecurityIPGroupRelationResult.h"
|
||||
#include "model/DescribeLicenseOrderDetailsRequest.h"
|
||||
#include "model/DescribeLicenseOrderDetailsResult.h"
|
||||
#include "model/DescribeLicenseOrdersRequest.h"
|
||||
#include "model/DescribeLicenseOrdersResult.h"
|
||||
#include "model/DescribeLogBackupPolicyRequest.h"
|
||||
#include "model/DescribeLogBackupPolicyResult.h"
|
||||
#include "model/DescribeMaskingRulesRequest.h"
|
||||
@@ -214,6 +230,8 @@
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyAccountPasswordRequest.h"
|
||||
#include "model/ModifyAccountPasswordResult.h"
|
||||
#include "model/ModifyActiveOperationTasksRequest.h"
|
||||
#include "model/ModifyActiveOperationTasksResult.h"
|
||||
#include "model/ModifyAutoRenewAttributeRequest.h"
|
||||
#include "model/ModifyAutoRenewAttributeResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
@@ -248,6 +266,8 @@
|
||||
#include "model/ModifyDBClusterSSLResult.h"
|
||||
#include "model/ModifyDBClusterServerlessConfRequest.h"
|
||||
#include "model/ModifyDBClusterServerlessConfResult.h"
|
||||
#include "model/ModifyDBClusterStoragePerformanceRequest.h"
|
||||
#include "model/ModifyDBClusterStoragePerformanceResult.h"
|
||||
#include "model/ModifyDBClusterStorageSpaceRequest.h"
|
||||
#include "model/ModifyDBClusterStorageSpaceResult.h"
|
||||
#include "model/ModifyDBClusterTDERequest.h"
|
||||
@@ -288,6 +308,8 @@
|
||||
#include "model/ResetAccountResult.h"
|
||||
#include "model/ResetGlobalDatabaseNetworkRequest.h"
|
||||
#include "model/ResetGlobalDatabaseNetworkResult.h"
|
||||
#include "model/RestartDBLinkRequest.h"
|
||||
#include "model/RestartDBLinkResult.h"
|
||||
#include "model/RestartDBNodeRequest.h"
|
||||
#include "model/RestartDBNodeResult.h"
|
||||
#include "model/RestoreTableRequest.h"
|
||||
@@ -304,8 +326,6 @@
|
||||
#include "model/TransformDBClusterPayTypeResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
#include "model/UpgradeDBClusterMinorVersionRequest.h"
|
||||
#include "model/UpgradeDBClusterMinorVersionResult.h"
|
||||
#include "model/UpgradeDBClusterVersionRequest.h"
|
||||
#include "model/UpgradeDBClusterVersionResult.h"
|
||||
|
||||
@@ -317,6 +337,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_POLARDB_EXPORT PolardbClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CancelActiveOperationTasksResult> CancelActiveOperationTasksOutcome;
|
||||
typedef std::future<CancelActiveOperationTasksOutcome> CancelActiveOperationTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CancelActiveOperationTasksRequest&, const CancelActiveOperationTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelActiveOperationTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelScheduleTasksResult> CancelScheduleTasksOutcome;
|
||||
typedef std::future<CancelScheduleTasksOutcome> CancelScheduleTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CancelScheduleTasksRequest&, const CancelScheduleTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelScheduleTasksAsyncHandler;
|
||||
@@ -341,6 +364,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateAccountResult> CreateAccountOutcome;
|
||||
typedef std::future<CreateAccountOutcome> CreateAccountOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CreateAccountRequest&, const CreateAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateActivationCodeResult> CreateActivationCodeOutcome;
|
||||
typedef std::future<CreateActivationCodeOutcome> CreateActivationCodeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CreateActivationCodeRequest&, const CreateActivationCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateActivationCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateBackupResult> CreateBackupOutcome;
|
||||
typedef std::future<CreateBackupOutcome> CreateBackupOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CreateBackupRequest&, const CreateBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBackupAsyncHandler;
|
||||
@@ -371,6 +397,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateGlobalSecurityIPGroupResult> CreateGlobalSecurityIPGroupOutcome;
|
||||
typedef std::future<CreateGlobalSecurityIPGroupOutcome> CreateGlobalSecurityIPGroupOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CreateGlobalSecurityIPGroupRequest&, const CreateGlobalSecurityIPGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateGlobalSecurityIPGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateOrGetVirtualLicenseOrderResult> CreateOrGetVirtualLicenseOrderOutcome;
|
||||
typedef std::future<CreateOrGetVirtualLicenseOrderOutcome> CreateOrGetVirtualLicenseOrderOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CreateOrGetVirtualLicenseOrderRequest&, const CreateOrGetVirtualLicenseOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateOrGetVirtualLicenseOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateParameterGroupResult> CreateParameterGroupOutcome;
|
||||
typedef std::future<CreateParameterGroupOutcome> CreateParameterGroupOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::CreateParameterGroupRequest&, const CreateParameterGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateParameterGroupAsyncHandler;
|
||||
@@ -422,6 +451,15 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAccountsResult> DescribeAccountsOutcome;
|
||||
typedef std::future<DescribeAccountsOutcome> DescribeAccountsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeAccountsRequest&, const DescribeAccountsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActivationCodeDetailsResult> DescribeActivationCodeDetailsOutcome;
|
||||
typedef std::future<DescribeActivationCodeDetailsOutcome> DescribeActivationCodeDetailsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeActivationCodeDetailsRequest&, const DescribeActivationCodeDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActivationCodeDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActivationCodesResult> DescribeActivationCodesOutcome;
|
||||
typedef std::future<DescribeActivationCodesOutcome> DescribeActivationCodesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeActivationCodesRequest&, const DescribeActivationCodesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActivationCodesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActiveOperationTasksResult> DescribeActiveOperationTasksOutcome;
|
||||
typedef std::future<DescribeActiveOperationTasksOutcome> DescribeActiveOperationTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeActiveOperationTasksRequest&, const DescribeActiveOperationTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActiveOperationTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAutoRenewAttributeResult> DescribeAutoRenewAttributeOutcome;
|
||||
typedef std::future<DescribeAutoRenewAttributeOutcome> DescribeAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeAutoRenewAttributeRequest&, const DescribeAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAutoRenewAttributeAsyncHandler;
|
||||
@@ -527,6 +565,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeGlobalSecurityIPGroupRelationResult> DescribeGlobalSecurityIPGroupRelationOutcome;
|
||||
typedef std::future<DescribeGlobalSecurityIPGroupRelationOutcome> DescribeGlobalSecurityIPGroupRelationOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeGlobalSecurityIPGroupRelationRequest&, const DescribeGlobalSecurityIPGroupRelationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeGlobalSecurityIPGroupRelationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLicenseOrderDetailsResult> DescribeLicenseOrderDetailsOutcome;
|
||||
typedef std::future<DescribeLicenseOrderDetailsOutcome> DescribeLicenseOrderDetailsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeLicenseOrderDetailsRequest&, const DescribeLicenseOrderDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLicenseOrderDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLicenseOrdersResult> DescribeLicenseOrdersOutcome;
|
||||
typedef std::future<DescribeLicenseOrdersOutcome> DescribeLicenseOrdersOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeLicenseOrdersRequest&, const DescribeLicenseOrdersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLicenseOrdersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogBackupPolicyResult> DescribeLogBackupPolicyOutcome;
|
||||
typedef std::future<DescribeLogBackupPolicyOutcome> DescribeLogBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeLogBackupPolicyRequest&, const DescribeLogBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogBackupPolicyAsyncHandler;
|
||||
@@ -605,6 +649,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyAccountPasswordResult> ModifyAccountPasswordOutcome;
|
||||
typedef std::future<ModifyAccountPasswordOutcome> ModifyAccountPasswordOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ModifyAccountPasswordRequest&, const ModifyAccountPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyActiveOperationTasksResult> ModifyActiveOperationTasksOutcome;
|
||||
typedef std::future<ModifyActiveOperationTasksOutcome> ModifyActiveOperationTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ModifyActiveOperationTasksRequest&, const ModifyActiveOperationTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyActiveOperationTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAutoRenewAttributeResult> ModifyAutoRenewAttributeOutcome;
|
||||
typedef std::future<ModifyAutoRenewAttributeOutcome> ModifyAutoRenewAttributeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ModifyAutoRenewAttributeRequest&, const ModifyAutoRenewAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAutoRenewAttributeAsyncHandler;
|
||||
@@ -656,6 +703,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDBClusterServerlessConfResult> ModifyDBClusterServerlessConfOutcome;
|
||||
typedef std::future<ModifyDBClusterServerlessConfOutcome> ModifyDBClusterServerlessConfOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ModifyDBClusterServerlessConfRequest&, const ModifyDBClusterServerlessConfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterServerlessConfAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBClusterStoragePerformanceResult> ModifyDBClusterStoragePerformanceOutcome;
|
||||
typedef std::future<ModifyDBClusterStoragePerformanceOutcome> ModifyDBClusterStoragePerformanceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ModifyDBClusterStoragePerformanceRequest&, const ModifyDBClusterStoragePerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterStoragePerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBClusterStorageSpaceResult> ModifyDBClusterStorageSpaceOutcome;
|
||||
typedef std::future<ModifyDBClusterStorageSpaceOutcome> ModifyDBClusterStorageSpaceOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ModifyDBClusterStorageSpaceRequest&, const ModifyDBClusterStorageSpaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBClusterStorageSpaceAsyncHandler;
|
||||
@@ -716,6 +766,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResetGlobalDatabaseNetworkResult> ResetGlobalDatabaseNetworkOutcome;
|
||||
typedef std::future<ResetGlobalDatabaseNetworkOutcome> ResetGlobalDatabaseNetworkOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::ResetGlobalDatabaseNetworkRequest&, const ResetGlobalDatabaseNetworkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetGlobalDatabaseNetworkAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDBLinkResult> RestartDBLinkOutcome;
|
||||
typedef std::future<RestartDBLinkOutcome> RestartDBLinkOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::RestartDBLinkRequest&, const RestartDBLinkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDBLinkAsyncHandler;
|
||||
typedef Outcome<Error, Model::RestartDBNodeResult> RestartDBNodeOutcome;
|
||||
typedef std::future<RestartDBNodeOutcome> RestartDBNodeOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::RestartDBNodeRequest&, const RestartDBNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RestartDBNodeAsyncHandler;
|
||||
@@ -740,9 +793,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBClusterMinorVersionResult> UpgradeDBClusterMinorVersionOutcome;
|
||||
typedef std::future<UpgradeDBClusterMinorVersionOutcome> UpgradeDBClusterMinorVersionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::UpgradeDBClusterMinorVersionRequest&, const UpgradeDBClusterMinorVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBClusterMinorVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpgradeDBClusterVersionResult> UpgradeDBClusterVersionOutcome;
|
||||
typedef std::future<UpgradeDBClusterVersionOutcome> UpgradeDBClusterVersionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::UpgradeDBClusterVersionRequest&, const UpgradeDBClusterVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpgradeDBClusterVersionAsyncHandler;
|
||||
@@ -751,6 +801,9 @@ namespace AlibabaCloud
|
||||
PolardbClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
PolardbClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~PolardbClient();
|
||||
CancelActiveOperationTasksOutcome cancelActiveOperationTasks(const Model::CancelActiveOperationTasksRequest &request)const;
|
||||
void cancelActiveOperationTasksAsync(const Model::CancelActiveOperationTasksRequest& request, const CancelActiveOperationTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelActiveOperationTasksOutcomeCallable cancelActiveOperationTasksCallable(const Model::CancelActiveOperationTasksRequest& request) const;
|
||||
CancelScheduleTasksOutcome cancelScheduleTasks(const Model::CancelScheduleTasksRequest &request)const;
|
||||
void cancelScheduleTasksAsync(const Model::CancelScheduleTasksRequest& request, const CancelScheduleTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelScheduleTasksOutcomeCallable cancelScheduleTasksCallable(const Model::CancelScheduleTasksRequest& request) const;
|
||||
@@ -775,6 +828,9 @@ namespace AlibabaCloud
|
||||
CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const;
|
||||
void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const;
|
||||
CreateActivationCodeOutcome createActivationCode(const Model::CreateActivationCodeRequest &request)const;
|
||||
void createActivationCodeAsync(const Model::CreateActivationCodeRequest& request, const CreateActivationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateActivationCodeOutcomeCallable createActivationCodeCallable(const Model::CreateActivationCodeRequest& request) const;
|
||||
CreateBackupOutcome createBackup(const Model::CreateBackupRequest &request)const;
|
||||
void createBackupAsync(const Model::CreateBackupRequest& request, const CreateBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBackupOutcomeCallable createBackupCallable(const Model::CreateBackupRequest& request) const;
|
||||
@@ -805,6 +861,9 @@ namespace AlibabaCloud
|
||||
CreateGlobalSecurityIPGroupOutcome createGlobalSecurityIPGroup(const Model::CreateGlobalSecurityIPGroupRequest &request)const;
|
||||
void createGlobalSecurityIPGroupAsync(const Model::CreateGlobalSecurityIPGroupRequest& request, const CreateGlobalSecurityIPGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateGlobalSecurityIPGroupOutcomeCallable createGlobalSecurityIPGroupCallable(const Model::CreateGlobalSecurityIPGroupRequest& request) const;
|
||||
CreateOrGetVirtualLicenseOrderOutcome createOrGetVirtualLicenseOrder(const Model::CreateOrGetVirtualLicenseOrderRequest &request)const;
|
||||
void createOrGetVirtualLicenseOrderAsync(const Model::CreateOrGetVirtualLicenseOrderRequest& request, const CreateOrGetVirtualLicenseOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateOrGetVirtualLicenseOrderOutcomeCallable createOrGetVirtualLicenseOrderCallable(const Model::CreateOrGetVirtualLicenseOrderRequest& request) const;
|
||||
CreateParameterGroupOutcome createParameterGroup(const Model::CreateParameterGroupRequest &request)const;
|
||||
void createParameterGroupAsync(const Model::CreateParameterGroupRequest& request, const CreateParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateParameterGroupOutcomeCallable createParameterGroupCallable(const Model::CreateParameterGroupRequest& request) const;
|
||||
@@ -856,6 +915,15 @@ namespace AlibabaCloud
|
||||
DescribeAccountsOutcome describeAccounts(const Model::DescribeAccountsRequest &request)const;
|
||||
void describeAccountsAsync(const Model::DescribeAccountsRequest& request, const DescribeAccountsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccountsOutcomeCallable describeAccountsCallable(const Model::DescribeAccountsRequest& request) const;
|
||||
DescribeActivationCodeDetailsOutcome describeActivationCodeDetails(const Model::DescribeActivationCodeDetailsRequest &request)const;
|
||||
void describeActivationCodeDetailsAsync(const Model::DescribeActivationCodeDetailsRequest& request, const DescribeActivationCodeDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeActivationCodeDetailsOutcomeCallable describeActivationCodeDetailsCallable(const Model::DescribeActivationCodeDetailsRequest& request) const;
|
||||
DescribeActivationCodesOutcome describeActivationCodes(const Model::DescribeActivationCodesRequest &request)const;
|
||||
void describeActivationCodesAsync(const Model::DescribeActivationCodesRequest& request, const DescribeActivationCodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeActivationCodesOutcomeCallable describeActivationCodesCallable(const Model::DescribeActivationCodesRequest& request) const;
|
||||
DescribeActiveOperationTasksOutcome describeActiveOperationTasks(const Model::DescribeActiveOperationTasksRequest &request)const;
|
||||
void describeActiveOperationTasksAsync(const Model::DescribeActiveOperationTasksRequest& request, const DescribeActiveOperationTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeActiveOperationTasksOutcomeCallable describeActiveOperationTasksCallable(const Model::DescribeActiveOperationTasksRequest& request) const;
|
||||
DescribeAutoRenewAttributeOutcome describeAutoRenewAttribute(const Model::DescribeAutoRenewAttributeRequest &request)const;
|
||||
void describeAutoRenewAttributeAsync(const Model::DescribeAutoRenewAttributeRequest& request, const DescribeAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAutoRenewAttributeOutcomeCallable describeAutoRenewAttributeCallable(const Model::DescribeAutoRenewAttributeRequest& request) const;
|
||||
@@ -961,6 +1029,12 @@ namespace AlibabaCloud
|
||||
DescribeGlobalSecurityIPGroupRelationOutcome describeGlobalSecurityIPGroupRelation(const Model::DescribeGlobalSecurityIPGroupRelationRequest &request)const;
|
||||
void describeGlobalSecurityIPGroupRelationAsync(const Model::DescribeGlobalSecurityIPGroupRelationRequest& request, const DescribeGlobalSecurityIPGroupRelationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeGlobalSecurityIPGroupRelationOutcomeCallable describeGlobalSecurityIPGroupRelationCallable(const Model::DescribeGlobalSecurityIPGroupRelationRequest& request) const;
|
||||
DescribeLicenseOrderDetailsOutcome describeLicenseOrderDetails(const Model::DescribeLicenseOrderDetailsRequest &request)const;
|
||||
void describeLicenseOrderDetailsAsync(const Model::DescribeLicenseOrderDetailsRequest& request, const DescribeLicenseOrderDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLicenseOrderDetailsOutcomeCallable describeLicenseOrderDetailsCallable(const Model::DescribeLicenseOrderDetailsRequest& request) const;
|
||||
DescribeLicenseOrdersOutcome describeLicenseOrders(const Model::DescribeLicenseOrdersRequest &request)const;
|
||||
void describeLicenseOrdersAsync(const Model::DescribeLicenseOrdersRequest& request, const DescribeLicenseOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLicenseOrdersOutcomeCallable describeLicenseOrdersCallable(const Model::DescribeLicenseOrdersRequest& request) const;
|
||||
DescribeLogBackupPolicyOutcome describeLogBackupPolicy(const Model::DescribeLogBackupPolicyRequest &request)const;
|
||||
void describeLogBackupPolicyAsync(const Model::DescribeLogBackupPolicyRequest& request, const DescribeLogBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogBackupPolicyOutcomeCallable describeLogBackupPolicyCallable(const Model::DescribeLogBackupPolicyRequest& request) const;
|
||||
@@ -1039,6 +1113,9 @@ namespace AlibabaCloud
|
||||
ModifyAccountPasswordOutcome modifyAccountPassword(const Model::ModifyAccountPasswordRequest &request)const;
|
||||
void modifyAccountPasswordAsync(const Model::ModifyAccountPasswordRequest& request, const ModifyAccountPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountPasswordOutcomeCallable modifyAccountPasswordCallable(const Model::ModifyAccountPasswordRequest& request) const;
|
||||
ModifyActiveOperationTasksOutcome modifyActiveOperationTasks(const Model::ModifyActiveOperationTasksRequest &request)const;
|
||||
void modifyActiveOperationTasksAsync(const Model::ModifyActiveOperationTasksRequest& request, const ModifyActiveOperationTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyActiveOperationTasksOutcomeCallable modifyActiveOperationTasksCallable(const Model::ModifyActiveOperationTasksRequest& request) const;
|
||||
ModifyAutoRenewAttributeOutcome modifyAutoRenewAttribute(const Model::ModifyAutoRenewAttributeRequest &request)const;
|
||||
void modifyAutoRenewAttributeAsync(const Model::ModifyAutoRenewAttributeRequest& request, const ModifyAutoRenewAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAutoRenewAttributeOutcomeCallable modifyAutoRenewAttributeCallable(const Model::ModifyAutoRenewAttributeRequest& request) const;
|
||||
@@ -1090,6 +1167,9 @@ namespace AlibabaCloud
|
||||
ModifyDBClusterServerlessConfOutcome modifyDBClusterServerlessConf(const Model::ModifyDBClusterServerlessConfRequest &request)const;
|
||||
void modifyDBClusterServerlessConfAsync(const Model::ModifyDBClusterServerlessConfRequest& request, const ModifyDBClusterServerlessConfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterServerlessConfOutcomeCallable modifyDBClusterServerlessConfCallable(const Model::ModifyDBClusterServerlessConfRequest& request) const;
|
||||
ModifyDBClusterStoragePerformanceOutcome modifyDBClusterStoragePerformance(const Model::ModifyDBClusterStoragePerformanceRequest &request)const;
|
||||
void modifyDBClusterStoragePerformanceAsync(const Model::ModifyDBClusterStoragePerformanceRequest& request, const ModifyDBClusterStoragePerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterStoragePerformanceOutcomeCallable modifyDBClusterStoragePerformanceCallable(const Model::ModifyDBClusterStoragePerformanceRequest& request) const;
|
||||
ModifyDBClusterStorageSpaceOutcome modifyDBClusterStorageSpace(const Model::ModifyDBClusterStorageSpaceRequest &request)const;
|
||||
void modifyDBClusterStorageSpaceAsync(const Model::ModifyDBClusterStorageSpaceRequest& request, const ModifyDBClusterStorageSpaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBClusterStorageSpaceOutcomeCallable modifyDBClusterStorageSpaceCallable(const Model::ModifyDBClusterStorageSpaceRequest& request) const;
|
||||
@@ -1150,6 +1230,9 @@ namespace AlibabaCloud
|
||||
ResetGlobalDatabaseNetworkOutcome resetGlobalDatabaseNetwork(const Model::ResetGlobalDatabaseNetworkRequest &request)const;
|
||||
void resetGlobalDatabaseNetworkAsync(const Model::ResetGlobalDatabaseNetworkRequest& request, const ResetGlobalDatabaseNetworkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetGlobalDatabaseNetworkOutcomeCallable resetGlobalDatabaseNetworkCallable(const Model::ResetGlobalDatabaseNetworkRequest& request) const;
|
||||
RestartDBLinkOutcome restartDBLink(const Model::RestartDBLinkRequest &request)const;
|
||||
void restartDBLinkAsync(const Model::RestartDBLinkRequest& request, const RestartDBLinkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDBLinkOutcomeCallable restartDBLinkCallable(const Model::RestartDBLinkRequest& request) const;
|
||||
RestartDBNodeOutcome restartDBNode(const Model::RestartDBNodeRequest &request)const;
|
||||
void restartDBNodeAsync(const Model::RestartDBNodeRequest& request, const RestartDBNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RestartDBNodeOutcomeCallable restartDBNodeCallable(const Model::RestartDBNodeRequest& request) const;
|
||||
@@ -1174,9 +1257,6 @@ namespace AlibabaCloud
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
UpgradeDBClusterMinorVersionOutcome upgradeDBClusterMinorVersion(const Model::UpgradeDBClusterMinorVersionRequest &request)const;
|
||||
void upgradeDBClusterMinorVersionAsync(const Model::UpgradeDBClusterMinorVersionRequest& request, const UpgradeDBClusterMinorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBClusterMinorVersionOutcomeCallable upgradeDBClusterMinorVersionCallable(const Model::UpgradeDBClusterMinorVersionRequest& request) const;
|
||||
UpgradeDBClusterVersionOutcome upgradeDBClusterVersion(const Model::UpgradeDBClusterVersionRequest &request)const;
|
||||
void upgradeDBClusterVersionAsync(const Model::UpgradeDBClusterVersionRequest& request, const UpgradeDBClusterVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpgradeDBClusterVersionOutcomeCallable upgradeDBClusterVersionCallable(const Model::UpgradeDBClusterVersionRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_CANCELACTIVEOPERATIONTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_CANCELACTIVEOPERATIONTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CancelActiveOperationTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CancelActiveOperationTasksRequest();
|
||||
~CancelActiveOperationTasksRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTaskIds() const;
|
||||
void setTaskIds(const std::string &taskIds);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getUid() const;
|
||||
void setUid(const std::string &uid);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEngineType() const;
|
||||
void setEngineType(const std::string &engineType);
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string taskIds_;
|
||||
std::string accessKeyId_;
|
||||
std::string uid_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_CANCELACTIVEOPERATIONTASKSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_CANCELACTIVEOPERATIONTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_CANCELACTIVEOPERATIONTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CancelActiveOperationTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CancelActiveOperationTasksResult();
|
||||
explicit CancelActiveOperationTasksResult(const std::string &payload);
|
||||
~CancelActiveOperationTasksResult();
|
||||
std::string getTaskIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_CANCELACTIVEOPERATIONTASKSRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_CREATEACTIVATIONCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_CREATEACTIVATIONCODEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CreateActivationCodeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateActivationCodeRequest();
|
||||
~CreateActivationCodeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAliyunOrderId() const;
|
||||
void setAliyunOrderId(const std::string &aliyunOrderId);
|
||||
std::string getMacAddress() const;
|
||||
void setMacAddress(const std::string &macAddress);
|
||||
std::string getSystemIdentifier() const;
|
||||
void setSystemIdentifier(const std::string &systemIdentifier);
|
||||
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 getName() const;
|
||||
void setName(const std::string &name);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string description_;
|
||||
std::string accessKeyId_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string macAddress_;
|
||||
std::string systemIdentifier_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string name_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEACTIVATIONCODEREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_CREATEACTIVATIONCODERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_CREATEACTIVATIONCODERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CreateActivationCodeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateActivationCodeResult();
|
||||
explicit CreateActivationCodeResult(const std::string &payload);
|
||||
~CreateActivationCodeResult();
|
||||
std::string getDescription()const;
|
||||
std::string getGmtModified()const;
|
||||
std::string getSystemIdentifier()const;
|
||||
std::string getActivateAt()const;
|
||||
std::string getExpireAt()const;
|
||||
std::string getCertContentB64()const;
|
||||
std::string getGmtCreated()const;
|
||||
int getId()const;
|
||||
std::string getMacAddress()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string gmtModified_;
|
||||
std::string systemIdentifier_;
|
||||
std::string activateAt_;
|
||||
std::string expireAt_;
|
||||
std::string certContentB64_;
|
||||
std::string gmtCreated_;
|
||||
int id_;
|
||||
std::string macAddress_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEACTIVATIONCODERESULT_H_
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDataLevel2BackupRetentionPeriod() const;
|
||||
void setDataLevel2BackupRetentionPeriod(const std::string &dataLevel2BackupRetentionPeriod);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -48,6 +50,7 @@ public:
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string dataLevel2BackupRetentionPeriod_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
@@ -36,12 +36,20 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getPolarSccWaitTimeout() const;
|
||||
void setPolarSccWaitTimeout(const std::string &polarSccWaitTimeout);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getReadWriteMode() const;
|
||||
void setReadWriteMode(const std::string &readWriteMode);
|
||||
std::string getEndpointType() const;
|
||||
void setEndpointType(const std::string &endpointType);
|
||||
std::string getPolarSccTimeoutAction() const;
|
||||
void setPolarSccTimeoutAction(const std::string &polarSccTimeoutAction);
|
||||
std::string getEndpointSubCluster() const;
|
||||
void setEndpointSubCluster(const std::string &endpointSubCluster);
|
||||
std::string getStandbyVSwitchId() const;
|
||||
void setStandbyVSwitchId(const std::string &standbyVSwitchId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -58,6 +66,8 @@ public:
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getNodes() const;
|
||||
void setNodes(const std::string &nodes);
|
||||
std::string getSccMode() const;
|
||||
void setSccMode(const std::string &sccMode);
|
||||
std::string getVPCId() const;
|
||||
void setVPCId(const std::string &vPCId);
|
||||
|
||||
@@ -65,9 +75,13 @@ private:
|
||||
std::string autoAddNewNodes_;
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string polarSccWaitTimeout_;
|
||||
std::string accessKeyId_;
|
||||
std::string readWriteMode_;
|
||||
std::string endpointType_;
|
||||
std::string polarSccTimeoutAction_;
|
||||
std::string endpointSubCluster_;
|
||||
std::string standbyVSwitchId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
@@ -76,6 +90,7 @@ private:
|
||||
long ownerId_;
|
||||
std::string vSwitchId_;
|
||||
std::string nodes_;
|
||||
std::string sccMode_;
|
||||
std::string vPCId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -90,6 +90,8 @@ public:
|
||||
void setAllowShutDown(const std::string &allowShutDown);
|
||||
std::string getLowerCaseTableNames() const;
|
||||
void setLowerCaseTableNames(const std::string &lowerCaseTableNames);
|
||||
bool getStorageEncryption() const;
|
||||
void setStorageEncryption(bool storageEncryption);
|
||||
std::string getScaleRoNumMax() const;
|
||||
void setScaleRoNumMax(const std::string &scaleRoNumMax);
|
||||
std::string getStandbyAZ() const;
|
||||
@@ -102,6 +104,8 @@ public:
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getClusterNetworkType() const;
|
||||
void setClusterNetworkType(const std::string &clusterNetworkType);
|
||||
std::string getStorageEncryptionKey() const;
|
||||
void setStorageEncryptionKey(const std::string &storageEncryptionKey);
|
||||
std::string getParameterGroupId() const;
|
||||
void setParameterGroupId(const std::string ¶meterGroupId);
|
||||
std::string getRegionId() const;
|
||||
@@ -124,6 +128,10 @@ public:
|
||||
void setLooseXEngineUseMemoryPct(const std::string &looseXEngineUseMemoryPct);
|
||||
std::string getUsedTime() const;
|
||||
void setUsedTime(const std::string &usedTime);
|
||||
std::string getBurstingEnabled() const;
|
||||
void setBurstingEnabled(const std::string &burstingEnabled);
|
||||
std::string getTargetMinorVersion() const;
|
||||
void setTargetMinorVersion(const std::string &targetMinorVersion);
|
||||
int getDBNodeNum() const;
|
||||
void setDBNodeNum(int dBNodeNum);
|
||||
long getStorageUpperBound() const;
|
||||
@@ -176,12 +184,14 @@ private:
|
||||
bool tDEStatus_;
|
||||
std::string allowShutDown_;
|
||||
std::string lowerCaseTableNames_;
|
||||
bool storageEncryption_;
|
||||
std::string scaleRoNumMax_;
|
||||
std::string standbyAZ_;
|
||||
std::string clientToken_;
|
||||
std::string defaultTimeZone_;
|
||||
std::string accessKeyId_;
|
||||
std::string clusterNetworkType_;
|
||||
std::string storageEncryptionKey_;
|
||||
std::string parameterGroupId_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
@@ -193,6 +203,8 @@ private:
|
||||
std::string ownerAccount_;
|
||||
std::string looseXEngineUseMemoryPct_;
|
||||
std::string usedTime_;
|
||||
std::string burstingEnabled_;
|
||||
std::string targetMinorVersion_;
|
||||
int dBNodeNum_;
|
||||
long storageUpperBound_;
|
||||
std::string vPCId_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getAccountName() const;
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getGDNDescription() const;
|
||||
@@ -46,19 +48,29 @@ public:
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
bool getEnableGlobalDomainName() const;
|
||||
void setEnableGlobalDomainName(bool enableGlobalDomainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword() const;
|
||||
void setAccountPassword(const std::string &accountPassword);
|
||||
std::string getDBName() const;
|
||||
void setDBName(const std::string &dBName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string gDNDescription_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
bool enableGlobalDomainName_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
std::string dBName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_CREATEORGETVIRTUALLICENSEORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_CREATEORGETVIRTUALLICENSEORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CreateOrGetVirtualLicenseOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateOrGetVirtualLicenseOrderRequest();
|
||||
~CreateOrGetVirtualLicenseOrderRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getEngine() const;
|
||||
void setEngine(const std::string &engine);
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string engine_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEORGETVIRTUALLICENSEORDERREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_CREATEORGETVIRTUALLICENSEORDERRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_CREATEORGETVIRTUALLICENSEORDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT CreateOrGetVirtualLicenseOrderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateOrGetVirtualLicenseOrderResult();
|
||||
explicit CreateOrGetVirtualLicenseOrderResult(const std::string &payload);
|
||||
~CreateOrGetVirtualLicenseOrderResult();
|
||||
std::string getVirtualOrderId()const;
|
||||
std::string getAliyunOrderId()const;
|
||||
int getActivatedCodeCount()const;
|
||||
std::string getPackageValidity()const;
|
||||
bool getIsVirtualOrder()const;
|
||||
std::string getPackageType()const;
|
||||
std::string getGmtModified()const;
|
||||
bool getAllowEmptySystemIdentifier()const;
|
||||
std::string getGmtCreated()const;
|
||||
bool getIsVirtualOrderFrozen()const;
|
||||
std::string getPurchaseChannel()const;
|
||||
int getActivationCodeQuota()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string virtualOrderId_;
|
||||
std::string aliyunOrderId_;
|
||||
int activatedCodeCount_;
|
||||
std::string packageValidity_;
|
||||
bool isVirtualOrder_;
|
||||
std::string packageType_;
|
||||
std::string gmtModified_;
|
||||
bool allowEmptySystemIdentifier_;
|
||||
std::string gmtCreated_;
|
||||
bool isVirtualOrderFrozen_;
|
||||
std::string purchaseChannel_;
|
||||
int activationCodeQuota_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEORGETVIRTUALLICENSEORDERRESULT_H_
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string getStatus()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getStatusName()const;
|
||||
std::string getAccountName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -47,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string status_;
|
||||
std::string dBClusterId_;
|
||||
std::string statusName_;
|
||||
std::string accountName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODEDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODEDETAILSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeActivationCodeDetailsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeActivationCodeDetailsRequest();
|
||||
~DescribeActivationCodeDetailsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getActivationCodeId() const;
|
||||
void setActivationCodeId(int activationCodeId);
|
||||
std::string getAliyunOrderId() const;
|
||||
void setAliyunOrderId(const std::string &aliyunOrderId);
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
int activationCodeId_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODEDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODEDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODEDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeActivationCodeDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeActivationCodeDetailsResult();
|
||||
explicit DescribeActivationCodeDetailsResult(const std::string &payload);
|
||||
~DescribeActivationCodeDetailsResult();
|
||||
std::string getDescription()const;
|
||||
std::string getGmtModified()const;
|
||||
std::string getSystemIdentifier()const;
|
||||
std::string getActivateAt()const;
|
||||
std::string getExpireAt()const;
|
||||
std::string getCertContentB64()const;
|
||||
std::string getGmtCreated()const;
|
||||
int getId()const;
|
||||
std::string getMacAddress()const;
|
||||
std::string getName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string description_;
|
||||
std::string gmtModified_;
|
||||
std::string systemIdentifier_;
|
||||
std::string activateAt_;
|
||||
std::string expireAt_;
|
||||
std::string certContentB64_;
|
||||
std::string gmtCreated_;
|
||||
int id_;
|
||||
std::string macAddress_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODEDETAILSRESULT_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODESREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeActivationCodesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeActivationCodesRequest();
|
||||
~DescribeActivationCodesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAliyunOrderId() const;
|
||||
void setAliyunOrderId(const std::string &aliyunOrderId);
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODESREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODESRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeActivationCodesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ActivationCodes
|
||||
{
|
||||
std::string description;
|
||||
std::string gmtModified;
|
||||
std::string systemIdentifier;
|
||||
std::string activateAt;
|
||||
std::string expireAt;
|
||||
std::string gmtCreated;
|
||||
int id;
|
||||
std::string macAddress;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeActivationCodesResult();
|
||||
explicit DescribeActivationCodesResult(const std::string &payload);
|
||||
~DescribeActivationCodesResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ActivationCodes> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<ActivationCodes> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVATIONCODESRESULT_H_
|
||||
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVEOPERATIONTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVEOPERATIONTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeActiveOperationTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeActiveOperationTasksRequest();
|
||||
~DescribeActiveOperationTasksRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getChangeLevel() const;
|
||||
void setChangeLevel(const std::string &changeLevel);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getProductName() const;
|
||||
void setProductName(const std::string &productName);
|
||||
std::string getEngineType() const;
|
||||
void setEngineType(const std::string &engineType);
|
||||
std::string getTaskType() const;
|
||||
void setTaskType(const std::string &taskType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getAllowCancel() const;
|
||||
void setAllowCancel(long allowCancel);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBType() const;
|
||||
void setDBType(const std::string &dBType);
|
||||
long getAllowChange() const;
|
||||
void setAllowChange(long allowChange);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
long getStatus() const;
|
||||
void setStatus(long status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string changeLevel_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string productName_;
|
||||
std::string engineType_;
|
||||
std::string taskType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long allowCancel_;
|
||||
long ownerId_;
|
||||
std::string dBType_;
|
||||
long allowChange_;
|
||||
std::string region_;
|
||||
long status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVEOPERATIONTASKSREQUEST_H_
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVEOPERATIONTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVEOPERATIONTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeActiveOperationTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ItemsItem
|
||||
{
|
||||
std::string createdTime;
|
||||
int taskId;
|
||||
std::vector<std::string> dBNodeIds;
|
||||
std::string dBClusterId;
|
||||
std::string dBType;
|
||||
std::string impactEn;
|
||||
std::string changeLevelZh;
|
||||
std::string taskTypeZh;
|
||||
std::string dBVersion;
|
||||
std::string modifiedTime;
|
||||
std::string taskTypeEn;
|
||||
std::string impactZh;
|
||||
std::string taskType;
|
||||
std::string switchTime;
|
||||
int status;
|
||||
std::string impact;
|
||||
std::string currentAVZ;
|
||||
std::string deadline;
|
||||
std::string startTime;
|
||||
std::string changeLevel;
|
||||
std::string insComment;
|
||||
std::string changeLevelEn;
|
||||
long allowCancel;
|
||||
std::string taskParams;
|
||||
long allowChange;
|
||||
std::string prepareInterval;
|
||||
std::string region;
|
||||
std::string resultInfo;
|
||||
};
|
||||
|
||||
|
||||
DescribeActiveOperationTasksResult();
|
||||
explicit DescribeActiveOperationTasksResult(const std::string &payload);
|
||||
~DescribeActiveOperationTasksResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<ItemsItem> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<ItemsItem> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEACTIVEOPERATIONTASKSRESULT_H_
|
||||
@@ -59,6 +59,7 @@ namespace AlibabaCloud
|
||||
std::string getPageRecordCount()const;
|
||||
std::string getPageNumber()const;
|
||||
std::vector<Backup> getItems()const;
|
||||
std::string getTotalLevel2BackupSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -67,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string pageRecordCount_;
|
||||
std::string pageNumber_;
|
||||
std::vector<Backup> items_;
|
||||
std::string totalLevel2BackupSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct ItemsItem
|
||||
{
|
||||
std::string classTypeLevel;
|
||||
std::string essdMaxStorageCapacity;
|
||||
std::string maxConnections;
|
||||
std::string pl2MaxIOPS;
|
||||
std::string pl3MaxIOPS;
|
||||
@@ -42,6 +43,7 @@ namespace AlibabaCloud
|
||||
std::string referencePrice;
|
||||
std::string maxIOPS;
|
||||
std::string classCode;
|
||||
std::string polarStoreMaxStorageCapacity;
|
||||
std::string psl4MaxIOPS;
|
||||
std::string classGroup;
|
||||
std::string psl5MaxIOPS;
|
||||
|
||||
@@ -32,17 +32,17 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeDBClusterAccessWhitelistResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DBClusterSecurityGroup
|
||||
{
|
||||
std::string securityGroupName;
|
||||
std::string securityGroupId;
|
||||
};
|
||||
struct DBClusterIPArray
|
||||
{
|
||||
std::string securityIps;
|
||||
std::string dBClusterIPArrayName;
|
||||
std::string dBClusterIPArrayAttribute;
|
||||
};
|
||||
struct DBClusterSecurityGroup
|
||||
{
|
||||
std::string securityGroupName;
|
||||
std::string securityGroupId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterAccessWhitelistResult();
|
||||
|
||||
@@ -43,26 +43,32 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct DBNode
|
||||
{
|
||||
std::string memorySize;
|
||||
std::string dBNodeStatus;
|
||||
std::string zoneId;
|
||||
int maxConnections;
|
||||
std::string addedCpuCores;
|
||||
std::string orca;
|
||||
std::string dBNodeRole;
|
||||
std::string subCluster;
|
||||
std::string imciSwitch;
|
||||
std::string dBNodeId;
|
||||
std::string remoteMemorySize;
|
||||
std::string tair;
|
||||
std::string multiMasterLocalStandby;
|
||||
std::string multiMasterPrimaryNode;
|
||||
std::string sccMode;
|
||||
int failoverPriority;
|
||||
std::string serverWeight;
|
||||
std::string dBNodeDescription;
|
||||
std::string memorySize;
|
||||
std::string mirrorInsName;
|
||||
std::string zoneId;
|
||||
int maxConnections;
|
||||
int maxIOPS;
|
||||
std::string dBNodeClass;
|
||||
std::string tair;
|
||||
std::string serverlessType;
|
||||
std::string creationTime;
|
||||
std::string cpuCores;
|
||||
std::string sccMode;
|
||||
std::string masterId;
|
||||
int failoverPriority;
|
||||
std::string hotReplicaMode;
|
||||
std::string serverWeight;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
@@ -76,6 +82,7 @@ namespace AlibabaCloud
|
||||
~DescribeDBClusterAttributeResult();
|
||||
std::string getResourceGroupId()const;
|
||||
long getCompressStorageUsed()const;
|
||||
std::string getOrca()const;
|
||||
std::string getStoragePayType()const;
|
||||
long getDataLevel1BackupChainSize()const;
|
||||
std::string getProxyStatus()const;
|
||||
@@ -85,6 +92,7 @@ namespace AlibabaCloud
|
||||
std::string getProxyStandardCpuCores()const;
|
||||
std::string getDBVersion()const;
|
||||
std::vector<DBNode> getDBNodes()const;
|
||||
std::string getImciAutoIndex()const;
|
||||
std::string getFeatureHTAPSupported()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
std::string getEngine()const;
|
||||
@@ -99,26 +107,36 @@ namespace AlibabaCloud
|
||||
std::string getProvisionedIops()const;
|
||||
long getStorageUsed()const;
|
||||
long getInodeTotal()const;
|
||||
std::string getRestoreDataPoint()const;
|
||||
std::string getCompressStorageMode()const;
|
||||
std::string getDBVersionStatus()const;
|
||||
std::string getProxyServerlessType()const;
|
||||
std::string getCreationTime()const;
|
||||
std::string getImperceptibleSwitch()const;
|
||||
std::string getProxyType()const;
|
||||
std::string getExpireTime()const;
|
||||
int getDeletionLock()const;
|
||||
std::string getCategory()const;
|
||||
std::string getAiCreatingTime()const;
|
||||
bool getStorageTypeWhiteListSwitch()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getHotStandbyCluster()const;
|
||||
std::string getDeployUnit()const;
|
||||
std::string getAiFreeMode()const;
|
||||
std::string getDBClusterNetworkType()const;
|
||||
bool getIsLatestVersion()const;
|
||||
std::string getSourceRegionId()const;
|
||||
long getStorageMax()const;
|
||||
std::string getZoneIds()const;
|
||||
bool getHotStandbyWhiteListSwitch()const;
|
||||
long getInodeUsed()const;
|
||||
std::string getRestoreType()const;
|
||||
std::string getMaintainTime()const;
|
||||
std::string getBurstingEnabled()const;
|
||||
std::string getHotStandbyClusterStatus()const;
|
||||
long getBlktagTotal()const;
|
||||
std::string getDataSyncMode()const;
|
||||
std::string getSourceDBCluster()const;
|
||||
std::string getDBClusterStatus()const;
|
||||
std::string getProxyCpuCores()const;
|
||||
std::string getStrictConsistency()const;
|
||||
@@ -128,9 +146,11 @@ namespace AlibabaCloud
|
||||
std::string getSubCategory()const;
|
||||
std::string getAiType()const;
|
||||
bool getHasCompleteStandbyRes()const;
|
||||
std::string getSupportInstantSwitchWithImci()const;
|
||||
RelatedAPInstance getRelatedAPInstance()const;
|
||||
long getSQLSize()const;
|
||||
std::string getRegionId()const;
|
||||
std::string getRowCompression()const;
|
||||
bool getHotStandbyHealthy()const;
|
||||
|
||||
protected:
|
||||
@@ -138,6 +158,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
long compressStorageUsed_;
|
||||
std::string orca_;
|
||||
std::string storagePayType_;
|
||||
long dataLevel1BackupChainSize_;
|
||||
std::string proxyStatus_;
|
||||
@@ -147,6 +168,7 @@ namespace AlibabaCloud
|
||||
std::string proxyStandardCpuCores_;
|
||||
std::string dBVersion_;
|
||||
std::vector<DBNode> dBNodes_;
|
||||
std::string imciAutoIndex_;
|
||||
std::string featureHTAPSupported_;
|
||||
std::vector<Tag> tags_;
|
||||
std::string engine_;
|
||||
@@ -161,26 +183,36 @@ namespace AlibabaCloud
|
||||
std::string provisionedIops_;
|
||||
long storageUsed_;
|
||||
long inodeTotal_;
|
||||
std::string restoreDataPoint_;
|
||||
std::string compressStorageMode_;
|
||||
std::string dBVersionStatus_;
|
||||
std::string proxyServerlessType_;
|
||||
std::string creationTime_;
|
||||
std::string imperceptibleSwitch_;
|
||||
std::string proxyType_;
|
||||
std::string expireTime_;
|
||||
int deletionLock_;
|
||||
std::string category_;
|
||||
std::string aiCreatingTime_;
|
||||
bool storageTypeWhiteListSwitch_;
|
||||
std::string dBClusterId_;
|
||||
std::string hotStandbyCluster_;
|
||||
std::string deployUnit_;
|
||||
std::string aiFreeMode_;
|
||||
std::string dBClusterNetworkType_;
|
||||
bool isLatestVersion_;
|
||||
std::string sourceRegionId_;
|
||||
long storageMax_;
|
||||
std::string zoneIds_;
|
||||
bool hotStandbyWhiteListSwitch_;
|
||||
long inodeUsed_;
|
||||
std::string restoreType_;
|
||||
std::string maintainTime_;
|
||||
std::string burstingEnabled_;
|
||||
std::string hotStandbyClusterStatus_;
|
||||
long blktagTotal_;
|
||||
std::string dataSyncMode_;
|
||||
std::string sourceDBCluster_;
|
||||
std::string dBClusterStatus_;
|
||||
std::string proxyCpuCores_;
|
||||
std::string strictConsistency_;
|
||||
@@ -190,9 +222,11 @@ namespace AlibabaCloud
|
||||
std::string subCategory_;
|
||||
std::string aiType_;
|
||||
bool hasCompleteStandbyRes_;
|
||||
std::string supportInstantSwitchWithImci_;
|
||||
RelatedAPInstance relatedAPInstance_;
|
||||
long sQLSize_;
|
||||
std::string regionId_;
|
||||
std::string rowCompression_;
|
||||
bool hotStandbyHealthy_;
|
||||
|
||||
};
|
||||
|
||||
@@ -46,15 +46,18 @@ namespace AlibabaCloud
|
||||
std::string netType;
|
||||
};
|
||||
std::string dBEndpointId;
|
||||
std::string polarSccTimeoutAction;
|
||||
std::string dBClusterId;
|
||||
std::string nodes;
|
||||
std::string readWriteMode;
|
||||
std::string dBEndpointDescription;
|
||||
std::string polarSccWaitTimeout;
|
||||
std::string nodeWithRoles;
|
||||
std::string autoAddNewNodes;
|
||||
std::string endpointType;
|
||||
std::string dBClusterId;
|
||||
std::vector<DBEndpoint::Address> addressItems;
|
||||
std::string nodes;
|
||||
std::string readWriteMode;
|
||||
std::string sccMode;
|
||||
std::string endpointConfig;
|
||||
std::string dBEndpointDescription;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -66,40 +66,74 @@ namespace AlibabaCloud
|
||||
std::string endpointType;
|
||||
std::vector<RdsEndpoint::Address2> addressItems1;
|
||||
};
|
||||
struct SrcDtsJob
|
||||
{
|
||||
std::string status;
|
||||
std::string dtsJobId;
|
||||
std::string dtsJobDirection;
|
||||
std::string destinationEndpoint;
|
||||
std::string sourceEndpoint;
|
||||
std::string dtsJobName;
|
||||
std::string dtsInstanceID;
|
||||
};
|
||||
struct DstDtsJob
|
||||
{
|
||||
std::string status;
|
||||
std::string dtsJobId;
|
||||
std::string dtsJobDirection;
|
||||
std::string destinationEndpoint;
|
||||
std::string sourceEndpoint;
|
||||
std::string dtsJobName;
|
||||
std::string dtsInstanceId;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterMigrationResult();
|
||||
explicit DescribeDBClusterMigrationResult(const std::string &payload);
|
||||
~DescribeDBClusterMigrationResult();
|
||||
std::string getComment()const;
|
||||
std::string getSrcBinlogPosition()const;
|
||||
std::string getMigrationDtsJobEndpoint()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getSrcDbType()const;
|
||||
std::string getSourceRDSDBInstanceId()const;
|
||||
std::string getDBClusterReadWriteMode()const;
|
||||
std::string getMigrationProgress()const;
|
||||
std::string getMigrationStatus()const;
|
||||
std::string getDtsInstanceId()const;
|
||||
std::vector<RdsEndpoint> getRdsEndpointList()const;
|
||||
std::vector<SrcDtsJob> getSrcDtsJobList()const;
|
||||
std::vector<DBClusterEndpoint> getDBClusterEndpointList()const;
|
||||
std::string getDstBinlogPosition()const;
|
||||
std::string getExpiredTime()const;
|
||||
std::string getMigrationSwitch()const;
|
||||
std::string getTopologies()const;
|
||||
std::string getRdsReadWriteMode()const;
|
||||
std::vector<DstDtsJob> getDstDtsJobList()const;
|
||||
int getDelayedSeconds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string comment_;
|
||||
std::string srcBinlogPosition_;
|
||||
std::string migrationDtsJobEndpoint_;
|
||||
std::string dBClusterId_;
|
||||
std::string srcDbType_;
|
||||
std::string sourceRDSDBInstanceId_;
|
||||
std::string dBClusterReadWriteMode_;
|
||||
std::string migrationProgress_;
|
||||
std::string migrationStatus_;
|
||||
std::string dtsInstanceId_;
|
||||
std::vector<RdsEndpoint> rdsEndpointList_;
|
||||
std::vector<SrcDtsJob> srcDtsJobList_;
|
||||
std::vector<DBClusterEndpoint> dBClusterEndpointList_;
|
||||
std::string dstBinlogPosition_;
|
||||
std::string expiredTime_;
|
||||
std::string migrationSwitch_;
|
||||
std::string topologies_;
|
||||
std::string rdsReadWriteMode_;
|
||||
std::vector<DstDtsJob> dstDtsJobList_;
|
||||
int delayedSeconds_;
|
||||
|
||||
};
|
||||
|
||||
@@ -49,15 +49,19 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct ParametersItem
|
||||
{
|
||||
std::string rdsParameterDescription;
|
||||
std::string distParameterValue;
|
||||
std::string rdsParameterOptional;
|
||||
std::string rdsParameterValue;
|
||||
std::string distParameterDescription;
|
||||
std::string distParameterOptional;
|
||||
std::string rdsParameterName;
|
||||
std::string isPolarDBKey;
|
||||
std::string isRdsKey;
|
||||
std::string distParameterName;
|
||||
std::string isEqual;
|
||||
std::string rdsParameterDescription;
|
||||
std::string isInstanceRdsKey;
|
||||
std::string rdsParameterOptional;
|
||||
std::string distParameterOptional;
|
||||
std::string isInstancePolarDBKey;
|
||||
std::string rdsParameterName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getKey() const;
|
||||
@@ -50,10 +52,13 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMetric() const;
|
||||
void setMetric(const std::string &metric);
|
||||
std::string getInterval() const;
|
||||
void setInterval(const std::string &interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
std::string key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -62,6 +67,7 @@ private:
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string metric_;
|
||||
std::string interval_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DescribeDBClusterSSLRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getEndpointId() const;
|
||||
void setEndpointId(const std::string &endpointId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -45,6 +47,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string endpointId_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
@@ -36,20 +36,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string sSLConnectionString;
|
||||
std::string sSLExpireTime;
|
||||
std::string serverKey;
|
||||
std::string clientCrl;
|
||||
std::string dBEndpointId;
|
||||
std::string serverCert;
|
||||
std::string sSLEnabled;
|
||||
std::string sSLAutoRotate;
|
||||
std::string cAType;
|
||||
std::string clientCACert;
|
||||
std::string aCL;
|
||||
std::vector<std::string> allowedACLs;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterSSLResult();
|
||||
explicit DescribeDBClusterSSLResult(const std::string &payload);
|
||||
~DescribeDBClusterSSLResult();
|
||||
std::vector<std::string> getSupportAdvancedSSLFeatureEndpointTypes()const;
|
||||
std::string getSSLAutoRotate()const;
|
||||
std::vector<Item> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> supportAdvancedSSLFeatureEndpointTypes_;
|
||||
std::string sSLAutoRotate_;
|
||||
std::vector<Item> items_;
|
||||
|
||||
|
||||
@@ -37,32 +37,42 @@ namespace AlibabaCloud
|
||||
DescribeDBClusterServerlessConfResult();
|
||||
explicit DescribeDBClusterServerlessConfResult(const std::string &payload);
|
||||
~DescribeDBClusterServerlessConfResult();
|
||||
std::string getScaleRoNumMin()const;
|
||||
std::string getDBMaxscaleId()const;
|
||||
std::string getAllowShutDown()const;
|
||||
std::string getScaleApRoNumMin()const;
|
||||
std::string getScaleApRoNumMax()const;
|
||||
std::string getScaleRoNumMax()const;
|
||||
std::string getTraditionalScaleMaxThreshold()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getScaleMin()const;
|
||||
std::string getScaleMax()const;
|
||||
std::string getSecondsUntilAutoPause()const;
|
||||
std::string getSwitchs()const;
|
||||
std::string getAgileScaleMax()const;
|
||||
std::string getServerlessRuleCpuShrinkThreshold()const;
|
||||
std::string getScaleRoNumMin()const;
|
||||
std::string getServerlessRuleCpuEnlargeThreshold()const;
|
||||
std::string getAllowShutDown()const;
|
||||
std::string getScaleApRoNumMax()const;
|
||||
std::string getScaleMin()const;
|
||||
std::string getServerlessRuleMode()const;
|
||||
std::string getSecondsUntilAutoPause()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string scaleRoNumMin_;
|
||||
std::string dBMaxscaleId_;
|
||||
std::string allowShutDown_;
|
||||
std::string scaleApRoNumMin_;
|
||||
std::string scaleApRoNumMax_;
|
||||
std::string scaleRoNumMax_;
|
||||
std::string traditionalScaleMaxThreshold_;
|
||||
std::string dBClusterId_;
|
||||
std::string scaleMin_;
|
||||
std::string scaleMax_;
|
||||
std::string secondsUntilAutoPause_;
|
||||
std::string switchs_;
|
||||
std::string agileScaleMax_;
|
||||
std::string serverlessRuleCpuShrinkThreshold_;
|
||||
std::string scaleRoNumMin_;
|
||||
std::string serverlessRuleCpuEnlargeThreshold_;
|
||||
std::string allowShutDown_;
|
||||
std::string scaleApRoNumMax_;
|
||||
std::string scaleMin_;
|
||||
std::string serverlessRuleMode_;
|
||||
std::string secondsUntilAutoPause_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,19 +38,25 @@ namespace AlibabaCloud
|
||||
explicit DescribeDBClusterTDEResult(const std::string &payload);
|
||||
~DescribeDBClusterTDEResult();
|
||||
std::string getTDEStatus()const;
|
||||
std::string getRotationInterval()const;
|
||||
std::string getEncryptionKeyStatus()const;
|
||||
std::string getEncryptNewTables()const;
|
||||
std::string getTDERegion()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getEncryptionKey()const;
|
||||
std::string getAutomaticRotation()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string tDEStatus_;
|
||||
std::string rotationInterval_;
|
||||
std::string encryptionKeyStatus_;
|
||||
std::string encryptNewTables_;
|
||||
std::string tDERegion_;
|
||||
std::string dBClusterId_;
|
||||
std::string encryptionKey_;
|
||||
std::string automaticRotation_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,12 +39,20 @@ namespace AlibabaCloud
|
||||
std::string releaseNote;
|
||||
std::string revisionVersionCode;
|
||||
};
|
||||
struct ProxyRevisionVersionListItem
|
||||
{
|
||||
std::string releaseType;
|
||||
std::string revisionVersionName;
|
||||
std::string releaseNote;
|
||||
std::string revisionVersionCode;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterVersionResult();
|
||||
explicit DescribeDBClusterVersionResult(const std::string &payload);
|
||||
~DescribeDBClusterVersionResult();
|
||||
std::string getDBRevisionVersion()const;
|
||||
std::vector<ProxyRevisionVersionListItem> getProxyRevisionVersionList()const;
|
||||
std::string getProxyLatestVersionAfterDBEngineUpgraded()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getProxyRevisionVersion()const;
|
||||
@@ -57,11 +65,13 @@ namespace AlibabaCloud
|
||||
std::string getDBVersionStatus()const;
|
||||
std::string getDBMinorVersion()const;
|
||||
std::vector<DBRevisionVersionListItem> getDBRevisionVersionList()const;
|
||||
std::string getDBInnerRevisionVersion()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBRevisionVersion_;
|
||||
std::vector<ProxyRevisionVersionListItem> proxyRevisionVersionList_;
|
||||
std::string proxyLatestVersionAfterDBEngineUpgraded_;
|
||||
std::string dBClusterId_;
|
||||
std::string proxyRevisionVersion_;
|
||||
@@ -74,6 +84,7 @@ namespace AlibabaCloud
|
||||
std::string dBVersionStatus_;
|
||||
std::string dBMinorVersion_;
|
||||
std::vector<DBRevisionVersionListItem> dBRevisionVersionList_;
|
||||
std::string dBInnerRevisionVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -56,12 +56,18 @@ namespace AlibabaCloud
|
||||
long compressStorageUsed;
|
||||
std::string storagePayType;
|
||||
std::string dBClusterId;
|
||||
std::string hotStandbyCluster;
|
||||
std::string deployUnit;
|
||||
std::string dBType;
|
||||
std::string dBClusterNetworkType;
|
||||
std::string remoteMemorySize;
|
||||
std::string dBVersion;
|
||||
std::vector<DBCluster::DBNode> dBNodes;
|
||||
std::vector<DBCluster::Tag> tags;
|
||||
std::string engine;
|
||||
std::string engineMigrationStatus;
|
||||
std::string memorySize;
|
||||
std::string storageType;
|
||||
std::string zoneId;
|
||||
std::string dBClusterStatus;
|
||||
std::string createTime;
|
||||
@@ -78,6 +84,8 @@ namespace AlibabaCloud
|
||||
long storageSpace;
|
||||
std::string serverlessType;
|
||||
std::string aiType;
|
||||
std::string cpuCores;
|
||||
std::string subCategory;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
};
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setDBNodeId(const std::string &dBNodeId);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getKey() const;
|
||||
@@ -52,11 +54,14 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMetric() const;
|
||||
void setMetric(const std::string &metric);
|
||||
std::string getInterval() const;
|
||||
void setInterval(const std::string &interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string dBNodeId_;
|
||||
std::string startTime_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
std::string key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -65,6 +70,7 @@ private:
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string metric_;
|
||||
std::string interval_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -32,8 +32,14 @@ public:
|
||||
~DescribeDBProxyPerformanceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDBNodeId() const;
|
||||
void setDBNodeId(const std::string &dBNodeId);
|
||||
std::string getDBEndpointId() const;
|
||||
void setDBEndpointId(const std::string &dBEndpointId);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getKey() const;
|
||||
void setKey(const std::string &key);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -48,10 +54,15 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMetric() const;
|
||||
void setMetric(const std::string &metric);
|
||||
std::string getInterval() const;
|
||||
void setInterval(const std::string &interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string dBNodeId_;
|
||||
std::string dBEndpointId_;
|
||||
std::string startTime_;
|
||||
std::string type_;
|
||||
std::string key_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
@@ -59,6 +70,7 @@ private:
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string metric_;
|
||||
std::string interval_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string dBNodeClass;
|
||||
int maxIOPS;
|
||||
};
|
||||
std::string category;
|
||||
std::string dBClusterStatus;
|
||||
std::string dBClusterId;
|
||||
std::string dBClusterDescription;
|
||||
@@ -64,8 +65,10 @@ namespace AlibabaCloud
|
||||
std::string role;
|
||||
std::string dBVersion;
|
||||
std::vector<DBCluster::DBNode> dBNodes;
|
||||
std::string serverlessType;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string memberStatus;
|
||||
};
|
||||
|
||||
|
||||
@@ -82,6 +85,7 @@ namespace AlibabaCloud
|
||||
std::string getDBType()const;
|
||||
std::string getGDNDescription()const;
|
||||
std::vector<DBCluster> getDBClusters()const;
|
||||
std::string getGlobalDomainName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -96,6 +100,7 @@ namespace AlibabaCloud
|
||||
std::string dBType_;
|
||||
std::string gDNDescription_;
|
||||
std::vector<DBCluster> dBClusters_;
|
||||
std::string globalDomainName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -56,6 +56,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBType() const;
|
||||
void setDBType(const std::string &dBType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dBType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -40,9 +40,18 @@ namespace AlibabaCloud
|
||||
std::string dBClusterId;
|
||||
std::string regionId;
|
||||
};
|
||||
struct OutCloudDBCluster
|
||||
{
|
||||
std::string role;
|
||||
std::string dBClusterId;
|
||||
std::string outCloudType;
|
||||
std::string regionId;
|
||||
};
|
||||
std::string gDNStatus;
|
||||
std::vector<GlobalDatabaseNetwork::OutCloudDBCluster> outCloudDBClusters;
|
||||
std::string dBVersion;
|
||||
std::string gDNId;
|
||||
std::string zoneId;
|
||||
std::string createTime;
|
||||
std::string dBType;
|
||||
std::string gDNDescription;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERDETAILSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeLicenseOrderDetailsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLicenseOrderDetailsRequest();
|
||||
~DescribeLicenseOrderDetailsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAliyunOrderId() const;
|
||||
void setAliyunOrderId(const std::string &aliyunOrderId);
|
||||
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);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERDETAILSREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERDETAILSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeLicenseOrderDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeLicenseOrderDetailsResult();
|
||||
explicit DescribeLicenseOrderDetailsResult(const std::string &payload);
|
||||
~DescribeLicenseOrderDetailsResult();
|
||||
std::string getVirtualOrderId()const;
|
||||
int getActivatedCodeCount()const;
|
||||
std::string getPackageValidity()const;
|
||||
bool getIsVirtualOrder()const;
|
||||
std::string getGmtModified()const;
|
||||
std::string getGmtCreated()const;
|
||||
bool getIsVirtualOrderFrozen()const;
|
||||
std::string getPurchaseChannel()const;
|
||||
int getActivationCodeQuota()const;
|
||||
std::string getAliyunOrderId()const;
|
||||
std::string getPackageType()const;
|
||||
bool getAllowEmptySystemIdentifier()const;
|
||||
std::string getEngine()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string virtualOrderId_;
|
||||
int activatedCodeCount_;
|
||||
std::string packageValidity_;
|
||||
bool isVirtualOrder_;
|
||||
std::string gmtModified_;
|
||||
std::string gmtCreated_;
|
||||
bool isVirtualOrderFrozen_;
|
||||
std::string purchaseChannel_;
|
||||
int activationCodeQuota_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string packageType_;
|
||||
bool allowEmptySystemIdentifier_;
|
||||
std::string engine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERDETAILSRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeLicenseOrdersRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLicenseOrdersRequest();
|
||||
~DescribeLicenseOrdersRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
bool getVirtualOrder() const;
|
||||
void setVirtualOrder(bool virtualOrder);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getAliyunOrderId() const;
|
||||
void setAliyunOrderId(const std::string &aliyunOrderId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getPurchaseChannel() const;
|
||||
void setPurchaseChannel(const std::string &purchaseChannel);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPackageType() const;
|
||||
void setPackageType(const std::string &packageType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
bool virtualOrder_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string aliyunOrderId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string purchaseChannel_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string packageType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERSREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeLicenseOrdersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LicenseOrder
|
||||
{
|
||||
int activatedCodeCount;
|
||||
std::string packageValidity;
|
||||
bool isVirtualOrder;
|
||||
std::string gmtModified;
|
||||
std::string gmtCreated;
|
||||
bool isVirtualOrderFrozen;
|
||||
std::string purchaseChannel;
|
||||
int activationCodeQuota;
|
||||
std::string aliyunOrderId;
|
||||
std::string packageType;
|
||||
bool allowEmptySystemIdentifier;
|
||||
std::string engine;
|
||||
std::string virtualAliyunOrderId;
|
||||
};
|
||||
|
||||
|
||||
DescribeLicenseOrdersResult();
|
||||
explicit DescribeLicenseOrdersResult(const std::string &payload);
|
||||
~DescribeLicenseOrdersResult();
|
||||
int getTotalRecordCount()const;
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<LicenseOrder> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalRecordCount_;
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<LicenseOrder> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBELICENSEORDERSRESULT_H_
|
||||
@@ -40,14 +40,16 @@ namespace AlibabaCloud
|
||||
std::string action;
|
||||
std::string plannedTime;
|
||||
std::string taskId;
|
||||
std::string dbClusterDescription;
|
||||
bool taskCancel;
|
||||
std::string dBClusterId;
|
||||
std::string plannedStartTime;
|
||||
std::string region;
|
||||
std::string orderId;
|
||||
std::string plannedEndTime;
|
||||
std::string crontabJobId;
|
||||
std::string dbClusterStatus;
|
||||
std::string dbClusterDescription;
|
||||
std::string plannedFlashingOffTime;
|
||||
bool taskCancel;
|
||||
std::string region;
|
||||
std::string plannedEndTime;
|
||||
};
|
||||
std::vector<TimerInfosItem> timerInfos;
|
||||
int totalRecordCount;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getNodeId() const;
|
||||
void setNodeId(const std::string &nodeId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -64,6 +66,7 @@ private:
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string nodeId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct SQLSlowRecord
|
||||
{
|
||||
long queryTimes;
|
||||
std::string sQLHash;
|
||||
std::string executionStartTime;
|
||||
long returnRowCounts;
|
||||
long lockTimes;
|
||||
|
||||
@@ -44,10 +44,14 @@ public:
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getTargetZoneType() const;
|
||||
void setTargetZoneType(const std::string &targetZoneType);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTargetDBNodeId() const;
|
||||
void setTargetDBNodeId(const std::string &targetDBNodeId);
|
||||
bool getIsForce() const;
|
||||
void setIsForce(bool isForce);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -57,8 +61,10 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string targetZoneType_;
|
||||
long ownerId_;
|
||||
std::string targetDBNodeId_;
|
||||
bool isForce_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~ModifyAccountPasswordRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPasswordType() const;
|
||||
void setPasswordType(const std::string &passwordType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAccountName() const;
|
||||
@@ -49,6 +51,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string passwordType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string newAccountPassword_;
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_MODIFYACTIVEOPERATIONTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_MODIFYACTIVEOPERATIONTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT ModifyActiveOperationTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyActiveOperationTasksRequest();
|
||||
~ModifyActiveOperationTasksRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTaskIds() const;
|
||||
void setTaskIds(const std::string &taskIds);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSwitchTime() const;
|
||||
void setSwitchTime(const std::string &switchTime);
|
||||
std::string getEngineType() const;
|
||||
void setEngineType(const std::string &engineType);
|
||||
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);
|
||||
int getImmediateStart() const;
|
||||
void setImmediateStart(int immediateStart);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string taskIds_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string switchTime_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
int immediateStart_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_MODIFYACTIVEOPERATIONTASKSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_MODIFYACTIVEOPERATIONTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_MODIFYACTIVEOPERATIONTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT ModifyActiveOperationTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyActiveOperationTasksResult();
|
||||
explicit ModifyActiveOperationTasksResult(const std::string &payload);
|
||||
~ModifyActiveOperationTasksResult();
|
||||
std::string getTaskIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskIds_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_MODIFYACTIVEOPERATIONTASKSRESULT_H_
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setDBNodeIds(const std::string &dBNodeIds);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
bool getClearBinlog() const;
|
||||
void setClearBinlog(bool clearBinlog);
|
||||
std::string getParameterGroupId() const;
|
||||
void setParameterGroupId(const std::string ¶meterGroupId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -50,6 +52,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlannedStartTime() const;
|
||||
void setPlannedStartTime(const std::string &plannedStartTime);
|
||||
std::string getStandbyClusterIdListNeedToSync() const;
|
||||
void setStandbyClusterIdListNeedToSync(const std::string &standbyClusterIdListNeedToSync);
|
||||
std::string getParameters() const;
|
||||
void setParameters(const std::string ¶meters);
|
||||
bool getFromTimeService() const;
|
||||
@@ -60,12 +64,14 @@ private:
|
||||
std::string plannedEndTime_;
|
||||
std::string dBNodeIds_;
|
||||
std::string accessKeyId_;
|
||||
bool clearBinlog_;
|
||||
std::string parameterGroupId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string standbyClusterIdListNeedToSync_;
|
||||
std::string parameters_;
|
||||
bool fromTimeService_;
|
||||
};
|
||||
|
||||
@@ -36,10 +36,14 @@ public:
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getDBEndpointId() const;
|
||||
void setDBEndpointId(const std::string &dBEndpointId);
|
||||
std::string getPolarSccWaitTimeout() const;
|
||||
void setPolarSccWaitTimeout(const std::string &polarSccWaitTimeout);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getReadWriteMode() const;
|
||||
void setReadWriteMode(const std::string &readWriteMode);
|
||||
std::string getPolarSccTimeoutAction() const;
|
||||
void setPolarSccTimeoutAction(const std::string &polarSccTimeoutAction);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -54,13 +58,17 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getNodes() const;
|
||||
void setNodes(const std::string &nodes);
|
||||
std::string getSccMode() const;
|
||||
void setSccMode(const std::string &sccMode);
|
||||
|
||||
private:
|
||||
std::string autoAddNewNodes_;
|
||||
long resourceOwnerId_;
|
||||
std::string dBEndpointId_;
|
||||
std::string polarSccWaitTimeout_;
|
||||
std::string accessKeyId_;
|
||||
std::string readWriteMode_;
|
||||
std::string polarSccTimeoutAction_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
@@ -68,6 +76,7 @@ private:
|
||||
std::string dBEndpointDescription_;
|
||||
long ownerId_;
|
||||
std::string nodes_;
|
||||
std::string sccMode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setPlannedEndTime(const std::string &plannedEndTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
bool getClearBinlog() const;
|
||||
void setClearBinlog(bool clearBinlog);
|
||||
std::string getParameterGroupId() const;
|
||||
void setParameterGroupId(const std::string ¶meterGroupId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
bool clearBinlog_;
|
||||
std::string parameterGroupId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
@@ -30,10 +30,14 @@ class ALIBABACLOUD_POLARDB_EXPORT ModifyDBClusterRequest : public RpcServiceRequ
|
||||
public:
|
||||
ModifyDBClusterRequest();
|
||||
~ModifyDBClusterRequest();
|
||||
std::string getModifyRowCompression() const;
|
||||
void setModifyRowCompression(const std::string &modifyRowCompression);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTableMeta() const;
|
||||
void setTableMeta(const std::string &tableMeta);
|
||||
std::string getStandbyHAMode() const;
|
||||
void setStandbyHAMode(const std::string &standbyHAMode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -42,6 +46,8 @@ public:
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getDBNodeCrashList() const;
|
||||
void setDBNodeCrashList(const std::string &dBNodeCrashList);
|
||||
std::string getFaultSimulateMode() const;
|
||||
void setFaultSimulateMode(const std::string &faultSimulateMode);
|
||||
long getOwnerId() const;
|
||||
@@ -50,23 +56,35 @@ public:
|
||||
void setCompressStorage(const std::string &compressStorage);
|
||||
long getStorageUpperBound() const;
|
||||
void setStorageUpperBound(long storageUpperBound);
|
||||
std::string getPreferredSimulateStartTime() const;
|
||||
void setPreferredSimulateStartTime(const std::string &preferredSimulateStartTime);
|
||||
std::string getImciAutoIndex() const;
|
||||
void setImciAutoIndex(const std::string &imciAutoIndex);
|
||||
std::string getStorageAutoScale() const;
|
||||
void setStorageAutoScale(const std::string &storageAutoScale);
|
||||
std::string getFaultInjectionType() const;
|
||||
void setFaultInjectionType(const std::string &faultInjectionType);
|
||||
std::string getDataSyncMode() const;
|
||||
void setDataSyncMode(const std::string &dataSyncMode);
|
||||
|
||||
private:
|
||||
std::string modifyRowCompression_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string tableMeta_;
|
||||
std::string standbyHAMode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string dBNodeCrashList_;
|
||||
std::string faultSimulateMode_;
|
||||
long ownerId_;
|
||||
std::string compressStorage_;
|
||||
long storageUpperBound_;
|
||||
std::string preferredSimulateStartTime_;
|
||||
std::string imciAutoIndex_;
|
||||
std::string storageAutoScale_;
|
||||
std::string faultInjectionType_;
|
||||
std::string dataSyncMode_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,20 +32,36 @@ public:
|
||||
~ModifyDBClusterSSLRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getServerKey() const;
|
||||
void setServerKey(const std::string &serverKey);
|
||||
std::string getClientCrlEnabled() const;
|
||||
void setClientCrlEnabled(const std::string &clientCrlEnabled);
|
||||
std::string getDBEndpointId() const;
|
||||
void setDBEndpointId(const std::string &dBEndpointId);
|
||||
std::string getACL() const;
|
||||
void setACL(const std::string &aCL);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getServerCert() const;
|
||||
void setServerCert(const std::string &serverCert);
|
||||
std::string getClientCACert() const;
|
||||
void setClientCACert(const std::string &clientCACert);
|
||||
std::string getSSLAutoRotate() const;
|
||||
void setSSLAutoRotate(const std::string &sSLAutoRotate);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getCAType() const;
|
||||
void setCAType(const std::string &cAType);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getClientCACertEnabled() const;
|
||||
void setClientCACertEnabled(const std::string &clientCACertEnabled);
|
||||
std::string getClientCrl() const;
|
||||
void setClientCrl(const std::string &clientCrl);
|
||||
std::string getNetType() const;
|
||||
void setNetType(const std::string &netType);
|
||||
std::string getSSLEnabled() const;
|
||||
@@ -53,13 +69,21 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string serverKey_;
|
||||
std::string clientCrlEnabled_;
|
||||
std::string dBEndpointId_;
|
||||
std::string aCL_;
|
||||
std::string accessKeyId_;
|
||||
std::string serverCert_;
|
||||
std::string clientCACert_;
|
||||
std::string sSLAutoRotate_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string cAType_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string clientCACertEnabled_;
|
||||
std::string clientCrl_;
|
||||
std::string netType_;
|
||||
std::string sSLEnabled_;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setScaleRoNumMax(const std::string &scaleRoNumMax);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getServerlessRuleMode() const;
|
||||
void setServerlessRuleMode(const std::string &serverlessRuleMode);
|
||||
std::string getScaleApRoNumMax() const;
|
||||
void setScaleApRoNumMax(const std::string &scaleApRoNumMax);
|
||||
std::string getScaleMax() const;
|
||||
@@ -42,18 +44,26 @@ public:
|
||||
void setPlannedEndTime(const std::string &plannedEndTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getServerlessRuleCpuEnlargeThreshold() const;
|
||||
void setServerlessRuleCpuEnlargeThreshold(const std::string &serverlessRuleCpuEnlargeThreshold);
|
||||
std::string getSecondsUntilAutoPause() const;
|
||||
void setSecondsUntilAutoPause(const std::string &secondsUntilAutoPause);
|
||||
std::string getScaleApRoNumMin() const;
|
||||
void setScaleApRoNumMin(const std::string &scaleApRoNumMin);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
std::string getScaleMin() const;
|
||||
void setScaleMin(const std::string &scaleMin);
|
||||
std::string getCrontabJobId() const;
|
||||
void setCrontabJobId(const std::string &crontabJobId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getServerlessRuleCpuShrinkThreshold() const;
|
||||
void setServerlessRuleCpuShrinkThreshold(const std::string &serverlessRuleCpuShrinkThreshold);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlannedStartTime() const;
|
||||
@@ -68,16 +78,21 @@ public:
|
||||
private:
|
||||
std::string scaleRoNumMax_;
|
||||
long resourceOwnerId_;
|
||||
std::string serverlessRuleMode_;
|
||||
std::string scaleApRoNumMax_;
|
||||
std::string scaleMax_;
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string serverlessRuleCpuEnlargeThreshold_;
|
||||
std::string secondsUntilAutoPause_;
|
||||
std::string scaleApRoNumMin_;
|
||||
std::string taskId_;
|
||||
std::string scaleMin_;
|
||||
std::string crontabJobId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string serverlessRuleCpuShrinkThreshold_;
|
||||
long ownerId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string scaleRoNumMin_;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_MODIFYDBCLUSTERSTORAGEPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_MODIFYDBCLUSTERSTORAGEPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT ModifyDBClusterStoragePerformanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBClusterStoragePerformanceRequest();
|
||||
~ModifyDBClusterStoragePerformanceRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getStorageType() const;
|
||||
void setStorageType(const std::string &storageType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBClusterId() const;
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getBurstingEnabled() const;
|
||||
void setBurstingEnabled(const std::string &burstingEnabled);
|
||||
int getProvisionedIops() const;
|
||||
void setProvisionedIops(int provisionedIops);
|
||||
std::string getModifyType() const;
|
||||
void setModifyType(const std::string &modifyType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string storageType_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBClusterId_;
|
||||
std::string burstingEnabled_;
|
||||
int provisionedIops_;
|
||||
std::string modifyType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_MODIFYDBCLUSTERSTORAGEPERFORMANCEREQUEST_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_POLARDB_MODEL_MODIFYDBCLUSTERSTORAGEPERFORMANCERESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_MODIFYDBCLUSTERSTORAGEPERFORMANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT ModifyDBClusterStoragePerformanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBClusterStoragePerformanceResult();
|
||||
explicit ModifyDBClusterStoragePerformanceResult(const std::string &payload);
|
||||
~ModifyDBClusterStoragePerformanceResult();
|
||||
std::string getDBClusterId()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBClusterId_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_MODIFYDBCLUSTERSTORAGEPERFORMANCERESULT_H_
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
void setEncryptionKey(const std::string &encryptionKey);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getEnableAutomaticRotation() const;
|
||||
void setEnableAutomaticRotation(const std::string &enableAutomaticRotation);
|
||||
std::string getRoleArn() const;
|
||||
void setRoleArn(const std::string &roleArn);
|
||||
std::string getEncryptNewTables() const;
|
||||
@@ -59,6 +61,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
std::string encryptionKey_;
|
||||
long ownerId_;
|
||||
std::string enableAutomaticRotation_;
|
||||
std::string roleArn_;
|
||||
std::string encryptNewTables_;
|
||||
std::string tDEStatus_;
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getPlannedFlashingOffTime() const;
|
||||
void setPlannedFlashingOffTime(const std::string &plannedFlashingOffTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlannedStartTime() const;
|
||||
@@ -67,6 +69,7 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string plannedFlashingOffTime_;
|
||||
long ownerId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string modifyType_;
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setDBClusterId(const std::string &dBClusterId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getPlannedFlashingOffTime() const;
|
||||
void setPlannedFlashingOffTime(const std::string &plannedFlashingOffTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlannedStartTime() const;
|
||||
@@ -67,6 +69,7 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
std::string plannedFlashingOffTime_;
|
||||
long ownerId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string modifyType_;
|
||||
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
bool getEnableGlobalDomainName() const;
|
||||
void setEnableGlobalDomainName(bool enableGlobalDomainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
@@ -58,6 +60,7 @@ private:
|
||||
std::string gDNDescription_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
bool enableGlobalDomainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_RESTARTDBLINKREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_RESTARTDBLINKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
@@ -26,16 +26,16 @@
|
||||
namespace AlibabaCloud {
|
||||
namespace Polardb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT UpgradeDBClusterMinorVersionRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_POLARDB_EXPORT RestartDBLinkRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeDBClusterMinorVersionRequest();
|
||||
~UpgradeDBClusterMinorVersionRequest();
|
||||
RestartDBLinkRequest();
|
||||
~RestartDBLinkRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getPlannedEndTime() const;
|
||||
void setPlannedEndTime(const std::string &plannedEndTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getDBClusterId() const;
|
||||
@@ -44,23 +44,17 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlannedStartTime() const;
|
||||
void setPlannedStartTime(const std::string &plannedStartTime);
|
||||
bool getFromTimeService() const;
|
||||
void setFromTimeService(bool fromTimeService);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string plannedEndTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string plannedStartTime_;
|
||||
bool fromTimeService_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Polardb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_RESTARTDBLINKREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONRESULT_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_RESTARTDBLINKRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_RESTARTDBLINKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,21 +29,25 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT UpgradeDBClusterMinorVersionResult : public ServiceResult
|
||||
class ALIBABACLOUD_POLARDB_EXPORT RestartDBLinkResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpgradeDBClusterMinorVersionResult();
|
||||
explicit UpgradeDBClusterMinorVersionResult(const std::string &payload);
|
||||
~UpgradeDBClusterMinorVersionResult();
|
||||
RestartDBLinkResult();
|
||||
explicit RestartDBLinkResult(const std::string &payload);
|
||||
~RestartDBLinkResult();
|
||||
std::string getTaskId()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_UPGRADEDBCLUSTERMINORVERSIONRESULT_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_RESTARTDBLINKRESULT_H_
|
||||
@@ -46,12 +46,16 @@ public:
|
||||
void setUpgradeLabel(const std::string &upgradeLabel);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getPlannedFlashingOffTime() const;
|
||||
void setPlannedFlashingOffTime(const std::string &plannedFlashingOffTime);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPlannedStartTime() const;
|
||||
void setPlannedStartTime(const std::string &plannedStartTime);
|
||||
std::string getTargetDBRevisionVersionCode() const;
|
||||
void setTargetDBRevisionVersionCode(const std::string &targetDBRevisionVersionCode);
|
||||
std::string getTargetProxyRevisionVersionCode() const;
|
||||
void setTargetProxyRevisionVersionCode(const std::string &targetProxyRevisionVersionCode);
|
||||
std::string getUpgradePolicy() const;
|
||||
void setUpgradePolicy(const std::string &upgradePolicy);
|
||||
bool getFromTimeService() const;
|
||||
@@ -66,9 +70,11 @@ private:
|
||||
std::string dBClusterId_;
|
||||
std::string upgradeLabel_;
|
||||
std::string ownerAccount_;
|
||||
std::string plannedFlashingOffTime_;
|
||||
long ownerId_;
|
||||
std::string plannedStartTime_;
|
||||
std::string targetDBRevisionVersionCode_;
|
||||
std::string targetProxyRevisionVersionCode_;
|
||||
std::string upgradePolicy_;
|
||||
bool fromTimeService_;
|
||||
};
|
||||
|
||||
@@ -51,6 +51,42 @@ PolardbClient::PolardbClient(const std::string & accessKeyId, const std::string
|
||||
PolardbClient::~PolardbClient()
|
||||
{}
|
||||
|
||||
PolardbClient::CancelActiveOperationTasksOutcome PolardbClient::cancelActiveOperationTasks(const CancelActiveOperationTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CancelActiveOperationTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CancelActiveOperationTasksOutcome(CancelActiveOperationTasksResult(outcome.result()));
|
||||
else
|
||||
return CancelActiveOperationTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::cancelActiveOperationTasksAsync(const CancelActiveOperationTasksRequest& request, const CancelActiveOperationTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, cancelActiveOperationTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::CancelActiveOperationTasksOutcomeCallable PolardbClient::cancelActiveOperationTasksCallable(const CancelActiveOperationTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CancelActiveOperationTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->cancelActiveOperationTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::CancelScheduleTasksOutcome PolardbClient::cancelScheduleTasks(const CancelScheduleTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +375,42 @@ PolardbClient::CreateAccountOutcomeCallable PolardbClient::createAccountCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::CreateActivationCodeOutcome PolardbClient::createActivationCode(const CreateActivationCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateActivationCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateActivationCodeOutcome(CreateActivationCodeResult(outcome.result()));
|
||||
else
|
||||
return CreateActivationCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::createActivationCodeAsync(const CreateActivationCodeRequest& request, const CreateActivationCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createActivationCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::CreateActivationCodeOutcomeCallable PolardbClient::createActivationCodeCallable(const CreateActivationCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateActivationCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createActivationCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::CreateBackupOutcome PolardbClient::createBackup(const CreateBackupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +771,42 @@ PolardbClient::CreateGlobalSecurityIPGroupOutcomeCallable PolardbClient::createG
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::CreateOrGetVirtualLicenseOrderOutcome PolardbClient::createOrGetVirtualLicenseOrder(const CreateOrGetVirtualLicenseOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateOrGetVirtualLicenseOrderOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateOrGetVirtualLicenseOrderOutcome(CreateOrGetVirtualLicenseOrderResult(outcome.result()));
|
||||
else
|
||||
return CreateOrGetVirtualLicenseOrderOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::createOrGetVirtualLicenseOrderAsync(const CreateOrGetVirtualLicenseOrderRequest& request, const CreateOrGetVirtualLicenseOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createOrGetVirtualLicenseOrder(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::CreateOrGetVirtualLicenseOrderOutcomeCallable PolardbClient::createOrGetVirtualLicenseOrderCallable(const CreateOrGetVirtualLicenseOrderRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateOrGetVirtualLicenseOrderOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createOrGetVirtualLicenseOrder(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::CreateParameterGroupOutcome PolardbClient::createParameterGroup(const CreateParameterGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1311,6 +1419,114 @@ PolardbClient::DescribeAccountsOutcomeCallable PolardbClient::describeAccountsCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeActivationCodeDetailsOutcome PolardbClient::describeActivationCodeDetails(const DescribeActivationCodeDetailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeActivationCodeDetailsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeActivationCodeDetailsOutcome(DescribeActivationCodeDetailsResult(outcome.result()));
|
||||
else
|
||||
return DescribeActivationCodeDetailsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeActivationCodeDetailsAsync(const DescribeActivationCodeDetailsRequest& request, const DescribeActivationCodeDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeActivationCodeDetails(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeActivationCodeDetailsOutcomeCallable PolardbClient::describeActivationCodeDetailsCallable(const DescribeActivationCodeDetailsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeActivationCodeDetailsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeActivationCodeDetails(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeActivationCodesOutcome PolardbClient::describeActivationCodes(const DescribeActivationCodesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeActivationCodesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeActivationCodesOutcome(DescribeActivationCodesResult(outcome.result()));
|
||||
else
|
||||
return DescribeActivationCodesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeActivationCodesAsync(const DescribeActivationCodesRequest& request, const DescribeActivationCodesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeActivationCodes(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeActivationCodesOutcomeCallable PolardbClient::describeActivationCodesCallable(const DescribeActivationCodesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeActivationCodesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeActivationCodes(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeActiveOperationTasksOutcome PolardbClient::describeActiveOperationTasks(const DescribeActiveOperationTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeActiveOperationTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeActiveOperationTasksOutcome(DescribeActiveOperationTasksResult(outcome.result()));
|
||||
else
|
||||
return DescribeActiveOperationTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeActiveOperationTasksAsync(const DescribeActiveOperationTasksRequest& request, const DescribeActiveOperationTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeActiveOperationTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeActiveOperationTasksOutcomeCallable PolardbClient::describeActiveOperationTasksCallable(const DescribeActiveOperationTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeActiveOperationTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeActiveOperationTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeAutoRenewAttributeOutcome PolardbClient::describeAutoRenewAttribute(const DescribeAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2571,6 +2787,78 @@ PolardbClient::DescribeGlobalSecurityIPGroupRelationOutcomeCallable PolardbClien
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLicenseOrderDetailsOutcome PolardbClient::describeLicenseOrderDetails(const DescribeLicenseOrderDetailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLicenseOrderDetailsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLicenseOrderDetailsOutcome(DescribeLicenseOrderDetailsResult(outcome.result()));
|
||||
else
|
||||
return DescribeLicenseOrderDetailsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeLicenseOrderDetailsAsync(const DescribeLicenseOrderDetailsRequest& request, const DescribeLicenseOrderDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLicenseOrderDetails(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLicenseOrderDetailsOutcomeCallable PolardbClient::describeLicenseOrderDetailsCallable(const DescribeLicenseOrderDetailsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLicenseOrderDetailsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLicenseOrderDetails(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLicenseOrdersOutcome PolardbClient::describeLicenseOrders(const DescribeLicenseOrdersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLicenseOrdersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLicenseOrdersOutcome(DescribeLicenseOrdersResult(outcome.result()));
|
||||
else
|
||||
return DescribeLicenseOrdersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeLicenseOrdersAsync(const DescribeLicenseOrdersRequest& request, const DescribeLicenseOrdersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLicenseOrders(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLicenseOrdersOutcomeCallable PolardbClient::describeLicenseOrdersCallable(const DescribeLicenseOrdersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLicenseOrdersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLicenseOrders(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeLogBackupPolicyOutcome PolardbClient::describeLogBackupPolicy(const DescribeLogBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3507,6 +3795,42 @@ PolardbClient::ModifyAccountPasswordOutcomeCallable PolardbClient::modifyAccount
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::ModifyActiveOperationTasksOutcome PolardbClient::modifyActiveOperationTasks(const ModifyActiveOperationTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyActiveOperationTasksOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyActiveOperationTasksOutcome(ModifyActiveOperationTasksResult(outcome.result()));
|
||||
else
|
||||
return ModifyActiveOperationTasksOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::modifyActiveOperationTasksAsync(const ModifyActiveOperationTasksRequest& request, const ModifyActiveOperationTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyActiveOperationTasks(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::ModifyActiveOperationTasksOutcomeCallable PolardbClient::modifyActiveOperationTasksCallable(const ModifyActiveOperationTasksRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyActiveOperationTasksOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyActiveOperationTasks(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::ModifyAutoRenewAttributeOutcome PolardbClient::modifyAutoRenewAttribute(const ModifyAutoRenewAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4119,6 +4443,42 @@ PolardbClient::ModifyDBClusterServerlessConfOutcomeCallable PolardbClient::modif
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::ModifyDBClusterStoragePerformanceOutcome PolardbClient::modifyDBClusterStoragePerformance(const ModifyDBClusterStoragePerformanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDBClusterStoragePerformanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDBClusterStoragePerformanceOutcome(ModifyDBClusterStoragePerformanceResult(outcome.result()));
|
||||
else
|
||||
return ModifyDBClusterStoragePerformanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::modifyDBClusterStoragePerformanceAsync(const ModifyDBClusterStoragePerformanceRequest& request, const ModifyDBClusterStoragePerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDBClusterStoragePerformance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::ModifyDBClusterStoragePerformanceOutcomeCallable PolardbClient::modifyDBClusterStoragePerformanceCallable(const ModifyDBClusterStoragePerformanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDBClusterStoragePerformanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDBClusterStoragePerformance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::ModifyDBClusterStorageSpaceOutcome PolardbClient::modifyDBClusterStorageSpace(const ModifyDBClusterStorageSpaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4839,6 +5199,42 @@ PolardbClient::ResetGlobalDatabaseNetworkOutcomeCallable PolardbClient::resetGlo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::RestartDBLinkOutcome PolardbClient::restartDBLink(const RestartDBLinkRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RestartDBLinkOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RestartDBLinkOutcome(RestartDBLinkResult(outcome.result()));
|
||||
else
|
||||
return RestartDBLinkOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::restartDBLinkAsync(const RestartDBLinkRequest& request, const RestartDBLinkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, restartDBLink(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::RestartDBLinkOutcomeCallable PolardbClient::restartDBLinkCallable(const RestartDBLinkRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RestartDBLinkOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->restartDBLink(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::RestartDBNodeOutcome PolardbClient::restartDBNode(const RestartDBNodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5127,42 +5523,6 @@ PolardbClient::UntagResourcesOutcomeCallable PolardbClient::untagResourcesCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterMinorVersionOutcome PolardbClient::upgradeDBClusterMinorVersion(const UpgradeDBClusterMinorVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpgradeDBClusterMinorVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpgradeDBClusterMinorVersionOutcome(UpgradeDBClusterMinorVersionResult(outcome.result()));
|
||||
else
|
||||
return UpgradeDBClusterMinorVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::upgradeDBClusterMinorVersionAsync(const UpgradeDBClusterMinorVersionRequest& request, const UpgradeDBClusterMinorVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, upgradeDBClusterMinorVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterMinorVersionOutcomeCallable PolardbClient::upgradeDBClusterMinorVersionCallable(const UpgradeDBClusterMinorVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpgradeDBClusterMinorVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->upgradeDBClusterMinorVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::UpgradeDBClusterVersionOutcome PolardbClient::upgradeDBClusterVersion(const UpgradeDBClusterVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
126
polardb/src/model/CancelActiveOperationTasksRequest.cc
Normal file
126
polardb/src/model/CancelActiveOperationTasksRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CancelActiveOperationTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CancelActiveOperationTasksRequest;
|
||||
|
||||
CancelActiveOperationTasksRequest::CancelActiveOperationTasksRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CancelActiveOperationTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelActiveOperationTasksRequest::~CancelActiveOperationTasksRequest() {}
|
||||
|
||||
long CancelActiveOperationTasksRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getTaskIds() const {
|
||||
return taskIds_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setTaskIds(const std::string &taskIds) {
|
||||
taskIds_ = taskIds;
|
||||
setParameter(std::string("TaskIds"), taskIds);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getUid() const {
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setUid(const std::string &uid) {
|
||||
uid_ = uid;
|
||||
setParameter(std::string("Uid"), uid);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long CancelActiveOperationTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CancelActiveOperationTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,31 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/UpgradeDBClusterMinorVersionResult.h>
|
||||
#include <alibabacloud/polardb/model/CancelActiveOperationTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
UpgradeDBClusterMinorVersionResult::UpgradeDBClusterMinorVersionResult() :
|
||||
CancelActiveOperationTasksResult::CancelActiveOperationTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
UpgradeDBClusterMinorVersionResult::UpgradeDBClusterMinorVersionResult(const std::string &payload) :
|
||||
CancelActiveOperationTasksResult::CancelActiveOperationTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
UpgradeDBClusterMinorVersionResult::~UpgradeDBClusterMinorVersionResult()
|
||||
CancelActiveOperationTasksResult::~CancelActiveOperationTasksResult()
|
||||
{}
|
||||
|
||||
void UpgradeDBClusterMinorVersionResult::parse(const std::string &payload)
|
||||
void CancelActiveOperationTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TaskIds"].isNull())
|
||||
taskIds_ = value["TaskIds"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CancelActiveOperationTasksResult::getTaskIds()const
|
||||
{
|
||||
return taskIds_;
|
||||
}
|
||||
|
||||
117
polardb/src/model/CreateActivationCodeRequest.cc
Normal file
117
polardb/src/model/CreateActivationCodeRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateActivationCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateActivationCodeRequest;
|
||||
|
||||
CreateActivationCodeRequest::CreateActivationCodeRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateActivationCode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateActivationCodeRequest::~CreateActivationCodeRequest() {}
|
||||
|
||||
long CreateActivationCodeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getAliyunOrderId() const {
|
||||
return aliyunOrderId_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setAliyunOrderId(const std::string &aliyunOrderId) {
|
||||
aliyunOrderId_ = aliyunOrderId;
|
||||
setParameter(std::string("AliyunOrderId"), aliyunOrderId);
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getMacAddress() const {
|
||||
return macAddress_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setMacAddress(const std::string &macAddress) {
|
||||
macAddress_ = macAddress;
|
||||
setParameter(std::string("MacAddress"), macAddress);
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getSystemIdentifier() const {
|
||||
return systemIdentifier_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setSystemIdentifier(const std::string &systemIdentifier) {
|
||||
systemIdentifier_ = systemIdentifier;
|
||||
setParameter(std::string("SystemIdentifier"), systemIdentifier);
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long CreateActivationCodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateActivationCodeRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
114
polardb/src/model/CreateActivationCodeResult.cc
Normal file
114
polardb/src/model/CreateActivationCodeResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateActivationCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateActivationCodeResult::CreateActivationCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateActivationCodeResult::CreateActivationCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateActivationCodeResult::~CreateActivationCodeResult()
|
||||
{}
|
||||
|
||||
void CreateActivationCodeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ActivateAt"].isNull())
|
||||
activateAt_ = value["ActivateAt"].asString();
|
||||
if(!value["CertContentB64"].isNull())
|
||||
certContentB64_ = value["CertContentB64"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
if(!value["ExpireAt"].isNull())
|
||||
expireAt_ = value["ExpireAt"].asString();
|
||||
if(!value["GmtCreated"].isNull())
|
||||
gmtCreated_ = value["GmtCreated"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
gmtModified_ = value["GmtModified"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stoi(value["Id"].asString());
|
||||
if(!value["MacAddress"].isNull())
|
||||
macAddress_ = value["MacAddress"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["SystemIdentifier"].isNull())
|
||||
systemIdentifier_ = value["SystemIdentifier"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getGmtModified()const
|
||||
{
|
||||
return gmtModified_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getSystemIdentifier()const
|
||||
{
|
||||
return systemIdentifier_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getActivateAt()const
|
||||
{
|
||||
return activateAt_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getExpireAt()const
|
||||
{
|
||||
return expireAt_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getCertContentB64()const
|
||||
{
|
||||
return certContentB64_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getGmtCreated()const
|
||||
{
|
||||
return gmtCreated_;
|
||||
}
|
||||
|
||||
int CreateActivationCodeResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getMacAddress()const
|
||||
{
|
||||
return macAddress_;
|
||||
}
|
||||
|
||||
std::string CreateActivationCodeResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,15 @@ void CreateBackupRequest::setClientToken(const std::string &clientToken) {
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getDataLevel2BackupRetentionPeriod() const {
|
||||
return dataLevel2BackupRetentionPeriod_;
|
||||
}
|
||||
|
||||
void CreateBackupRequest::setDataLevel2BackupRetentionPeriod(const std::string &dataLevel2BackupRetentionPeriod) {
|
||||
dataLevel2BackupRetentionPeriod_ = dataLevel2BackupRetentionPeriod;
|
||||
setParameter(std::string("DataLevel2BackupRetentionPeriod"), dataLevel2BackupRetentionPeriod);
|
||||
}
|
||||
|
||||
std::string CreateBackupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void CreateDBClusterEndpointRequest::setClientToken(const std::string &clientTok
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getPolarSccWaitTimeout() const {
|
||||
return polarSccWaitTimeout_;
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setPolarSccWaitTimeout(const std::string &polarSccWaitTimeout) {
|
||||
polarSccWaitTimeout_ = polarSccWaitTimeout;
|
||||
setParameter(std::string("PolarSccWaitTimeout"), polarSccWaitTimeout);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -79,6 +88,33 @@ void CreateDBClusterEndpointRequest::setEndpointType(const std::string &endpoint
|
||||
setParameter(std::string("EndpointType"), endpointType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getPolarSccTimeoutAction() const {
|
||||
return polarSccTimeoutAction_;
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setPolarSccTimeoutAction(const std::string &polarSccTimeoutAction) {
|
||||
polarSccTimeoutAction_ = polarSccTimeoutAction;
|
||||
setParameter(std::string("PolarSccTimeoutAction"), polarSccTimeoutAction);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getEndpointSubCluster() const {
|
||||
return endpointSubCluster_;
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setEndpointSubCluster(const std::string &endpointSubCluster) {
|
||||
endpointSubCluster_ = endpointSubCluster;
|
||||
setParameter(std::string("EndpointSubCluster"), endpointSubCluster);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getStandbyVSwitchId() const {
|
||||
return standbyVSwitchId_;
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setStandbyVSwitchId(const std::string &standbyVSwitchId) {
|
||||
standbyVSwitchId_ = standbyVSwitchId;
|
||||
setParameter(std::string("StandbyVSwitchId"), standbyVSwitchId);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
@@ -151,6 +187,15 @@ void CreateDBClusterEndpointRequest::setNodes(const std::string &nodes) {
|
||||
setParameter(std::string("Nodes"), nodes);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getSccMode() const {
|
||||
return sccMode_;
|
||||
}
|
||||
|
||||
void CreateDBClusterEndpointRequest::setSccMode(const std::string &sccMode) {
|
||||
sccMode_ = sccMode;
|
||||
setParameter(std::string("SccMode"), sccMode);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterEndpointRequest::getVPCId() const {
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
@@ -282,6 +282,15 @@ void CreateDBClusterRequest::setLowerCaseTableNames(const std::string &lowerCase
|
||||
setParameter(std::string("LowerCaseTableNames"), lowerCaseTableNames);
|
||||
}
|
||||
|
||||
bool CreateDBClusterRequest::getStorageEncryption() const {
|
||||
return storageEncryption_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setStorageEncryption(bool storageEncryption) {
|
||||
storageEncryption_ = storageEncryption;
|
||||
setParameter(std::string("StorageEncryption"), storageEncryption ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getScaleRoNumMax() const {
|
||||
return scaleRoNumMax_;
|
||||
}
|
||||
@@ -336,6 +345,15 @@ void CreateDBClusterRequest::setClusterNetworkType(const std::string &clusterNet
|
||||
setParameter(std::string("ClusterNetworkType"), clusterNetworkType);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getStorageEncryptionKey() const {
|
||||
return storageEncryptionKey_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setStorageEncryptionKey(const std::string &storageEncryptionKey) {
|
||||
storageEncryptionKey_ = storageEncryptionKey;
|
||||
setParameter(std::string("StorageEncryptionKey"), storageEncryptionKey);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getParameterGroupId() const {
|
||||
return parameterGroupId_;
|
||||
}
|
||||
@@ -435,6 +453,24 @@ void CreateDBClusterRequest::setUsedTime(const std::string &usedTime) {
|
||||
setParameter(std::string("UsedTime"), usedTime);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getBurstingEnabled() const {
|
||||
return burstingEnabled_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setBurstingEnabled(const std::string &burstingEnabled) {
|
||||
burstingEnabled_ = burstingEnabled;
|
||||
setParameter(std::string("BurstingEnabled"), burstingEnabled);
|
||||
}
|
||||
|
||||
std::string CreateDBClusterRequest::getTargetMinorVersion() const {
|
||||
return targetMinorVersion_;
|
||||
}
|
||||
|
||||
void CreateDBClusterRequest::setTargetMinorVersion(const std::string &targetMinorVersion) {
|
||||
targetMinorVersion_ = targetMinorVersion;
|
||||
setParameter(std::string("TargetMinorVersion"), targetMinorVersion);
|
||||
}
|
||||
|
||||
int CreateDBClusterRequest::getDBNodeNum() const {
|
||||
return dBNodeNum_;
|
||||
}
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateDBClusterResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,15 @@ void CreateGlobalDatabaseNetworkRequest::setResourceGroupId(const std::string &r
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
@@ -97,6 +106,15 @@ void CreateGlobalDatabaseNetworkRequest::setOwnerAccount(const std::string &owne
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
bool CreateGlobalDatabaseNetworkRequest::getEnableGlobalDomainName() const {
|
||||
return enableGlobalDomainName_;
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setEnableGlobalDomainName(bool enableGlobalDomainName) {
|
||||
enableGlobalDomainName_ = enableGlobalDomainName;
|
||||
setParameter(std::string("EnableGlobalDomainName"), enableGlobalDomainName ? "true" : "false");
|
||||
}
|
||||
|
||||
long CreateGlobalDatabaseNetworkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -106,3 +124,21 @@ void CreateGlobalDatabaseNetworkRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getAccountPassword() const {
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setAccountPassword(const std::string &accountPassword) {
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter(std::string("AccountPassword"), accountPassword);
|
||||
}
|
||||
|
||||
std::string CreateGlobalDatabaseNetworkRequest::getDBName() const {
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void CreateGlobalDatabaseNetworkRequest::setDBName(const std::string &dBName) {
|
||||
dBName_ = dBName;
|
||||
setParameter(std::string("DBName"), dBName);
|
||||
}
|
||||
|
||||
|
||||
81
polardb/src/model/CreateOrGetVirtualLicenseOrderRequest.cc
Normal file
81
polardb/src/model/CreateOrGetVirtualLicenseOrderRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateOrGetVirtualLicenseOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::CreateOrGetVirtualLicenseOrderRequest;
|
||||
|
||||
CreateOrGetVirtualLicenseOrderRequest::CreateOrGetVirtualLicenseOrderRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "CreateOrGetVirtualLicenseOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateOrGetVirtualLicenseOrderRequest::~CreateOrGetVirtualLicenseOrderRequest() {}
|
||||
|
||||
long CreateOrGetVirtualLicenseOrderRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderRequest::getEngine() const {
|
||||
return engine_;
|
||||
}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderRequest::setEngine(const std::string &engine) {
|
||||
engine_ = engine;
|
||||
setParameter(std::string("Engine"), engine);
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long CreateOrGetVirtualLicenseOrderRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
128
polardb/src/model/CreateOrGetVirtualLicenseOrderResult.cc
Normal file
128
polardb/src/model/CreateOrGetVirtualLicenseOrderResult.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/CreateOrGetVirtualLicenseOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
CreateOrGetVirtualLicenseOrderResult::CreateOrGetVirtualLicenseOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateOrGetVirtualLicenseOrderResult::CreateOrGetVirtualLicenseOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateOrGetVirtualLicenseOrderResult::~CreateOrGetVirtualLicenseOrderResult()
|
||||
{}
|
||||
|
||||
void CreateOrGetVirtualLicenseOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ActivatedCodeCount"].isNull())
|
||||
activatedCodeCount_ = std::stoi(value["ActivatedCodeCount"].asString());
|
||||
if(!value["ActivationCodeQuota"].isNull())
|
||||
activationCodeQuota_ = std::stoi(value["ActivationCodeQuota"].asString());
|
||||
if(!value["AliyunOrderId"].isNull())
|
||||
aliyunOrderId_ = value["AliyunOrderId"].asString();
|
||||
if(!value["AllowEmptySystemIdentifier"].isNull())
|
||||
allowEmptySystemIdentifier_ = value["AllowEmptySystemIdentifier"].asString() == "true";
|
||||
if(!value["GmtCreated"].isNull())
|
||||
gmtCreated_ = value["GmtCreated"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
gmtModified_ = value["GmtModified"].asString();
|
||||
if(!value["IsVirtualOrder"].isNull())
|
||||
isVirtualOrder_ = value["IsVirtualOrder"].asString() == "true";
|
||||
if(!value["IsVirtualOrderFrozen"].isNull())
|
||||
isVirtualOrderFrozen_ = value["IsVirtualOrderFrozen"].asString() == "true";
|
||||
if(!value["PackageType"].isNull())
|
||||
packageType_ = value["PackageType"].asString();
|
||||
if(!value["PackageValidity"].isNull())
|
||||
packageValidity_ = value["PackageValidity"].asString();
|
||||
if(!value["PurchaseChannel"].isNull())
|
||||
purchaseChannel_ = value["PurchaseChannel"].asString();
|
||||
if(!value["VirtualOrderId"].isNull())
|
||||
virtualOrderId_ = value["VirtualOrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getVirtualOrderId()const
|
||||
{
|
||||
return virtualOrderId_;
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getAliyunOrderId()const
|
||||
{
|
||||
return aliyunOrderId_;
|
||||
}
|
||||
|
||||
int CreateOrGetVirtualLicenseOrderResult::getActivatedCodeCount()const
|
||||
{
|
||||
return activatedCodeCount_;
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getPackageValidity()const
|
||||
{
|
||||
return packageValidity_;
|
||||
}
|
||||
|
||||
bool CreateOrGetVirtualLicenseOrderResult::getIsVirtualOrder()const
|
||||
{
|
||||
return isVirtualOrder_;
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getPackageType()const
|
||||
{
|
||||
return packageType_;
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getGmtModified()const
|
||||
{
|
||||
return gmtModified_;
|
||||
}
|
||||
|
||||
bool CreateOrGetVirtualLicenseOrderResult::getAllowEmptySystemIdentifier()const
|
||||
{
|
||||
return allowEmptySystemIdentifier_;
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getGmtCreated()const
|
||||
{
|
||||
return gmtCreated_;
|
||||
}
|
||||
|
||||
bool CreateOrGetVirtualLicenseOrderResult::getIsVirtualOrderFrozen()const
|
||||
{
|
||||
return isVirtualOrderFrozen_;
|
||||
}
|
||||
|
||||
std::string CreateOrGetVirtualLicenseOrderResult::getPurchaseChannel()const
|
||||
{
|
||||
return purchaseChannel_;
|
||||
}
|
||||
|
||||
int CreateOrGetVirtualLicenseOrderResult::getActivationCodeQuota()const
|
||||
{
|
||||
return activationCodeQuota_;
|
||||
}
|
||||
|
||||
@@ -39,12 +39,14 @@ void DescribeAITaskStatusResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["Status"].isNull())
|
||||
status_ = value["Status"].asString();
|
||||
if(!value["StatusName"].isNull())
|
||||
statusName_ = value["StatusName"].asString();
|
||||
if(!value["AccountName"].isNull())
|
||||
accountName_ = value["AccountName"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -63,3 +65,8 @@ std::string DescribeAITaskStatusResult::getStatusName()const
|
||||
return statusName_;
|
||||
}
|
||||
|
||||
std::string DescribeAITaskStatusResult::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
|
||||
90
polardb/src/model/DescribeActivationCodeDetailsRequest.cc
Normal file
90
polardb/src/model/DescribeActivationCodeDetailsRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeActivationCodeDetailsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeActivationCodeDetailsRequest;
|
||||
|
||||
DescribeActivationCodeDetailsRequest::DescribeActivationCodeDetailsRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeActivationCodeDetails") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActivationCodeDetailsRequest::~DescribeActivationCodeDetailsRequest() {}
|
||||
|
||||
long DescribeActivationCodeDetailsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeActivationCodeDetailsRequest::getActivationCodeId() const {
|
||||
return activationCodeId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setActivationCodeId(int activationCodeId) {
|
||||
activationCodeId_ = activationCodeId;
|
||||
setParameter(std::string("ActivationCodeId"), std::to_string(activationCodeId));
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsRequest::getAliyunOrderId() const {
|
||||
return aliyunOrderId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setAliyunOrderId(const std::string &aliyunOrderId) {
|
||||
aliyunOrderId_ = aliyunOrderId;
|
||||
setParameter(std::string("AliyunOrderId"), aliyunOrderId);
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeActivationCodeDetailsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodeDetailsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
114
polardb/src/model/DescribeActivationCodeDetailsResult.cc
Normal file
114
polardb/src/model/DescribeActivationCodeDetailsResult.cc
Normal file
@@ -0,0 +1,114 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeActivationCodeDetailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeActivationCodeDetailsResult::DescribeActivationCodeDetailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActivationCodeDetailsResult::DescribeActivationCodeDetailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActivationCodeDetailsResult::~DescribeActivationCodeDetailsResult()
|
||||
{}
|
||||
|
||||
void DescribeActivationCodeDetailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ActivateAt"].isNull())
|
||||
activateAt_ = value["ActivateAt"].asString();
|
||||
if(!value["CertContentB64"].isNull())
|
||||
certContentB64_ = value["CertContentB64"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
description_ = value["Description"].asString();
|
||||
if(!value["ExpireAt"].isNull())
|
||||
expireAt_ = value["ExpireAt"].asString();
|
||||
if(!value["GmtCreated"].isNull())
|
||||
gmtCreated_ = value["GmtCreated"].asString();
|
||||
if(!value["GmtModified"].isNull())
|
||||
gmtModified_ = value["GmtModified"].asString();
|
||||
if(!value["Id"].isNull())
|
||||
id_ = std::stoi(value["Id"].asString());
|
||||
if(!value["MacAddress"].isNull())
|
||||
macAddress_ = value["MacAddress"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
name_ = value["Name"].asString();
|
||||
if(!value["SystemIdentifier"].isNull())
|
||||
systemIdentifier_ = value["SystemIdentifier"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getGmtModified()const
|
||||
{
|
||||
return gmtModified_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getSystemIdentifier()const
|
||||
{
|
||||
return systemIdentifier_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getActivateAt()const
|
||||
{
|
||||
return activateAt_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getExpireAt()const
|
||||
{
|
||||
return expireAt_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getCertContentB64()const
|
||||
{
|
||||
return certContentB64_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getGmtCreated()const
|
||||
{
|
||||
return gmtCreated_;
|
||||
}
|
||||
|
||||
int DescribeActivationCodeDetailsResult::getId()const
|
||||
{
|
||||
return id_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getMacAddress()const
|
||||
{
|
||||
return macAddress_;
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodeDetailsResult::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
99
polardb/src/model/DescribeActivationCodesRequest.cc
Normal file
99
polardb/src/model/DescribeActivationCodesRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeActivationCodesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeActivationCodesRequest;
|
||||
|
||||
DescribeActivationCodesRequest::DescribeActivationCodesRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeActivationCodes") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActivationCodesRequest::~DescribeActivationCodesRequest() {}
|
||||
|
||||
long DescribeActivationCodesRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
int DescribeActivationCodesRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
int DescribeActivationCodesRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodesRequest::getAliyunOrderId() const {
|
||||
return aliyunOrderId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setAliyunOrderId(const std::string &aliyunOrderId) {
|
||||
aliyunOrderId_ = aliyunOrderId;
|
||||
setParameter(std::string("AliyunOrderId"), aliyunOrderId);
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodesRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeActivationCodesRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeActivationCodesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActivationCodesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
94
polardb/src/model/DescribeActivationCodesResult.cc
Normal file
94
polardb/src/model/DescribeActivationCodesResult.cc
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeActivationCodesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeActivationCodesResult::DescribeActivationCodesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActivationCodesResult::DescribeActivationCodesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActivationCodesResult::~DescribeActivationCodesResult()
|
||||
{}
|
||||
|
||||
void DescribeActivationCodesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ActivationCodes"];
|
||||
for (auto valueItemsActivationCodes : allItemsNode)
|
||||
{
|
||||
ActivationCodes itemsObject;
|
||||
if(!valueItemsActivationCodes["ActivateAt"].isNull())
|
||||
itemsObject.activateAt = valueItemsActivationCodes["ActivateAt"].asString();
|
||||
if(!valueItemsActivationCodes["Description"].isNull())
|
||||
itemsObject.description = valueItemsActivationCodes["Description"].asString();
|
||||
if(!valueItemsActivationCodes["ExpireAt"].isNull())
|
||||
itemsObject.expireAt = valueItemsActivationCodes["ExpireAt"].asString();
|
||||
if(!valueItemsActivationCodes["GmtCreated"].isNull())
|
||||
itemsObject.gmtCreated = valueItemsActivationCodes["GmtCreated"].asString();
|
||||
if(!valueItemsActivationCodes["GmtModified"].isNull())
|
||||
itemsObject.gmtModified = valueItemsActivationCodes["GmtModified"].asString();
|
||||
if(!valueItemsActivationCodes["Id"].isNull())
|
||||
itemsObject.id = std::stoi(valueItemsActivationCodes["Id"].asString());
|
||||
if(!valueItemsActivationCodes["MacAddress"].isNull())
|
||||
itemsObject.macAddress = valueItemsActivationCodes["MacAddress"].asString();
|
||||
if(!valueItemsActivationCodes["Name"].isNull())
|
||||
itemsObject.name = valueItemsActivationCodes["Name"].asString();
|
||||
if(!valueItemsActivationCodes["SystemIdentifier"].isNull())
|
||||
itemsObject.systemIdentifier = valueItemsActivationCodes["SystemIdentifier"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeActivationCodesResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeActivationCodesResult::getPageRecordCount()const
|
||||
{
|
||||
return pageRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeActivationCodesResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeActivationCodesResult::ActivationCodes> DescribeActivationCodesResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
207
polardb/src/model/DescribeActiveOperationTasksRequest.cc
Normal file
207
polardb/src/model/DescribeActiveOperationTasksRequest.cc
Normal file
@@ -0,0 +1,207 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeActiveOperationTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeActiveOperationTasksRequest;
|
||||
|
||||
DescribeActiveOperationTasksRequest::DescribeActiveOperationTasksRequest()
|
||||
: RpcServiceRequest("polardb", "2017-08-01", "DescribeActiveOperationTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActiveOperationTasksRequest::~DescribeActiveOperationTasksRequest() {}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getChangeLevel() const {
|
||||
return changeLevel_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setChangeLevel(const std::string &changeLevel) {
|
||||
changeLevel_ = changeLevel;
|
||||
setParameter(std::string("ChangeLevel"), changeLevel);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getPageNumber() const {
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setPageNumber(int pageNumber) {
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getProductName() const {
|
||||
return productName_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setProductName(const std::string &productName) {
|
||||
productName_ = productName;
|
||||
setParameter(std::string("ProductName"), productName);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getTaskType() const {
|
||||
return taskType_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setTaskType(const std::string &taskType) {
|
||||
taskType_ = taskType;
|
||||
setParameter(std::string("TaskType"), taskType);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getDBClusterId() const {
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setDBClusterId(const std::string &dBClusterId) {
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter(std::string("DBClusterId"), dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getAllowCancel() const {
|
||||
return allowCancel_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAllowCancel(long allowCancel) {
|
||||
allowCancel_ = allowCancel;
|
||||
setParameter(std::string("AllowCancel"), std::to_string(allowCancel));
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getDBType() const {
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setDBType(const std::string &dBType) {
|
||||
dBType_ = dBType;
|
||||
setParameter(std::string("DBType"), dBType);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getAllowChange() const {
|
||||
return allowChange_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAllowChange(long allowChange) {
|
||||
allowChange_ = allowChange;
|
||||
setParameter(std::string("AllowChange"), std::to_string(allowChange));
|
||||
}
|
||||
|
||||
std::string DescribeActiveOperationTasksRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
long DescribeActiveOperationTasksRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setStatus(long status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), std::to_string(status));
|
||||
}
|
||||
|
||||
133
polardb/src/model/DescribeActiveOperationTasksResult.cc
Normal file
133
polardb/src/model/DescribeActiveOperationTasksResult.cc
Normal file
@@ -0,0 +1,133 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeActiveOperationTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeActiveOperationTasksResult::DescribeActiveOperationTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeActiveOperationTasksResult::DescribeActiveOperationTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeActiveOperationTasksResult::~DescribeActiveOperationTasksResult()
|
||||
{}
|
||||
|
||||
void DescribeActiveOperationTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["ItemsItem"];
|
||||
for (auto valueItemsItemsItem : allItemsNode)
|
||||
{
|
||||
ItemsItem itemsObject;
|
||||
if(!valueItemsItemsItem["Status"].isNull())
|
||||
itemsObject.status = std::stoi(valueItemsItemsItem["Status"].asString());
|
||||
if(!valueItemsItemsItem["PrepareInterval"].isNull())
|
||||
itemsObject.prepareInterval = valueItemsItemsItem["PrepareInterval"].asString();
|
||||
if(!valueItemsItemsItem["Deadline"].isNull())
|
||||
itemsObject.deadline = valueItemsItemsItem["Deadline"].asString();
|
||||
if(!valueItemsItemsItem["DBType"].isNull())
|
||||
itemsObject.dBType = valueItemsItemsItem["DBType"].asString();
|
||||
if(!valueItemsItemsItem["TaskType"].isNull())
|
||||
itemsObject.taskType = valueItemsItemsItem["TaskType"].asString();
|
||||
if(!valueItemsItemsItem["StartTime"].isNull())
|
||||
itemsObject.startTime = valueItemsItemsItem["StartTime"].asString();
|
||||
if(!valueItemsItemsItem["DBVersion"].isNull())
|
||||
itemsObject.dBVersion = valueItemsItemsItem["DBVersion"].asString();
|
||||
if(!valueItemsItemsItem["ModifiedTime"].isNull())
|
||||
itemsObject.modifiedTime = valueItemsItemsItem["ModifiedTime"].asString();
|
||||
if(!valueItemsItemsItem["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsItemsItem["DBClusterId"].asString();
|
||||
if(!valueItemsItemsItem["Region"].isNull())
|
||||
itemsObject.region = valueItemsItemsItem["Region"].asString();
|
||||
if(!valueItemsItemsItem["ResultInfo"].isNull())
|
||||
itemsObject.resultInfo = valueItemsItemsItem["ResultInfo"].asString();
|
||||
if(!valueItemsItemsItem["CreatedTime"].isNull())
|
||||
itemsObject.createdTime = valueItemsItemsItem["CreatedTime"].asString();
|
||||
if(!valueItemsItemsItem["TaskId"].isNull())
|
||||
itemsObject.taskId = std::stoi(valueItemsItemsItem["TaskId"].asString());
|
||||
if(!valueItemsItemsItem["SwitchTime"].isNull())
|
||||
itemsObject.switchTime = valueItemsItemsItem["SwitchTime"].asString();
|
||||
if(!valueItemsItemsItem["CurrentAVZ"].isNull())
|
||||
itemsObject.currentAVZ = valueItemsItemsItem["CurrentAVZ"].asString();
|
||||
if(!valueItemsItemsItem["InsComment"].isNull())
|
||||
itemsObject.insComment = valueItemsItemsItem["InsComment"].asString();
|
||||
if(!valueItemsItemsItem["TaskTypeZh"].isNull())
|
||||
itemsObject.taskTypeZh = valueItemsItemsItem["TaskTypeZh"].asString();
|
||||
if(!valueItemsItemsItem["TaskTypeEn"].isNull())
|
||||
itemsObject.taskTypeEn = valueItemsItemsItem["TaskTypeEn"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevel"].isNull())
|
||||
itemsObject.changeLevel = valueItemsItemsItem["ChangeLevel"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevelZh"].isNull())
|
||||
itemsObject.changeLevelZh = valueItemsItemsItem["ChangeLevelZh"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevelEn"].isNull())
|
||||
itemsObject.changeLevelEn = valueItemsItemsItem["ChangeLevelEn"].asString();
|
||||
if(!valueItemsItemsItem["ImpactZh"].isNull())
|
||||
itemsObject.impactZh = valueItemsItemsItem["ImpactZh"].asString();
|
||||
if(!valueItemsItemsItem["ImpactEn"].isNull())
|
||||
itemsObject.impactEn = valueItemsItemsItem["ImpactEn"].asString();
|
||||
if(!valueItemsItemsItem["AllowChange"].isNull())
|
||||
itemsObject.allowChange = std::stol(valueItemsItemsItem["AllowChange"].asString());
|
||||
if(!valueItemsItemsItem["AllowCancel"].isNull())
|
||||
itemsObject.allowCancel = std::stol(valueItemsItemsItem["AllowCancel"].asString());
|
||||
if(!valueItemsItemsItem["Impact"].isNull())
|
||||
itemsObject.impact = valueItemsItemsItem["Impact"].asString();
|
||||
if(!valueItemsItemsItem["TaskParams"].isNull())
|
||||
itemsObject.taskParams = valueItemsItemsItem["TaskParams"].asString();
|
||||
auto allDBNodeIds = value["DBNodeIds"]["subInsNames"];
|
||||
for (auto value : allDBNodeIds)
|
||||
itemsObject.dBNodeIds.push_back(value.asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksResult::getTotalRecordCount()const
|
||||
{
|
||||
return totalRecordCount_;
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
std::vector<DescribeActiveOperationTasksResult::ItemsItem> DescribeActiveOperationTasksResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
@@ -43,26 +43,26 @@ void DescribeAutoRenewAttributeResult::parse(const std::string &payload)
|
||||
for (auto valueItemsAutoRenewAttribute : allItemsNode)
|
||||
{
|
||||
AutoRenewAttribute itemsObject;
|
||||
if(!valueItemsAutoRenewAttribute["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsAutoRenewAttribute["DBClusterId"].asString();
|
||||
if(!valueItemsAutoRenewAttribute["PeriodUnit"].isNull())
|
||||
itemsObject.periodUnit = valueItemsAutoRenewAttribute["PeriodUnit"].asString();
|
||||
if(!valueItemsAutoRenewAttribute["Duration"].isNull())
|
||||
itemsObject.duration = std::stoi(valueItemsAutoRenewAttribute["Duration"].asString());
|
||||
if(!valueItemsAutoRenewAttribute["RenewalStatus"].isNull())
|
||||
itemsObject.renewalStatus = valueItemsAutoRenewAttribute["RenewalStatus"].asString();
|
||||
if(!valueItemsAutoRenewAttribute["AutoRenewEnabled"].isNull())
|
||||
itemsObject.autoRenewEnabled = valueItemsAutoRenewAttribute["AutoRenewEnabled"].asString() == "true";
|
||||
if(!valueItemsAutoRenewAttribute["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsAutoRenewAttribute["DBClusterId"].asString();
|
||||
if(!valueItemsAutoRenewAttribute["Duration"].isNull())
|
||||
itemsObject.duration = std::stoi(valueItemsAutoRenewAttribute["Duration"].asString());
|
||||
if(!valueItemsAutoRenewAttribute["PeriodUnit"].isNull())
|
||||
itemsObject.periodUnit = valueItemsAutoRenewAttribute["PeriodUnit"].asString();
|
||||
if(!valueItemsAutoRenewAttribute["RegionId"].isNull())
|
||||
itemsObject.regionId = valueItemsAutoRenewAttribute["RegionId"].asString();
|
||||
if(!valueItemsAutoRenewAttribute["RenewalStatus"].isNull())
|
||||
itemsObject.renewalStatus = valueItemsAutoRenewAttribute["RenewalStatus"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageRecordCount"].isNull())
|
||||
pageRecordCount_ = std::stoi(value["PageRecordCount"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,8 @@ void DescribeBackupsResult::parse(const std::string &payload)
|
||||
pageRecordCount_ = value["PageRecordCount"].asString();
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = value["PageNumber"].asString();
|
||||
if(!value["TotalLevel2BackupSize"].isNull())
|
||||
totalLevel2BackupSize_ = value["TotalLevel2BackupSize"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -104,3 +106,8 @@ std::vector<DescribeBackupsResult::Backup> DescribeBackupsResult::getItems()cons
|
||||
return items_;
|
||||
}
|
||||
|
||||
std::string DescribeBackupsResult::getTotalLevel2BackupSize()const
|
||||
{
|
||||
return totalLevel2BackupSize_;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,6 +73,10 @@ void DescribeClassListResult::parse(const std::string &payload)
|
||||
itemsObject.pl2MaxIOPS = valueItemsItemsItem["Pl2MaxIOPS"].asString();
|
||||
if(!valueItemsItemsItem["Pl3MaxIOPS"].isNull())
|
||||
itemsObject.pl3MaxIOPS = valueItemsItemsItem["Pl3MaxIOPS"].asString();
|
||||
if(!valueItemsItemsItem["EssdMaxStorageCapacity"].isNull())
|
||||
itemsObject.essdMaxStorageCapacity = valueItemsItemsItem["EssdMaxStorageCapacity"].asString();
|
||||
if(!valueItemsItemsItem["PolarStoreMaxStorageCapacity"].isNull())
|
||||
itemsObject.polarStoreMaxStorageCapacity = valueItemsItemsItem["PolarStoreMaxStorageCapacity"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["RegionId"].isNull())
|
||||
|
||||
@@ -39,6 +39,16 @@ void DescribeDBClusterAccessWhitelistResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDBClusterSecurityGroupsNode = value["DBClusterSecurityGroups"]["DBClusterSecurityGroup"];
|
||||
for (auto valueDBClusterSecurityGroupsDBClusterSecurityGroup : allDBClusterSecurityGroupsNode)
|
||||
{
|
||||
DBClusterSecurityGroup dBClusterSecurityGroupsObject;
|
||||
if(!valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupId"].isNull())
|
||||
dBClusterSecurityGroupsObject.securityGroupId = valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupId"].asString();
|
||||
if(!valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupName"].isNull())
|
||||
dBClusterSecurityGroupsObject.securityGroupName = valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupName"].asString();
|
||||
dBClusterSecurityGroups_.push_back(dBClusterSecurityGroupsObject);
|
||||
}
|
||||
auto allItemsNode = value["Items"]["DBClusterIPArray"];
|
||||
for (auto valueItemsDBClusterIPArray : allItemsNode)
|
||||
{
|
||||
@@ -51,16 +61,6 @@ void DescribeDBClusterAccessWhitelistResult::parse(const std::string &payload)
|
||||
itemsObject.securityIps = valueItemsDBClusterIPArray["SecurityIps"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
auto allDBClusterSecurityGroupsNode = value["DBClusterSecurityGroups"]["DBClusterSecurityGroup"];
|
||||
for (auto valueDBClusterSecurityGroupsDBClusterSecurityGroup : allDBClusterSecurityGroupsNode)
|
||||
{
|
||||
DBClusterSecurityGroup dBClusterSecurityGroupsObject;
|
||||
if(!valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupId"].isNull())
|
||||
dBClusterSecurityGroupsObject.securityGroupId = valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupId"].asString();
|
||||
if(!valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupName"].isNull())
|
||||
dBClusterSecurityGroupsObject.securityGroupName = valueDBClusterSecurityGroupsDBClusterSecurityGroup["SecurityGroupName"].asString();
|
||||
dBClusterSecurityGroups_.push_back(dBClusterSecurityGroupsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -83,6 +83,18 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
dBNodesObject.subCluster = valueDBNodesDBNode["SubCluster"].asString();
|
||||
if(!valueDBNodesDBNode["Tair"].isNull())
|
||||
dBNodesObject.tair = valueDBNodesDBNode["Tair"].asString();
|
||||
if(!valueDBNodesDBNode["RemoteMemorySize"].isNull())
|
||||
dBNodesObject.remoteMemorySize = valueDBNodesDBNode["RemoteMemorySize"].asString();
|
||||
if(!valueDBNodesDBNode["Orca"].isNull())
|
||||
dBNodesObject.orca = valueDBNodesDBNode["Orca"].asString();
|
||||
if(!valueDBNodesDBNode["MirrorInsName"].isNull())
|
||||
dBNodesObject.mirrorInsName = valueDBNodesDBNode["MirrorInsName"].asString();
|
||||
if(!valueDBNodesDBNode["MultiMasterLocalStandby"].isNull())
|
||||
dBNodesObject.multiMasterLocalStandby = valueDBNodesDBNode["MultiMasterLocalStandby"].asString();
|
||||
if(!valueDBNodesDBNode["MultiMasterPrimaryNode"].isNull())
|
||||
dBNodesObject.multiMasterPrimaryNode = valueDBNodesDBNode["MultiMasterPrimaryNode"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeDescription"].isNull())
|
||||
dBNodesObject.dBNodeDescription = valueDBNodesDBNode["DBNodeDescription"].asString();
|
||||
dBNodes_.push_back(dBNodesObject);
|
||||
}
|
||||
auto allTagsNode = value["Tags"]["Tag"];
|
||||
@@ -218,6 +230,34 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
provisionedIops_ = value["ProvisionedIops"].asString();
|
||||
if(!value["HotStandbyHealthy"].isNull())
|
||||
hotStandbyHealthy_ = value["HotStandbyHealthy"].asString() == "true";
|
||||
if(!value["HotStandbyWhiteListSwitch"].isNull())
|
||||
hotStandbyWhiteListSwitch_ = value["HotStandbyWhiteListSwitch"].asString() == "true";
|
||||
if(!value["StorageTypeWhiteListSwitch"].isNull())
|
||||
storageTypeWhiteListSwitch_ = value["StorageTypeWhiteListSwitch"].asString() == "true";
|
||||
if(!value["AiFreeMode"].isNull())
|
||||
aiFreeMode_ = value["AiFreeMode"].asString();
|
||||
if(!value["AiCreatingTime"].isNull())
|
||||
aiCreatingTime_ = value["AiCreatingTime"].asString();
|
||||
if(!value["SupportInstantSwitchWithImci"].isNull())
|
||||
supportInstantSwitchWithImci_ = value["SupportInstantSwitchWithImci"].asString();
|
||||
if(!value["Orca"].isNull())
|
||||
orca_ = value["Orca"].asString();
|
||||
if(!value["SourceDBCluster"].isNull())
|
||||
sourceDBCluster_ = value["SourceDBCluster"].asString();
|
||||
if(!value["RestoreType"].isNull())
|
||||
restoreType_ = value["RestoreType"].asString();
|
||||
if(!value["RestoreDataPoint"].isNull())
|
||||
restoreDataPoint_ = value["RestoreDataPoint"].asString();
|
||||
if(!value["SourceRegionId"].isNull())
|
||||
sourceRegionId_ = value["SourceRegionId"].asString();
|
||||
if(!value["ImciAutoIndex"].isNull())
|
||||
imciAutoIndex_ = value["ImciAutoIndex"].asString();
|
||||
if(!value["BurstingEnabled"].isNull())
|
||||
burstingEnabled_ = value["BurstingEnabled"].asString();
|
||||
if(!value["RowCompression"].isNull())
|
||||
rowCompression_ = value["RowCompression"].asString();
|
||||
if(!value["ImperceptibleSwitch"].isNull())
|
||||
imperceptibleSwitch_ = value["ImperceptibleSwitch"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -231,6 +271,11 @@ long DescribeDBClusterAttributeResult::getCompressStorageUsed()const
|
||||
return compressStorageUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getOrca()const
|
||||
{
|
||||
return orca_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getStoragePayType()const
|
||||
{
|
||||
return storagePayType_;
|
||||
@@ -276,6 +321,11 @@ std::vector<DescribeDBClusterAttributeResult::DBNode> DescribeDBClusterAttribute
|
||||
return dBNodes_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getImciAutoIndex()const
|
||||
{
|
||||
return imciAutoIndex_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getFeatureHTAPSupported()const
|
||||
{
|
||||
return featureHTAPSupported_;
|
||||
@@ -346,6 +396,11 @@ long DescribeDBClusterAttributeResult::getInodeTotal()const
|
||||
return inodeTotal_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getRestoreDataPoint()const
|
||||
{
|
||||
return restoreDataPoint_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getCompressStorageMode()const
|
||||
{
|
||||
return compressStorageMode_;
|
||||
@@ -366,6 +421,11 @@ std::string DescribeDBClusterAttributeResult::getCreationTime()const
|
||||
return creationTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getImperceptibleSwitch()const
|
||||
{
|
||||
return imperceptibleSwitch_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getProxyType()const
|
||||
{
|
||||
return proxyType_;
|
||||
@@ -386,6 +446,16 @@ std::string DescribeDBClusterAttributeResult::getCategory()const
|
||||
return category_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getAiCreatingTime()const
|
||||
{
|
||||
return aiCreatingTime_;
|
||||
}
|
||||
|
||||
bool DescribeDBClusterAttributeResult::getStorageTypeWhiteListSwitch()const
|
||||
{
|
||||
return storageTypeWhiteListSwitch_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
@@ -401,6 +471,11 @@ std::string DescribeDBClusterAttributeResult::getDeployUnit()const
|
||||
return deployUnit_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getAiFreeMode()const
|
||||
{
|
||||
return aiFreeMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getDBClusterNetworkType()const
|
||||
{
|
||||
return dBClusterNetworkType_;
|
||||
@@ -411,6 +486,11 @@ bool DescribeDBClusterAttributeResult::getIsLatestVersion()const
|
||||
return isLatestVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getSourceRegionId()const
|
||||
{
|
||||
return sourceRegionId_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getStorageMax()const
|
||||
{
|
||||
return storageMax_;
|
||||
@@ -421,16 +501,31 @@ std::string DescribeDBClusterAttributeResult::getZoneIds()const
|
||||
return zoneIds_;
|
||||
}
|
||||
|
||||
bool DescribeDBClusterAttributeResult::getHotStandbyWhiteListSwitch()const
|
||||
{
|
||||
return hotStandbyWhiteListSwitch_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getInodeUsed()const
|
||||
{
|
||||
return inodeUsed_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getRestoreType()const
|
||||
{
|
||||
return restoreType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getMaintainTime()const
|
||||
{
|
||||
return maintainTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getBurstingEnabled()const
|
||||
{
|
||||
return burstingEnabled_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getHotStandbyClusterStatus()const
|
||||
{
|
||||
return hotStandbyClusterStatus_;
|
||||
@@ -446,6 +541,11 @@ std::string DescribeDBClusterAttributeResult::getDataSyncMode()const
|
||||
return dataSyncMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getSourceDBCluster()const
|
||||
{
|
||||
return sourceDBCluster_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getDBClusterStatus()const
|
||||
{
|
||||
return dBClusterStatus_;
|
||||
@@ -491,6 +591,11 @@ bool DescribeDBClusterAttributeResult::getHasCompleteStandbyRes()const
|
||||
return hasCompleteStandbyRes_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getSupportInstantSwitchWithImci()const
|
||||
{
|
||||
return supportInstantSwitchWithImci_;
|
||||
}
|
||||
|
||||
DescribeDBClusterAttributeResult::RelatedAPInstance DescribeDBClusterAttributeResult::getRelatedAPInstance()const
|
||||
{
|
||||
return relatedAPInstance_;
|
||||
@@ -506,6 +611,11 @@ std::string DescribeDBClusterAttributeResult::getRegionId()const
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getRowCompression()const
|
||||
{
|
||||
return rowCompression_;
|
||||
}
|
||||
|
||||
bool DescribeDBClusterAttributeResult::getHotStandbyHealthy()const
|
||||
{
|
||||
return hotStandbyHealthy_;
|
||||
|
||||
@@ -61,6 +61,12 @@ void DescribeDBClusterEndpointsResult::parse(const std::string &payload)
|
||||
itemsObject.autoAddNewNodes = valueItemsDBEndpoint["AutoAddNewNodes"].asString();
|
||||
if(!valueItemsDBEndpoint["DBClusterId"].isNull())
|
||||
itemsObject.dBClusterId = valueItemsDBEndpoint["DBClusterId"].asString();
|
||||
if(!valueItemsDBEndpoint["SccMode"].isNull())
|
||||
itemsObject.sccMode = valueItemsDBEndpoint["SccMode"].asString();
|
||||
if(!valueItemsDBEndpoint["PolarSccTimeoutAction"].isNull())
|
||||
itemsObject.polarSccTimeoutAction = valueItemsDBEndpoint["PolarSccTimeoutAction"].asString();
|
||||
if(!valueItemsDBEndpoint["PolarSccWaitTimeout"].isNull())
|
||||
itemsObject.polarSccWaitTimeout = valueItemsDBEndpoint["PolarSccWaitTimeout"].asString();
|
||||
auto allAddressItemsNode = valueItemsDBEndpoint["AddressItems"]["Address"];
|
||||
for (auto valueItemsDBEndpointAddressItemsAddress : allAddressItemsNode)
|
||||
{
|
||||
|
||||
@@ -103,6 +103,46 @@ void DescribeDBClusterMigrationResult::parse(const std::string &payload)
|
||||
}
|
||||
rdsEndpointList_.push_back(rdsEndpointListObject);
|
||||
}
|
||||
auto allSrcDtsJobListNode = value["SrcDtsJobList"]["SrcDtsJob"];
|
||||
for (auto valueSrcDtsJobListSrcDtsJob : allSrcDtsJobListNode)
|
||||
{
|
||||
SrcDtsJob srcDtsJobListObject;
|
||||
if(!valueSrcDtsJobListSrcDtsJob["DtsJobId"].isNull())
|
||||
srcDtsJobListObject.dtsJobId = valueSrcDtsJobListSrcDtsJob["DtsJobId"].asString();
|
||||
if(!valueSrcDtsJobListSrcDtsJob["DtsJobName"].isNull())
|
||||
srcDtsJobListObject.dtsJobName = valueSrcDtsJobListSrcDtsJob["DtsJobName"].asString();
|
||||
if(!valueSrcDtsJobListSrcDtsJob["DtsInstanceID"].isNull())
|
||||
srcDtsJobListObject.dtsInstanceID = valueSrcDtsJobListSrcDtsJob["DtsInstanceID"].asString();
|
||||
if(!valueSrcDtsJobListSrcDtsJob["DtsJobDirection"].isNull())
|
||||
srcDtsJobListObject.dtsJobDirection = valueSrcDtsJobListSrcDtsJob["DtsJobDirection"].asString();
|
||||
if(!valueSrcDtsJobListSrcDtsJob["Status"].isNull())
|
||||
srcDtsJobListObject.status = valueSrcDtsJobListSrcDtsJob["Status"].asString();
|
||||
if(!valueSrcDtsJobListSrcDtsJob["SourceEndpoint"].isNull())
|
||||
srcDtsJobListObject.sourceEndpoint = valueSrcDtsJobListSrcDtsJob["SourceEndpoint"].asString();
|
||||
if(!valueSrcDtsJobListSrcDtsJob["DestinationEndpoint"].isNull())
|
||||
srcDtsJobListObject.destinationEndpoint = valueSrcDtsJobListSrcDtsJob["DestinationEndpoint"].asString();
|
||||
srcDtsJobList_.push_back(srcDtsJobListObject);
|
||||
}
|
||||
auto allDstDtsJobListNode = value["DstDtsJobList"]["DstDtsJob"];
|
||||
for (auto valueDstDtsJobListDstDtsJob : allDstDtsJobListNode)
|
||||
{
|
||||
DstDtsJob dstDtsJobListObject;
|
||||
if(!valueDstDtsJobListDstDtsJob["DtsJobId"].isNull())
|
||||
dstDtsJobListObject.dtsJobId = valueDstDtsJobListDstDtsJob["DtsJobId"].asString();
|
||||
if(!valueDstDtsJobListDstDtsJob["DtsJobName"].isNull())
|
||||
dstDtsJobListObject.dtsJobName = valueDstDtsJobListDstDtsJob["DtsJobName"].asString();
|
||||
if(!valueDstDtsJobListDstDtsJob["DtsInstanceId"].isNull())
|
||||
dstDtsJobListObject.dtsInstanceId = valueDstDtsJobListDstDtsJob["DtsInstanceId"].asString();
|
||||
if(!valueDstDtsJobListDstDtsJob["DtsJobDirection"].isNull())
|
||||
dstDtsJobListObject.dtsJobDirection = valueDstDtsJobListDstDtsJob["DtsJobDirection"].asString();
|
||||
if(!valueDstDtsJobListDstDtsJob["Status"].isNull())
|
||||
dstDtsJobListObject.status = valueDstDtsJobListDstDtsJob["Status"].asString();
|
||||
if(!valueDstDtsJobListDstDtsJob["SourceEndpoint"].isNull())
|
||||
dstDtsJobListObject.sourceEndpoint = valueDstDtsJobListDstDtsJob["SourceEndpoint"].asString();
|
||||
if(!valueDstDtsJobListDstDtsJob["DestinationEndpoint"].isNull())
|
||||
dstDtsJobListObject.destinationEndpoint = valueDstDtsJobListDstDtsJob["DestinationEndpoint"].asString();
|
||||
dstDtsJobList_.push_back(dstDtsJobListObject);
|
||||
}
|
||||
if(!value["Comment"].isNull())
|
||||
comment_ = value["Comment"].asString();
|
||||
if(!value["ExpiredTime"].isNull())
|
||||
@@ -125,6 +165,16 @@ void DescribeDBClusterMigrationResult::parse(const std::string &payload)
|
||||
dtsInstanceId_ = value["DtsInstanceId"].asString();
|
||||
if(!value["SrcDbType"].isNull())
|
||||
srcDbType_ = value["SrcDbType"].asString();
|
||||
if(!value["MigrationSwitch"].isNull())
|
||||
migrationSwitch_ = value["MigrationSwitch"].asString();
|
||||
if(!value["MigrationDtsJobEndpoint"].isNull())
|
||||
migrationDtsJobEndpoint_ = value["MigrationDtsJobEndpoint"].asString();
|
||||
if(!value["DstBinlogPosition"].isNull())
|
||||
dstBinlogPosition_ = value["DstBinlogPosition"].asString();
|
||||
if(!value["SrcBinlogPosition"].isNull())
|
||||
srcBinlogPosition_ = value["SrcBinlogPosition"].asString();
|
||||
if(!value["MigrationProgress"].isNull())
|
||||
migrationProgress_ = value["MigrationProgress"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -133,6 +183,16 @@ std::string DescribeDBClusterMigrationResult::getComment()const
|
||||
return comment_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getSrcBinlogPosition()const
|
||||
{
|
||||
return srcBinlogPosition_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getMigrationDtsJobEndpoint()const
|
||||
{
|
||||
return migrationDtsJobEndpoint_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
@@ -153,6 +213,11 @@ std::string DescribeDBClusterMigrationResult::getDBClusterReadWriteMode()const
|
||||
return dBClusterReadWriteMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getMigrationProgress()const
|
||||
{
|
||||
return migrationProgress_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getMigrationStatus()const
|
||||
{
|
||||
return migrationStatus_;
|
||||
@@ -168,16 +233,31 @@ std::vector<DescribeDBClusterMigrationResult::RdsEndpoint> DescribeDBClusterMigr
|
||||
return rdsEndpointList_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterMigrationResult::SrcDtsJob> DescribeDBClusterMigrationResult::getSrcDtsJobList()const
|
||||
{
|
||||
return srcDtsJobList_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterMigrationResult::DBClusterEndpoint> DescribeDBClusterMigrationResult::getDBClusterEndpointList()const
|
||||
{
|
||||
return dBClusterEndpointList_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getDstBinlogPosition()const
|
||||
{
|
||||
return dstBinlogPosition_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getExpiredTime()const
|
||||
{
|
||||
return expiredTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getMigrationSwitch()const
|
||||
{
|
||||
return migrationSwitch_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterMigrationResult::getTopologies()const
|
||||
{
|
||||
return topologies_;
|
||||
@@ -188,6 +268,11 @@ std::string DescribeDBClusterMigrationResult::getRdsReadWriteMode()const
|
||||
return rdsReadWriteMode_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterMigrationResult::DstDtsJob> DescribeDBClusterMigrationResult::getDstDtsJobList()const
|
||||
{
|
||||
return dstDtsJobList_;
|
||||
}
|
||||
|
||||
int DescribeDBClusterMigrationResult::getDelayedSeconds()const
|
||||
{
|
||||
return delayedSeconds_;
|
||||
|
||||
@@ -91,6 +91,14 @@ void DescribeDBClusterParametersResult::parse(const std::string &payload)
|
||||
parametersObject.distParameterDescription = valueParametersParametersItem["distParameterDescription"].asString();
|
||||
if(!valueParametersParametersItem["rdsParameterDescription"].isNull())
|
||||
parametersObject.rdsParameterDescription = valueParametersParametersItem["rdsParameterDescription"].asString();
|
||||
if(!valueParametersParametersItem["IsRdsKey"].isNull())
|
||||
parametersObject.isRdsKey = valueParametersParametersItem["IsRdsKey"].asString();
|
||||
if(!valueParametersParametersItem["IsPolarDBKey"].isNull())
|
||||
parametersObject.isPolarDBKey = valueParametersParametersItem["IsPolarDBKey"].asString();
|
||||
if(!valueParametersParametersItem["IsInstancePolarDBKey"].isNull())
|
||||
parametersObject.isInstancePolarDBKey = valueParametersParametersItem["IsInstancePolarDBKey"].asString();
|
||||
if(!valueParametersParametersItem["IsInstanceRdsKey"].isNull())
|
||||
parametersObject.isInstanceRdsKey = valueParametersParametersItem["IsInstanceRdsKey"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["DBVersion"].isNull())
|
||||
|
||||
@@ -43,6 +43,15 @@ void DescribeDBClusterPerformanceRequest::setStartTime(const std::string &startT
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -115,3 +124,12 @@ void DescribeDBClusterPerformanceRequest::setMetric(const std::string &metric) {
|
||||
setParameter(std::string("Metric"), metric);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterPerformanceRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterPerformanceRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,15 @@ void DescribeDBClusterSSLRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLRequest::getEndpointId() const {
|
||||
return endpointId_;
|
||||
}
|
||||
|
||||
void DescribeDBClusterSSLRequest::setEndpointId(const std::string &endpointId) {
|
||||
endpointId_ = endpointId;
|
||||
setParameter(std::string("EndpointId"), endpointId);
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
@@ -51,13 +51,38 @@ void DescribeDBClusterSSLResult::parse(const std::string &payload)
|
||||
itemsObject.sSLConnectionString = valueItemsItem["SSLConnectionString"].asString();
|
||||
if(!valueItemsItem["DBEndpointId"].isNull())
|
||||
itemsObject.dBEndpointId = valueItemsItem["DBEndpointId"].asString();
|
||||
if(!valueItemsItem["CAType"].isNull())
|
||||
itemsObject.cAType = valueItemsItem["CAType"].asString();
|
||||
if(!valueItemsItem["ServerCert"].isNull())
|
||||
itemsObject.serverCert = valueItemsItem["ServerCert"].asString();
|
||||
if(!valueItemsItem["ServerKey"].isNull())
|
||||
itemsObject.serverKey = valueItemsItem["ServerKey"].asString();
|
||||
if(!valueItemsItem["ClientCACert"].isNull())
|
||||
itemsObject.clientCACert = valueItemsItem["ClientCACert"].asString();
|
||||
if(!valueItemsItem["ClientCrl"].isNull())
|
||||
itemsObject.clientCrl = valueItemsItem["ClientCrl"].asString();
|
||||
if(!valueItemsItem["ACL"].isNull())
|
||||
itemsObject.aCL = valueItemsItem["ACL"].asString();
|
||||
if(!valueItemsItem["SSLAutoRotate"].isNull())
|
||||
itemsObject.sSLAutoRotate = valueItemsItem["SSLAutoRotate"].asString();
|
||||
auto allAllowedACLs = value["AllowedACLs"]["allowedACLs"];
|
||||
for (auto value : allAllowedACLs)
|
||||
itemsObject.allowedACLs.push_back(value.asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
auto allSupportAdvancedSSLFeatureEndpointTypes = value["SupportAdvancedSSLFeatureEndpointTypes"]["supportAdvancedSSLFeatureEndpointType"];
|
||||
for (const auto &item : allSupportAdvancedSSLFeatureEndpointTypes)
|
||||
supportAdvancedSSLFeatureEndpointTypes_.push_back(item.asString());
|
||||
if(!value["SSLAutoRotate"].isNull())
|
||||
sSLAutoRotate_ = value["SSLAutoRotate"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeDBClusterSSLResult::getSupportAdvancedSSLFeatureEndpointTypes()const
|
||||
{
|
||||
return supportAdvancedSSLFeatureEndpointTypes_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterSSLResult::getSSLAutoRotate()const
|
||||
{
|
||||
return sSLAutoRotate_;
|
||||
|
||||
@@ -61,61 +61,96 @@ void DescribeDBClusterServerlessConfResult::parse(const std::string &payload)
|
||||
switchs_ = value["Switchs"].asString();
|
||||
if(!value["DBMaxscaleId"].isNull())
|
||||
dBMaxscaleId_ = value["DBMaxscaleId"].asString();
|
||||
if(!value["ServerlessRuleMode"].isNull())
|
||||
serverlessRuleMode_ = value["ServerlessRuleMode"].asString();
|
||||
if(!value["ServerlessRuleCpuEnlargeThreshold"].isNull())
|
||||
serverlessRuleCpuEnlargeThreshold_ = value["ServerlessRuleCpuEnlargeThreshold"].asString();
|
||||
if(!value["ServerlessRuleCpuShrinkThreshold"].isNull())
|
||||
serverlessRuleCpuShrinkThreshold_ = value["ServerlessRuleCpuShrinkThreshold"].asString();
|
||||
if(!value["TraditionalScaleMaxThreshold"].isNull())
|
||||
traditionalScaleMaxThreshold_ = value["TraditionalScaleMaxThreshold"].asString();
|
||||
if(!value["AgileScaleMax"].isNull())
|
||||
agileScaleMax_ = value["AgileScaleMax"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleRoNumMin()const
|
||||
{
|
||||
return scaleRoNumMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getDBMaxscaleId()const
|
||||
{
|
||||
return dBMaxscaleId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getAllowShutDown()const
|
||||
{
|
||||
return allowShutDown_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleApRoNumMin()const
|
||||
{
|
||||
return scaleApRoNumMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleApRoNumMax()const
|
||||
{
|
||||
return scaleApRoNumMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleRoNumMax()const
|
||||
{
|
||||
return scaleRoNumMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getTraditionalScaleMaxThreshold()const
|
||||
{
|
||||
return traditionalScaleMaxThreshold_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleMin()const
|
||||
{
|
||||
return scaleMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleMax()const
|
||||
{
|
||||
return scaleMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getSecondsUntilAutoPause()const
|
||||
{
|
||||
return secondsUntilAutoPause_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getSwitchs()const
|
||||
{
|
||||
return switchs_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getAgileScaleMax()const
|
||||
{
|
||||
return agileScaleMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getServerlessRuleCpuShrinkThreshold()const
|
||||
{
|
||||
return serverlessRuleCpuShrinkThreshold_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleRoNumMin()const
|
||||
{
|
||||
return scaleRoNumMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getServerlessRuleCpuEnlargeThreshold()const
|
||||
{
|
||||
return serverlessRuleCpuEnlargeThreshold_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getAllowShutDown()const
|
||||
{
|
||||
return allowShutDown_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleApRoNumMax()const
|
||||
{
|
||||
return scaleApRoNumMax_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getScaleMin()const
|
||||
{
|
||||
return scaleMin_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getServerlessRuleMode()const
|
||||
{
|
||||
return serverlessRuleMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterServerlessConfResult::getSecondsUntilAutoPause()const
|
||||
{
|
||||
return secondsUntilAutoPause_;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,16 +39,22 @@ void DescribeDBClusterTDEResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TDEStatus"].isNull())
|
||||
tDEStatus_ = value["TDEStatus"].asString();
|
||||
if(!value["AutomaticRotation"].isNull())
|
||||
automaticRotation_ = value["AutomaticRotation"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["EncryptionKey"].isNull())
|
||||
encryptionKey_ = value["EncryptionKey"].asString();
|
||||
if(!value["EncryptNewTables"].isNull())
|
||||
encryptNewTables_ = value["EncryptNewTables"].asString();
|
||||
if(!value["EncryptionKey"].isNull())
|
||||
encryptionKey_ = value["EncryptionKey"].asString();
|
||||
if(!value["RotationInterval"].isNull())
|
||||
rotationInterval_ = value["RotationInterval"].asString();
|
||||
if(!value["TDERegion"].isNull())
|
||||
tDERegion_ = value["TDERegion"].asString();
|
||||
if(!value["TDEStatus"].isNull())
|
||||
tDEStatus_ = value["TDEStatus"].asString();
|
||||
if(!value["EncryptionKeyStatus"].isNull())
|
||||
encryptionKeyStatus_ = value["EncryptionKeyStatus"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -57,6 +63,16 @@ std::string DescribeDBClusterTDEResult::getTDEStatus()const
|
||||
return tDEStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDEResult::getRotationInterval()const
|
||||
{
|
||||
return rotationInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDEResult::getEncryptionKeyStatus()const
|
||||
{
|
||||
return encryptionKeyStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDEResult::getEncryptNewTables()const
|
||||
{
|
||||
return encryptNewTables_;
|
||||
@@ -77,3 +93,8 @@ std::string DescribeDBClusterTDEResult::getEncryptionKey()const
|
||||
return encryptionKey_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterTDEResult::getAutomaticRotation()const
|
||||
{
|
||||
return automaticRotation_;
|
||||
}
|
||||
|
||||
|
||||
@@ -53,6 +53,20 @@ void DescribeDBClusterVersionResult::parse(const std::string &payload)
|
||||
dBRevisionVersionListObject.releaseNote = valueDBRevisionVersionListDBRevisionVersionListItem["ReleaseNote"].asString();
|
||||
dBRevisionVersionList_.push_back(dBRevisionVersionListObject);
|
||||
}
|
||||
auto allProxyRevisionVersionListNode = value["ProxyRevisionVersionList"]["ProxyRevisionVersionListItem"];
|
||||
for (auto valueProxyRevisionVersionListProxyRevisionVersionListItem : allProxyRevisionVersionListNode)
|
||||
{
|
||||
ProxyRevisionVersionListItem proxyRevisionVersionListObject;
|
||||
if(!valueProxyRevisionVersionListProxyRevisionVersionListItem["ReleaseType"].isNull())
|
||||
proxyRevisionVersionListObject.releaseType = valueProxyRevisionVersionListProxyRevisionVersionListItem["ReleaseType"].asString();
|
||||
if(!valueProxyRevisionVersionListProxyRevisionVersionListItem["RevisionVersionCode"].isNull())
|
||||
proxyRevisionVersionListObject.revisionVersionCode = valueProxyRevisionVersionListProxyRevisionVersionListItem["RevisionVersionCode"].asString();
|
||||
if(!valueProxyRevisionVersionListProxyRevisionVersionListItem["RevisionVersionName"].isNull())
|
||||
proxyRevisionVersionListObject.revisionVersionName = valueProxyRevisionVersionListProxyRevisionVersionListItem["RevisionVersionName"].asString();
|
||||
if(!valueProxyRevisionVersionListProxyRevisionVersionListItem["ReleaseNote"].isNull())
|
||||
proxyRevisionVersionListObject.releaseNote = valueProxyRevisionVersionListProxyRevisionVersionListItem["ReleaseNote"].asString();
|
||||
proxyRevisionVersionList_.push_back(proxyRevisionVersionListObject);
|
||||
}
|
||||
if(!value["IsLatestVersion"].isNull())
|
||||
isLatestVersion_ = value["IsLatestVersion"].asString();
|
||||
if(!value["IsProxyLatestVersion"].isNull())
|
||||
@@ -77,6 +91,8 @@ void DescribeDBClusterVersionResult::parse(const std::string &payload)
|
||||
dBLatestVersion_ = value["DBLatestVersion"].asString();
|
||||
if(!value["ProxyLatestVersionAfterDBEngineUpgraded"].isNull())
|
||||
proxyLatestVersionAfterDBEngineUpgraded_ = value["ProxyLatestVersionAfterDBEngineUpgraded"].asString();
|
||||
if(!value["DBInnerRevisionVersion"].isNull())
|
||||
dBInnerRevisionVersion_ = value["DBInnerRevisionVersion"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -85,6 +101,11 @@ std::string DescribeDBClusterVersionResult::getDBRevisionVersion()const
|
||||
return dBRevisionVersion_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDBClusterVersionResult::ProxyRevisionVersionListItem> DescribeDBClusterVersionResult::getProxyRevisionVersionList()const
|
||||
{
|
||||
return proxyRevisionVersionList_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getProxyLatestVersionAfterDBEngineUpgraded()const
|
||||
{
|
||||
return proxyLatestVersionAfterDBEngineUpgraded_;
|
||||
@@ -145,3 +166,8 @@ std::vector<DescribeDBClusterVersionResult::DBRevisionVersionListItem> DescribeD
|
||||
return dBRevisionVersionList_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getDBInnerRevisionVersion()const
|
||||
{
|
||||
return dBInnerRevisionVersion_;
|
||||
}
|
||||
|
||||
|
||||
@@ -99,6 +99,22 @@ void DescribeDBClustersResult::parse(const std::string &payload)
|
||||
itemsObject.category = valueItemsDBCluster["Category"].asString();
|
||||
if(!valueItemsDBCluster["AiType"].isNull())
|
||||
itemsObject.aiType = valueItemsDBCluster["AiType"].asString();
|
||||
if(!valueItemsDBCluster["CpuCores"].isNull())
|
||||
itemsObject.cpuCores = valueItemsDBCluster["CpuCores"].asString();
|
||||
if(!valueItemsDBCluster["MemorySize"].isNull())
|
||||
itemsObject.memorySize = valueItemsDBCluster["MemorySize"].asString();
|
||||
if(!valueItemsDBCluster["RemoteMemorySize"].isNull())
|
||||
itemsObject.remoteMemorySize = valueItemsDBCluster["RemoteMemorySize"].asString();
|
||||
if(!valueItemsDBCluster["SubCategory"].isNull())
|
||||
itemsObject.subCategory = valueItemsDBCluster["SubCategory"].asString();
|
||||
if(!valueItemsDBCluster["DeployUnit"].isNull())
|
||||
itemsObject.deployUnit = valueItemsDBCluster["DeployUnit"].asString();
|
||||
if(!valueItemsDBCluster["StorageType"].isNull())
|
||||
itemsObject.storageType = valueItemsDBCluster["StorageType"].asString();
|
||||
if(!valueItemsDBCluster["HotStandbyCluster"].isNull())
|
||||
itemsObject.hotStandbyCluster = valueItemsDBCluster["HotStandbyCluster"].asString();
|
||||
if(!valueItemsDBCluster["EngineMigrationStatus"].isNull())
|
||||
itemsObject.engineMigrationStatus = valueItemsDBCluster["EngineMigrationStatus"].asString();
|
||||
auto allTagsNode = valueItemsDBCluster["Tags"]["Tag"];
|
||||
for (auto valueItemsDBClusterTagsTag : allTagsNode)
|
||||
{
|
||||
|
||||
@@ -52,6 +52,15 @@ void DescribeDBNodePerformanceRequest::setStartTime(const std::string &startTime
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDBNodePerformanceRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribeDBNodePerformanceRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string DescribeDBNodePerformanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -124,3 +133,12 @@ void DescribeDBNodePerformanceRequest::setMetric(const std::string &metric) {
|
||||
setParameter(std::string("Metric"), metric);
|
||||
}
|
||||
|
||||
std::string DescribeDBNodePerformanceRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeDBNodePerformanceRequest::setInterval(const std::string &interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), interval);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user