Account management add SourceBiz parameters.
This commit is contained in:
@@ -43,6 +43,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/CreateInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/CreateInstancesRequest.h
|
||||
include/alibabacloud/r-kvstore/model/CreateInstancesResult.h
|
||||
include/alibabacloud/r-kvstore/model/CreateParameterGroupRequest.h
|
||||
include/alibabacloud/r-kvstore/model/CreateParameterGroupResult.h
|
||||
include/alibabacloud/r-kvstore/model/CreateTairInstanceRequest.h
|
||||
include/alibabacloud/r-kvstore/model/CreateTairInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteAccountRequest.h
|
||||
@@ -51,12 +53,16 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/DeleteGlobalSecurityIPGroupResult.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteInstanceRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteInstanceResult.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteParameterGroupRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteParameterGroupResult.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteShardingNodeRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DeleteShardingNodeResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeAccountsRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeActiveOperationTaskRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeActiveOperationTaskResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeActiveOperationTasksRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeActiveOperationTasksResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeAuditLogConfigRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeAuditLogConfigResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeAuditRecordsRequest.h
|
||||
@@ -119,6 +125,14 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/DescribeLogicInstanceTopologyResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeMonitorItemsRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeMonitorItemsResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupSupportParamRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupSupportParamResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupTemplateListRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupTemplateListResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupsRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterGroupsResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterModificationHistoryRequest.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterModificationHistoryResult.h
|
||||
include/alibabacloud/r-kvstore/model/DescribeParameterTemplatesRequest.h
|
||||
@@ -167,10 +181,14 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/ModifyAccountPasswordResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyActiveOperationTaskRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyActiveOperationTaskResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyActiveOperationTasksRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyActiveOperationTasksResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyAuditLogConfigRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyAuditLogConfigResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyBackupPolicyRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyBackupPolicyResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyDBInstanceAutoUpgradeRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyDBInstanceAutoUpgradeResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyDBInstanceConnectionStringRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyDBInstanceConnectionStringResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyGlobalSecurityIPGroupRequest.h
|
||||
@@ -205,6 +223,8 @@ set(r-kvstore_public_header_model
|
||||
include/alibabacloud/r-kvstore/model/ModifyInstanceVpcAuthModeResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyIntranetAttributeRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyIntranetAttributeResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyParameterGroupRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyParameterGroupResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyResourceGroupRequest.h
|
||||
include/alibabacloud/r-kvstore/model/ModifyResourceGroupResult.h
|
||||
include/alibabacloud/r-kvstore/model/ModifySecurityGroupConfigurationRequest.h
|
||||
@@ -270,6 +290,8 @@ set(r-kvstore_src
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/CreateInstancesRequest.cc
|
||||
src/model/CreateInstancesResult.cc
|
||||
src/model/CreateParameterGroupRequest.cc
|
||||
src/model/CreateParameterGroupResult.cc
|
||||
src/model/CreateTairInstanceRequest.cc
|
||||
src/model/CreateTairInstanceResult.cc
|
||||
src/model/DeleteAccountRequest.cc
|
||||
@@ -278,12 +300,16 @@ set(r-kvstore_src
|
||||
src/model/DeleteGlobalSecurityIPGroupResult.cc
|
||||
src/model/DeleteInstanceRequest.cc
|
||||
src/model/DeleteInstanceResult.cc
|
||||
src/model/DeleteParameterGroupRequest.cc
|
||||
src/model/DeleteParameterGroupResult.cc
|
||||
src/model/DeleteShardingNodeRequest.cc
|
||||
src/model/DeleteShardingNodeResult.cc
|
||||
src/model/DescribeAccountsRequest.cc
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeActiveOperationTaskRequest.cc
|
||||
src/model/DescribeActiveOperationTaskResult.cc
|
||||
src/model/DescribeActiveOperationTasksRequest.cc
|
||||
src/model/DescribeActiveOperationTasksResult.cc
|
||||
src/model/DescribeAuditLogConfigRequest.cc
|
||||
src/model/DescribeAuditLogConfigResult.cc
|
||||
src/model/DescribeAuditRecordsRequest.cc
|
||||
@@ -346,6 +372,14 @@ set(r-kvstore_src
|
||||
src/model/DescribeLogicInstanceTopologyResult.cc
|
||||
src/model/DescribeMonitorItemsRequest.cc
|
||||
src/model/DescribeMonitorItemsResult.cc
|
||||
src/model/DescribeParameterGroupRequest.cc
|
||||
src/model/DescribeParameterGroupResult.cc
|
||||
src/model/DescribeParameterGroupSupportParamRequest.cc
|
||||
src/model/DescribeParameterGroupSupportParamResult.cc
|
||||
src/model/DescribeParameterGroupTemplateListRequest.cc
|
||||
src/model/DescribeParameterGroupTemplateListResult.cc
|
||||
src/model/DescribeParameterGroupsRequest.cc
|
||||
src/model/DescribeParameterGroupsResult.cc
|
||||
src/model/DescribeParameterModificationHistoryRequest.cc
|
||||
src/model/DescribeParameterModificationHistoryResult.cc
|
||||
src/model/DescribeParameterTemplatesRequest.cc
|
||||
@@ -394,10 +428,14 @@ set(r-kvstore_src
|
||||
src/model/ModifyAccountPasswordResult.cc
|
||||
src/model/ModifyActiveOperationTaskRequest.cc
|
||||
src/model/ModifyActiveOperationTaskResult.cc
|
||||
src/model/ModifyActiveOperationTasksRequest.cc
|
||||
src/model/ModifyActiveOperationTasksResult.cc
|
||||
src/model/ModifyAuditLogConfigRequest.cc
|
||||
src/model/ModifyAuditLogConfigResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
src/model/ModifyBackupPolicyResult.cc
|
||||
src/model/ModifyDBInstanceAutoUpgradeRequest.cc
|
||||
src/model/ModifyDBInstanceAutoUpgradeResult.cc
|
||||
src/model/ModifyDBInstanceConnectionStringRequest.cc
|
||||
src/model/ModifyDBInstanceConnectionStringResult.cc
|
||||
src/model/ModifyGlobalSecurityIPGroupRequest.cc
|
||||
@@ -432,6 +470,8 @@ set(r-kvstore_src
|
||||
src/model/ModifyInstanceVpcAuthModeResult.cc
|
||||
src/model/ModifyIntranetAttributeRequest.cc
|
||||
src/model/ModifyIntranetAttributeResult.cc
|
||||
src/model/ModifyParameterGroupRequest.cc
|
||||
src/model/ModifyParameterGroupResult.cc
|
||||
src/model/ModifyResourceGroupRequest.cc
|
||||
src/model/ModifyResourceGroupResult.cc
|
||||
src/model/ModifySecurityGroupConfigurationRequest.cc
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/CreateInstancesRequest.h"
|
||||
#include "model/CreateInstancesResult.h"
|
||||
#include "model/CreateParameterGroupRequest.h"
|
||||
#include "model/CreateParameterGroupResult.h"
|
||||
#include "model/CreateTairInstanceRequest.h"
|
||||
#include "model/CreateTairInstanceResult.h"
|
||||
#include "model/DeleteAccountRequest.h"
|
||||
@@ -52,12 +54,16 @@
|
||||
#include "model/DeleteGlobalSecurityIPGroupResult.h"
|
||||
#include "model/DeleteInstanceRequest.h"
|
||||
#include "model/DeleteInstanceResult.h"
|
||||
#include "model/DeleteParameterGroupRequest.h"
|
||||
#include "model/DeleteParameterGroupResult.h"
|
||||
#include "model/DeleteShardingNodeRequest.h"
|
||||
#include "model/DeleteShardingNodeResult.h"
|
||||
#include "model/DescribeAccountsRequest.h"
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeActiveOperationTaskRequest.h"
|
||||
#include "model/DescribeActiveOperationTaskResult.h"
|
||||
#include "model/DescribeActiveOperationTasksRequest.h"
|
||||
#include "model/DescribeActiveOperationTasksResult.h"
|
||||
#include "model/DescribeAuditLogConfigRequest.h"
|
||||
#include "model/DescribeAuditLogConfigResult.h"
|
||||
#include "model/DescribeAuditRecordsRequest.h"
|
||||
@@ -120,6 +126,14 @@
|
||||
#include "model/DescribeLogicInstanceTopologyResult.h"
|
||||
#include "model/DescribeMonitorItemsRequest.h"
|
||||
#include "model/DescribeMonitorItemsResult.h"
|
||||
#include "model/DescribeParameterGroupRequest.h"
|
||||
#include "model/DescribeParameterGroupResult.h"
|
||||
#include "model/DescribeParameterGroupSupportParamRequest.h"
|
||||
#include "model/DescribeParameterGroupSupportParamResult.h"
|
||||
#include "model/DescribeParameterGroupTemplateListRequest.h"
|
||||
#include "model/DescribeParameterGroupTemplateListResult.h"
|
||||
#include "model/DescribeParameterGroupsRequest.h"
|
||||
#include "model/DescribeParameterGroupsResult.h"
|
||||
#include "model/DescribeParameterModificationHistoryRequest.h"
|
||||
#include "model/DescribeParameterModificationHistoryResult.h"
|
||||
#include "model/DescribeParameterTemplatesRequest.h"
|
||||
@@ -168,10 +182,14 @@
|
||||
#include "model/ModifyAccountPasswordResult.h"
|
||||
#include "model/ModifyActiveOperationTaskRequest.h"
|
||||
#include "model/ModifyActiveOperationTaskResult.h"
|
||||
#include "model/ModifyActiveOperationTasksRequest.h"
|
||||
#include "model/ModifyActiveOperationTasksResult.h"
|
||||
#include "model/ModifyAuditLogConfigRequest.h"
|
||||
#include "model/ModifyAuditLogConfigResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
#include "model/ModifyBackupPolicyResult.h"
|
||||
#include "model/ModifyDBInstanceAutoUpgradeRequest.h"
|
||||
#include "model/ModifyDBInstanceAutoUpgradeResult.h"
|
||||
#include "model/ModifyDBInstanceConnectionStringRequest.h"
|
||||
#include "model/ModifyDBInstanceConnectionStringResult.h"
|
||||
#include "model/ModifyGlobalSecurityIPGroupRequest.h"
|
||||
@@ -206,6 +224,8 @@
|
||||
#include "model/ModifyInstanceVpcAuthModeResult.h"
|
||||
#include "model/ModifyIntranetAttributeRequest.h"
|
||||
#include "model/ModifyIntranetAttributeResult.h"
|
||||
#include "model/ModifyParameterGroupRequest.h"
|
||||
#include "model/ModifyParameterGroupResult.h"
|
||||
#include "model/ModifyResourceGroupRequest.h"
|
||||
#include "model/ModifyResourceGroupResult.h"
|
||||
#include "model/ModifySecurityGroupConfigurationRequest.h"
|
||||
@@ -288,6 +308,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateInstancesResult> CreateInstancesOutcome;
|
||||
typedef std::future<CreateInstancesOutcome> CreateInstancesOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::CreateInstancesRequest&, const CreateInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateParameterGroupResult> CreateParameterGroupOutcome;
|
||||
typedef std::future<CreateParameterGroupOutcome> CreateParameterGroupOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::CreateParameterGroupRequest&, const CreateParameterGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateParameterGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTairInstanceResult> CreateTairInstanceOutcome;
|
||||
typedef std::future<CreateTairInstanceOutcome> CreateTairInstanceOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::CreateTairInstanceRequest&, const CreateTairInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTairInstanceAsyncHandler;
|
||||
@@ -300,6 +323,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteInstanceResult> DeleteInstanceOutcome;
|
||||
typedef std::future<DeleteInstanceOutcome> DeleteInstanceOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DeleteInstanceRequest&, const DeleteInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteParameterGroupResult> DeleteParameterGroupOutcome;
|
||||
typedef std::future<DeleteParameterGroupOutcome> DeleteParameterGroupOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DeleteParameterGroupRequest&, const DeleteParameterGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteParameterGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteShardingNodeResult> DeleteShardingNodeOutcome;
|
||||
typedef std::future<DeleteShardingNodeOutcome> DeleteShardingNodeOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DeleteShardingNodeRequest&, const DeleteShardingNodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteShardingNodeAsyncHandler;
|
||||
@@ -309,6 +335,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeActiveOperationTaskResult> DescribeActiveOperationTaskOutcome;
|
||||
typedef std::future<DescribeActiveOperationTaskOutcome> DescribeActiveOperationTaskOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeActiveOperationTaskRequest&, const DescribeActiveOperationTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActiveOperationTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActiveOperationTasksResult> DescribeActiveOperationTasksOutcome;
|
||||
typedef std::future<DescribeActiveOperationTasksOutcome> DescribeActiveOperationTasksOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeActiveOperationTasksRequest&, const DescribeActiveOperationTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActiveOperationTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAuditLogConfigResult> DescribeAuditLogConfigOutcome;
|
||||
typedef std::future<DescribeAuditLogConfigOutcome> DescribeAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeAuditLogConfigRequest&, const DescribeAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAuditLogConfigAsyncHandler;
|
||||
@@ -402,6 +431,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeMonitorItemsResult> DescribeMonitorItemsOutcome;
|
||||
typedef std::future<DescribeMonitorItemsOutcome> DescribeMonitorItemsOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeMonitorItemsRequest&, const DescribeMonitorItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMonitorItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterGroupResult> DescribeParameterGroupOutcome;
|
||||
typedef std::future<DescribeParameterGroupOutcome> DescribeParameterGroupOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeParameterGroupRequest&, const DescribeParameterGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterGroupSupportParamResult> DescribeParameterGroupSupportParamOutcome;
|
||||
typedef std::future<DescribeParameterGroupSupportParamOutcome> DescribeParameterGroupSupportParamOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeParameterGroupSupportParamRequest&, const DescribeParameterGroupSupportParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterGroupSupportParamAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterGroupTemplateListResult> DescribeParameterGroupTemplateListOutcome;
|
||||
typedef std::future<DescribeParameterGroupTemplateListOutcome> DescribeParameterGroupTemplateListOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeParameterGroupTemplateListRequest&, const DescribeParameterGroupTemplateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterGroupTemplateListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterGroupsResult> DescribeParameterGroupsOutcome;
|
||||
typedef std::future<DescribeParameterGroupsOutcome> DescribeParameterGroupsOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeParameterGroupsRequest&, const DescribeParameterGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterModificationHistoryResult> DescribeParameterModificationHistoryOutcome;
|
||||
typedef std::future<DescribeParameterModificationHistoryOutcome> DescribeParameterModificationHistoryOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::DescribeParameterModificationHistoryRequest&, const DescribeParameterModificationHistoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterModificationHistoryAsyncHandler;
|
||||
@@ -474,12 +515,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyActiveOperationTaskResult> ModifyActiveOperationTaskOutcome;
|
||||
typedef std::future<ModifyActiveOperationTaskOutcome> ModifyActiveOperationTaskOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyActiveOperationTaskRequest&, const ModifyActiveOperationTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyActiveOperationTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyActiveOperationTasksResult> ModifyActiveOperationTasksOutcome;
|
||||
typedef std::future<ModifyActiveOperationTasksOutcome> ModifyActiveOperationTasksOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyActiveOperationTasksRequest&, const ModifyActiveOperationTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyActiveOperationTasksAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAuditLogConfigResult> ModifyAuditLogConfigOutcome;
|
||||
typedef std::future<ModifyAuditLogConfigOutcome> ModifyAuditLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyAuditLogConfigRequest&, const ModifyAuditLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAuditLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyBackupPolicyResult> ModifyBackupPolicyOutcome;
|
||||
typedef std::future<ModifyBackupPolicyOutcome> ModifyBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyBackupPolicyRequest&, const ModifyBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceAutoUpgradeResult> ModifyDBInstanceAutoUpgradeOutcome;
|
||||
typedef std::future<ModifyDBInstanceAutoUpgradeOutcome> ModifyDBInstanceAutoUpgradeOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyDBInstanceAutoUpgradeRequest&, const ModifyDBInstanceAutoUpgradeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceAutoUpgradeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceConnectionStringResult> ModifyDBInstanceConnectionStringOutcome;
|
||||
typedef std::future<ModifyDBInstanceConnectionStringOutcome> ModifyDBInstanceConnectionStringOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyDBInstanceConnectionStringRequest&, const ModifyDBInstanceConnectionStringOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceConnectionStringAsyncHandler;
|
||||
@@ -531,6 +578,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyIntranetAttributeResult> ModifyIntranetAttributeOutcome;
|
||||
typedef std::future<ModifyIntranetAttributeOutcome> ModifyIntranetAttributeOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyIntranetAttributeRequest&, const ModifyIntranetAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIntranetAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyParameterGroupResult> ModifyParameterGroupOutcome;
|
||||
typedef std::future<ModifyParameterGroupOutcome> ModifyParameterGroupOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyParameterGroupRequest&, const ModifyParameterGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyParameterGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyResourceGroupResult> ModifyResourceGroupOutcome;
|
||||
typedef std::future<ModifyResourceGroupOutcome> ModifyResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const R_kvstoreClient*, const Model::ModifyResourceGroupRequest&, const ModifyResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyResourceGroupAsyncHandler;
|
||||
@@ -629,6 +679,9 @@ namespace AlibabaCloud
|
||||
CreateInstancesOutcome createInstances(const Model::CreateInstancesRequest &request)const;
|
||||
void createInstancesAsync(const Model::CreateInstancesRequest& request, const CreateInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateInstancesOutcomeCallable createInstancesCallable(const Model::CreateInstancesRequest& 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;
|
||||
CreateTairInstanceOutcome createTairInstance(const Model::CreateTairInstanceRequest &request)const;
|
||||
void createTairInstanceAsync(const Model::CreateTairInstanceRequest& request, const CreateTairInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTairInstanceOutcomeCallable createTairInstanceCallable(const Model::CreateTairInstanceRequest& request) const;
|
||||
@@ -641,6 +694,9 @@ namespace AlibabaCloud
|
||||
DeleteInstanceOutcome deleteInstance(const Model::DeleteInstanceRequest &request)const;
|
||||
void deleteInstanceAsync(const Model::DeleteInstanceRequest& request, const DeleteInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteInstanceOutcomeCallable deleteInstanceCallable(const Model::DeleteInstanceRequest& request) const;
|
||||
DeleteParameterGroupOutcome deleteParameterGroup(const Model::DeleteParameterGroupRequest &request)const;
|
||||
void deleteParameterGroupAsync(const Model::DeleteParameterGroupRequest& request, const DeleteParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteParameterGroupOutcomeCallable deleteParameterGroupCallable(const Model::DeleteParameterGroupRequest& request) const;
|
||||
DeleteShardingNodeOutcome deleteShardingNode(const Model::DeleteShardingNodeRequest &request)const;
|
||||
void deleteShardingNodeAsync(const Model::DeleteShardingNodeRequest& request, const DeleteShardingNodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteShardingNodeOutcomeCallable deleteShardingNodeCallable(const Model::DeleteShardingNodeRequest& request) const;
|
||||
@@ -650,6 +706,9 @@ namespace AlibabaCloud
|
||||
DescribeActiveOperationTaskOutcome describeActiveOperationTask(const Model::DescribeActiveOperationTaskRequest &request)const;
|
||||
void describeActiveOperationTaskAsync(const Model::DescribeActiveOperationTaskRequest& request, const DescribeActiveOperationTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeActiveOperationTaskOutcomeCallable describeActiveOperationTaskCallable(const Model::DescribeActiveOperationTaskRequest& 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;
|
||||
DescribeAuditLogConfigOutcome describeAuditLogConfig(const Model::DescribeAuditLogConfigRequest &request)const;
|
||||
void describeAuditLogConfigAsync(const Model::DescribeAuditLogConfigRequest& request, const DescribeAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAuditLogConfigOutcomeCallable describeAuditLogConfigCallable(const Model::DescribeAuditLogConfigRequest& request) const;
|
||||
@@ -743,6 +802,18 @@ namespace AlibabaCloud
|
||||
DescribeMonitorItemsOutcome describeMonitorItems(const Model::DescribeMonitorItemsRequest &request)const;
|
||||
void describeMonitorItemsAsync(const Model::DescribeMonitorItemsRequest& request, const DescribeMonitorItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMonitorItemsOutcomeCallable describeMonitorItemsCallable(const Model::DescribeMonitorItemsRequest& request) const;
|
||||
DescribeParameterGroupOutcome describeParameterGroup(const Model::DescribeParameterGroupRequest &request)const;
|
||||
void describeParameterGroupAsync(const Model::DescribeParameterGroupRequest& request, const DescribeParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterGroupOutcomeCallable describeParameterGroupCallable(const Model::DescribeParameterGroupRequest& request) const;
|
||||
DescribeParameterGroupSupportParamOutcome describeParameterGroupSupportParam(const Model::DescribeParameterGroupSupportParamRequest &request)const;
|
||||
void describeParameterGroupSupportParamAsync(const Model::DescribeParameterGroupSupportParamRequest& request, const DescribeParameterGroupSupportParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterGroupSupportParamOutcomeCallable describeParameterGroupSupportParamCallable(const Model::DescribeParameterGroupSupportParamRequest& request) const;
|
||||
DescribeParameterGroupTemplateListOutcome describeParameterGroupTemplateList(const Model::DescribeParameterGroupTemplateListRequest &request)const;
|
||||
void describeParameterGroupTemplateListAsync(const Model::DescribeParameterGroupTemplateListRequest& request, const DescribeParameterGroupTemplateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterGroupTemplateListOutcomeCallable describeParameterGroupTemplateListCallable(const Model::DescribeParameterGroupTemplateListRequest& request) const;
|
||||
DescribeParameterGroupsOutcome describeParameterGroups(const Model::DescribeParameterGroupsRequest &request)const;
|
||||
void describeParameterGroupsAsync(const Model::DescribeParameterGroupsRequest& request, const DescribeParameterGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterGroupsOutcomeCallable describeParameterGroupsCallable(const Model::DescribeParameterGroupsRequest& request) const;
|
||||
DescribeParameterModificationHistoryOutcome describeParameterModificationHistory(const Model::DescribeParameterModificationHistoryRequest &request)const;
|
||||
void describeParameterModificationHistoryAsync(const Model::DescribeParameterModificationHistoryRequest& request, const DescribeParameterModificationHistoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterModificationHistoryOutcomeCallable describeParameterModificationHistoryCallable(const Model::DescribeParameterModificationHistoryRequest& request) const;
|
||||
@@ -815,12 +886,18 @@ namespace AlibabaCloud
|
||||
ModifyActiveOperationTaskOutcome modifyActiveOperationTask(const Model::ModifyActiveOperationTaskRequest &request)const;
|
||||
void modifyActiveOperationTaskAsync(const Model::ModifyActiveOperationTaskRequest& request, const ModifyActiveOperationTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyActiveOperationTaskOutcomeCallable modifyActiveOperationTaskCallable(const Model::ModifyActiveOperationTaskRequest& 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;
|
||||
ModifyAuditLogConfigOutcome modifyAuditLogConfig(const Model::ModifyAuditLogConfigRequest &request)const;
|
||||
void modifyAuditLogConfigAsync(const Model::ModifyAuditLogConfigRequest& request, const ModifyAuditLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAuditLogConfigOutcomeCallable modifyAuditLogConfigCallable(const Model::ModifyAuditLogConfigRequest& request) const;
|
||||
ModifyBackupPolicyOutcome modifyBackupPolicy(const Model::ModifyBackupPolicyRequest &request)const;
|
||||
void modifyBackupPolicyAsync(const Model::ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyBackupPolicyOutcomeCallable modifyBackupPolicyCallable(const Model::ModifyBackupPolicyRequest& request) const;
|
||||
ModifyDBInstanceAutoUpgradeOutcome modifyDBInstanceAutoUpgrade(const Model::ModifyDBInstanceAutoUpgradeRequest &request)const;
|
||||
void modifyDBInstanceAutoUpgradeAsync(const Model::ModifyDBInstanceAutoUpgradeRequest& request, const ModifyDBInstanceAutoUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceAutoUpgradeOutcomeCallable modifyDBInstanceAutoUpgradeCallable(const Model::ModifyDBInstanceAutoUpgradeRequest& request) const;
|
||||
ModifyDBInstanceConnectionStringOutcome modifyDBInstanceConnectionString(const Model::ModifyDBInstanceConnectionStringRequest &request)const;
|
||||
void modifyDBInstanceConnectionStringAsync(const Model::ModifyDBInstanceConnectionStringRequest& request, const ModifyDBInstanceConnectionStringAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceConnectionStringOutcomeCallable modifyDBInstanceConnectionStringCallable(const Model::ModifyDBInstanceConnectionStringRequest& request) const;
|
||||
@@ -872,6 +949,9 @@ namespace AlibabaCloud
|
||||
ModifyIntranetAttributeOutcome modifyIntranetAttribute(const Model::ModifyIntranetAttributeRequest &request)const;
|
||||
void modifyIntranetAttributeAsync(const Model::ModifyIntranetAttributeRequest& request, const ModifyIntranetAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyIntranetAttributeOutcomeCallable modifyIntranetAttributeCallable(const Model::ModifyIntranetAttributeRequest& request) const;
|
||||
ModifyParameterGroupOutcome modifyParameterGroup(const Model::ModifyParameterGroupRequest &request)const;
|
||||
void modifyParameterGroupAsync(const Model::ModifyParameterGroupRequest& request, const ModifyParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyParameterGroupOutcomeCallable modifyParameterGroupCallable(const Model::ModifyParameterGroupRequest& request) const;
|
||||
ModifyResourceGroupOutcome modifyResourceGroup(const Model::ModifyResourceGroupRequest &request)const;
|
||||
void modifyResourceGroupAsync(const Model::ModifyResourceGroupRequest& request, const ModifyResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyResourceGroupOutcomeCallable modifyResourceGroupCallable(const Model::ModifyResourceGroupRequest& request) const;
|
||||
|
||||
@@ -46,6 +46,8 @@ public:
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getSourceBiz() const;
|
||||
void setSourceBiz(const std::string &sourceBiz);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -66,6 +68,7 @@ private:
|
||||
std::string accountPrivilege_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getEffectiveTime() const;
|
||||
void setEffectiveTime(const std::string &effectiveTime);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string effectiveTime_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -114,6 +114,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
bool getGlobalInstance() const;
|
||||
void setGlobalInstance(bool globalInstance);
|
||||
std::string getRecoverConfigMode() const;
|
||||
void setRecoverConfigMode(const std::string &recoverConfigMode);
|
||||
std::string getToken() const;
|
||||
void setToken(const std::string &token);
|
||||
std::string getGlobalInstanceId() const;
|
||||
@@ -174,6 +176,7 @@ private:
|
||||
std::string srcDBInstanceId_;
|
||||
std::string ownerAccount_;
|
||||
bool globalInstance_;
|
||||
std::string recoverConfigMode_;
|
||||
std::string token_;
|
||||
std::string globalInstanceId_;
|
||||
std::string paramGroupId_;
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_CREATEPARAMETERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_CREATEPARAMETERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT CreateParameterGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateParameterGroupRequest();
|
||||
~CreateParameterGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getEngineVersion() const;
|
||||
void setEngineVersion(const std::string &engineVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®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);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
std::string getParameterGroupName() const;
|
||||
void setParameterGroupName(const std::string ¶meterGroupName);
|
||||
std::string getParameters() const;
|
||||
void setParameters(const std::string ¶meters);
|
||||
std::string getParameterGroupDesc() const;
|
||||
void setParameterGroupDesc(const std::string ¶meterGroupDesc);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string engineVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
std::string parameterGroupName_;
|
||||
std::string parameters_;
|
||||
std::string parameterGroupDesc_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_CREATEPARAMETERGROUPREQUEST_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_R_KVSTORE_MODEL_CREATEPARAMETERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_CREATEPARAMETERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT CreateParameterGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateParameterGroupResult();
|
||||
explicit CreateParameterGroupResult(const std::string &payload);
|
||||
~CreateParameterGroupResult();
|
||||
std::string getParamGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string paramGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_CREATEPARAMETERGROUPRESULT_H_
|
||||
@@ -98,6 +98,8 @@ public:
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getInstanceType() const;
|
||||
void setInstanceType(const std::string &instanceType);
|
||||
std::string getRestoreTime() const;
|
||||
void setRestoreTime(const std::string &restoreTime);
|
||||
bool getAutoPay() const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -106,6 +108,8 @@ public:
|
||||
void setSrcDBInstanceId(const std::string &srcDBInstanceId);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getRecoverConfigMode() const;
|
||||
void setRecoverConfigMode(const std::string &recoverConfigMode);
|
||||
std::string getGlobalInstanceId() const;
|
||||
void setGlobalInstanceId(const std::string &globalInstanceId);
|
||||
std::string getParamGroupId() const;
|
||||
@@ -152,10 +156,12 @@ private:
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string instanceType_;
|
||||
std::string restoreTime_;
|
||||
bool autoPay_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string srcDBInstanceId_;
|
||||
std::string ownerAccount_;
|
||||
std::string recoverConfigMode_;
|
||||
std::string globalInstanceId_;
|
||||
std::string paramGroupId_;
|
||||
std::string vpcId_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getSourceBiz() const;
|
||||
void setSourceBiz(const std::string &sourceBiz);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -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_R_KVSTORE_MODEL_DELETEPARAMETERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DELETEPARAMETERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DeleteParameterGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteParameterGroupRequest();
|
||||
~DeleteParameterGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getParameterGroupId() const;
|
||||
void setParameterGroupId(const std::string ¶meterGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
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 parameterGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DELETEPARAMETERGROUPREQUEST_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_R_KVSTORE_MODEL_DELETEPARAMETERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DELETEPARAMETERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DeleteParameterGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteParameterGroupResult();
|
||||
explicit DeleteParameterGroupResult(const std::string &payload);
|
||||
~DeleteParameterGroupResult();
|
||||
std::string getParamGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string paramGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DELETEPARAMETERGROUPRESULT_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEACTIVEOPERATIONTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEACTIVEOPERATIONTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeActiveOperationTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeActiveOperationTasksRequest();
|
||||
~DescribeActiveOperationTasksRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getProductId() const;
|
||||
void setProductId(const std::string &productId);
|
||||
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 getInsName() const;
|
||||
void setInsName(const std::string &insName);
|
||||
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 getTaskType() const;
|
||||
void setTaskType(const std::string &taskType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getAllowCancel() const;
|
||||
void setAllowCancel(int allowCancel);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDbType() const;
|
||||
void setDbType(const std::string &dbType);
|
||||
int getAllowChange() const;
|
||||
void setAllowChange(int allowChange);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
int getStatus() const;
|
||||
void setStatus(int status);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string productId_;
|
||||
std::string changeLevel_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string insName_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string taskType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int allowCancel_;
|
||||
long ownerId_;
|
||||
std::string dbType_;
|
||||
int allowChange_;
|
||||
std::string region_;
|
||||
int status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_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_R_KVSTORE_MODEL_DESCRIBEACTIVEOPERATIONTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEACTIVEOPERATIONTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeActiveOperationTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ItemsItem
|
||||
{
|
||||
std::string createdTime;
|
||||
std::string impactEn;
|
||||
std::string changeLevelZh;
|
||||
std::string taskTypeZh;
|
||||
std::string dbVersion;
|
||||
std::string modifiedTime;
|
||||
std::string impactZh;
|
||||
std::string taskTypeEn;
|
||||
std::string taskType;
|
||||
std::string switchTime;
|
||||
int status;
|
||||
std::string impact;
|
||||
std::string currentAVZ;
|
||||
std::string deadline;
|
||||
std::string startTime;
|
||||
std::string insName;
|
||||
std::string dbType;
|
||||
std::string changeLevel;
|
||||
std::string insComment;
|
||||
std::string changeLevelEn;
|
||||
std::string allowCancel;
|
||||
std::string taskParams;
|
||||
std::string allowChange;
|
||||
std::vector<std::string> subInsNames;
|
||||
std::string region;
|
||||
std::string prepareInterval;
|
||||
int id;
|
||||
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_R_KVSTORE_MODEL_DESCRIBEACTIVEOPERATIONTASKSRESULT_H_
|
||||
@@ -50,7 +50,7 @@ namespace AlibabaCloud
|
||||
std::string nodeId;
|
||||
std::string backupProgressStatus;
|
||||
std::string process;
|
||||
int backupJobID;
|
||||
long backupJobID;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeBackupsRequest : public RpcServiceRe
|
||||
public:
|
||||
DescribeBackupsRequest();
|
||||
~DescribeBackupsRequest();
|
||||
int getBackupJobId() const;
|
||||
void setBackupJobId(int backupJobId);
|
||||
long getBackupJobId() const;
|
||||
void setBackupJobId(long backupJobId);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime() const;
|
||||
@@ -48,8 +48,8 @@ public:
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
int getBackupId() const;
|
||||
void setBackupId(int backupId);
|
||||
long getBackupId() const;
|
||||
void setBackupId(long backupId);
|
||||
std::string getNeedAof() const;
|
||||
void setNeedAof(const std::string &needAof);
|
||||
std::string getEndTime() const;
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
int backupJobId_;
|
||||
long backupJobId_;
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
@@ -69,7 +69,7 @@ private:
|
||||
int pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int backupId_;
|
||||
long backupId_;
|
||||
std::string needAof_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -45,13 +45,14 @@ namespace AlibabaCloud
|
||||
struct Backup
|
||||
{
|
||||
std::string backupMethod;
|
||||
std::string recoverConfigMode;
|
||||
std::string engineVersion;
|
||||
std::string backupIntranetDownloadURL;
|
||||
long backupSize;
|
||||
std::string backupMode;
|
||||
int backupId;
|
||||
long backupId;
|
||||
std::string nodeInstanceId;
|
||||
int backupJobID;
|
||||
long backupJobID;
|
||||
std::string backupDBNames;
|
||||
std::string backupDownloadURL;
|
||||
std::string backupEndTime;
|
||||
@@ -68,7 +69,10 @@ namespace AlibabaCloud
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
long getFreeSize()const;
|
||||
std::vector<Backup> getBackups()const;
|
||||
long getFullStorageSize()const;
|
||||
long getLogStorageSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -77,7 +81,10 @@ namespace AlibabaCloud
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
long freeSize_;
|
||||
std::vector<Backup> backups_;
|
||||
long fullStorageSize_;
|
||||
long logStorageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,18 +47,19 @@ namespace AlibabaCloud
|
||||
std::string custinsDbVersion;
|
||||
int custinsLevelId;
|
||||
};
|
||||
std::string instanceName;
|
||||
std::string backupDownloadURL;
|
||||
std::string recoverConfigMode;
|
||||
std::string backupIntranetDownloadURL;
|
||||
std::string backupEndTime;
|
||||
std::string backupSize;
|
||||
std::string backupStartTime;
|
||||
std::string backupId;
|
||||
std::string isAvail;
|
||||
std::string backupName;
|
||||
std::string instanceName;
|
||||
std::string backupDownloadURL;
|
||||
std::string backupEndTime;
|
||||
std::string backupStartTime;
|
||||
std::string engine;
|
||||
ExtraInfo1 extraInfo1;
|
||||
std::string backupStatus;
|
||||
std::string backupName;
|
||||
};
|
||||
std::string clusterBackupId;
|
||||
std::string clusterBackupStartTime;
|
||||
@@ -80,7 +81,10 @@ namespace AlibabaCloud
|
||||
std::vector<ClusterBackup> getClusterBackups()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
long getFreeSize()const;
|
||||
int getMaxResults()const;
|
||||
long getFullStorageSize()const;
|
||||
long getLogStorageSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -88,7 +92,10 @@ namespace AlibabaCloud
|
||||
std::vector<ClusterBackup> clusterBackups_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
long freeSize_;
|
||||
int maxResults_;
|
||||
long fullStorageSize_;
|
||||
long logStorageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -84,6 +84,7 @@ namespace AlibabaCloud
|
||||
bool getEnableUpgradeMajorVersion()const;
|
||||
bool getIsLatestVersion()const;
|
||||
std::string getIsNewSSLMode()const;
|
||||
std::string getIsOpenNGLB()const;
|
||||
std::string getIsRedisCompatibleVersion()const;
|
||||
ProxyLatestMinorVersion getProxyLatestMinorVersion()const;
|
||||
std::string getIsSSLEnable()const;
|
||||
@@ -103,6 +104,7 @@ namespace AlibabaCloud
|
||||
bool enableUpgradeMajorVersion_;
|
||||
bool isLatestVersion_;
|
||||
std::string isNewSSLMode_;
|
||||
std::string isOpenNGLB_;
|
||||
std::string isRedisCompatibleVersion_;
|
||||
ProxyLatestMinorVersion proxyLatestMinorVersion_;
|
||||
std::string isSSLEnable_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DescribeHistoryMonitorValuesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNodeRole() const;
|
||||
void setNodeRole(const std::string &nodeRole);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
@@ -65,6 +67,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nodeRole_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string replicatorJobId_;
|
||||
|
||||
@@ -76,6 +76,7 @@ namespace AlibabaCloud
|
||||
std::string instanceName;
|
||||
std::string vpcId;
|
||||
std::string chargeType;
|
||||
std::string computingType;
|
||||
std::string nodeType;
|
||||
std::string connectionMode;
|
||||
int proxyCount;
|
||||
|
||||
@@ -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_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeParameterGroupRequest();
|
||||
~DescribeParameterGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getParameterGroupId() const;
|
||||
void setParameterGroupId(const std::string ¶meterGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 parameterGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ParameterGroup
|
||||
{
|
||||
struct ParamGroupDetail
|
||||
{
|
||||
std::string paramValue;
|
||||
std::string paramName;
|
||||
};
|
||||
std::vector<ParamGroupDetail> paramGroupsDetails;
|
||||
std::string engineVersion;
|
||||
std::string modified;
|
||||
long category;
|
||||
std::string parameterGroupName;
|
||||
std::string parameterGroupDesc;
|
||||
std::string engine;
|
||||
std::string paramGroupId;
|
||||
std::string created;
|
||||
};
|
||||
|
||||
|
||||
DescribeParameterGroupResult();
|
||||
explicit DescribeParameterGroupResult(const std::string &payload);
|
||||
~DescribeParameterGroupResult();
|
||||
ParameterGroup getParameterGroup()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ParameterGroup parameterGroup_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPRESULT_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSUPPORTPARAMREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSUPPORTPARAMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupSupportParamRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeParameterGroupSupportParamRequest();
|
||||
~DescribeParameterGroupSupportParamRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getEngineVersion() const;
|
||||
void setEngineVersion(const std::string &engineVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
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);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string engineVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSUPPORTPARAMREQUEST_H_
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSUPPORTPARAMRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSUPPORTPARAMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupSupportParamResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ResourceListItem
|
||||
{
|
||||
std::string category;
|
||||
std::string dbVersion;
|
||||
std::string dbType;
|
||||
std::string paramName;
|
||||
};
|
||||
|
||||
|
||||
DescribeParameterGroupSupportParamResult();
|
||||
explicit DescribeParameterGroupSupportParamResult(const std::string &payload);
|
||||
~DescribeParameterGroupSupportParamResult();
|
||||
std::vector<ResourceListItem> getResourceList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ResourceListItem> resourceList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSUPPORTPARAMRESULT_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_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPTEMPLATELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPTEMPLATELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupTemplateListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeParameterGroupTemplateListRequest();
|
||||
~DescribeParameterGroupTemplateListRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getEngineVersion() const;
|
||||
void setEngineVersion(const std::string &engineVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
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);
|
||||
std::string getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
std::string getCharacterType() const;
|
||||
void setCharacterType(const std::string &characterType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string engineVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string engineType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
std::string characterType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPTEMPLATELISTREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPTEMPLATELISTRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPTEMPLATELISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupTemplateListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ParametersItem
|
||||
{
|
||||
bool supportModifyForMinorVersion;
|
||||
std::string checkingCode;
|
||||
std::string parameterValue;
|
||||
long revisable;
|
||||
long factor;
|
||||
std::string parameterName;
|
||||
std::string unit;
|
||||
std::string parameterDescription;
|
||||
long effective;
|
||||
};
|
||||
|
||||
|
||||
DescribeParameterGroupTemplateListResult();
|
||||
explicit DescribeParameterGroupTemplateListResult(const std::string &payload);
|
||||
~DescribeParameterGroupTemplateListResult();
|
||||
std::vector<ParametersItem> getParameters()const;
|
||||
std::string getEngineVersion()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ParametersItem> parameters_;
|
||||
std::string engineVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPTEMPLATELISTRESULT_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_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeParameterGroupsRequest();
|
||||
~DescribeParameterGroupsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getDbType() const;
|
||||
void setDbType(const std::string &dbType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dbType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT DescribeParameterGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ParameterGroup
|
||||
{
|
||||
std::string engineVersion;
|
||||
std::string modified;
|
||||
long category;
|
||||
std::string parameterGroupName;
|
||||
std::string parameterGroupDesc;
|
||||
std::string engine;
|
||||
std::string paramGroupId;
|
||||
std::string created;
|
||||
};
|
||||
|
||||
|
||||
DescribeParameterGroupsResult();
|
||||
explicit DescribeParameterGroupsResult(const std::string &payload);
|
||||
~DescribeParameterGroupsResult();
|
||||
std::vector<ParameterGroup> getParameterGroups()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ParameterGroup> parameterGroups_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_DESCRIBEPARAMETERGROUPSRESULT_H_
|
||||
@@ -34,6 +34,29 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Order
|
||||
{
|
||||
struct DepreciateInfo3
|
||||
{
|
||||
struct ContractActivity4
|
||||
{
|
||||
std::string activityName;
|
||||
double finalPromFee;
|
||||
long activityId;
|
||||
std::vector<std::string> optionIds5;
|
||||
double prodFee;
|
||||
std::string optionCode;
|
||||
double finalFee;
|
||||
};
|
||||
long cheapRate;
|
||||
ContractActivity4 contractActivity4;
|
||||
long differential;
|
||||
std::string differentialName;
|
||||
long monthPrice;
|
||||
long cheapStandAmount;
|
||||
long originalStandAmount;
|
||||
bool isShow;
|
||||
long listPrice;
|
||||
bool isContractActivity;
|
||||
};
|
||||
struct Coupon
|
||||
{
|
||||
std::string couponNo;
|
||||
@@ -41,14 +64,20 @@ namespace AlibabaCloud
|
||||
std::string isSelected;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<std::string> ruleIds1;
|
||||
std::vector<std::string> ruleIds2;
|
||||
long standPrice;
|
||||
bool showDiscountInfo;
|
||||
std::string message;
|
||||
long standDiscountPrice;
|
||||
std::string tradeAmount;
|
||||
std::string originalAmount;
|
||||
std::string code;
|
||||
std::string discountAmount;
|
||||
std::string handlingFeeAmount;
|
||||
std::string currency;
|
||||
std::string tradeAmount;
|
||||
DepreciateInfo3 depreciateInfo3;
|
||||
std::vector<Coupon> coupons;
|
||||
std::string originalAmount;
|
||||
std::string discountAmount;
|
||||
bool isContractActivity;
|
||||
};
|
||||
struct Rule
|
||||
{
|
||||
@@ -58,11 +87,101 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct SubOrder
|
||||
{
|
||||
struct DepreciateInfo
|
||||
{
|
||||
struct ContractActivity
|
||||
{
|
||||
std::vector<std::string> optionIds;
|
||||
std::string activityName;
|
||||
double finalPromFee;
|
||||
long activityId;
|
||||
double prodFee;
|
||||
std::string optionCode;
|
||||
double finalFee;
|
||||
};
|
||||
long cheapRate;
|
||||
long differential;
|
||||
std::string differentialName;
|
||||
long monthPrice;
|
||||
long cheapStandAmount;
|
||||
std::string startTime;
|
||||
long originalStandAmount;
|
||||
long listPrice;
|
||||
bool isContractActivity;
|
||||
ContractActivity contractActivity;
|
||||
};
|
||||
struct OptionalPromotion
|
||||
{
|
||||
std::string couponNo;
|
||||
std::string promotionName;
|
||||
std::string description;
|
||||
std::string promotionOptionNo;
|
||||
std::string canPromFee;
|
||||
bool show;
|
||||
std::string activityExtInfo;
|
||||
bool selected;
|
||||
std::string optionCode;
|
||||
std::string name;
|
||||
};
|
||||
struct ModuleInstanceItem
|
||||
{
|
||||
struct DepreciateInfo1
|
||||
{
|
||||
double cheapRate;
|
||||
double differential;
|
||||
std::string differentialName;
|
||||
double monthPrice;
|
||||
double cheapStandAmount;
|
||||
std::string startTime;
|
||||
double originalStandAmount;
|
||||
bool isShow;
|
||||
double listPrice;
|
||||
bool isContractActivity;
|
||||
};
|
||||
struct ModuleAttr
|
||||
{
|
||||
long type;
|
||||
std::string value;
|
||||
std::string code;
|
||||
std::string name;
|
||||
};
|
||||
std::string moduleId;
|
||||
double standPrice;
|
||||
bool pricingModule;
|
||||
std::string moduleCode;
|
||||
std::string moduleName;
|
||||
DepreciateInfo1 depreciateInfo1;
|
||||
double discountFee;
|
||||
double totalProductFee;
|
||||
bool needOrderPay;
|
||||
double payFee;
|
||||
std::vector<ModuleInstanceItem::ModuleAttr> moduleAttrs;
|
||||
bool contractActivity;
|
||||
};
|
||||
struct PromDetail
|
||||
{
|
||||
std::string promotionName;
|
||||
std::string derivedPromType;
|
||||
long promotionId;
|
||||
double finalPromFee;
|
||||
std::string promotionCode;
|
||||
std::string activityExtInfo;
|
||||
std::string optionCode;
|
||||
std::string promType;
|
||||
};
|
||||
long standPrice;
|
||||
std::string instanceId;
|
||||
std::vector<std::string> ruleIds;
|
||||
long standDiscountPrice;
|
||||
std::string tradeAmount;
|
||||
std::string originalAmount;
|
||||
std::string discountAmount;
|
||||
DepreciateInfo depreciateInfo;
|
||||
bool contractActivity;
|
||||
std::vector<SubOrder::OptionalPromotion> optionalPromotions;
|
||||
std::vector<SubOrder::PromDetail> promDetailList;
|
||||
std::vector<std::string> ruleIds;
|
||||
std::vector<SubOrder::ModuleInstanceItem> moduleInstance;
|
||||
bool isContractActivity;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getSourceBiz() const;
|
||||
void setSourceBiz(const std::string &sourceBiz);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
std::string accountPrivilege_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getSourceBiz() const;
|
||||
void setSourceBiz(const std::string &sourceBiz);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setNewAccountPassword(const std::string &newAccountPassword);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getSourceBiz() const;
|
||||
void setSourceBiz(const std::string &sourceBiz);
|
||||
std::string getOldAccountPassword() const;
|
||||
void setOldAccountPassword(const std::string &oldAccountPassword);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
std::string accountName_;
|
||||
std::string newAccountPassword_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string oldAccountPassword_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -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_R_KVSTORE_MODEL_MODIFYACTIVEOPERATIONTASKSREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYACTIVEOPERATIONTASKSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyActiveOperationTasksRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyActiveOperationTasksRequest();
|
||||
~ModifyActiveOperationTasksRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSwitchTime() const;
|
||||
void setSwitchTime(const std::string &switchTime);
|
||||
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 getIds() const;
|
||||
void setIds(const std::string &ids);
|
||||
int getImmediateStart() const;
|
||||
void setImmediateStart(int immediateStart);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string switchTime_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string ids_;
|
||||
int immediateStart_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_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_R_KVSTORE_MODEL_MODIFYACTIVEOPERATIONTASKSRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYACTIVEOPERATIONTASKSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyActiveOperationTasksResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyActiveOperationTasksResult();
|
||||
explicit ModifyActiveOperationTasksResult(const std::string &payload);
|
||||
~ModifyActiveOperationTasksResult();
|
||||
std::string getIds()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string ids_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYACTIVEOPERATIONTASKSRESULT_H_
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPreferredBackupTime() const;
|
||||
void setPreferredBackupTime(const std::string &preferredBackupTime);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
@@ -61,6 +63,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string preferredBackupTime_;
|
||||
int backupRetentionPeriod_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -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_R_KVSTORE_MODEL_MODIFYDBINSTANCEAUTOUPGRADEREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYDBINSTANCEAUTOUPGRADEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyDBInstanceAutoUpgradeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceAutoUpgradeRequest();
|
||||
~ModifyDBInstanceAutoUpgradeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getValue() const;
|
||||
void setValue(const std::string &value);
|
||||
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 securityToken_;
|
||||
std::string dBInstanceId_;
|
||||
std::string value_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYDBINSTANCEAUTOUPGRADEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYDBINSTANCEAUTOUPGRADERESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYDBINSTANCEAUTOUPGRADERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyDBInstanceAutoUpgradeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyDBInstanceAutoUpgradeResult();
|
||||
explicit ModifyDBInstanceAutoUpgradeResult(const std::string &payload);
|
||||
~ModifyDBInstanceAutoUpgradeResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYDBINSTANCEAUTOUPGRADERESULT_H_
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~ModifyInstanceSpecRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getNodeType() const;
|
||||
void setNodeType(const std::string &nodeType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
int getSlaveReadOnlyCount() const;
|
||||
@@ -79,6 +81,7 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string nodeType_;
|
||||
std::string clientToken_;
|
||||
int slaveReadOnlyCount_;
|
||||
std::string couponNo_;
|
||||
|
||||
@@ -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_R_KVSTORE_MODEL_MODIFYPARAMETERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYPARAMETERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace R_kvstore {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyParameterGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyParameterGroupRequest();
|
||||
~ModifyParameterGroupRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getParameterGroupId() const;
|
||||
void setParameterGroupId(const std::string ¶meterGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
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 getCategory() const;
|
||||
void setCategory(const std::string &category);
|
||||
std::string getParameterGroupName() const;
|
||||
void setParameterGroupName(const std::string ¶meterGroupName);
|
||||
std::string getParameters() const;
|
||||
void setParameters(const std::string ¶meters);
|
||||
std::string getParameterGroupDesc() const;
|
||||
void setParameterGroupDesc(const std::string ¶meterGroupDesc);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string parameterGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string category_;
|
||||
std::string parameterGroupName_;
|
||||
std::string parameters_;
|
||||
std::string parameterGroupDesc_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace R_kvstore
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYPARAMETERGROUPREQUEST_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_R_KVSTORE_MODEL_MODIFYPARAMETERGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYPARAMETERGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/r-kvstore/R_kvstoreExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace R_kvstore
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_R_KVSTORE_EXPORT ModifyParameterGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyParameterGroupResult();
|
||||
explicit ModifyParameterGroupResult(const std::string &payload);
|
||||
~ModifyParameterGroupResult();
|
||||
std::string getParamGroupId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string paramGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_R_KVSTORE_MODEL_MODIFYPARAMETERGROUPRESULT_H_
|
||||
@@ -60,6 +60,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
bool getAutoRenew() const;
|
||||
void setAutoRenew(bool autoRenew);
|
||||
bool getForceUpgrade() const;
|
||||
void setForceUpgrade(bool forceUpgrade);
|
||||
|
||||
@@ -79,6 +81,7 @@ private:
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string instanceId_;
|
||||
bool autoRenew_;
|
||||
bool forceUpgrade_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getSourceBiz() const;
|
||||
void setSourceBiz(const std::string &sourceBiz);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -54,6 +56,7 @@ private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string sourceBiz_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -447,6 +447,42 @@ R_kvstoreClient::CreateInstancesOutcomeCallable R_kvstoreClient::createInstances
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::CreateParameterGroupOutcome R_kvstoreClient::createParameterGroup(const CreateParameterGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateParameterGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateParameterGroupOutcome(CreateParameterGroupResult(outcome.result()));
|
||||
else
|
||||
return CreateParameterGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::createParameterGroupAsync(const CreateParameterGroupRequest& request, const CreateParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createParameterGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::CreateParameterGroupOutcomeCallable R_kvstoreClient::createParameterGroupCallable(const CreateParameterGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateParameterGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createParameterGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::CreateTairInstanceOutcome R_kvstoreClient::createTairInstance(const CreateTairInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +627,42 @@ R_kvstoreClient::DeleteInstanceOutcomeCallable R_kvstoreClient::deleteInstanceCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DeleteParameterGroupOutcome R_kvstoreClient::deleteParameterGroup(const DeleteParameterGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteParameterGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteParameterGroupOutcome(DeleteParameterGroupResult(outcome.result()));
|
||||
else
|
||||
return DeleteParameterGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::deleteParameterGroupAsync(const DeleteParameterGroupRequest& request, const DeleteParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteParameterGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DeleteParameterGroupOutcomeCallable R_kvstoreClient::deleteParameterGroupCallable(const DeleteParameterGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteParameterGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteParameterGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DeleteShardingNodeOutcome R_kvstoreClient::deleteShardingNode(const DeleteShardingNodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -699,6 +771,42 @@ R_kvstoreClient::DescribeActiveOperationTaskOutcomeCallable R_kvstoreClient::des
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeActiveOperationTasksOutcome R_kvstoreClient::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 R_kvstoreClient::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));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeActiveOperationTasksOutcomeCallable R_kvstoreClient::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();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeAuditLogConfigOutcome R_kvstoreClient::describeAuditLogConfig(const DescribeAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1815,6 +1923,150 @@ R_kvstoreClient::DescribeMonitorItemsOutcomeCallable R_kvstoreClient::describeMo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupOutcome R_kvstoreClient::describeParameterGroup(const DescribeParameterGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeParameterGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeParameterGroupOutcome(DescribeParameterGroupResult(outcome.result()));
|
||||
else
|
||||
return DescribeParameterGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::describeParameterGroupAsync(const DescribeParameterGroupRequest& request, const DescribeParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeParameterGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupOutcomeCallable R_kvstoreClient::describeParameterGroupCallable(const DescribeParameterGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeParameterGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeParameterGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupSupportParamOutcome R_kvstoreClient::describeParameterGroupSupportParam(const DescribeParameterGroupSupportParamRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeParameterGroupSupportParamOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeParameterGroupSupportParamOutcome(DescribeParameterGroupSupportParamResult(outcome.result()));
|
||||
else
|
||||
return DescribeParameterGroupSupportParamOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::describeParameterGroupSupportParamAsync(const DescribeParameterGroupSupportParamRequest& request, const DescribeParameterGroupSupportParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeParameterGroupSupportParam(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupSupportParamOutcomeCallable R_kvstoreClient::describeParameterGroupSupportParamCallable(const DescribeParameterGroupSupportParamRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeParameterGroupSupportParamOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeParameterGroupSupportParam(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupTemplateListOutcome R_kvstoreClient::describeParameterGroupTemplateList(const DescribeParameterGroupTemplateListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeParameterGroupTemplateListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeParameterGroupTemplateListOutcome(DescribeParameterGroupTemplateListResult(outcome.result()));
|
||||
else
|
||||
return DescribeParameterGroupTemplateListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::describeParameterGroupTemplateListAsync(const DescribeParameterGroupTemplateListRequest& request, const DescribeParameterGroupTemplateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeParameterGroupTemplateList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupTemplateListOutcomeCallable R_kvstoreClient::describeParameterGroupTemplateListCallable(const DescribeParameterGroupTemplateListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeParameterGroupTemplateListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeParameterGroupTemplateList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupsOutcome R_kvstoreClient::describeParameterGroups(const DescribeParameterGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeParameterGroupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeParameterGroupsOutcome(DescribeParameterGroupsResult(outcome.result()));
|
||||
else
|
||||
return DescribeParameterGroupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::describeParameterGroupsAsync(const DescribeParameterGroupsRequest& request, const DescribeParameterGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeParameterGroups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterGroupsOutcomeCallable R_kvstoreClient::describeParameterGroupsCallable(const DescribeParameterGroupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeParameterGroupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeParameterGroups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::DescribeParameterModificationHistoryOutcome R_kvstoreClient::describeParameterModificationHistory(const DescribeParameterModificationHistoryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2679,6 +2931,42 @@ R_kvstoreClient::ModifyActiveOperationTaskOutcomeCallable R_kvstoreClient::modif
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyActiveOperationTasksOutcome R_kvstoreClient::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 R_kvstoreClient::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));
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyActiveOperationTasksOutcomeCallable R_kvstoreClient::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();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyAuditLogConfigOutcome R_kvstoreClient::modifyAuditLogConfig(const ModifyAuditLogConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2751,6 +3039,42 @@ R_kvstoreClient::ModifyBackupPolicyOutcomeCallable R_kvstoreClient::modifyBackup
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyDBInstanceAutoUpgradeOutcome R_kvstoreClient::modifyDBInstanceAutoUpgrade(const ModifyDBInstanceAutoUpgradeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyDBInstanceAutoUpgradeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyDBInstanceAutoUpgradeOutcome(ModifyDBInstanceAutoUpgradeResult(outcome.result()));
|
||||
else
|
||||
return ModifyDBInstanceAutoUpgradeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::modifyDBInstanceAutoUpgradeAsync(const ModifyDBInstanceAutoUpgradeRequest& request, const ModifyDBInstanceAutoUpgradeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyDBInstanceAutoUpgrade(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyDBInstanceAutoUpgradeOutcomeCallable R_kvstoreClient::modifyDBInstanceAutoUpgradeCallable(const ModifyDBInstanceAutoUpgradeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyDBInstanceAutoUpgradeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyDBInstanceAutoUpgrade(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyDBInstanceConnectionStringOutcome R_kvstoreClient::modifyDBInstanceConnectionString(const ModifyDBInstanceConnectionStringRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3363,6 +3687,42 @@ R_kvstoreClient::ModifyIntranetAttributeOutcomeCallable R_kvstoreClient::modifyI
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyParameterGroupOutcome R_kvstoreClient::modifyParameterGroup(const ModifyParameterGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyParameterGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyParameterGroupOutcome(ModifyParameterGroupResult(outcome.result()));
|
||||
else
|
||||
return ModifyParameterGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void R_kvstoreClient::modifyParameterGroupAsync(const ModifyParameterGroupRequest& request, const ModifyParameterGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyParameterGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyParameterGroupOutcomeCallable R_kvstoreClient::modifyParameterGroupCallable(const ModifyParameterGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyParameterGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyParameterGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
R_kvstoreClient::ModifyResourceGroupOutcome R_kvstoreClient::modifyResourceGroup(const ModifyResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -97,6 +97,15 @@ void CreateAccountRequest::setSecurityToken(const std::string &securityToken) {
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getSourceBiz() const {
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setSourceBiz(const std::string &sourceBiz) {
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter(std::string("SourceBiz"), sourceBiz);
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void CreateGlobalDistributeCacheRequest::setSecurityToken(const std::string &sec
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CreateGlobalDistributeCacheRequest::getEffectiveTime() const {
|
||||
return effectiveTime_;
|
||||
}
|
||||
|
||||
void CreateGlobalDistributeCacheRequest::setEffectiveTime(const std::string &effectiveTime) {
|
||||
effectiveTime_ = effectiveTime;
|
||||
setParameter(std::string("EffectiveTime"), effectiveTime);
|
||||
}
|
||||
|
||||
std::string CreateGlobalDistributeCacheRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -390,6 +390,15 @@ void CreateInstanceRequest::setGlobalInstance(bool globalInstance) {
|
||||
setParameter(std::string("GlobalInstance"), globalInstance ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getRecoverConfigMode() const {
|
||||
return recoverConfigMode_;
|
||||
}
|
||||
|
||||
void CreateInstanceRequest::setRecoverConfigMode(const std::string &recoverConfigMode) {
|
||||
recoverConfigMode_ = recoverConfigMode;
|
||||
setParameter(std::string("RecoverConfigMode"), recoverConfigMode);
|
||||
}
|
||||
|
||||
std::string CreateInstanceRequest::getToken() const {
|
||||
return token_;
|
||||
}
|
||||
|
||||
144
r-kvstore/src/model/CreateParameterGroupRequest.cc
Normal file
144
r-kvstore/src/model/CreateParameterGroupRequest.cc
Normal file
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/r-kvstore/model/CreateParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::CreateParameterGroupRequest;
|
||||
|
||||
CreateParameterGroupRequest::CreateParameterGroupRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "CreateParameterGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateParameterGroupRequest::~CreateParameterGroupRequest() {}
|
||||
|
||||
long CreateParameterGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getEngineVersion() const {
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setEngineVersion(const std::string &engineVersion) {
|
||||
engineVersion_ = engineVersion;
|
||||
setParameter(std::string("EngineVersion"), engineVersion);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long CreateParameterGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getCategory() const {
|
||||
return category_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setCategory(const std::string &category) {
|
||||
category_ = category;
|
||||
setParameter(std::string("Category"), category);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getParameterGroupName() const {
|
||||
return parameterGroupName_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameterGroupName(const std::string ¶meterGroupName) {
|
||||
parameterGroupName_ = parameterGroupName;
|
||||
setParameter(std::string("ParameterGroupName"), parameterGroupName);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getParameters() const {
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameters(const std::string ¶meters) {
|
||||
parameters_ = parameters;
|
||||
setParameter(std::string("Parameters"), parameters);
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupRequest::getParameterGroupDesc() const {
|
||||
return parameterGroupDesc_;
|
||||
}
|
||||
|
||||
void CreateParameterGroupRequest::setParameterGroupDesc(const std::string ¶meterGroupDesc) {
|
||||
parameterGroupDesc_ = parameterGroupDesc;
|
||||
setParameter(std::string("ParameterGroupDesc"), parameterGroupDesc);
|
||||
}
|
||||
|
||||
51
r-kvstore/src/model/CreateParameterGroupResult.cc
Normal file
51
r-kvstore/src/model/CreateParameterGroupResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/CreateParameterGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
CreateParameterGroupResult::CreateParameterGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateParameterGroupResult::CreateParameterGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateParameterGroupResult::~CreateParameterGroupResult()
|
||||
{}
|
||||
|
||||
void CreateParameterGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ParamGroupId"].isNull())
|
||||
paramGroupId_ = value["ParamGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateParameterGroupResult::getParamGroupId()const
|
||||
{
|
||||
return paramGroupId_;
|
||||
}
|
||||
|
||||
@@ -318,6 +318,15 @@ void CreateTairInstanceRequest::setInstanceType(const std::string &instanceType)
|
||||
setParameter(std::string("InstanceType"), instanceType);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getRestoreTime() const {
|
||||
return restoreTime_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setRestoreTime(const std::string &restoreTime) {
|
||||
restoreTime_ = restoreTime;
|
||||
setParameter(std::string("RestoreTime"), restoreTime);
|
||||
}
|
||||
|
||||
bool CreateTairInstanceRequest::getAutoPay() const {
|
||||
return autoPay_;
|
||||
}
|
||||
@@ -354,6 +363,15 @@ void CreateTairInstanceRequest::setOwnerAccount(const std::string &ownerAccount)
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getRecoverConfigMode() const {
|
||||
return recoverConfigMode_;
|
||||
}
|
||||
|
||||
void CreateTairInstanceRequest::setRecoverConfigMode(const std::string &recoverConfigMode) {
|
||||
recoverConfigMode_ = recoverConfigMode;
|
||||
setParameter(std::string("RecoverConfigMode"), recoverConfigMode);
|
||||
}
|
||||
|
||||
std::string CreateTairInstanceRequest::getGlobalInstanceId() const {
|
||||
return globalInstanceId_;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,15 @@ void DeleteAccountRequest::setSecurityToken(const std::string &securityToken) {
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getSourceBiz() const {
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void DeleteAccountRequest::setSourceBiz(const std::string &sourceBiz) {
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter(std::string("SourceBiz"), sourceBiz);
|
||||
}
|
||||
|
||||
std::string DeleteAccountRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
90
r-kvstore/src/model/DeleteParameterGroupRequest.cc
Normal file
90
r-kvstore/src/model/DeleteParameterGroupRequest.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/r-kvstore/model/DeleteParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DeleteParameterGroupRequest;
|
||||
|
||||
DeleteParameterGroupRequest::DeleteParameterGroupRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "DeleteParameterGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteParameterGroupRequest::~DeleteParameterGroupRequest() {}
|
||||
|
||||
long DeleteParameterGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getParameterGroupId() const {
|
||||
return parameterGroupId_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setParameterGroupId(const std::string ¶meterGroupId) {
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter(std::string("ParameterGroupId"), parameterGroupId);
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteParameterGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteParameterGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
51
r-kvstore/src/model/DeleteParameterGroupResult.cc
Normal file
51
r-kvstore/src/model/DeleteParameterGroupResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/DeleteParameterGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
DeleteParameterGroupResult::DeleteParameterGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteParameterGroupResult::DeleteParameterGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteParameterGroupResult::~DeleteParameterGroupResult()
|
||||
{}
|
||||
|
||||
void DeleteParameterGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ParamGroupId"].isNull())
|
||||
paramGroupId_ = value["ParamGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteParameterGroupResult::getParamGroupId()const
|
||||
{
|
||||
return paramGroupId_;
|
||||
}
|
||||
|
||||
189
r-kvstore/src/model/DescribeActiveOperationTasksRequest.cc
Normal file
189
r-kvstore/src/model/DescribeActiveOperationTasksRequest.cc
Normal file
@@ -0,0 +1,189 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/r-kvstore/model/DescribeActiveOperationTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribeActiveOperationTasksRequest;
|
||||
|
||||
DescribeActiveOperationTasksRequest::DescribeActiveOperationTasksRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-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::getProductId() const {
|
||||
return productId_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setProductId(const std::string &productId) {
|
||||
productId_ = productId;
|
||||
setParameter(std::string("ProductId"), productId);
|
||||
}
|
||||
|
||||
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::getInsName() const {
|
||||
return insName_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setInsName(const std::string &insName) {
|
||||
insName_ = insName;
|
||||
setParameter(std::string("InsName"), insName);
|
||||
}
|
||||
|
||||
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::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::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getAllowCancel() const {
|
||||
return allowCancel_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAllowCancel(int 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);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getAllowChange() const {
|
||||
return allowChange_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setAllowChange(int 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);
|
||||
}
|
||||
|
||||
int DescribeActiveOperationTasksRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeActiveOperationTasksRequest::setStatus(int status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), std::to_string(status));
|
||||
}
|
||||
|
||||
133
r-kvstore/src/model/DescribeActiveOperationTasksResult.cc
Normal file
133
r-kvstore/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/r-kvstore/model/DescribeActiveOperationTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::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["ChangeLevelEn"].isNull())
|
||||
itemsObject.changeLevelEn = valueItemsItemsItem["ChangeLevelEn"].asString();
|
||||
if(!valueItemsItemsItem["TaskType"].isNull())
|
||||
itemsObject.taskType = valueItemsItemsItem["TaskType"].asString();
|
||||
if(!valueItemsItemsItem["InsName"].isNull())
|
||||
itemsObject.insName = valueItemsItemsItem["InsName"].asString();
|
||||
if(!valueItemsItemsItem["Region"].isNull())
|
||||
itemsObject.region = valueItemsItemsItem["Region"].asString();
|
||||
if(!valueItemsItemsItem["ImpactZh"].isNull())
|
||||
itemsObject.impactZh = valueItemsItemsItem["ImpactZh"].asString();
|
||||
if(!valueItemsItemsItem["CreatedTime"].isNull())
|
||||
itemsObject.createdTime = valueItemsItemsItem["CreatedTime"].asString();
|
||||
if(!valueItemsItemsItem["SwitchTime"].isNull())
|
||||
itemsObject.switchTime = valueItemsItemsItem["SwitchTime"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevelZh"].isNull())
|
||||
itemsObject.changeLevelZh = valueItemsItemsItem["ChangeLevelZh"].asString();
|
||||
if(!valueItemsItemsItem["Deadline"].isNull())
|
||||
itemsObject.deadline = valueItemsItemsItem["Deadline"].asString();
|
||||
if(!valueItemsItemsItem["PrepareInterval"].isNull())
|
||||
itemsObject.prepareInterval = valueItemsItemsItem["PrepareInterval"].asString();
|
||||
if(!valueItemsItemsItem["TaskTypeZh"].isNull())
|
||||
itemsObject.taskTypeZh = valueItemsItemsItem["TaskTypeZh"].asString();
|
||||
if(!valueItemsItemsItem["CurrentAVZ"].isNull())
|
||||
itemsObject.currentAVZ = valueItemsItemsItem["CurrentAVZ"].asString();
|
||||
if(!valueItemsItemsItem["AllowChange"].isNull())
|
||||
itemsObject.allowChange = valueItemsItemsItem["AllowChange"].asString();
|
||||
if(!valueItemsItemsItem["DbVersion"].isNull())
|
||||
itemsObject.dbVersion = valueItemsItemsItem["DbVersion"].asString();
|
||||
if(!valueItemsItemsItem["ImpactEn"].isNull())
|
||||
itemsObject.impactEn = valueItemsItemsItem["ImpactEn"].asString();
|
||||
if(!valueItemsItemsItem["InsComment"].isNull())
|
||||
itemsObject.insComment = valueItemsItemsItem["InsComment"].asString();
|
||||
if(!valueItemsItemsItem["StartTime"].isNull())
|
||||
itemsObject.startTime = valueItemsItemsItem["StartTime"].asString();
|
||||
if(!valueItemsItemsItem["ModifiedTime"].isNull())
|
||||
itemsObject.modifiedTime = valueItemsItemsItem["ModifiedTime"].asString();
|
||||
if(!valueItemsItemsItem["AllowCancel"].isNull())
|
||||
itemsObject.allowCancel = valueItemsItemsItem["AllowCancel"].asString();
|
||||
if(!valueItemsItemsItem["DbType"].isNull())
|
||||
itemsObject.dbType = valueItemsItemsItem["DbType"].asString();
|
||||
if(!valueItemsItemsItem["ChangeLevel"].isNull())
|
||||
itemsObject.changeLevel = valueItemsItemsItem["ChangeLevel"].asString();
|
||||
if(!valueItemsItemsItem["TaskTypeEn"].isNull())
|
||||
itemsObject.taskTypeEn = valueItemsItemsItem["TaskTypeEn"].asString();
|
||||
if(!valueItemsItemsItem["ResultInfo"].isNull())
|
||||
itemsObject.resultInfo = valueItemsItemsItem["ResultInfo"].asString();
|
||||
if(!valueItemsItemsItem["Id"].isNull())
|
||||
itemsObject.id = std::stoi(valueItemsItemsItem["Id"].asString());
|
||||
if(!valueItemsItemsItem["TaskParams"].isNull())
|
||||
itemsObject.taskParams = valueItemsItemsItem["TaskParams"].asString();
|
||||
if(!valueItemsItemsItem["Impact"].isNull())
|
||||
itemsObject.impact = valueItemsItemsItem["Impact"].asString();
|
||||
auto allSubInsNames = value["SubInsNames"]["SubInsNames"];
|
||||
for (auto value : allSubInsNames)
|
||||
itemsObject.subInsNames.push_back(value.asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalRecordCount"].isNull())
|
||||
totalRecordCount_ = std::stoi(value["TotalRecordCount"].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_;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ void DescribeBackupTasksResult::parse(const std::string &payload)
|
||||
if(!valueBackupJobsBackupJob["JobMode"].isNull())
|
||||
backupJobsObject.jobMode = valueBackupJobsBackupJob["JobMode"].asString();
|
||||
if(!valueBackupJobsBackupJob["BackupJobID"].isNull())
|
||||
backupJobsObject.backupJobID = std::stoi(valueBackupJobsBackupJob["BackupJobID"].asString());
|
||||
backupJobsObject.backupJobID = std::stol(valueBackupJobsBackupJob["BackupJobID"].asString());
|
||||
if(!valueBackupJobsBackupJob["BackupProgressStatus"].isNull())
|
||||
backupJobsObject.backupProgressStatus = valueBackupJobsBackupJob["BackupProgressStatus"].asString();
|
||||
if(!valueBackupJobsBackupJob["NodeId"].isNull())
|
||||
|
||||
@@ -25,11 +25,11 @@ DescribeBackupsRequest::DescribeBackupsRequest()
|
||||
|
||||
DescribeBackupsRequest::~DescribeBackupsRequest() {}
|
||||
|
||||
int DescribeBackupsRequest::getBackupJobId() const {
|
||||
long DescribeBackupsRequest::getBackupJobId() const {
|
||||
return backupJobId_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupJobId(int backupJobId) {
|
||||
void DescribeBackupsRequest::setBackupJobId(long backupJobId) {
|
||||
backupJobId_ = backupJobId;
|
||||
setParameter(std::string("BackupJobId"), std::to_string(backupJobId));
|
||||
}
|
||||
@@ -106,11 +106,11 @@ void DescribeBackupsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeBackupsRequest::getBackupId() const {
|
||||
long DescribeBackupsRequest::getBackupId() const {
|
||||
return backupId_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupId(int backupId) {
|
||||
void DescribeBackupsRequest::setBackupId(long backupId) {
|
||||
backupId_ = backupId;
|
||||
setParameter(std::string("BackupId"), std::to_string(backupId));
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ void DescribeBackupsResult::parse(const std::string &payload)
|
||||
if(!valueBackupsBackup["BackupEndTime"].isNull())
|
||||
backupsObject.backupEndTime = valueBackupsBackup["BackupEndTime"].asString();
|
||||
if(!valueBackupsBackup["BackupId"].isNull())
|
||||
backupsObject.backupId = std::stoi(valueBackupsBackup["BackupId"].asString());
|
||||
backupsObject.backupId = std::stol(valueBackupsBackup["BackupId"].asString());
|
||||
if(!valueBackupsBackup["BackupDBNames"].isNull())
|
||||
backupsObject.backupDBNames = valueBackupsBackup["BackupDBNames"].asString();
|
||||
if(!valueBackupsBackup["EngineVersion"].isNull())
|
||||
@@ -70,7 +70,9 @@ void DescribeBackupsResult::parse(const std::string &payload)
|
||||
if(!valueBackupsBackup["BackupMethod"].isNull())
|
||||
backupsObject.backupMethod = valueBackupsBackup["BackupMethod"].asString();
|
||||
if(!valueBackupsBackup["BackupJobID"].isNull())
|
||||
backupsObject.backupJobID = std::stoi(valueBackupsBackup["BackupJobID"].asString());
|
||||
backupsObject.backupJobID = std::stol(valueBackupsBackup["BackupJobID"].asString());
|
||||
if(!valueBackupsBackup["RecoverConfigMode"].isNull())
|
||||
backupsObject.recoverConfigMode = valueBackupsBackup["RecoverConfigMode"].asString();
|
||||
backups_.push_back(backupsObject);
|
||||
}
|
||||
auto accessDeniedDetailNode = value["AccessDeniedDetail"];
|
||||
@@ -94,6 +96,12 @@ void DescribeBackupsResult::parse(const std::string &payload)
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["FullStorageSize"].isNull())
|
||||
fullStorageSize_ = std::stol(value["FullStorageSize"].asString());
|
||||
if(!value["LogStorageSize"].isNull())
|
||||
logStorageSize_ = std::stol(value["LogStorageSize"].asString());
|
||||
if(!value["FreeSize"].isNull())
|
||||
freeSize_ = std::stol(value["FreeSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -117,8 +125,23 @@ int DescribeBackupsResult::getPageNumber()const
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
long DescribeBackupsResult::getFreeSize()const
|
||||
{
|
||||
return freeSize_;
|
||||
}
|
||||
|
||||
std::vector<DescribeBackupsResult::Backup> DescribeBackupsResult::getBackups()const
|
||||
{
|
||||
return backups_;
|
||||
}
|
||||
|
||||
long DescribeBackupsResult::getFullStorageSize()const
|
||||
{
|
||||
return fullStorageSize_;
|
||||
}
|
||||
|
||||
long DescribeBackupsResult::getLogStorageSize()const
|
||||
{
|
||||
return logStorageSize_;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,6 +73,8 @@ void DescribeClusterBackupListResult::parse(const std::string &payload)
|
||||
backupsObject.backupDownloadURL = valueClusterBackupsclusterBackupBackupsbackup["BackupDownloadURL"].asString();
|
||||
if(!valueClusterBackupsclusterBackupBackupsbackup["BackupIntranetDownloadURL"].isNull())
|
||||
backupsObject.backupIntranetDownloadURL = valueClusterBackupsclusterBackupBackupsbackup["BackupIntranetDownloadURL"].asString();
|
||||
if(!valueClusterBackupsclusterBackupBackupsbackup["RecoverConfigMode"].isNull())
|
||||
backupsObject.recoverConfigMode = valueClusterBackupsclusterBackupBackupsbackup["RecoverConfigMode"].asString();
|
||||
if(!valueClusterBackupsclusterBackupBackupsbackup["BackupStartTime"].isNull())
|
||||
backupsObject.backupStartTime = valueClusterBackupsclusterBackupBackupsbackup["BackupStartTime"].asString();
|
||||
if(!valueClusterBackupsclusterBackupBackupsbackup["BackupEndTime"].isNull())
|
||||
@@ -109,6 +111,12 @@ void DescribeClusterBackupListResult::parse(const std::string &payload)
|
||||
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["FullStorageSize"].isNull())
|
||||
fullStorageSize_ = std::stol(value["FullStorageSize"].asString());
|
||||
if(!value["LogStorageSize"].isNull())
|
||||
logStorageSize_ = std::stol(value["LogStorageSize"].asString());
|
||||
if(!value["FreeSize"].isNull())
|
||||
freeSize_ = std::stol(value["FreeSize"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -127,8 +135,23 @@ int DescribeClusterBackupListResult::getPageNumber()const
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
long DescribeClusterBackupListResult::getFreeSize()const
|
||||
{
|
||||
return freeSize_;
|
||||
}
|
||||
|
||||
int DescribeClusterBackupListResult::getMaxResults()const
|
||||
{
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
long DescribeClusterBackupListResult::getFullStorageSize()const
|
||||
{
|
||||
return fullStorageSize_;
|
||||
}
|
||||
|
||||
long DescribeClusterBackupListResult::getLogStorageSize()const
|
||||
{
|
||||
return logStorageSize_;
|
||||
}
|
||||
|
||||
|
||||
@@ -113,6 +113,8 @@ void DescribeEngineVersionResult::parse(const std::string &payload)
|
||||
isNewSSLMode_ = value["IsNewSSLMode"].asString();
|
||||
if(!value["IsAutoUpgradeOpen"].isNull())
|
||||
isAutoUpgradeOpen_ = value["IsAutoUpgradeOpen"].asString();
|
||||
if(!value["IsOpenNGLB"].isNull())
|
||||
isOpenNGLB_ = value["IsOpenNGLB"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -161,6 +163,11 @@ std::string DescribeEngineVersionResult::getIsNewSSLMode()const
|
||||
return isNewSSLMode_;
|
||||
}
|
||||
|
||||
std::string DescribeEngineVersionResult::getIsOpenNGLB()const
|
||||
{
|
||||
return isOpenNGLB_;
|
||||
}
|
||||
|
||||
std::string DescribeEngineVersionResult::getIsRedisCompatibleVersion()const
|
||||
{
|
||||
return isRedisCompatibleVersion_;
|
||||
|
||||
@@ -34,6 +34,15 @@ void DescribeHistoryMonitorValuesRequest::setResourceOwnerId(long resourceOwnerI
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getNodeRole() const {
|
||||
return nodeRole_;
|
||||
}
|
||||
|
||||
void DescribeHistoryMonitorValuesRequest::setNodeRole(const std::string &nodeRole) {
|
||||
nodeRole_ = nodeRole;
|
||||
setParameter(std::string("NodeRole"), nodeRole);
|
||||
}
|
||||
|
||||
std::string DescribeHistoryMonitorValuesRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
@@ -117,6 +117,8 @@ void DescribeInstancesResult::parse(const std::string &payload)
|
||||
instancesObject.instanceStatus = valueInstancesKVStoreInstance["InstanceStatus"].asString();
|
||||
if(!valueInstancesKVStoreInstance["ProxyCount"].isNull())
|
||||
instancesObject.proxyCount = std::stoi(valueInstancesKVStoreInstance["ProxyCount"].asString());
|
||||
if(!valueInstancesKVStoreInstance["ComputingType"].isNull())
|
||||
instancesObject.computingType = valueInstancesKVStoreInstance["ComputingType"].asString();
|
||||
if(!valueInstancesKVStoreInstance["CloudType"].isNull())
|
||||
instancesObject.cloudType = valueInstancesKVStoreInstance["CloudType"].asString();
|
||||
if(!valueInstancesKVStoreInstance["EditionType"].isNull())
|
||||
|
||||
99
r-kvstore/src/model/DescribeParameterGroupRequest.cc
Normal file
99
r-kvstore/src/model/DescribeParameterGroupRequest.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/r-kvstore/model/DescribeParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribeParameterGroupRequest;
|
||||
|
||||
DescribeParameterGroupRequest::DescribeParameterGroupRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "DescribeParameterGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeParameterGroupRequest::~DescribeParameterGroupRequest() {}
|
||||
|
||||
long DescribeParameterGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupRequest::getParameterGroupId() const {
|
||||
return parameterGroupId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setParameterGroupId(const std::string ¶meterGroupId) {
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter(std::string("ParameterGroupId"), parameterGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeParameterGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
76
r-kvstore/src/model/DescribeParameterGroupResult.cc
Normal file
76
r-kvstore/src/model/DescribeParameterGroupResult.cc
Normal file
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/r-kvstore/model/DescribeParameterGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
DescribeParameterGroupResult::DescribeParameterGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeParameterGroupResult::DescribeParameterGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeParameterGroupResult::~DescribeParameterGroupResult()
|
||||
{}
|
||||
|
||||
void DescribeParameterGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto parameterGroupNode = value["ParameterGroup"];
|
||||
if(!parameterGroupNode["EngineVersion"].isNull())
|
||||
parameterGroup_.engineVersion = parameterGroupNode["EngineVersion"].asString();
|
||||
if(!parameterGroupNode["Modified"].isNull())
|
||||
parameterGroup_.modified = parameterGroupNode["Modified"].asString();
|
||||
if(!parameterGroupNode["ParameterGroupName"].isNull())
|
||||
parameterGroup_.parameterGroupName = parameterGroupNode["ParameterGroupName"].asString();
|
||||
if(!parameterGroupNode["ParameterGroupDesc"].isNull())
|
||||
parameterGroup_.parameterGroupDesc = parameterGroupNode["ParameterGroupDesc"].asString();
|
||||
if(!parameterGroupNode["Engine"].isNull())
|
||||
parameterGroup_.engine = parameterGroupNode["Engine"].asString();
|
||||
if(!parameterGroupNode["ParamGroupId"].isNull())
|
||||
parameterGroup_.paramGroupId = parameterGroupNode["ParamGroupId"].asString();
|
||||
if(!parameterGroupNode["Created"].isNull())
|
||||
parameterGroup_.created = parameterGroupNode["Created"].asString();
|
||||
if(!parameterGroupNode["Category"].isNull())
|
||||
parameterGroup_.category = std::stol(parameterGroupNode["Category"].asString());
|
||||
auto allParamGroupsDetailsNode = parameterGroupNode["ParamGroupsDetails"]["ParamGroupDetail"];
|
||||
for (auto parameterGroupNodeParamGroupsDetailsParamGroupDetail : allParamGroupsDetailsNode)
|
||||
{
|
||||
ParameterGroup::ParamGroupDetail paramGroupDetailObject;
|
||||
if(!parameterGroupNodeParamGroupsDetailsParamGroupDetail["ParamName"].isNull())
|
||||
paramGroupDetailObject.paramName = parameterGroupNodeParamGroupsDetailsParamGroupDetail["ParamName"].asString();
|
||||
if(!parameterGroupNodeParamGroupsDetailsParamGroupDetail["ParamValue"].isNull())
|
||||
paramGroupDetailObject.paramValue = parameterGroupNodeParamGroupsDetailsParamGroupDetail["ParamValue"].asString();
|
||||
parameterGroup_.paramGroupsDetails.push_back(paramGroupDetailObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
DescribeParameterGroupResult::ParameterGroup DescribeParameterGroupResult::getParameterGroup()const
|
||||
{
|
||||
return parameterGroup_;
|
||||
}
|
||||
|
||||
108
r-kvstore/src/model/DescribeParameterGroupSupportParamRequest.cc
Normal file
108
r-kvstore/src/model/DescribeParameterGroupSupportParamRequest.cc
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/DescribeParameterGroupSupportParamRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribeParameterGroupSupportParamRequest;
|
||||
|
||||
DescribeParameterGroupSupportParamRequest::DescribeParameterGroupSupportParamRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "DescribeParameterGroupSupportParam") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeParameterGroupSupportParamRequest::~DescribeParameterGroupSupportParamRequest() {}
|
||||
|
||||
long DescribeParameterGroupSupportParamRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getEngineVersion() const {
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setEngineVersion(const std::string &engineVersion) {
|
||||
engineVersion_ = engineVersion;
|
||||
setParameter(std::string("EngineVersion"), engineVersion);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeParameterGroupSupportParamRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupSupportParamRequest::getCategory() const {
|
||||
return category_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupSupportParamRequest::setCategory(const std::string &category) {
|
||||
category_ = category;
|
||||
setParameter(std::string("Category"), category);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/DescribeParameterGroupSupportParamResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
DescribeParameterGroupSupportParamResult::DescribeParameterGroupSupportParamResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeParameterGroupSupportParamResult::DescribeParameterGroupSupportParamResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeParameterGroupSupportParamResult::~DescribeParameterGroupSupportParamResult()
|
||||
{}
|
||||
|
||||
void DescribeParameterGroupSupportParamResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResourceListNode = value["ResourceList"]["ResourceListItem"];
|
||||
for (auto valueResourceListResourceListItem : allResourceListNode)
|
||||
{
|
||||
ResourceListItem resourceListObject;
|
||||
if(!valueResourceListResourceListItem["DbType"].isNull())
|
||||
resourceListObject.dbType = valueResourceListResourceListItem["DbType"].asString();
|
||||
if(!valueResourceListResourceListItem["DbVersion"].isNull())
|
||||
resourceListObject.dbVersion = valueResourceListResourceListItem["DbVersion"].asString();
|
||||
if(!valueResourceListResourceListItem["Category"].isNull())
|
||||
resourceListObject.category = valueResourceListResourceListItem["Category"].asString();
|
||||
if(!valueResourceListResourceListItem["ParamName"].isNull())
|
||||
resourceListObject.paramName = valueResourceListResourceListItem["ParamName"].asString();
|
||||
resourceList_.push_back(resourceListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeParameterGroupSupportParamResult::ResourceListItem> DescribeParameterGroupSupportParamResult::getResourceList()const
|
||||
{
|
||||
return resourceList_;
|
||||
}
|
||||
|
||||
117
r-kvstore/src/model/DescribeParameterGroupTemplateListRequest.cc
Normal file
117
r-kvstore/src/model/DescribeParameterGroupTemplateListRequest.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/r-kvstore/model/DescribeParameterGroupTemplateListRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribeParameterGroupTemplateListRequest;
|
||||
|
||||
DescribeParameterGroupTemplateListRequest::DescribeParameterGroupTemplateListRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "DescribeParameterGroupTemplateList") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribeParameterGroupTemplateListRequest::~DescribeParameterGroupTemplateListRequest() {}
|
||||
|
||||
long DescribeParameterGroupTemplateListRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getEngineVersion() const {
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setEngineVersion(const std::string &engineVersion) {
|
||||
engineVersion_ = engineVersion;
|
||||
setParameter(std::string("EngineVersion"), engineVersion);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getEngineType() const {
|
||||
return engineType_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setEngineType(const std::string &engineType) {
|
||||
engineType_ = engineType;
|
||||
setParameter(std::string("EngineType"), engineType);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeParameterGroupTemplateListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getCategory() const {
|
||||
return category_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setCategory(const std::string &category) {
|
||||
category_ = category;
|
||||
setParameter(std::string("Category"), category);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListRequest::getCharacterType() const {
|
||||
return characterType_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupTemplateListRequest::setCharacterType(const std::string &characterType) {
|
||||
characterType_ = characterType;
|
||||
setParameter(std::string("CharacterType"), characterType);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/r-kvstore/model/DescribeParameterGroupTemplateListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
DescribeParameterGroupTemplateListResult::DescribeParameterGroupTemplateListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeParameterGroupTemplateListResult::DescribeParameterGroupTemplateListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeParameterGroupTemplateListResult::~DescribeParameterGroupTemplateListResult()
|
||||
{}
|
||||
|
||||
void DescribeParameterGroupTemplateListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParametersNode = value["Parameters"]["ParametersItem"];
|
||||
for (auto valueParametersParametersItem : allParametersNode)
|
||||
{
|
||||
ParametersItem parametersObject;
|
||||
if(!valueParametersParametersItem["SupportModifyForMinorVersion"].isNull())
|
||||
parametersObject.supportModifyForMinorVersion = valueParametersParametersItem["SupportModifyForMinorVersion"].asString() == "true";
|
||||
if(!valueParametersParametersItem["CheckingCode"].isNull())
|
||||
parametersObject.checkingCode = valueParametersParametersItem["CheckingCode"].asString();
|
||||
if(!valueParametersParametersItem["ParameterValue"].isNull())
|
||||
parametersObject.parameterValue = valueParametersParametersItem["ParameterValue"].asString();
|
||||
if(!valueParametersParametersItem["Revisable"].isNull())
|
||||
parametersObject.revisable = std::stol(valueParametersParametersItem["Revisable"].asString());
|
||||
if(!valueParametersParametersItem["Factor"].isNull())
|
||||
parametersObject.factor = std::stol(valueParametersParametersItem["Factor"].asString());
|
||||
if(!valueParametersParametersItem["ParameterName"].isNull())
|
||||
parametersObject.parameterName = valueParametersParametersItem["ParameterName"].asString();
|
||||
if(!valueParametersParametersItem["Unit"].isNull())
|
||||
parametersObject.unit = valueParametersParametersItem["Unit"].asString();
|
||||
if(!valueParametersParametersItem["ParameterDescription"].isNull())
|
||||
parametersObject.parameterDescription = valueParametersParametersItem["ParameterDescription"].asString();
|
||||
if(!valueParametersParametersItem["Effective"].isNull())
|
||||
parametersObject.effective = std::stol(valueParametersParametersItem["Effective"].asString());
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["EngineVersion"].isNull())
|
||||
engineVersion_ = value["EngineVersion"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeParameterGroupTemplateListResult::ParametersItem> DescribeParameterGroupTemplateListResult::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupTemplateListResult::getEngineVersion()const
|
||||
{
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
99
r-kvstore/src/model/DescribeParameterGroupsRequest.cc
Normal file
99
r-kvstore/src/model/DescribeParameterGroupsRequest.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/r-kvstore/model/DescribeParameterGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::DescribeParameterGroupsRequest;
|
||||
|
||||
DescribeParameterGroupsRequest::DescribeParameterGroupsRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "DescribeParameterGroups") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeParameterGroupsRequest::~DescribeParameterGroupsRequest() {}
|
||||
|
||||
long DescribeParameterGroupsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupsRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeParameterGroupsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterGroupsRequest::getDbType() const {
|
||||
return dbType_;
|
||||
}
|
||||
|
||||
void DescribeParameterGroupsRequest::setDbType(const std::string &dbType) {
|
||||
dbType_ = dbType;
|
||||
setParameter(std::string("DbType"), dbType);
|
||||
}
|
||||
|
||||
71
r-kvstore/src/model/DescribeParameterGroupsResult.cc
Normal file
71
r-kvstore/src/model/DescribeParameterGroupsResult.cc
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/r-kvstore/model/DescribeParameterGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
DescribeParameterGroupsResult::DescribeParameterGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeParameterGroupsResult::DescribeParameterGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeParameterGroupsResult::~DescribeParameterGroupsResult()
|
||||
{}
|
||||
|
||||
void DescribeParameterGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParameterGroupsNode = value["ParameterGroups"]["ParameterGroup"];
|
||||
for (auto valueParameterGroupsParameterGroup : allParameterGroupsNode)
|
||||
{
|
||||
ParameterGroup parameterGroupsObject;
|
||||
if(!valueParameterGroupsParameterGroup["EngineVersion"].isNull())
|
||||
parameterGroupsObject.engineVersion = valueParameterGroupsParameterGroup["EngineVersion"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["Modified"].isNull())
|
||||
parameterGroupsObject.modified = valueParameterGroupsParameterGroup["Modified"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["ParameterGroupName"].isNull())
|
||||
parameterGroupsObject.parameterGroupName = valueParameterGroupsParameterGroup["ParameterGroupName"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["ParameterGroupDesc"].isNull())
|
||||
parameterGroupsObject.parameterGroupDesc = valueParameterGroupsParameterGroup["ParameterGroupDesc"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["Engine"].isNull())
|
||||
parameterGroupsObject.engine = valueParameterGroupsParameterGroup["Engine"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["ParamGroupId"].isNull())
|
||||
parameterGroupsObject.paramGroupId = valueParameterGroupsParameterGroup["ParamGroupId"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["Created"].isNull())
|
||||
parameterGroupsObject.created = valueParameterGroupsParameterGroup["Created"].asString();
|
||||
if(!valueParameterGroupsParameterGroup["Category"].isNull())
|
||||
parameterGroupsObject.category = std::stol(valueParameterGroupsParameterGroup["Category"].asString());
|
||||
parameterGroups_.push_back(parameterGroupsObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeParameterGroupsResult::ParameterGroup> DescribeParameterGroupsResult::getParameterGroups()const
|
||||
{
|
||||
return parameterGroups_;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,158 @@ void DescribePriceResult::parse(const std::string &payload)
|
||||
subOrdersObject.discountAmount = valueSubOrdersSubOrder["DiscountAmount"].asString();
|
||||
if(!valueSubOrdersSubOrder["TradeAmount"].isNull())
|
||||
subOrdersObject.tradeAmount = valueSubOrdersSubOrder["TradeAmount"].asString();
|
||||
if(!valueSubOrdersSubOrder["StandDiscountPrice"].isNull())
|
||||
subOrdersObject.standDiscountPrice = std::stol(valueSubOrdersSubOrder["StandDiscountPrice"].asString());
|
||||
if(!valueSubOrdersSubOrder["IsContractActivity"].isNull())
|
||||
subOrdersObject.isContractActivity = valueSubOrdersSubOrder["IsContractActivity"].asString() == "true";
|
||||
if(!valueSubOrdersSubOrder["StandPrice"].isNull())
|
||||
subOrdersObject.standPrice = std::stol(valueSubOrdersSubOrder["StandPrice"].asString());
|
||||
if(!valueSubOrdersSubOrder["ContractActivity"].isNull())
|
||||
subOrdersObject.contractActivity = valueSubOrdersSubOrder["ContractActivity"].asString() == "true";
|
||||
auto allOptionalPromotionsNode = valueSubOrdersSubOrder["OptionalPromotions"]["OptionalPromotion"];
|
||||
for (auto valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion : allOptionalPromotionsNode)
|
||||
{
|
||||
SubOrder::OptionalPromotion optionalPromotionsObject;
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Selected"].isNull())
|
||||
optionalPromotionsObject.selected = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Selected"].asString() == "true";
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["CouponNo"].isNull())
|
||||
optionalPromotionsObject.couponNo = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["CouponNo"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Name"].isNull())
|
||||
optionalPromotionsObject.name = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Name"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Description"].isNull())
|
||||
optionalPromotionsObject.description = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Description"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Show"].isNull())
|
||||
optionalPromotionsObject.show = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["Show"].asString() == "true";
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["ActivityExtInfo"].isNull())
|
||||
optionalPromotionsObject.activityExtInfo = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["ActivityExtInfo"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["OptionCode"].isNull())
|
||||
optionalPromotionsObject.optionCode = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["OptionCode"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["PromotionName"].isNull())
|
||||
optionalPromotionsObject.promotionName = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["PromotionName"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["PromotionOptionNo"].isNull())
|
||||
optionalPromotionsObject.promotionOptionNo = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["PromotionOptionNo"].asString();
|
||||
if(!valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["CanPromFee"].isNull())
|
||||
optionalPromotionsObject.canPromFee = valueSubOrdersSubOrderOptionalPromotionsOptionalPromotion["CanPromFee"].asString();
|
||||
subOrdersObject.optionalPromotions.push_back(optionalPromotionsObject);
|
||||
}
|
||||
auto allModuleInstanceNode = valueSubOrdersSubOrder["ModuleInstance"]["ModuleInstanceItem"];
|
||||
for (auto valueSubOrdersSubOrderModuleInstanceModuleInstanceItem : allModuleInstanceNode)
|
||||
{
|
||||
SubOrder::ModuleInstanceItem moduleInstanceObject;
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleCode"].isNull())
|
||||
moduleInstanceObject.moduleCode = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleCode"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleId"].isNull())
|
||||
moduleInstanceObject.moduleId = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleId"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["StandPrice"].isNull())
|
||||
moduleInstanceObject.standPrice = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["StandPrice"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["PricingModule"].isNull())
|
||||
moduleInstanceObject.pricingModule = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["PricingModule"].asString() == "true";
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleName"].isNull())
|
||||
moduleInstanceObject.moduleName = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleName"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["DiscountFee"].isNull())
|
||||
moduleInstanceObject.discountFee = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["DiscountFee"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["TotalProductFee"].isNull())
|
||||
moduleInstanceObject.totalProductFee = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["TotalProductFee"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["NeedOrderPay"].isNull())
|
||||
moduleInstanceObject.needOrderPay = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["NeedOrderPay"].asString() == "true";
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["PayFee"].isNull())
|
||||
moduleInstanceObject.payFee = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["PayFee"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ContractActivity"].isNull())
|
||||
moduleInstanceObject.contractActivity = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ContractActivity"].asString() == "true";
|
||||
auto allModuleAttrsNode = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["ModuleAttrs"]["moduleAttr"];
|
||||
for (auto valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr : allModuleAttrsNode)
|
||||
{
|
||||
SubOrder::ModuleInstanceItem::ModuleAttr moduleAttrsObject;
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Type"].isNull())
|
||||
moduleAttrsObject.type = std::stol(valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Type"].asString());
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Value"].isNull())
|
||||
moduleAttrsObject.value = valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Value"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Code"].isNull())
|
||||
moduleAttrsObject.code = valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Code"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Name"].isNull())
|
||||
moduleAttrsObject.name = valueSubOrdersSubOrderModuleInstanceModuleInstanceItemModuleAttrsmoduleAttr["Name"].asString();
|
||||
moduleInstanceObject.moduleAttrs.push_back(moduleAttrsObject);
|
||||
}
|
||||
auto depreciateInfo1Node = value["DepreciateInfo"];
|
||||
if(!depreciateInfo1Node["ListPrice"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.listPrice = depreciateInfo1Node["ListPrice"].asString();
|
||||
if(!depreciateInfo1Node["OriginalStandAmount"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.originalStandAmount = depreciateInfo1Node["OriginalStandAmount"].asString();
|
||||
if(!depreciateInfo1Node["CheapStandAmount"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.cheapStandAmount = depreciateInfo1Node["CheapStandAmount"].asString();
|
||||
if(!depreciateInfo1Node["CheapRate"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.cheapRate = depreciateInfo1Node["CheapRate"].asString();
|
||||
if(!depreciateInfo1Node["Differential"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.differential = depreciateInfo1Node["Differential"].asString();
|
||||
if(!depreciateInfo1Node["DifferentialName"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.differentialName = depreciateInfo1Node["DifferentialName"].asString();
|
||||
if(!depreciateInfo1Node["MonthPrice"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.monthPrice = depreciateInfo1Node["MonthPrice"].asString();
|
||||
if(!depreciateInfo1Node["IsContractActivity"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.isContractActivity = depreciateInfo1Node["IsContractActivity"].asString() == "true";
|
||||
if(!depreciateInfo1Node["IsShow"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.isShow = depreciateInfo1Node["IsShow"].asString() == "true";
|
||||
if(!depreciateInfo1Node["StartTime"].isNull())
|
||||
moduleInstanceObject.depreciateInfo1.startTime = depreciateInfo1Node["StartTime"].asString();
|
||||
subOrdersObject.moduleInstance.push_back(moduleInstanceObject);
|
||||
}
|
||||
auto allPromDetailListNode = valueSubOrdersSubOrder["PromDetailList"]["PromDetail"];
|
||||
for (auto valueSubOrdersSubOrderPromDetailListPromDetail : allPromDetailListNode)
|
||||
{
|
||||
SubOrder::PromDetail promDetailListObject;
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["PromotionName"].isNull())
|
||||
promDetailListObject.promotionName = valueSubOrdersSubOrderPromDetailListPromDetail["PromotionName"].asString();
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["PromotionId"].isNull())
|
||||
promDetailListObject.promotionId = std::stol(valueSubOrdersSubOrderPromDetailListPromDetail["PromotionId"].asString());
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["FinalPromFee"].isNull())
|
||||
promDetailListObject.finalPromFee = valueSubOrdersSubOrderPromDetailListPromDetail["FinalPromFee"].asString();
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["OptionCode"].isNull())
|
||||
promDetailListObject.optionCode = valueSubOrdersSubOrderPromDetailListPromDetail["OptionCode"].asString();
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["PromType"].isNull())
|
||||
promDetailListObject.promType = valueSubOrdersSubOrderPromDetailListPromDetail["PromType"].asString();
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["ActivityExtInfo"].isNull())
|
||||
promDetailListObject.activityExtInfo = valueSubOrdersSubOrderPromDetailListPromDetail["ActivityExtInfo"].asString();
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["DerivedPromType"].isNull())
|
||||
promDetailListObject.derivedPromType = valueSubOrdersSubOrderPromDetailListPromDetail["DerivedPromType"].asString();
|
||||
if(!valueSubOrdersSubOrderPromDetailListPromDetail["PromotionCode"].isNull())
|
||||
promDetailListObject.promotionCode = valueSubOrdersSubOrderPromDetailListPromDetail["PromotionCode"].asString();
|
||||
subOrdersObject.promDetailList.push_back(promDetailListObject);
|
||||
}
|
||||
auto depreciateInfoNode = value["DepreciateInfo"];
|
||||
if(!depreciateInfoNode["ListPrice"].isNull())
|
||||
subOrdersObject.depreciateInfo.listPrice = std::stol(depreciateInfoNode["ListPrice"].asString());
|
||||
if(!depreciateInfoNode["OriginalStandAmount"].isNull())
|
||||
subOrdersObject.depreciateInfo.originalStandAmount = std::stol(depreciateInfoNode["OriginalStandAmount"].asString());
|
||||
if(!depreciateInfoNode["CheapStandAmount"].isNull())
|
||||
subOrdersObject.depreciateInfo.cheapStandAmount = std::stol(depreciateInfoNode["CheapStandAmount"].asString());
|
||||
if(!depreciateInfoNode["CheapRate"].isNull())
|
||||
subOrdersObject.depreciateInfo.cheapRate = std::stol(depreciateInfoNode["CheapRate"].asString());
|
||||
if(!depreciateInfoNode["Differential"].isNull())
|
||||
subOrdersObject.depreciateInfo.differential = std::stol(depreciateInfoNode["Differential"].asString());
|
||||
if(!depreciateInfoNode["DifferentialName"].isNull())
|
||||
subOrdersObject.depreciateInfo.differentialName = depreciateInfoNode["DifferentialName"].asString();
|
||||
if(!depreciateInfoNode["MonthPrice"].isNull())
|
||||
subOrdersObject.depreciateInfo.monthPrice = std::stol(depreciateInfoNode["MonthPrice"].asString());
|
||||
if(!depreciateInfoNode["IsContractActivity"].isNull())
|
||||
subOrdersObject.depreciateInfo.isContractActivity = depreciateInfoNode["IsContractActivity"].asString() == "true";
|
||||
if(!depreciateInfoNode["StartTime"].isNull())
|
||||
subOrdersObject.depreciateInfo.startTime = depreciateInfoNode["StartTime"].asString();
|
||||
auto contractActivityNode = depreciateInfoNode["ContractActivity"];
|
||||
if(!contractActivityNode["FinalPromFee"].isNull())
|
||||
subOrdersObject.depreciateInfo.contractActivity.finalPromFee = contractActivityNode["FinalPromFee"].asString();
|
||||
if(!contractActivityNode["FinalFee"].isNull())
|
||||
subOrdersObject.depreciateInfo.contractActivity.finalFee = contractActivityNode["FinalFee"].asString();
|
||||
if(!contractActivityNode["ProdFee"].isNull())
|
||||
subOrdersObject.depreciateInfo.contractActivity.prodFee = contractActivityNode["ProdFee"].asString();
|
||||
if(!contractActivityNode["ActivityId"].isNull())
|
||||
subOrdersObject.depreciateInfo.contractActivity.activityId = std::stol(contractActivityNode["ActivityId"].asString());
|
||||
if(!contractActivityNode["OptionCode"].isNull())
|
||||
subOrdersObject.depreciateInfo.contractActivity.optionCode = contractActivityNode["OptionCode"].asString();
|
||||
if(!contractActivityNode["ActivityName"].isNull())
|
||||
subOrdersObject.depreciateInfo.contractActivity.activityName = contractActivityNode["ActivityName"].asString();
|
||||
auto allOptionIds = contractActivityNode["OptionIds"]["OptionId"];
|
||||
for (auto value : allOptionIds)
|
||||
subOrdersObject.depreciateInfo.contractActivity.optionIds.push_back(value.asString());
|
||||
auto allRuleIds = value["RuleIds"]["RuleId"];
|
||||
for (auto value : allRuleIds)
|
||||
subOrdersObject.ruleIds.push_back(value.asString());
|
||||
@@ -81,6 +233,16 @@ void DescribePriceResult::parse(const std::string &payload)
|
||||
order_.tradeAmount = orderNode["TradeAmount"].asString();
|
||||
if(!orderNode["ShowDiscountInfo"].isNull())
|
||||
order_.showDiscountInfo = orderNode["ShowDiscountInfo"].asString() == "true";
|
||||
if(!orderNode["StandDiscountPrice"].isNull())
|
||||
order_.standDiscountPrice = std::stol(orderNode["StandDiscountPrice"].asString());
|
||||
if(!orderNode["IsContractActivity"].isNull())
|
||||
order_.isContractActivity = orderNode["IsContractActivity"].asString() == "true";
|
||||
if(!orderNode["StandPrice"].isNull())
|
||||
order_.standPrice = std::stol(orderNode["StandPrice"].asString());
|
||||
if(!orderNode["Code"].isNull())
|
||||
order_.code = orderNode["Code"].asString();
|
||||
if(!orderNode["Message"].isNull())
|
||||
order_.message = orderNode["Message"].asString();
|
||||
auto allCouponsNode = orderNode["Coupons"]["Coupon"];
|
||||
for (auto orderNodeCouponsCoupon : allCouponsNode)
|
||||
{
|
||||
@@ -95,9 +257,44 @@ void DescribePriceResult::parse(const std::string &payload)
|
||||
couponObject.description = orderNodeCouponsCoupon["Description"].asString();
|
||||
order_.coupons.push_back(couponObject);
|
||||
}
|
||||
auto allRuleIds1 = orderNode["RuleIds"]["RuleId"];
|
||||
for (auto value : allRuleIds1)
|
||||
order_.ruleIds1.push_back(value.asString());
|
||||
auto depreciateInfo3Node = orderNode["DepreciateInfo"];
|
||||
if(!depreciateInfo3Node["ListPrice"].isNull())
|
||||
order_.depreciateInfo3.listPrice = std::stol(depreciateInfo3Node["ListPrice"].asString());
|
||||
if(!depreciateInfo3Node["OriginalStandAmount"].isNull())
|
||||
order_.depreciateInfo3.originalStandAmount = std::stol(depreciateInfo3Node["OriginalStandAmount"].asString());
|
||||
if(!depreciateInfo3Node["CheapStandAmount"].isNull())
|
||||
order_.depreciateInfo3.cheapStandAmount = std::stol(depreciateInfo3Node["CheapStandAmount"].asString());
|
||||
if(!depreciateInfo3Node["CheapRate"].isNull())
|
||||
order_.depreciateInfo3.cheapRate = std::stol(depreciateInfo3Node["CheapRate"].asString());
|
||||
if(!depreciateInfo3Node["Differential"].isNull())
|
||||
order_.depreciateInfo3.differential = std::stol(depreciateInfo3Node["Differential"].asString());
|
||||
if(!depreciateInfo3Node["DifferentialName"].isNull())
|
||||
order_.depreciateInfo3.differentialName = depreciateInfo3Node["DifferentialName"].asString();
|
||||
if(!depreciateInfo3Node["MonthPrice"].isNull())
|
||||
order_.depreciateInfo3.monthPrice = std::stol(depreciateInfo3Node["MonthPrice"].asString());
|
||||
if(!depreciateInfo3Node["IsContractActivity"].isNull())
|
||||
order_.depreciateInfo3.isContractActivity = depreciateInfo3Node["IsContractActivity"].asString() == "true";
|
||||
if(!depreciateInfo3Node["IsShow"].isNull())
|
||||
order_.depreciateInfo3.isShow = depreciateInfo3Node["IsShow"].asString() == "true";
|
||||
auto contractActivity4Node = depreciateInfo3Node["ContractActivity"];
|
||||
if(!contractActivity4Node["FinalPromFee"].isNull())
|
||||
order_.depreciateInfo3.contractActivity4.finalPromFee = contractActivity4Node["FinalPromFee"].asString();
|
||||
if(!contractActivity4Node["FinalFee"].isNull())
|
||||
order_.depreciateInfo3.contractActivity4.finalFee = contractActivity4Node["FinalFee"].asString();
|
||||
if(!contractActivity4Node["ProdFee"].isNull())
|
||||
order_.depreciateInfo3.contractActivity4.prodFee = contractActivity4Node["ProdFee"].asString();
|
||||
if(!contractActivity4Node["ActivityId"].isNull())
|
||||
order_.depreciateInfo3.contractActivity4.activityId = std::stol(contractActivity4Node["ActivityId"].asString());
|
||||
if(!contractActivity4Node["OptionCode"].isNull())
|
||||
order_.depreciateInfo3.contractActivity4.optionCode = contractActivity4Node["OptionCode"].asString();
|
||||
if(!contractActivity4Node["ActivityName"].isNull())
|
||||
order_.depreciateInfo3.contractActivity4.activityName = contractActivity4Node["ActivityName"].asString();
|
||||
auto allOptionIds5 = contractActivity4Node["OptionIds"]["OptionId"];
|
||||
for (auto value : allOptionIds5)
|
||||
order_.depreciateInfo3.contractActivity4.optionIds5.push_back(value.asString());
|
||||
auto allRuleIds2 = orderNode["RuleIds"]["RuleId"];
|
||||
for (auto value : allRuleIds2)
|
||||
order_.ruleIds2.push_back(value.asString());
|
||||
if(!value["OrderParams"].isNull())
|
||||
orderParams_ = value["OrderParams"].asString();
|
||||
|
||||
|
||||
@@ -70,6 +70,15 @@ void GrantAccountPrivilegeRequest::setSecurityToken(const std::string &securityT
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string GrantAccountPrivilegeRequest::getSourceBiz() const {
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void GrantAccountPrivilegeRequest::setSourceBiz(const std::string &sourceBiz) {
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter(std::string("SourceBiz"), sourceBiz);
|
||||
}
|
||||
|
||||
std::string GrantAccountPrivilegeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void ModifyAccountDescriptionRequest::setSecurityToken(const std::string &securi
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyAccountDescriptionRequest::getSourceBiz() const {
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void ModifyAccountDescriptionRequest::setSourceBiz(const std::string &sourceBiz) {
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter(std::string("SourceBiz"), sourceBiz);
|
||||
}
|
||||
|
||||
std::string ModifyAccountDescriptionRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -70,6 +70,15 @@ void ModifyAccountPasswordRequest::setSecurityToken(const std::string &securityT
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyAccountPasswordRequest::getSourceBiz() const {
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void ModifyAccountPasswordRequest::setSourceBiz(const std::string &sourceBiz) {
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter(std::string("SourceBiz"), sourceBiz);
|
||||
}
|
||||
|
||||
std::string ModifyAccountPasswordRequest::getOldAccountPassword() const {
|
||||
return oldAccountPassword_;
|
||||
}
|
||||
|
||||
117
r-kvstore/src/model/ModifyActiveOperationTasksRequest.cc
Normal file
117
r-kvstore/src/model/ModifyActiveOperationTasksRequest.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/r-kvstore/model/ModifyActiveOperationTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::ModifyActiveOperationTasksRequest;
|
||||
|
||||
ModifyActiveOperationTasksRequest::ModifyActiveOperationTasksRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "ModifyActiveOperationTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyActiveOperationTasksRequest::~ModifyActiveOperationTasksRequest() {}
|
||||
|
||||
long ModifyActiveOperationTasksRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getSwitchTime() const {
|
||||
return switchTime_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setSwitchTime(const std::string &switchTime) {
|
||||
switchTime_ = switchTime;
|
||||
setParameter(std::string("SwitchTime"), switchTime);
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyActiveOperationTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksRequest::getIds() const {
|
||||
return ids_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setIds(const std::string &ids) {
|
||||
ids_ = ids;
|
||||
setParameter(std::string("Ids"), ids);
|
||||
}
|
||||
|
||||
int ModifyActiveOperationTasksRequest::getImmediateStart() const {
|
||||
return immediateStart_;
|
||||
}
|
||||
|
||||
void ModifyActiveOperationTasksRequest::setImmediateStart(int immediateStart) {
|
||||
immediateStart_ = immediateStart;
|
||||
setParameter(std::string("ImmediateStart"), std::to_string(immediateStart));
|
||||
}
|
||||
|
||||
51
r-kvstore/src/model/ModifyActiveOperationTasksResult.cc
Normal file
51
r-kvstore/src/model/ModifyActiveOperationTasksResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/ModifyActiveOperationTasksResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
ModifyActiveOperationTasksResult::ModifyActiveOperationTasksResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyActiveOperationTasksResult::ModifyActiveOperationTasksResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyActiveOperationTasksResult::~ModifyActiveOperationTasksResult()
|
||||
{}
|
||||
|
||||
void ModifyActiveOperationTasksResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Ids"].isNull())
|
||||
ids_ = value["Ids"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyActiveOperationTasksResult::getIds()const
|
||||
{
|
||||
return ids_;
|
||||
}
|
||||
|
||||
@@ -106,6 +106,15 @@ void ModifyBackupPolicyRequest::setPreferredBackupTime(const std::string &prefer
|
||||
setParameter(std::string("PreferredBackupTime"), preferredBackupTime);
|
||||
}
|
||||
|
||||
int ModifyBackupPolicyRequest::getBackupRetentionPeriod() const {
|
||||
return backupRetentionPeriod_;
|
||||
}
|
||||
|
||||
void ModifyBackupPolicyRequest::setBackupRetentionPeriod(int backupRetentionPeriod) {
|
||||
backupRetentionPeriod_ = backupRetentionPeriod;
|
||||
setParameter(std::string("BackupRetentionPeriod"), std::to_string(backupRetentionPeriod));
|
||||
}
|
||||
|
||||
std::string ModifyBackupPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
99
r-kvstore/src/model/ModifyDBInstanceAutoUpgradeRequest.cc
Normal file
99
r-kvstore/src/model/ModifyDBInstanceAutoUpgradeRequest.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/r-kvstore/model/ModifyDBInstanceAutoUpgradeRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::ModifyDBInstanceAutoUpgradeRequest;
|
||||
|
||||
ModifyDBInstanceAutoUpgradeRequest::ModifyDBInstanceAutoUpgradeRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "ModifyDBInstanceAutoUpgrade") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyDBInstanceAutoUpgradeRequest::~ModifyDBInstanceAutoUpgradeRequest() {}
|
||||
|
||||
long ModifyDBInstanceAutoUpgradeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceAutoUpgradeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceAutoUpgradeRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceAutoUpgradeRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setDBInstanceId(const std::string &dBInstanceId) {
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceAutoUpgradeRequest::getValue() const {
|
||||
return value_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setValue(const std::string &value) {
|
||||
value_ = value;
|
||||
setParameter(std::string("Value"), value);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceAutoUpgradeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceAutoUpgradeRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyDBInstanceAutoUpgradeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
r-kvstore/src/model/ModifyDBInstanceAutoUpgradeResult.cc
Normal file
44
r-kvstore/src/model/ModifyDBInstanceAutoUpgradeResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/ModifyDBInstanceAutoUpgradeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
ModifyDBInstanceAutoUpgradeResult::ModifyDBInstanceAutoUpgradeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyDBInstanceAutoUpgradeResult::ModifyDBInstanceAutoUpgradeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyDBInstanceAutoUpgradeResult::~ModifyDBInstanceAutoUpgradeResult()
|
||||
{}
|
||||
|
||||
void ModifyDBInstanceAutoUpgradeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void ModifyInstanceSpecRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyInstanceSpecRequest::getNodeType() const {
|
||||
return nodeType_;
|
||||
}
|
||||
|
||||
void ModifyInstanceSpecRequest::setNodeType(const std::string &nodeType) {
|
||||
nodeType_ = nodeType;
|
||||
setParameter(std::string("NodeType"), nodeType);
|
||||
}
|
||||
|
||||
std::string ModifyInstanceSpecRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
135
r-kvstore/src/model/ModifyParameterGroupRequest.cc
Normal file
135
r-kvstore/src/model/ModifyParameterGroupRequest.cc
Normal file
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/r-kvstore/model/ModifyParameterGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::R_kvstore::Model::ModifyParameterGroupRequest;
|
||||
|
||||
ModifyParameterGroupRequest::ModifyParameterGroupRequest()
|
||||
: RpcServiceRequest("r-kvstore", "2015-01-01", "ModifyParameterGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyParameterGroupRequest::~ModifyParameterGroupRequest() {}
|
||||
|
||||
long ModifyParameterGroupRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getParameterGroupId() const {
|
||||
return parameterGroupId_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setParameterGroupId(const std::string ¶meterGroupId) {
|
||||
parameterGroupId_ = parameterGroupId;
|
||||
setParameter(std::string("ParameterGroupId"), parameterGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyParameterGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getCategory() const {
|
||||
return category_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setCategory(const std::string &category) {
|
||||
category_ = category;
|
||||
setParameter(std::string("Category"), category);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getParameterGroupName() const {
|
||||
return parameterGroupName_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setParameterGroupName(const std::string ¶meterGroupName) {
|
||||
parameterGroupName_ = parameterGroupName;
|
||||
setParameter(std::string("ParameterGroupName"), parameterGroupName);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getParameters() const {
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setParameters(const std::string ¶meters) {
|
||||
parameters_ = parameters;
|
||||
setParameter(std::string("Parameters"), parameters);
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupRequest::getParameterGroupDesc() const {
|
||||
return parameterGroupDesc_;
|
||||
}
|
||||
|
||||
void ModifyParameterGroupRequest::setParameterGroupDesc(const std::string ¶meterGroupDesc) {
|
||||
parameterGroupDesc_ = parameterGroupDesc;
|
||||
setParameter(std::string("ParameterGroupDesc"), parameterGroupDesc);
|
||||
}
|
||||
|
||||
51
r-kvstore/src/model/ModifyParameterGroupResult.cc
Normal file
51
r-kvstore/src/model/ModifyParameterGroupResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/r-kvstore/model/ModifyParameterGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::R_kvstore;
|
||||
using namespace AlibabaCloud::R_kvstore::Model;
|
||||
|
||||
ModifyParameterGroupResult::ModifyParameterGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyParameterGroupResult::ModifyParameterGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyParameterGroupResult::~ModifyParameterGroupResult()
|
||||
{}
|
||||
|
||||
void ModifyParameterGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ParamGroupId"].isNull())
|
||||
paramGroupId_ = value["ParamGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyParameterGroupResult::getParamGroupId()const
|
||||
{
|
||||
return paramGroupId_;
|
||||
}
|
||||
|
||||
@@ -160,6 +160,15 @@ void RenewInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
bool RenewInstanceRequest::getAutoRenew() const {
|
||||
return autoRenew_;
|
||||
}
|
||||
|
||||
void RenewInstanceRequest::setAutoRenew(bool autoRenew) {
|
||||
autoRenew_ = autoRenew;
|
||||
setParameter(std::string("AutoRenew"), autoRenew ? "true" : "false");
|
||||
}
|
||||
|
||||
bool RenewInstanceRequest::getForceUpgrade() const {
|
||||
return forceUpgrade_;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,15 @@ void ResetAccountPasswordRequest::setSecurityToken(const std::string &securityTo
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string ResetAccountPasswordRequest::getSourceBiz() const {
|
||||
return sourceBiz_;
|
||||
}
|
||||
|
||||
void ResetAccountPasswordRequest::setSourceBiz(const std::string &sourceBiz) {
|
||||
sourceBiz_ = sourceBiz;
|
||||
setParameter(std::string("SourceBiz"), sourceBiz);
|
||||
}
|
||||
|
||||
std::string ResetAccountPasswordRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user