Openapi support querydisplay.
This commit is contained in:
@@ -25,10 +25,16 @@ set(gpdb_public_header_model
|
||||
include/alibabacloud/gpdb/model/AddBuDBInstanceRelationResult.h
|
||||
include/alibabacloud/gpdb/model/AllocateInstancePublicConnectionRequest.h
|
||||
include/alibabacloud/gpdb/model/AllocateInstancePublicConnectionResult.h
|
||||
include/alibabacloud/gpdb/model/CheckServiceLinkedRoleRequest.h
|
||||
include/alibabacloud/gpdb/model/CheckServiceLinkedRoleResult.h
|
||||
include/alibabacloud/gpdb/model/CreateAccountRequest.h
|
||||
include/alibabacloud/gpdb/model/CreateAccountResult.h
|
||||
include/alibabacloud/gpdb/model/CreateDBInstanceRequest.h
|
||||
include/alibabacloud/gpdb/model/CreateDBInstanceResult.h
|
||||
include/alibabacloud/gpdb/model/CreateECSDBInstanceRequest.h
|
||||
include/alibabacloud/gpdb/model/CreateECSDBInstanceResult.h
|
||||
include/alibabacloud/gpdb/model/CreateServiceLinkedRoleRequest.h
|
||||
include/alibabacloud/gpdb/model/CreateServiceLinkedRoleResult.h
|
||||
include/alibabacloud/gpdb/model/DeleteDBInstanceRequest.h
|
||||
include/alibabacloud/gpdb/model/DeleteDBInstanceResult.h
|
||||
include/alibabacloud/gpdb/model/DeleteDatabaseRequest.h
|
||||
@@ -37,18 +43,34 @@ set(gpdb_public_header_model
|
||||
include/alibabacloud/gpdb/model/DescribeAccountsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeAvailableResourcesRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeAvailableResourcesResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeBackupPolicyRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeBackupPolicyResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBClusterPerformanceRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBClusterPerformanceResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceAttributeRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceAttributeResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceIPArrayListRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceIPArrayListResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceNetInfoRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceNetInfoResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceOnECSAttributeRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceOnECSAttributeResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstancePerformanceRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstancePerformanceResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceSQLPatternsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceSQLPatternsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceSSLRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstanceSSLResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstancesRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDBInstancesResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeDataBackupsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeDataBackupsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeLogBackupsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeLogBackupsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeModifyParameterLogRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeModifyParameterLogResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeParametersRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeParametersResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeRdsVSwitchsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeRdsVSwitchsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeRdsVpcsRequest.h
|
||||
@@ -59,20 +81,34 @@ set(gpdb_public_header_model
|
||||
include/alibabacloud/gpdb/model/DescribeResourceUsageResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLCollectorPolicyRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLCollectorPolicyResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogByQueryIdRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogByQueryIdResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogCountRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogCountResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogFilesRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogFilesResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogRecordsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogRecordsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogsOnSliceRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSQLLogsOnSliceResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSlowLogRecordsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSlowLogRecordsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSlowSQLLogsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSlowSQLLogsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeSpecificationRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeSpecificationResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeTagsRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeTagsResult.h
|
||||
include/alibabacloud/gpdb/model/DescribeUserEncryptionKeyListRequest.h
|
||||
include/alibabacloud/gpdb/model/DescribeUserEncryptionKeyListResult.h
|
||||
include/alibabacloud/gpdb/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/gpdb/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/gpdb/model/ModifyAccountDescriptionRequest.h
|
||||
include/alibabacloud/gpdb/model/ModifyAccountDescriptionResult.h
|
||||
include/alibabacloud/gpdb/model/ModifyBackupPolicyRequest.h
|
||||
include/alibabacloud/gpdb/model/ModifyBackupPolicyResult.h
|
||||
include/alibabacloud/gpdb/model/ModifyDBInstanceConnectionModeRequest.h
|
||||
include/alibabacloud/gpdb/model/ModifyDBInstanceConnectionModeResult.h
|
||||
include/alibabacloud/gpdb/model/ModifyDBInstanceConnectionStringRequest.h
|
||||
@@ -85,6 +121,8 @@ set(gpdb_public_header_model
|
||||
include/alibabacloud/gpdb/model/ModifyDBInstanceNetworkTypeResult.h
|
||||
include/alibabacloud/gpdb/model/ModifyDBInstanceSSLRequest.h
|
||||
include/alibabacloud/gpdb/model/ModifyDBInstanceSSLResult.h
|
||||
include/alibabacloud/gpdb/model/ModifyParametersRequest.h
|
||||
include/alibabacloud/gpdb/model/ModifyParametersResult.h
|
||||
include/alibabacloud/gpdb/model/ModifySQLCollectorPolicyRequest.h
|
||||
include/alibabacloud/gpdb/model/ModifySQLCollectorPolicyResult.h
|
||||
include/alibabacloud/gpdb/model/ModifySecurityIpsRequest.h
|
||||
@@ -112,10 +150,16 @@ set(gpdb_src
|
||||
src/model/AddBuDBInstanceRelationResult.cc
|
||||
src/model/AllocateInstancePublicConnectionRequest.cc
|
||||
src/model/AllocateInstancePublicConnectionResult.cc
|
||||
src/model/CheckServiceLinkedRoleRequest.cc
|
||||
src/model/CheckServiceLinkedRoleResult.cc
|
||||
src/model/CreateAccountRequest.cc
|
||||
src/model/CreateAccountResult.cc
|
||||
src/model/CreateDBInstanceRequest.cc
|
||||
src/model/CreateDBInstanceResult.cc
|
||||
src/model/CreateECSDBInstanceRequest.cc
|
||||
src/model/CreateECSDBInstanceResult.cc
|
||||
src/model/CreateServiceLinkedRoleRequest.cc
|
||||
src/model/CreateServiceLinkedRoleResult.cc
|
||||
src/model/DeleteDBInstanceRequest.cc
|
||||
src/model/DeleteDBInstanceResult.cc
|
||||
src/model/DeleteDatabaseRequest.cc
|
||||
@@ -124,18 +168,34 @@ set(gpdb_src
|
||||
src/model/DescribeAccountsResult.cc
|
||||
src/model/DescribeAvailableResourcesRequest.cc
|
||||
src/model/DescribeAvailableResourcesResult.cc
|
||||
src/model/DescribeBackupPolicyRequest.cc
|
||||
src/model/DescribeBackupPolicyResult.cc
|
||||
src/model/DescribeDBClusterPerformanceRequest.cc
|
||||
src/model/DescribeDBClusterPerformanceResult.cc
|
||||
src/model/DescribeDBInstanceAttributeRequest.cc
|
||||
src/model/DescribeDBInstanceAttributeResult.cc
|
||||
src/model/DescribeDBInstanceIPArrayListRequest.cc
|
||||
src/model/DescribeDBInstanceIPArrayListResult.cc
|
||||
src/model/DescribeDBInstanceNetInfoRequest.cc
|
||||
src/model/DescribeDBInstanceNetInfoResult.cc
|
||||
src/model/DescribeDBInstanceOnECSAttributeRequest.cc
|
||||
src/model/DescribeDBInstanceOnECSAttributeResult.cc
|
||||
src/model/DescribeDBInstancePerformanceRequest.cc
|
||||
src/model/DescribeDBInstancePerformanceResult.cc
|
||||
src/model/DescribeDBInstanceSQLPatternsRequest.cc
|
||||
src/model/DescribeDBInstanceSQLPatternsResult.cc
|
||||
src/model/DescribeDBInstanceSSLRequest.cc
|
||||
src/model/DescribeDBInstanceSSLResult.cc
|
||||
src/model/DescribeDBInstancesRequest.cc
|
||||
src/model/DescribeDBInstancesResult.cc
|
||||
src/model/DescribeDataBackupsRequest.cc
|
||||
src/model/DescribeDataBackupsResult.cc
|
||||
src/model/DescribeLogBackupsRequest.cc
|
||||
src/model/DescribeLogBackupsResult.cc
|
||||
src/model/DescribeModifyParameterLogRequest.cc
|
||||
src/model/DescribeModifyParameterLogResult.cc
|
||||
src/model/DescribeParametersRequest.cc
|
||||
src/model/DescribeParametersResult.cc
|
||||
src/model/DescribeRdsVSwitchsRequest.cc
|
||||
src/model/DescribeRdsVSwitchsResult.cc
|
||||
src/model/DescribeRdsVpcsRequest.cc
|
||||
@@ -146,20 +206,34 @@ set(gpdb_src
|
||||
src/model/DescribeResourceUsageResult.cc
|
||||
src/model/DescribeSQLCollectorPolicyRequest.cc
|
||||
src/model/DescribeSQLCollectorPolicyResult.cc
|
||||
src/model/DescribeSQLLogByQueryIdRequest.cc
|
||||
src/model/DescribeSQLLogByQueryIdResult.cc
|
||||
src/model/DescribeSQLLogCountRequest.cc
|
||||
src/model/DescribeSQLLogCountResult.cc
|
||||
src/model/DescribeSQLLogFilesRequest.cc
|
||||
src/model/DescribeSQLLogFilesResult.cc
|
||||
src/model/DescribeSQLLogRecordsRequest.cc
|
||||
src/model/DescribeSQLLogRecordsResult.cc
|
||||
src/model/DescribeSQLLogsRequest.cc
|
||||
src/model/DescribeSQLLogsResult.cc
|
||||
src/model/DescribeSQLLogsOnSliceRequest.cc
|
||||
src/model/DescribeSQLLogsOnSliceResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
src/model/DescribeSlowLogRecordsResult.cc
|
||||
src/model/DescribeSlowSQLLogsRequest.cc
|
||||
src/model/DescribeSlowSQLLogsResult.cc
|
||||
src/model/DescribeSpecificationRequest.cc
|
||||
src/model/DescribeSpecificationResult.cc
|
||||
src/model/DescribeTagsRequest.cc
|
||||
src/model/DescribeTagsResult.cc
|
||||
src/model/DescribeUserEncryptionKeyListRequest.cc
|
||||
src/model/DescribeUserEncryptionKeyListResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyAccountDescriptionRequest.cc
|
||||
src/model/ModifyAccountDescriptionResult.cc
|
||||
src/model/ModifyBackupPolicyRequest.cc
|
||||
src/model/ModifyBackupPolicyResult.cc
|
||||
src/model/ModifyDBInstanceConnectionModeRequest.cc
|
||||
src/model/ModifyDBInstanceConnectionModeResult.cc
|
||||
src/model/ModifyDBInstanceConnectionStringRequest.cc
|
||||
@@ -172,6 +246,8 @@ set(gpdb_src
|
||||
src/model/ModifyDBInstanceNetworkTypeResult.cc
|
||||
src/model/ModifyDBInstanceSSLRequest.cc
|
||||
src/model/ModifyDBInstanceSSLResult.cc
|
||||
src/model/ModifyParametersRequest.cc
|
||||
src/model/ModifyParametersResult.cc
|
||||
src/model/ModifySQLCollectorPolicyRequest.cc
|
||||
src/model/ModifySQLCollectorPolicyResult.cc
|
||||
src/model/ModifySecurityIpsRequest.cc
|
||||
|
||||
@@ -26,10 +26,16 @@
|
||||
#include "model/AddBuDBInstanceRelationResult.h"
|
||||
#include "model/AllocateInstancePublicConnectionRequest.h"
|
||||
#include "model/AllocateInstancePublicConnectionResult.h"
|
||||
#include "model/CheckServiceLinkedRoleRequest.h"
|
||||
#include "model/CheckServiceLinkedRoleResult.h"
|
||||
#include "model/CreateAccountRequest.h"
|
||||
#include "model/CreateAccountResult.h"
|
||||
#include "model/CreateDBInstanceRequest.h"
|
||||
#include "model/CreateDBInstanceResult.h"
|
||||
#include "model/CreateECSDBInstanceRequest.h"
|
||||
#include "model/CreateECSDBInstanceResult.h"
|
||||
#include "model/CreateServiceLinkedRoleRequest.h"
|
||||
#include "model/CreateServiceLinkedRoleResult.h"
|
||||
#include "model/DeleteDBInstanceRequest.h"
|
||||
#include "model/DeleteDBInstanceResult.h"
|
||||
#include "model/DeleteDatabaseRequest.h"
|
||||
@@ -38,18 +44,34 @@
|
||||
#include "model/DescribeAccountsResult.h"
|
||||
#include "model/DescribeAvailableResourcesRequest.h"
|
||||
#include "model/DescribeAvailableResourcesResult.h"
|
||||
#include "model/DescribeBackupPolicyRequest.h"
|
||||
#include "model/DescribeBackupPolicyResult.h"
|
||||
#include "model/DescribeDBClusterPerformanceRequest.h"
|
||||
#include "model/DescribeDBClusterPerformanceResult.h"
|
||||
#include "model/DescribeDBInstanceAttributeRequest.h"
|
||||
#include "model/DescribeDBInstanceAttributeResult.h"
|
||||
#include "model/DescribeDBInstanceIPArrayListRequest.h"
|
||||
#include "model/DescribeDBInstanceIPArrayListResult.h"
|
||||
#include "model/DescribeDBInstanceNetInfoRequest.h"
|
||||
#include "model/DescribeDBInstanceNetInfoResult.h"
|
||||
#include "model/DescribeDBInstanceOnECSAttributeRequest.h"
|
||||
#include "model/DescribeDBInstanceOnECSAttributeResult.h"
|
||||
#include "model/DescribeDBInstancePerformanceRequest.h"
|
||||
#include "model/DescribeDBInstancePerformanceResult.h"
|
||||
#include "model/DescribeDBInstanceSQLPatternsRequest.h"
|
||||
#include "model/DescribeDBInstanceSQLPatternsResult.h"
|
||||
#include "model/DescribeDBInstanceSSLRequest.h"
|
||||
#include "model/DescribeDBInstanceSSLResult.h"
|
||||
#include "model/DescribeDBInstancesRequest.h"
|
||||
#include "model/DescribeDBInstancesResult.h"
|
||||
#include "model/DescribeDataBackupsRequest.h"
|
||||
#include "model/DescribeDataBackupsResult.h"
|
||||
#include "model/DescribeLogBackupsRequest.h"
|
||||
#include "model/DescribeLogBackupsResult.h"
|
||||
#include "model/DescribeModifyParameterLogRequest.h"
|
||||
#include "model/DescribeModifyParameterLogResult.h"
|
||||
#include "model/DescribeParametersRequest.h"
|
||||
#include "model/DescribeParametersResult.h"
|
||||
#include "model/DescribeRdsVSwitchsRequest.h"
|
||||
#include "model/DescribeRdsVSwitchsResult.h"
|
||||
#include "model/DescribeRdsVpcsRequest.h"
|
||||
@@ -60,20 +82,34 @@
|
||||
#include "model/DescribeResourceUsageResult.h"
|
||||
#include "model/DescribeSQLCollectorPolicyRequest.h"
|
||||
#include "model/DescribeSQLCollectorPolicyResult.h"
|
||||
#include "model/DescribeSQLLogByQueryIdRequest.h"
|
||||
#include "model/DescribeSQLLogByQueryIdResult.h"
|
||||
#include "model/DescribeSQLLogCountRequest.h"
|
||||
#include "model/DescribeSQLLogCountResult.h"
|
||||
#include "model/DescribeSQLLogFilesRequest.h"
|
||||
#include "model/DescribeSQLLogFilesResult.h"
|
||||
#include "model/DescribeSQLLogRecordsRequest.h"
|
||||
#include "model/DescribeSQLLogRecordsResult.h"
|
||||
#include "model/DescribeSQLLogsRequest.h"
|
||||
#include "model/DescribeSQLLogsResult.h"
|
||||
#include "model/DescribeSQLLogsOnSliceRequest.h"
|
||||
#include "model/DescribeSQLLogsOnSliceResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
#include "model/DescribeSlowLogRecordsResult.h"
|
||||
#include "model/DescribeSlowSQLLogsRequest.h"
|
||||
#include "model/DescribeSlowSQLLogsResult.h"
|
||||
#include "model/DescribeSpecificationRequest.h"
|
||||
#include "model/DescribeSpecificationResult.h"
|
||||
#include "model/DescribeTagsRequest.h"
|
||||
#include "model/DescribeTagsResult.h"
|
||||
#include "model/DescribeUserEncryptionKeyListRequest.h"
|
||||
#include "model/DescribeUserEncryptionKeyListResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyAccountDescriptionRequest.h"
|
||||
#include "model/ModifyAccountDescriptionResult.h"
|
||||
#include "model/ModifyBackupPolicyRequest.h"
|
||||
#include "model/ModifyBackupPolicyResult.h"
|
||||
#include "model/ModifyDBInstanceConnectionModeRequest.h"
|
||||
#include "model/ModifyDBInstanceConnectionModeResult.h"
|
||||
#include "model/ModifyDBInstanceConnectionStringRequest.h"
|
||||
@@ -86,6 +122,8 @@
|
||||
#include "model/ModifyDBInstanceNetworkTypeResult.h"
|
||||
#include "model/ModifyDBInstanceSSLRequest.h"
|
||||
#include "model/ModifyDBInstanceSSLResult.h"
|
||||
#include "model/ModifyParametersRequest.h"
|
||||
#include "model/ModifyParametersResult.h"
|
||||
#include "model/ModifySQLCollectorPolicyRequest.h"
|
||||
#include "model/ModifySQLCollectorPolicyResult.h"
|
||||
#include "model/ModifySecurityIpsRequest.h"
|
||||
@@ -121,12 +159,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AllocateInstancePublicConnectionResult> AllocateInstancePublicConnectionOutcome;
|
||||
typedef std::future<AllocateInstancePublicConnectionOutcome> AllocateInstancePublicConnectionOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::AllocateInstancePublicConnectionRequest&, const AllocateInstancePublicConnectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateInstancePublicConnectionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckServiceLinkedRoleResult> CheckServiceLinkedRoleOutcome;
|
||||
typedef std::future<CheckServiceLinkedRoleOutcome> CheckServiceLinkedRoleOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::CheckServiceLinkedRoleRequest&, const CheckServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceLinkedRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAccountResult> CreateAccountOutcome;
|
||||
typedef std::future<CreateAccountOutcome> CreateAccountOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::CreateAccountRequest&, const CreateAccountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccountAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDBInstanceResult> CreateDBInstanceOutcome;
|
||||
typedef std::future<CreateDBInstanceOutcome> CreateDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::CreateDBInstanceRequest&, const CreateDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateECSDBInstanceResult> CreateECSDBInstanceOutcome;
|
||||
typedef std::future<CreateECSDBInstanceOutcome> CreateECSDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::CreateECSDBInstanceRequest&, const CreateECSDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateECSDBInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateServiceLinkedRoleResult> CreateServiceLinkedRoleOutcome;
|
||||
typedef std::future<CreateServiceLinkedRoleOutcome> CreateServiceLinkedRoleOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::CreateServiceLinkedRoleRequest&, const CreateServiceLinkedRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateServiceLinkedRoleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDBInstanceResult> DeleteDBInstanceOutcome;
|
||||
typedef std::future<DeleteDBInstanceOutcome> DeleteDBInstanceOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DeleteDBInstanceRequest&, const DeleteDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBInstanceAsyncHandler;
|
||||
@@ -139,6 +186,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAvailableResourcesResult> DescribeAvailableResourcesOutcome;
|
||||
typedef std::future<DescribeAvailableResourcesOutcome> DescribeAvailableResourcesOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeAvailableResourcesRequest&, const DescribeAvailableResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAvailableResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeBackupPolicyResult> DescribeBackupPolicyOutcome;
|
||||
typedef std::future<DescribeBackupPolicyOutcome> DescribeBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeBackupPolicyRequest&, const DescribeBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBClusterPerformanceResult> DescribeDBClusterPerformanceOutcome;
|
||||
typedef std::future<DescribeDBClusterPerformanceOutcome> DescribeDBClusterPerformanceOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBClusterPerformanceRequest&, const DescribeDBClusterPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBClusterPerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceAttributeResult> DescribeDBInstanceAttributeOutcome;
|
||||
typedef std::future<DescribeDBInstanceAttributeOutcome> DescribeDBInstanceAttributeOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstanceAttributeRequest&, const DescribeDBInstanceAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceAttributeAsyncHandler;
|
||||
@@ -148,15 +201,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceNetInfoResult> DescribeDBInstanceNetInfoOutcome;
|
||||
typedef std::future<DescribeDBInstanceNetInfoOutcome> DescribeDBInstanceNetInfoOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstanceNetInfoRequest&, const DescribeDBInstanceNetInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceNetInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceOnECSAttributeResult> DescribeDBInstanceOnECSAttributeOutcome;
|
||||
typedef std::future<DescribeDBInstanceOnECSAttributeOutcome> DescribeDBInstanceOnECSAttributeOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstanceOnECSAttributeRequest&, const DescribeDBInstanceOnECSAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceOnECSAttributeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstancePerformanceResult> DescribeDBInstancePerformanceOutcome;
|
||||
typedef std::future<DescribeDBInstancePerformanceOutcome> DescribeDBInstancePerformanceOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstancePerformanceRequest&, const DescribeDBInstancePerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstancePerformanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceSQLPatternsResult> DescribeDBInstanceSQLPatternsOutcome;
|
||||
typedef std::future<DescribeDBInstanceSQLPatternsOutcome> DescribeDBInstanceSQLPatternsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstanceSQLPatternsRequest&, const DescribeDBInstanceSQLPatternsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceSQLPatternsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstanceSSLResult> DescribeDBInstanceSSLOutcome;
|
||||
typedef std::future<DescribeDBInstanceSSLOutcome> DescribeDBInstanceSSLOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstanceSSLRequest&, const DescribeDBInstanceSSLOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstanceSSLAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDBInstancesResult> DescribeDBInstancesOutcome;
|
||||
typedef std::future<DescribeDBInstancesOutcome> DescribeDBInstancesOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDBInstancesRequest&, const DescribeDBInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDataBackupsResult> DescribeDataBackupsOutcome;
|
||||
typedef std::future<DescribeDataBackupsOutcome> DescribeDataBackupsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeDataBackupsRequest&, const DescribeDataBackupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDataBackupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLogBackupsResult> DescribeLogBackupsOutcome;
|
||||
typedef std::future<DescribeLogBackupsOutcome> DescribeLogBackupsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeLogBackupsRequest&, const DescribeLogBackupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogBackupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeModifyParameterLogResult> DescribeModifyParameterLogOutcome;
|
||||
typedef std::future<DescribeModifyParameterLogOutcome> DescribeModifyParameterLogOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeModifyParameterLogRequest&, const DescribeModifyParameterLogOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeModifyParameterLogAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParametersResult> DescribeParametersOutcome;
|
||||
typedef std::future<DescribeParametersOutcome> DescribeParametersOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeParametersRequest&, const DescribeParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParametersAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRdsVSwitchsResult> DescribeRdsVSwitchsOutcome;
|
||||
typedef std::future<DescribeRdsVSwitchsOutcome> DescribeRdsVSwitchsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeRdsVSwitchsRequest&, const DescribeRdsVSwitchsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRdsVSwitchsAsyncHandler;
|
||||
@@ -172,27 +243,48 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeSQLCollectorPolicyResult> DescribeSQLCollectorPolicyOutcome;
|
||||
typedef std::future<DescribeSQLCollectorPolicyOutcome> DescribeSQLCollectorPolicyOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLCollectorPolicyRequest&, const DescribeSQLCollectorPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLCollectorPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogByQueryIdResult> DescribeSQLLogByQueryIdOutcome;
|
||||
typedef std::future<DescribeSQLLogByQueryIdOutcome> DescribeSQLLogByQueryIdOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLLogByQueryIdRequest&, const DescribeSQLLogByQueryIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogByQueryIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogCountResult> DescribeSQLLogCountOutcome;
|
||||
typedef std::future<DescribeSQLLogCountOutcome> DescribeSQLLogCountOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLLogCountRequest&, const DescribeSQLLogCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogCountAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogFilesResult> DescribeSQLLogFilesOutcome;
|
||||
typedef std::future<DescribeSQLLogFilesOutcome> DescribeSQLLogFilesOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLLogFilesRequest&, const DescribeSQLLogFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogFilesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogRecordsResult> DescribeSQLLogRecordsOutcome;
|
||||
typedef std::future<DescribeSQLLogRecordsOutcome> DescribeSQLLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLLogRecordsRequest&, const DescribeSQLLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogsResult> DescribeSQLLogsOutcome;
|
||||
typedef std::future<DescribeSQLLogsOutcome> DescribeSQLLogsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLLogsRequest&, const DescribeSQLLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogsOnSliceResult> DescribeSQLLogsOnSliceOutcome;
|
||||
typedef std::future<DescribeSQLLogsOnSliceOutcome> DescribeSQLLogsOnSliceOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSQLLogsOnSliceRequest&, const DescribeSQLLogsOnSliceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogsOnSliceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSlowLogRecordsResult> DescribeSlowLogRecordsOutcome;
|
||||
typedef std::future<DescribeSlowLogRecordsOutcome> DescribeSlowLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSlowLogRecordsRequest&, const DescribeSlowLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSlowSQLLogsResult> DescribeSlowSQLLogsOutcome;
|
||||
typedef std::future<DescribeSlowSQLLogsOutcome> DescribeSlowSQLLogsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSlowSQLLogsRequest&, const DescribeSlowSQLLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSlowSQLLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSpecificationResult> DescribeSpecificationOutcome;
|
||||
typedef std::future<DescribeSpecificationOutcome> DescribeSpecificationOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeSpecificationRequest&, const DescribeSpecificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSpecificationAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeTagsResult> DescribeTagsOutcome;
|
||||
typedef std::future<DescribeTagsOutcome> DescribeTagsOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeTagsRequest&, const DescribeTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserEncryptionKeyListResult> DescribeUserEncryptionKeyListOutcome;
|
||||
typedef std::future<DescribeUserEncryptionKeyListOutcome> DescribeUserEncryptionKeyListOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::DescribeUserEncryptionKeyListRequest&, const DescribeUserEncryptionKeyListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserEncryptionKeyListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAccountDescriptionResult> ModifyAccountDescriptionOutcome;
|
||||
typedef std::future<ModifyAccountDescriptionOutcome> ModifyAccountDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ModifyAccountDescriptionRequest&, const ModifyAccountDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccountDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyBackupPolicyResult> ModifyBackupPolicyOutcome;
|
||||
typedef std::future<ModifyBackupPolicyOutcome> ModifyBackupPolicyOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ModifyBackupPolicyRequest&, const ModifyBackupPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceConnectionModeResult> ModifyDBInstanceConnectionModeOutcome;
|
||||
typedef std::future<ModifyDBInstanceConnectionModeOutcome> ModifyDBInstanceConnectionModeOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ModifyDBInstanceConnectionModeRequest&, const ModifyDBInstanceConnectionModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceConnectionModeAsyncHandler;
|
||||
@@ -211,6 +303,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyDBInstanceSSLResult> ModifyDBInstanceSSLOutcome;
|
||||
typedef std::future<ModifyDBInstanceSSLOutcome> ModifyDBInstanceSSLOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ModifyDBInstanceSSLRequest&, const ModifyDBInstanceSSLOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceSSLAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyParametersResult> ModifyParametersOutcome;
|
||||
typedef std::future<ModifyParametersOutcome> ModifyParametersOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ModifyParametersRequest&, const ModifyParametersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyParametersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySQLCollectorPolicyResult> ModifySQLCollectorPolicyOutcome;
|
||||
typedef std::future<ModifySQLCollectorPolicyOutcome> ModifySQLCollectorPolicyOutcomeCallable;
|
||||
typedef std::function<void(const GpdbClient*, const Model::ModifySQLCollectorPolicyRequest&, const ModifySQLCollectorPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySQLCollectorPolicyAsyncHandler;
|
||||
@@ -252,12 +347,21 @@ namespace AlibabaCloud
|
||||
AllocateInstancePublicConnectionOutcome allocateInstancePublicConnection(const Model::AllocateInstancePublicConnectionRequest &request)const;
|
||||
void allocateInstancePublicConnectionAsync(const Model::AllocateInstancePublicConnectionRequest& request, const AllocateInstancePublicConnectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateInstancePublicConnectionOutcomeCallable allocateInstancePublicConnectionCallable(const Model::AllocateInstancePublicConnectionRequest& request) const;
|
||||
CheckServiceLinkedRoleOutcome checkServiceLinkedRole(const Model::CheckServiceLinkedRoleRequest &request)const;
|
||||
void checkServiceLinkedRoleAsync(const Model::CheckServiceLinkedRoleRequest& request, const CheckServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckServiceLinkedRoleOutcomeCallable checkServiceLinkedRoleCallable(const Model::CheckServiceLinkedRoleRequest& request) const;
|
||||
CreateAccountOutcome createAccount(const Model::CreateAccountRequest &request)const;
|
||||
void createAccountAsync(const Model::CreateAccountRequest& request, const CreateAccountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAccountOutcomeCallable createAccountCallable(const Model::CreateAccountRequest& request) const;
|
||||
CreateDBInstanceOutcome createDBInstance(const Model::CreateDBInstanceRequest &request)const;
|
||||
void createDBInstanceAsync(const Model::CreateDBInstanceRequest& request, const CreateDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDBInstanceOutcomeCallable createDBInstanceCallable(const Model::CreateDBInstanceRequest& request) const;
|
||||
CreateECSDBInstanceOutcome createECSDBInstance(const Model::CreateECSDBInstanceRequest &request)const;
|
||||
void createECSDBInstanceAsync(const Model::CreateECSDBInstanceRequest& request, const CreateECSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateECSDBInstanceOutcomeCallable createECSDBInstanceCallable(const Model::CreateECSDBInstanceRequest& request) const;
|
||||
CreateServiceLinkedRoleOutcome createServiceLinkedRole(const Model::CreateServiceLinkedRoleRequest &request)const;
|
||||
void createServiceLinkedRoleAsync(const Model::CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateServiceLinkedRoleOutcomeCallable createServiceLinkedRoleCallable(const Model::CreateServiceLinkedRoleRequest& request) const;
|
||||
DeleteDBInstanceOutcome deleteDBInstance(const Model::DeleteDBInstanceRequest &request)const;
|
||||
void deleteDBInstanceAsync(const Model::DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDBInstanceOutcomeCallable deleteDBInstanceCallable(const Model::DeleteDBInstanceRequest& request) const;
|
||||
@@ -270,6 +374,12 @@ namespace AlibabaCloud
|
||||
DescribeAvailableResourcesOutcome describeAvailableResources(const Model::DescribeAvailableResourcesRequest &request)const;
|
||||
void describeAvailableResourcesAsync(const Model::DescribeAvailableResourcesRequest& request, const DescribeAvailableResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAvailableResourcesOutcomeCallable describeAvailableResourcesCallable(const Model::DescribeAvailableResourcesRequest& request) const;
|
||||
DescribeBackupPolicyOutcome describeBackupPolicy(const Model::DescribeBackupPolicyRequest &request)const;
|
||||
void describeBackupPolicyAsync(const Model::DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeBackupPolicyOutcomeCallable describeBackupPolicyCallable(const Model::DescribeBackupPolicyRequest& request) const;
|
||||
DescribeDBClusterPerformanceOutcome describeDBClusterPerformance(const Model::DescribeDBClusterPerformanceRequest &request)const;
|
||||
void describeDBClusterPerformanceAsync(const Model::DescribeDBClusterPerformanceRequest& request, const DescribeDBClusterPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBClusterPerformanceOutcomeCallable describeDBClusterPerformanceCallable(const Model::DescribeDBClusterPerformanceRequest& request) const;
|
||||
DescribeDBInstanceAttributeOutcome describeDBInstanceAttribute(const Model::DescribeDBInstanceAttributeRequest &request)const;
|
||||
void describeDBInstanceAttributeAsync(const Model::DescribeDBInstanceAttributeRequest& request, const DescribeDBInstanceAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceAttributeOutcomeCallable describeDBInstanceAttributeCallable(const Model::DescribeDBInstanceAttributeRequest& request) const;
|
||||
@@ -279,15 +389,33 @@ namespace AlibabaCloud
|
||||
DescribeDBInstanceNetInfoOutcome describeDBInstanceNetInfo(const Model::DescribeDBInstanceNetInfoRequest &request)const;
|
||||
void describeDBInstanceNetInfoAsync(const Model::DescribeDBInstanceNetInfoRequest& request, const DescribeDBInstanceNetInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceNetInfoOutcomeCallable describeDBInstanceNetInfoCallable(const Model::DescribeDBInstanceNetInfoRequest& request) const;
|
||||
DescribeDBInstanceOnECSAttributeOutcome describeDBInstanceOnECSAttribute(const Model::DescribeDBInstanceOnECSAttributeRequest &request)const;
|
||||
void describeDBInstanceOnECSAttributeAsync(const Model::DescribeDBInstanceOnECSAttributeRequest& request, const DescribeDBInstanceOnECSAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceOnECSAttributeOutcomeCallable describeDBInstanceOnECSAttributeCallable(const Model::DescribeDBInstanceOnECSAttributeRequest& request) const;
|
||||
DescribeDBInstancePerformanceOutcome describeDBInstancePerformance(const Model::DescribeDBInstancePerformanceRequest &request)const;
|
||||
void describeDBInstancePerformanceAsync(const Model::DescribeDBInstancePerformanceRequest& request, const DescribeDBInstancePerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstancePerformanceOutcomeCallable describeDBInstancePerformanceCallable(const Model::DescribeDBInstancePerformanceRequest& request) const;
|
||||
DescribeDBInstanceSQLPatternsOutcome describeDBInstanceSQLPatterns(const Model::DescribeDBInstanceSQLPatternsRequest &request)const;
|
||||
void describeDBInstanceSQLPatternsAsync(const Model::DescribeDBInstanceSQLPatternsRequest& request, const DescribeDBInstanceSQLPatternsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceSQLPatternsOutcomeCallable describeDBInstanceSQLPatternsCallable(const Model::DescribeDBInstanceSQLPatternsRequest& request) const;
|
||||
DescribeDBInstanceSSLOutcome describeDBInstanceSSL(const Model::DescribeDBInstanceSSLRequest &request)const;
|
||||
void describeDBInstanceSSLAsync(const Model::DescribeDBInstanceSSLRequest& request, const DescribeDBInstanceSSLAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstanceSSLOutcomeCallable describeDBInstanceSSLCallable(const Model::DescribeDBInstanceSSLRequest& request) const;
|
||||
DescribeDBInstancesOutcome describeDBInstances(const Model::DescribeDBInstancesRequest &request)const;
|
||||
void describeDBInstancesAsync(const Model::DescribeDBInstancesRequest& request, const DescribeDBInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDBInstancesOutcomeCallable describeDBInstancesCallable(const Model::DescribeDBInstancesRequest& request) const;
|
||||
DescribeDataBackupsOutcome describeDataBackups(const Model::DescribeDataBackupsRequest &request)const;
|
||||
void describeDataBackupsAsync(const Model::DescribeDataBackupsRequest& request, const DescribeDataBackupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDataBackupsOutcomeCallable describeDataBackupsCallable(const Model::DescribeDataBackupsRequest& request) const;
|
||||
DescribeLogBackupsOutcome describeLogBackups(const Model::DescribeLogBackupsRequest &request)const;
|
||||
void describeLogBackupsAsync(const Model::DescribeLogBackupsRequest& request, const DescribeLogBackupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLogBackupsOutcomeCallable describeLogBackupsCallable(const Model::DescribeLogBackupsRequest& request) const;
|
||||
DescribeModifyParameterLogOutcome describeModifyParameterLog(const Model::DescribeModifyParameterLogRequest &request)const;
|
||||
void describeModifyParameterLogAsync(const Model::DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeModifyParameterLogOutcomeCallable describeModifyParameterLogCallable(const Model::DescribeModifyParameterLogRequest& request) const;
|
||||
DescribeParametersOutcome describeParameters(const Model::DescribeParametersRequest &request)const;
|
||||
void describeParametersAsync(const Model::DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParametersOutcomeCallable describeParametersCallable(const Model::DescribeParametersRequest& request) const;
|
||||
DescribeRdsVSwitchsOutcome describeRdsVSwitchs(const Model::DescribeRdsVSwitchsRequest &request)const;
|
||||
void describeRdsVSwitchsAsync(const Model::DescribeRdsVSwitchsRequest& request, const DescribeRdsVSwitchsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRdsVSwitchsOutcomeCallable describeRdsVSwitchsCallable(const Model::DescribeRdsVSwitchsRequest& request) const;
|
||||
@@ -303,27 +431,48 @@ namespace AlibabaCloud
|
||||
DescribeSQLCollectorPolicyOutcome describeSQLCollectorPolicy(const Model::DescribeSQLCollectorPolicyRequest &request)const;
|
||||
void describeSQLCollectorPolicyAsync(const Model::DescribeSQLCollectorPolicyRequest& request, const DescribeSQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLCollectorPolicyOutcomeCallable describeSQLCollectorPolicyCallable(const Model::DescribeSQLCollectorPolicyRequest& request) const;
|
||||
DescribeSQLLogByQueryIdOutcome describeSQLLogByQueryId(const Model::DescribeSQLLogByQueryIdRequest &request)const;
|
||||
void describeSQLLogByQueryIdAsync(const Model::DescribeSQLLogByQueryIdRequest& request, const DescribeSQLLogByQueryIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogByQueryIdOutcomeCallable describeSQLLogByQueryIdCallable(const Model::DescribeSQLLogByQueryIdRequest& request) const;
|
||||
DescribeSQLLogCountOutcome describeSQLLogCount(const Model::DescribeSQLLogCountRequest &request)const;
|
||||
void describeSQLLogCountAsync(const Model::DescribeSQLLogCountRequest& request, const DescribeSQLLogCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogCountOutcomeCallable describeSQLLogCountCallable(const Model::DescribeSQLLogCountRequest& request) const;
|
||||
DescribeSQLLogFilesOutcome describeSQLLogFiles(const Model::DescribeSQLLogFilesRequest &request)const;
|
||||
void describeSQLLogFilesAsync(const Model::DescribeSQLLogFilesRequest& request, const DescribeSQLLogFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogFilesOutcomeCallable describeSQLLogFilesCallable(const Model::DescribeSQLLogFilesRequest& request) const;
|
||||
DescribeSQLLogRecordsOutcome describeSQLLogRecords(const Model::DescribeSQLLogRecordsRequest &request)const;
|
||||
void describeSQLLogRecordsAsync(const Model::DescribeSQLLogRecordsRequest& request, const DescribeSQLLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogRecordsOutcomeCallable describeSQLLogRecordsCallable(const Model::DescribeSQLLogRecordsRequest& request) const;
|
||||
DescribeSQLLogsOutcome describeSQLLogs(const Model::DescribeSQLLogsRequest &request)const;
|
||||
void describeSQLLogsAsync(const Model::DescribeSQLLogsRequest& request, const DescribeSQLLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogsOutcomeCallable describeSQLLogsCallable(const Model::DescribeSQLLogsRequest& request) const;
|
||||
DescribeSQLLogsOnSliceOutcome describeSQLLogsOnSlice(const Model::DescribeSQLLogsOnSliceRequest &request)const;
|
||||
void describeSQLLogsOnSliceAsync(const Model::DescribeSQLLogsOnSliceRequest& request, const DescribeSQLLogsOnSliceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogsOnSliceOutcomeCallable describeSQLLogsOnSliceCallable(const Model::DescribeSQLLogsOnSliceRequest& request) const;
|
||||
DescribeSlowLogRecordsOutcome describeSlowLogRecords(const Model::DescribeSlowLogRecordsRequest &request)const;
|
||||
void describeSlowLogRecordsAsync(const Model::DescribeSlowLogRecordsRequest& request, const DescribeSlowLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowLogRecordsOutcomeCallable describeSlowLogRecordsCallable(const Model::DescribeSlowLogRecordsRequest& request) const;
|
||||
DescribeSlowSQLLogsOutcome describeSlowSQLLogs(const Model::DescribeSlowSQLLogsRequest &request)const;
|
||||
void describeSlowSQLLogsAsync(const Model::DescribeSlowSQLLogsRequest& request, const DescribeSlowSQLLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSlowSQLLogsOutcomeCallable describeSlowSQLLogsCallable(const Model::DescribeSlowSQLLogsRequest& request) const;
|
||||
DescribeSpecificationOutcome describeSpecification(const Model::DescribeSpecificationRequest &request)const;
|
||||
void describeSpecificationAsync(const Model::DescribeSpecificationRequest& request, const DescribeSpecificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSpecificationOutcomeCallable describeSpecificationCallable(const Model::DescribeSpecificationRequest& request) const;
|
||||
DescribeTagsOutcome describeTags(const Model::DescribeTagsRequest &request)const;
|
||||
void describeTagsAsync(const Model::DescribeTagsRequest& request, const DescribeTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeTagsOutcomeCallable describeTagsCallable(const Model::DescribeTagsRequest& request) const;
|
||||
DescribeUserEncryptionKeyListOutcome describeUserEncryptionKeyList(const Model::DescribeUserEncryptionKeyListRequest &request)const;
|
||||
void describeUserEncryptionKeyListAsync(const Model::DescribeUserEncryptionKeyListRequest& request, const DescribeUserEncryptionKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserEncryptionKeyListOutcomeCallable describeUserEncryptionKeyListCallable(const Model::DescribeUserEncryptionKeyListRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ModifyAccountDescriptionOutcome modifyAccountDescription(const Model::ModifyAccountDescriptionRequest &request)const;
|
||||
void modifyAccountDescriptionAsync(const Model::ModifyAccountDescriptionRequest& request, const ModifyAccountDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccountDescriptionOutcomeCallable modifyAccountDescriptionCallable(const Model::ModifyAccountDescriptionRequest& 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;
|
||||
ModifyDBInstanceConnectionModeOutcome modifyDBInstanceConnectionMode(const Model::ModifyDBInstanceConnectionModeRequest &request)const;
|
||||
void modifyDBInstanceConnectionModeAsync(const Model::ModifyDBInstanceConnectionModeRequest& request, const ModifyDBInstanceConnectionModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceConnectionModeOutcomeCallable modifyDBInstanceConnectionModeCallable(const Model::ModifyDBInstanceConnectionModeRequest& request) const;
|
||||
@@ -342,6 +491,9 @@ namespace AlibabaCloud
|
||||
ModifyDBInstanceSSLOutcome modifyDBInstanceSSL(const Model::ModifyDBInstanceSSLRequest &request)const;
|
||||
void modifyDBInstanceSSLAsync(const Model::ModifyDBInstanceSSLRequest& request, const ModifyDBInstanceSSLAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDBInstanceSSLOutcomeCallable modifyDBInstanceSSLCallable(const Model::ModifyDBInstanceSSLRequest& request) const;
|
||||
ModifyParametersOutcome modifyParameters(const Model::ModifyParametersRequest &request)const;
|
||||
void modifyParametersAsync(const Model::ModifyParametersRequest& request, const ModifyParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyParametersOutcomeCallable modifyParametersCallable(const Model::ModifyParametersRequest& request) const;
|
||||
ModifySQLCollectorPolicyOutcome modifySQLCollectorPolicy(const Model::ModifySQLCollectorPolicyRequest &request)const;
|
||||
void modifySQLCollectorPolicyAsync(const Model::ModifySQLCollectorPolicyRequest& request, const ModifySQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySQLCollectorPolicyOutcomeCallable modifySQLCollectorPolicyCallable(const Model::ModifySQLCollectorPolicyRequest& request) const;
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT AddBuDBInstanceRelationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddBuDBInstanceRelationRequest();
|
||||
~AddBuDBInstanceRelationRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getBusinessUnit()const;
|
||||
void setBusinessUnit(const std::string& businessUnit);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string businessUnit_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT AddBuDBInstanceRelationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddBuDBInstanceRelationRequest();
|
||||
~AddBuDBInstanceRelationRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getBusinessUnit() const;
|
||||
void setBusinessUnit(const std::string &businessUnit);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string businessUnit_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_ADDBUDBINSTANCERELATIONREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_GPDB_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AllocateInstancePublicConnectionRequest();
|
||||
~AllocateInstancePublicConnectionRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getConnectionStringPrefix()const;
|
||||
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPort()const;
|
||||
void setPort(const std::string& port);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string port_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT AllocateInstancePublicConnectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AllocateInstancePublicConnectionRequest();
|
||||
~AllocateInstancePublicConnectionRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getConnectionStringPrefix() const;
|
||||
void setConnectionStringPrefix(const std::string &connectionStringPrefix);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAddressType() const;
|
||||
void setAddressType(const std::string &addressType);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPort() const;
|
||||
void setPort(const std::string &port);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string addressType_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string port_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_ALLOCATEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CHECKSERVICELINKEDROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CHECKSERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT CheckServiceLinkedRoleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CheckServiceLinkedRoleRequest();
|
||||
~CheckServiceLinkedRoleRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CHECKSERVICELINKEDROLEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CHECKSERVICELINKEDROLERESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CHECKSERVICELINKEDROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT CheckServiceLinkedRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CheckServiceLinkedRoleResult();
|
||||
explicit CheckServiceLinkedRoleResult(const std::string &payload);
|
||||
~CheckServiceLinkedRoleResult();
|
||||
std::string getHasServiceLinkedRole()const;
|
||||
std::string getRegionId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string hasServiceLinkedRole_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CHECKSERVICELINKEDROLERESULT_H_
|
||||
@@ -1,66 +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_GPDB_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAccountRequest();
|
||||
~CreateAccountRequest();
|
||||
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
std::string getDatabaseName()const;
|
||||
void setDatabaseName(const std::string& databaseName);
|
||||
|
||||
private:
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
std::string databaseName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateAccountRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateAccountRequest();
|
||||
~CreateAccountRequest();
|
||||
std::string getAccountDescription() const;
|
||||
void setAccountDescription(const std::string &accountDescription);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAccountName() const;
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccountPassword() const;
|
||||
void setAccountPassword(const std::string &accountPassword);
|
||||
std::string getDatabaseName() const;
|
||||
void setDatabaseName(const std::string &databaseName);
|
||||
|
||||
private:
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
std::string accountPassword_;
|
||||
std::string databaseName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATEACCOUNTREQUEST_H_
|
||||
|
||||
@@ -1,99 +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_GPDB_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateDBInstanceRequest();
|
||||
~CreateDBInstanceRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getEngineVersion()const;
|
||||
void setEngineVersion(const std::string& engineVersion);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getEngine()const;
|
||||
void setEngine(const std::string& engine);
|
||||
std::string getDBInstanceDescription()const;
|
||||
void setDBInstanceDescription(const std::string& dBInstanceDescription);
|
||||
std::string getDBInstanceGroupCount()const;
|
||||
void setDBInstanceGroupCount(const std::string& dBInstanceGroupCount);
|
||||
std::string getPeriod()const;
|
||||
void setPeriod(const std::string& period);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUsedTime()const;
|
||||
void setUsedTime(const std::string& usedTime);
|
||||
std::string getDBInstanceClass()const;
|
||||
void setDBInstanceClass(const std::string& dBInstanceClass);
|
||||
std::string getSecurityIPList()const;
|
||||
void setSecurityIPList(const std::string& securityIPList);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getPrivateIpAddress()const;
|
||||
void setPrivateIpAddress(const std::string& privateIpAddress);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string engineVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::string dBInstanceGroupCount_;
|
||||
std::string period_;
|
||||
long ownerId_;
|
||||
std::string usedTime_;
|
||||
std::string dBInstanceClass_;
|
||||
std::string securityIPList_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string payType_;
|
||||
std::string instanceNetworkType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateDBInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateDBInstanceRequest();
|
||||
~CreateDBInstanceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getEngineVersion() const;
|
||||
void setEngineVersion(const std::string &engineVersion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEngine() const;
|
||||
void setEngine(const std::string &engine);
|
||||
std::string getDBInstanceDescription() const;
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
std::string getDBInstanceGroupCount() const;
|
||||
void setDBInstanceGroupCount(const std::string &dBInstanceGroupCount);
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getUsedTime() const;
|
||||
void setUsedTime(const std::string &usedTime);
|
||||
std::string getDBInstanceClass() const;
|
||||
void setDBInstanceClass(const std::string &dBInstanceClass);
|
||||
std::string getSecurityIPList() const;
|
||||
void setSecurityIPList(const std::string &securityIPList);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::string &privateIpAddress);
|
||||
std::string getVPCId() const;
|
||||
void setVPCId(const std::string &vPCId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
std::string getInstanceNetworkType() const;
|
||||
void setInstanceNetworkType(const std::string &instanceNetworkType);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string engineVersion_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::string dBInstanceGroupCount_;
|
||||
std::string period_;
|
||||
long ownerId_;
|
||||
std::string usedTime_;
|
||||
std::string dBInstanceClass_;
|
||||
std::string securityIPList_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string vPCId_;
|
||||
std::string zoneId_;
|
||||
std::string payType_;
|
||||
std::string instanceNetworkType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATEDBINSTANCEREQUEST_H_
|
||||
|
||||
@@ -39,16 +39,16 @@ namespace AlibabaCloud
|
||||
~CreateDBInstanceResult();
|
||||
std::string getDBInstanceId()const;
|
||||
std::string getPort()const;
|
||||
std::string getOrderId()const;
|
||||
std::string getConnectionString()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBInstanceId_;
|
||||
std::string port_;
|
||||
std::string orderId_;
|
||||
std::string connectionString_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CREATEECSDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATEECSDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateECSDBInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateECSDBInstanceRequest();
|
||||
~CreateECSDBInstanceRequest();
|
||||
std::string getEngineVersion() const;
|
||||
void setEngineVersion(const std::string &engineVersion);
|
||||
std::string getDBInstanceCategory() const;
|
||||
void setDBInstanceCategory(const std::string &dBInstanceCategory);
|
||||
std::string getEncryptionType() const;
|
||||
void setEncryptionType(const std::string &encryptionType);
|
||||
std::string getDBInstanceDescription() const;
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
std::string getPeriod() const;
|
||||
void setPeriod(const std::string &period);
|
||||
std::string getBackupId() const;
|
||||
void setBackupId(const std::string &backupId);
|
||||
std::string getEncryptionKey() const;
|
||||
void setEncryptionKey(const std::string &encryptionKey);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityIPList() const;
|
||||
void setSecurityIPList(const std::string &securityIPList);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::string &privateIpAddress);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getInstanceNetworkType() const;
|
||||
void setInstanceNetworkType(const std::string &instanceNetworkType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getInstanceSpec() const;
|
||||
void setInstanceSpec(const std::string &instanceSpec);
|
||||
int getStorageSize() const;
|
||||
void setStorageSize(int storageSize);
|
||||
std::string getSegStorageType() const;
|
||||
void setSegStorageType(const std::string &segStorageType);
|
||||
int getMasterNodeNum() const;
|
||||
void setMasterNodeNum(int masterNodeNum);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getSegNodeNum() const;
|
||||
void setSegNodeNum(int segNodeNum);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEngine() const;
|
||||
void setEngine(const std::string &engine);
|
||||
std::string getUsedTime() const;
|
||||
void setUsedTime(const std::string &usedTime);
|
||||
std::string getVPCId() const;
|
||||
void setVPCId(const std::string &vPCId);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
std::string getSrcDbInstanceName() const;
|
||||
void setSrcDbInstanceName(const std::string &srcDbInstanceName);
|
||||
|
||||
private:
|
||||
std::string engineVersion_;
|
||||
std::string dBInstanceCategory_;
|
||||
std::string encryptionType_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::string period_;
|
||||
std::string backupId_;
|
||||
std::string encryptionKey_;
|
||||
long ownerId_;
|
||||
std::string securityIPList_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string zoneId_;
|
||||
std::string instanceNetworkType_;
|
||||
std::string clientToken_;
|
||||
std::string instanceSpec_;
|
||||
int storageSize_;
|
||||
std::string segStorageType_;
|
||||
int masterNodeNum_;
|
||||
std::string accessKeyId_;
|
||||
int segNodeNum_;
|
||||
std::string regionId_;
|
||||
std::string engine_;
|
||||
std::string usedTime_;
|
||||
std::string vPCId_;
|
||||
std::string payType_;
|
||||
std::string srcDbInstanceName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATEECSDBINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CREATEECSDBINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATEECSDBINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateECSDBInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateECSDBInstanceResult();
|
||||
explicit CreateECSDBInstanceResult(const std::string &payload);
|
||||
~CreateECSDBInstanceResult();
|
||||
std::string getDBInstanceId()const;
|
||||
std::string getPort()const;
|
||||
std::string getConnectionString()const;
|
||||
std::string getOrderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string dBInstanceId_;
|
||||
std::string port_;
|
||||
std::string connectionString_;
|
||||
std::string orderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATEECSDBINSTANCERESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_CREATESERVICELINKEDROLEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATESERVICELINKEDROLEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateServiceLinkedRoleRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateServiceLinkedRoleRequest();
|
||||
~CreateServiceLinkedRoleRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATESERVICELINKEDROLEREQUEST_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_GPDB_MODEL_CREATESERVICELINKEDROLERESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_CREATESERVICELINKEDROLERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT CreateServiceLinkedRoleResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateServiceLinkedRoleResult();
|
||||
explicit CreateServiceLinkedRoleResult(const std::string &payload);
|
||||
~CreateServiceLinkedRoleResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_CREATESERVICELINKEDROLERESULT_H_
|
||||
@@ -1,57 +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_GPDB_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DeleteDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDBInstanceRequest();
|
||||
~DeleteDBInstanceRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DeleteDBInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDBInstanceRequest();
|
||||
~DeleteDBInstanceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DELETEDBINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DELETEDATABASEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DELETEDATABASEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DeleteDatabaseRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteDatabaseRequest();
|
||||
~DeleteDatabaseRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DELETEDATABASEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DELETEDATABASEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DELETEDATABASEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DeleteDatabaseRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteDatabaseRequest();
|
||||
~DeleteDatabaseRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getDBName() const;
|
||||
void setDBName(const std::string &dBName);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DELETEDATABASEREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeAccountsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAccountsRequest();
|
||||
~DescribeAccountsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeAccountsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAccountsRequest();
|
||||
~DescribeAccountsRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAccountName() const;
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEACCOUNTSREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_DESCRIBEAVAILABLERESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEAVAILABLERESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeAvailableResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAvailableResourcesRequest();
|
||||
~DescribeAvailableResourcesRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getChargeType()const;
|
||||
void setChargeType(const std::string& chargeType);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string zoneId_;
|
||||
std::string chargeType_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEAVAILABLERESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEAVAILABLERESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEAVAILABLERESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeAvailableResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAvailableResourcesRequest();
|
||||
~DescribeAvailableResourcesRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getChargeType() const;
|
||||
void setChargeType(const std::string &chargeType);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string zoneId_;
|
||||
std::string chargeType_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEAVAILABLERESOURCESREQUEST_H_
|
||||
|
||||
@@ -38,12 +38,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct SupportedInstanceClass
|
||||
{
|
||||
struct NodeCount
|
||||
{
|
||||
std::string step;
|
||||
std::string maxCount;
|
||||
std::string minCount;
|
||||
};
|
||||
struct StorageSize
|
||||
{
|
||||
std::string step;
|
||||
std::string maxCount;
|
||||
std::string minCount;
|
||||
};
|
||||
std::string displayClass;
|
||||
std::string description;
|
||||
std::vector<std::string> nodeCount;
|
||||
std::string storageType;
|
||||
NodeCount nodeCount;
|
||||
StorageSize storageSize;
|
||||
std::string instanceClass;
|
||||
};
|
||||
std::vector<SupportedEngine::SupportedInstanceClass> supportedInstanceClasses;
|
||||
std::string mode;
|
||||
std::string supportedEngineVersion;
|
||||
};
|
||||
std::string zoneId;
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeBackupPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeBackupPolicyRequest();
|
||||
~DescribeBackupPolicyRequest();
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEBACKUPPOLICYREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeBackupPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeBackupPolicyResult();
|
||||
explicit DescribeBackupPolicyResult(const std::string &payload);
|
||||
~DescribeBackupPolicyResult();
|
||||
std::string getPreferredBackupPeriod()const;
|
||||
std::string getPreferredBackupTime()const;
|
||||
int getBackupRetentionPeriod()const;
|
||||
bool getEnableRecoveryPoint()const;
|
||||
std::string getRecoveryPointPeriod()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string preferredBackupPeriod_;
|
||||
std::string preferredBackupTime_;
|
||||
int backupRetentionPeriod_;
|
||||
bool enableRecoveryPoint_;
|
||||
std::string recoveryPointPeriod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEBACKUPPOLICYRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBCLUSTERPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBCLUSTERPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBClusterPerformanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBClusterPerformanceRequest();
|
||||
~DescribeDBClusterPerformanceRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getKey() const;
|
||||
void setKey(const std::string &key);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string key_;
|
||||
std::string endTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBCLUSTERPERFORMANCEREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBCLUSTERPERFORMANCERESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBCLUSTERPERFORMANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBClusterPerformanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PerformanceKey
|
||||
{
|
||||
struct SeriesItem
|
||||
{
|
||||
struct ValueItem
|
||||
{
|
||||
std::vector<std::string> point;
|
||||
};
|
||||
std::string role;
|
||||
std::vector<SeriesItem::ValueItem> values;
|
||||
std::string name;
|
||||
};
|
||||
std::vector<PerformanceKey::SeriesItem> series;
|
||||
std::string unit;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterPerformanceResult();
|
||||
explicit DescribeDBClusterPerformanceResult(const std::string &payload);
|
||||
~DescribeDBClusterPerformanceResult();
|
||||
std::vector<PerformanceKey> getPerformanceKeys()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDBClusterId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PerformanceKey> performanceKeys_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string dBClusterId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBCLUSTERPERFORMANCERESULT_H_
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceAttributeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceAttributeRequest();
|
||||
~DescribeDBInstanceAttributeRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceAttributeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstanceAttributeRequest();
|
||||
~DescribeDBInstanceAttributeRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEATTRIBUTEREQUEST_H_
|
||||
|
||||
@@ -39,46 +39,58 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
int masterNodeNum;
|
||||
long dBInstanceMemory;
|
||||
int cpuCoresPerNode;
|
||||
std::string dBInstanceNetType;
|
||||
std::string port;
|
||||
int segNodeNum;
|
||||
int memoryPerNode;
|
||||
std::string dBInstanceGroupCount;
|
||||
std::string instanceNetworkType;
|
||||
std::string dBInstanceClassType;
|
||||
std::string hostType;
|
||||
std::string maintainEndTime;
|
||||
std::string dBInstanceCategory;
|
||||
std::string dBInstanceId;
|
||||
std::string securityIPList;
|
||||
long dBInstanceStorage;
|
||||
std::string lockReason;
|
||||
std::string availabilityValue;
|
||||
std::vector<DBInstanceAttribute::Tag> tags;
|
||||
std::string engine;
|
||||
std::string dBInstanceDescription;
|
||||
std::string maintainStartTime;
|
||||
std::string engine;
|
||||
int segmentCounts;
|
||||
std::string memoryUnit;
|
||||
std::string encryptionType;
|
||||
long dBInstanceDiskMBPS;
|
||||
std::string engineVersion;
|
||||
std::string storageType;
|
||||
std::string engineVersion;
|
||||
std::string dBInstanceStatus;
|
||||
int maxConnections;
|
||||
std::string zoneId;
|
||||
std::string dBInstanceClass;
|
||||
int dBInstanceCpuCores;
|
||||
std::string storageUnit;
|
||||
std::string dBInstanceClass;
|
||||
std::string vSwitchId;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string vpcId;
|
||||
int storagePerNode;
|
||||
std::string readDelayTime;
|
||||
std::string creationTime;
|
||||
std::string readDelayTime;
|
||||
std::string connectionMode;
|
||||
std::string regionId;
|
||||
int cpuCores;
|
||||
std::string connectionString;
|
||||
std::string expireTime;
|
||||
std::string dBInstanceNetType;
|
||||
std::string encryptionKey;
|
||||
bool supportRestore;
|
||||
std::string hostType;
|
||||
std::string maintainEndTime;
|
||||
std::string securityIPList;
|
||||
std::string maintainStartTime;
|
||||
std::string memoryUnit;
|
||||
long memorySize;
|
||||
std::string zoneId;
|
||||
std::string storageUnit;
|
||||
long storageSize;
|
||||
std::string minorVersion;
|
||||
int storagePerNode;
|
||||
std::string dBInstanceMode;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceIPArrayListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceIPArrayListRequest();
|
||||
~DescribeDBInstanceIPArrayListRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceIPArrayListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstanceIPArrayListRequest();
|
||||
~DescribeDBInstanceIPArrayListRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEIPARRAYLISTREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceNetInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceNetInfoRequest();
|
||||
~DescribeDBInstanceNetInfoRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceNetInfoRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstanceNetInfoRequest();
|
||||
~DescribeDBInstanceNetInfoRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCENETINFOREQUEST_H_
|
||||
|
||||
@@ -36,10 +36,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string iPType;
|
||||
std::string vPCId;
|
||||
std::string port;
|
||||
std::string vSwitchId;
|
||||
std::string port;
|
||||
std::string vpcInstanceId;
|
||||
std::string connectionString;
|
||||
std::string iPAddress;
|
||||
std::string addressType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEONECSATTRIBUTEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEONECSATTRIBUTEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceOnECSAttributeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstanceOnECSAttributeRequest();
|
||||
~DescribeDBInstanceOnECSAttributeRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEONECSATTRIBUTEREQUEST_H_
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEONECSATTRIBUTERESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEONECSATTRIBUTERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceOnECSAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DBInstanceAttribute
|
||||
{
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
int masterNodeNum;
|
||||
std::string port;
|
||||
int segNodeNum;
|
||||
std::string encryptionKey;
|
||||
std::string instanceNetworkType;
|
||||
bool supportRestore;
|
||||
std::string dBInstanceCategory;
|
||||
std::string dBInstanceId;
|
||||
std::vector<DBInstanceAttribute::Tag> tags;
|
||||
std::string dBInstanceDescription;
|
||||
std::string engine;
|
||||
std::string encryptionType;
|
||||
int memorySize;
|
||||
std::string storageType;
|
||||
std::string engineVersion;
|
||||
std::string dBInstanceStatus;
|
||||
std::string zoneId;
|
||||
std::string dBInstanceClass;
|
||||
std::string vSwitchId;
|
||||
int storageSize;
|
||||
std::string minorVersion;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string vpcId;
|
||||
std::string creationTime;
|
||||
std::string instanceDeployType;
|
||||
std::string connectionMode;
|
||||
int cpuCores;
|
||||
std::string regionId;
|
||||
std::string connectionString;
|
||||
std::string expireTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstanceOnECSAttributeResult();
|
||||
explicit DescribeDBInstanceOnECSAttributeResult(const std::string &payload);
|
||||
~DescribeDBInstanceOnECSAttributeResult();
|
||||
std::vector<DBInstanceAttribute> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DBInstanceAttribute> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEONECSATTRIBUTERESULT_H_
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstancePerformanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstancePerformanceRequest();
|
||||
~DescribeDBInstancePerformanceRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getKey()const;
|
||||
void setKey(const std::string& key);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string key_;
|
||||
std::string endTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstancePerformanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstancePerformanceRequest();
|
||||
~DescribeDBInstancePerformanceRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getKey() const;
|
||||
void setKey(const std::string &key);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string key_;
|
||||
std::string endTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCEPERFORMANCEREQUEST_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_GPDB_MODEL_DESCRIBEDBINSTANCESQLPATTERNSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESQLPATTERNSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceSQLPatternsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstanceSQLPatternsRequest();
|
||||
~DescribeDBInstanceSQLPatternsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getQueryKeywords() const;
|
||||
void setQueryKeywords(const std::string &queryKeywords);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDatabase() const;
|
||||
void setDatabase(const std::string &database);
|
||||
std::string getSourceIP() const;
|
||||
void setSourceIP(const std::string &sourceIP);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getUser() const;
|
||||
void setUser(const std::string &user);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string queryKeywords_;
|
||||
std::string accessKeyId_;
|
||||
std::string database_;
|
||||
std::string sourceIP_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
std::string user_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESQLPATTERNSREQUEST_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_GPDB_MODEL_DESCRIBEDBINSTANCESQLPATTERNSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESQLPATTERNSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceSQLPatternsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Pattern
|
||||
{
|
||||
std::string values;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBInstanceSQLPatternsResult();
|
||||
explicit DescribeDBInstanceSQLPatternsResult(const std::string &payload);
|
||||
~DescribeDBInstanceSQLPatternsResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<Pattern> getPatterns()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string dBClusterId_;
|
||||
std::vector<Pattern> patterns_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESQLPATTERNSRESULT_H_
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceSSLRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDBInstanceSSLRequest();
|
||||
~DescribeDBInstanceSSLRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstanceSSLRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDBInstanceSSLRequest();
|
||||
~DescribeDBInstanceSSLRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESSLREQUEST_H_
|
||||
|
||||
@@ -1,78 +1,82 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstancesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeDBInstancesRequest();
|
||||
~DescribeDBInstancesRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceDescription()const;
|
||||
void setDBInstanceDescription(const std::string& dBInstanceDescription);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getDBInstanceIds()const;
|
||||
void setDBInstanceIds(const std::string& dBInstanceIds);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string dBInstanceIds_;
|
||||
long ownerId_;
|
||||
std::string instanceNetworkType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDBInstancesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
DescribeDBInstancesRequest();
|
||||
~DescribeDBInstancesRequest();
|
||||
std::vector<std::string> getDBInstanceModes() const;
|
||||
void setDBInstanceModes(const std::vector<std::string> &dBInstanceModes);
|
||||
std::vector<std::string> getDBInstanceStatuses() const;
|
||||
void setDBInstanceStatuses(const std::vector<std::string> &dBInstanceStatuses);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceDescription() const;
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getDBInstanceIds() const;
|
||||
void setDBInstanceIds(const std::string &dBInstanceIds);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::vector<std::string> getDBInstanceCategories() const;
|
||||
void setDBInstanceCategories(const std::vector<std::string> &dBInstanceCategories);
|
||||
std::vector<std::string> getInstanceDeployTypes() const;
|
||||
void setInstanceDeployTypes(const std::vector<std::string> &instanceDeployTypes);
|
||||
std::string getInstanceNetworkType() const;
|
||||
void setInstanceNetworkType(const std::string &instanceNetworkType);
|
||||
|
||||
private:
|
||||
std::vector<std::string> dBInstanceModes_;
|
||||
std::vector<std::string> dBInstanceStatuses_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceDescription_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string dBInstanceIds_;
|
||||
long ownerId_;
|
||||
std::vector<std::string> dBInstanceCategories_;
|
||||
std::vector<std::string> instanceDeployTypes_;
|
||||
std::string instanceNetworkType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDBINSTANCESREQUEST_H_
|
||||
|
||||
@@ -39,24 +39,31 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string engineVersion;
|
||||
std::string zoneId;
|
||||
std::string dBInstanceStatus;
|
||||
int masterNodeNum;
|
||||
std::string dBInstanceNetType;
|
||||
std::string segNodeNum;
|
||||
std::string instanceNetworkType;
|
||||
std::string dBInstanceCategory;
|
||||
std::string dBInstanceId;
|
||||
std::string lockReason;
|
||||
std::vector<DBInstance::Tag> tags;
|
||||
std::string engine;
|
||||
std::string dBInstanceDescription;
|
||||
std::string storageType;
|
||||
std::string engineVersion;
|
||||
std::string dBInstanceStatus;
|
||||
std::string zoneId;
|
||||
std::string createTime;
|
||||
std::string vSwitchId;
|
||||
std::string storageSize;
|
||||
std::string payType;
|
||||
std::string lockMode;
|
||||
std::string instanceNetworkType;
|
||||
std::string vpcId;
|
||||
std::string dBInstanceId;
|
||||
std::string dBInstanceMode;
|
||||
std::string instanceDeployType;
|
||||
std::string connectionMode;
|
||||
std::string regionId;
|
||||
std::string expireTime;
|
||||
std::string lockReason;
|
||||
std::vector<DBInstance::Tag> tags;
|
||||
std::string dBInstanceDescription;
|
||||
std::string engine;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_GPDB_MODEL_DESCRIBEDATABACKUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDATABACKUPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDataBackupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeDataBackupsRequest();
|
||||
~DescribeDataBackupsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getDataType() const;
|
||||
void setDataType(const std::string &dataType);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getBackupId() const;
|
||||
void setBackupId(const std::string &backupId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getBackupStatus() const;
|
||||
void setBackupStatus(const std::string &backupStatus);
|
||||
std::string getBackupMode() const;
|
||||
void setBackupMode(const std::string &backupMode);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string dataType_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string backupId_;
|
||||
std::string endTime_;
|
||||
std::string backupStatus_;
|
||||
std::string backupMode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDATABACKUPSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEDATABACKUPSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEDATABACKUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeDataBackupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Backup
|
||||
{
|
||||
std::string backupEndTimeLocal;
|
||||
std::string dBInstanceId;
|
||||
std::string backupEndTime;
|
||||
long backupSize;
|
||||
std::string backupMode;
|
||||
long consistentTime;
|
||||
std::string backupStartTime;
|
||||
std::string dataType;
|
||||
std::string baksetName;
|
||||
std::string backupStartTimeLocal;
|
||||
std::string backupSetId;
|
||||
std::string backupStatus;
|
||||
};
|
||||
|
||||
|
||||
DescribeDataBackupsResult();
|
||||
explicit DescribeDataBackupsResult(const std::string &payload);
|
||||
~DescribeDataBackupsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Backup> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Backup> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEDATABACKUPSRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBELOGBACKUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBELOGBACKUPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeLogBackupsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeLogBackupsRequest();
|
||||
~DescribeLogBackupsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBELOGBACKUPSREQUEST_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_GPDB_MODEL_DESCRIBELOGBACKUPSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBELOGBACKUPSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeLogBackupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Backup
|
||||
{
|
||||
std::string segmentName;
|
||||
std::string dBInstanceId;
|
||||
std::string logTime;
|
||||
long logFileSize;
|
||||
std::string backupId;
|
||||
std::string logFileName;
|
||||
};
|
||||
|
||||
|
||||
DescribeLogBackupsResult();
|
||||
explicit DescribeLogBackupsResult(const std::string &payload);
|
||||
~DescribeLogBackupsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Backup> getItems()const;
|
||||
long getTotalLogSize()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::vector<Backup> items_;
|
||||
long totalLogSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBELOGBACKUPSRESULT_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_GPDB_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeModifyParameterLogRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeModifyParameterLogRequest();
|
||||
~DescribeModifyParameterLogRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEMODIFYPARAMETERLOGREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeModifyParameterLogResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChangelogsItem
|
||||
{
|
||||
std::string parameterValueBefore;
|
||||
std::string effectTime;
|
||||
std::string parameterName;
|
||||
std::string parameterValueAfter;
|
||||
std::string parameterValid;
|
||||
};
|
||||
|
||||
|
||||
DescribeModifyParameterLogResult();
|
||||
explicit DescribeModifyParameterLogResult(const std::string &payload);
|
||||
~DescribeModifyParameterLogResult();
|
||||
std::vector<ChangelogsItem> getChangelogs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ChangelogsItem> changelogs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEMODIFYPARAMETERLOGRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEPARAMETERSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEPARAMETERSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeParametersRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeParametersRequest();
|
||||
~DescribeParametersRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEPARAMETERSREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEPARAMETERSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEPARAMETERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeParametersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ParametersItem
|
||||
{
|
||||
std::string optionalRange;
|
||||
std::string parameterValue;
|
||||
std::string isChangeableConfig;
|
||||
std::string currentValue;
|
||||
std::string parameterName;
|
||||
std::string forceRestartInstance;
|
||||
std::string parameterDescription;
|
||||
};
|
||||
|
||||
|
||||
DescribeParametersResult();
|
||||
explicit DescribeParametersResult(const std::string &payload);
|
||||
~DescribeParametersResult();
|
||||
std::vector<ParametersItem> getParameters()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ParametersItem> parameters_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEPARAMETERSRESULT_H_
|
||||
@@ -1,69 +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_GPDB_MODEL_DESCRIBERDSVSWITCHSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVSWITCHSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeRdsVSwitchsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRdsVSwitchsRequest();
|
||||
~DescribeRdsVSwitchsRequest();
|
||||
|
||||
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 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 getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string vpcId_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVSWITCHSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVSWITCHSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVSWITCHSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeRdsVSwitchsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRdsVSwitchsRequest();
|
||||
~DescribeRdsVSwitchsRequest();
|
||||
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 getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string vpcId_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVSWITCHSREQUEST_H_
|
||||
|
||||
@@ -36,10 +36,10 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct VSwitchItem
|
||||
{
|
||||
bool isDefault;
|
||||
std::string status;
|
||||
std::string izNo;
|
||||
bool isDefault;
|
||||
std::string regionNo;
|
||||
std::string izNo;
|
||||
std::string gmtCreate;
|
||||
std::string vSwitchId;
|
||||
std::string gmtModified;
|
||||
|
||||
@@ -1,66 +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_GPDB_MODEL_DESCRIBERDSVPCSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVPCSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeRdsVpcsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRdsVpcsRequest();
|
||||
~DescribeRdsVpcsRequest();
|
||||
|
||||
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 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 getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVPCSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVPCSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVPCSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeRdsVpcsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRdsVpcsRequest();
|
||||
~DescribeRdsVpcsRequest();
|
||||
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 getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string zoneId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBERDSVPCSREQUEST_H_
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct VSwitch
|
||||
{
|
||||
bool isDefault;
|
||||
std::string status;
|
||||
bool isDefault;
|
||||
std::string izNo;
|
||||
std::string gmtCreate;
|
||||
std::string vSwitchId;
|
||||
@@ -47,8 +47,8 @@ namespace AlibabaCloud
|
||||
std::string cidrBlock;
|
||||
std::string vSwitchName;
|
||||
};
|
||||
bool isDefault;
|
||||
std::string status;
|
||||
bool isDefault;
|
||||
std::vector<VpcItem::VSwitch> vSwitchs;
|
||||
std::string regionNo;
|
||||
std::string gmtCreate;
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeRegionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeRegionsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeRegionsRequest();
|
||||
~DescribeRegionsRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegion() const;
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string region_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEREGIONSREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeResourceUsageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeResourceUsageRequest();
|
||||
~DescribeResourceUsageRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeResourceUsageRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeResourceUsageRequest();
|
||||
~DescribeResourceUsageRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBERESOURCEUSAGEREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLCollectorPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLCollectorPolicyRequest();
|
||||
~DescribeSQLCollectorPolicyRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLCollectorPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLCollectorPolicyRequest();
|
||||
~DescribeSQLCollectorPolicyRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGBYQUERYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGBYQUERYIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogByQueryIdRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLLogByQueryIdRequest();
|
||||
~DescribeSQLLogByQueryIdRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getQueryId() const;
|
||||
void setQueryId(const std::string &queryId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string queryId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGBYQUERYIDREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGBYQUERYIDRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGBYQUERYIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogByQueryIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SQLLog
|
||||
{
|
||||
float executeCost;
|
||||
std::string sQLPlan;
|
||||
std::string dBRole;
|
||||
std::string queryId;
|
||||
int sourcePort;
|
||||
std::string sQLText;
|
||||
std::string sourceIP;
|
||||
long returnRowCounts;
|
||||
std::vector<std::string> sliceIds;
|
||||
std::string dBName;
|
||||
std::string operationType;
|
||||
long scanRowCounts;
|
||||
std::string operationClass;
|
||||
std::string executeState;
|
||||
std::string operationExecuteTime;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLLogByQueryIdResult();
|
||||
explicit DescribeSQLLogByQueryIdResult(const std::string &payload);
|
||||
~DescribeSQLLogByQueryIdResult();
|
||||
std::vector<SQLLog> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SQLLog> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGBYQUERYIDRESULT_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGCOUNTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogCountRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLLogCountRequest();
|
||||
~DescribeSQLLogCountRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getQueryKeywords() const;
|
||||
void setQueryKeywords(const std::string &queryKeywords);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDatabase() const;
|
||||
void setDatabase(const std::string &database);
|
||||
std::string getSourceIP() const;
|
||||
void setSourceIP(const std::string &sourceIP);
|
||||
std::string getMinExecuteCost() const;
|
||||
void setMinExecuteCost(const std::string &minExecuteCost);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getMaxExecuteCost() const;
|
||||
void setMaxExecuteCost(const std::string &maxExecuteCost);
|
||||
std::string getExecuteCost() const;
|
||||
void setExecuteCost(const std::string &executeCost);
|
||||
std::string getExecuteState() const;
|
||||
void setExecuteState(const std::string &executeState);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getOperationType() const;
|
||||
void setOperationType(const std::string &operationType);
|
||||
std::string getOperationClass() const;
|
||||
void setOperationClass(const std::string &operationClass);
|
||||
std::string getUser() const;
|
||||
void setUser(const std::string &user);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string queryKeywords_;
|
||||
std::string accessKeyId_;
|
||||
std::string database_;
|
||||
std::string sourceIP_;
|
||||
std::string minExecuteCost_;
|
||||
std::string dBInstanceId_;
|
||||
std::string maxExecuteCost_;
|
||||
std::string executeCost_;
|
||||
std::string executeState_;
|
||||
std::string endTime_;
|
||||
std::string operationType_;
|
||||
std::string operationClass_;
|
||||
std::string user_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGCOUNTREQUEST_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGCOUNTRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGCOUNTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogCountResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Item
|
||||
{
|
||||
struct SeriesItem
|
||||
{
|
||||
struct ValueItem
|
||||
{
|
||||
std::vector<std::string> point;
|
||||
};
|
||||
std::vector<SeriesItem::ValueItem> values;
|
||||
};
|
||||
std::vector<Item::SeriesItem> series;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLLogCountResult();
|
||||
explicit DescribeSQLLogCountResult(const std::string &payload);
|
||||
~DescribeSQLLogCountResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::vector<Item> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string dBClusterId_;
|
||||
std::vector<Item> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGCOUNTRESULT_H_
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGFILESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGFILESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogFilesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLLogFilesRequest();
|
||||
~DescribeSQLLogFilesRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string fileName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGFILESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGFILESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGFILESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogFilesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLLogFilesRequest();
|
||||
~DescribeSQLLogFilesRequest();
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getFileName() const;
|
||||
void setFileName(const std::string &fileName);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string fileName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGFILESREQUEST_H_
|
||||
|
||||
@@ -34,8 +34,8 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct LogFile
|
||||
{
|
||||
std::string logStatus;
|
||||
std::string logStartTime;
|
||||
std::string logStatus;
|
||||
std::string logSize;
|
||||
std::string logDownloadURL;
|
||||
std::string fileID;
|
||||
|
||||
@@ -1,75 +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_GPDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLLogRecordsRequest();
|
||||
~DescribeSQLLogRecordsRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getQueryKeywords()const;
|
||||
void setQueryKeywords(const std::string& queryKeywords);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDatabase()const;
|
||||
void setDatabase(const std::string& database);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getForm()const;
|
||||
void setForm(const std::string& form);
|
||||
std::string getUser()const;
|
||||
void setUser(const std::string& user);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string queryKeywords_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string database_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
std::string form_;
|
||||
std::string user_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogRecordsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLLogRecordsRequest();
|
||||
~DescribeSQLLogRecordsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getQueryKeywords() const;
|
||||
void setQueryKeywords(const std::string &queryKeywords);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDatabase() const;
|
||||
void setDatabase(const std::string &database);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getForm() const;
|
||||
void setForm(const std::string &form);
|
||||
std::string getUser() const;
|
||||
void setUser(const std::string &user);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string queryKeywords_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string database_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
std::string form_;
|
||||
std::string user_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
|
||||
@@ -40,8 +40,8 @@ namespace AlibabaCloud
|
||||
std::string dBName;
|
||||
long totalExecutionTimes;
|
||||
std::string hostAddress;
|
||||
std::string accountName;
|
||||
std::string sQLText;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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_GPDB_MODEL_DESCRIBESQLLOGSONSLICEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSONSLICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogsOnSliceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLLogsOnSliceRequest();
|
||||
~DescribeSQLLogsOnSliceRequest();
|
||||
std::string getSliceId() const;
|
||||
void setSliceId(const std::string &sliceId);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getMinExecuteCost() const;
|
||||
void setMinExecuteCost(const std::string &minExecuteCost);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getMaxExecuteCost() const;
|
||||
void setMaxExecuteCost(const std::string &maxExecuteCost);
|
||||
std::string getExecuteState() const;
|
||||
void setExecuteState(const std::string &executeState);
|
||||
std::string getQueryId() const;
|
||||
void setQueryId(const std::string &queryId);
|
||||
|
||||
private:
|
||||
std::string sliceId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string minExecuteCost_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string maxExecuteCost_;
|
||||
std::string executeState_;
|
||||
std::string queryId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSONSLICEREQUEST_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_GPDB_MODEL_DESCRIBESQLLOGSONSLICERESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSONSLICERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogsOnSliceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SQLLogsSliceItem
|
||||
{
|
||||
float executeCost;
|
||||
std::string segmentName;
|
||||
std::string segmentId;
|
||||
long returnRowCounts;
|
||||
float peakMemory;
|
||||
std::string executeStatus;
|
||||
std::string operationExecuteEndTime;
|
||||
std::string operationExecuteTime;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLLogsOnSliceResult();
|
||||
explicit DescribeSQLLogsOnSliceResult(const std::string &payload);
|
||||
~DescribeSQLLogsOnSliceResult();
|
||||
int getPageRecordCount()const;
|
||||
std::vector<SQLLogsSliceItem> getSliceLogItems()const;
|
||||
int getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageRecordCount_;
|
||||
std::vector<SQLLogsSliceItem> sliceLogItems_;
|
||||
int pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSONSLICERESULT_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSQLLogsRequest();
|
||||
~DescribeSQLLogsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getQueryKeywords() const;
|
||||
void setQueryKeywords(const std::string &queryKeywords);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDatabase() const;
|
||||
void setDatabase(const std::string &database);
|
||||
std::string getSourceIP() const;
|
||||
void setSourceIP(const std::string &sourceIP);
|
||||
std::string getMinExecuteCost() const;
|
||||
void setMinExecuteCost(const std::string &minExecuteCost);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getMaxExecuteCost() const;
|
||||
void setMaxExecuteCost(const std::string &maxExecuteCost);
|
||||
std::string getExecuteCost() const;
|
||||
void setExecuteCost(const std::string &executeCost);
|
||||
std::string getExecuteState() const;
|
||||
void setExecuteState(const std::string &executeState);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getOperationType() const;
|
||||
void setOperationType(const std::string &operationType);
|
||||
std::string getOperationClass() const;
|
||||
void setOperationClass(const std::string &operationClass);
|
||||
std::string getUser() const;
|
||||
void setUser(const std::string &user);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string queryKeywords_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string database_;
|
||||
std::string sourceIP_;
|
||||
std::string minExecuteCost_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string maxExecuteCost_;
|
||||
std::string executeCost_;
|
||||
std::string executeState_;
|
||||
std::string endTime_;
|
||||
std::string operationType_;
|
||||
std::string operationClass_;
|
||||
std::string user_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSREQUEST_H_
|
||||
72
gpdb/include/alibabacloud/gpdb/model/DescribeSQLLogsResult.h
Normal file
72
gpdb/include/alibabacloud/gpdb/model/DescribeSQLLogsResult.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSQLLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Item
|
||||
{
|
||||
float executeCost;
|
||||
std::string sQLPlan;
|
||||
std::string dBRole;
|
||||
int sourcePort;
|
||||
std::string sQLText;
|
||||
std::string sourceIP;
|
||||
long returnRowCounts;
|
||||
std::string dBName;
|
||||
std::string operationType;
|
||||
long scanRowCounts;
|
||||
std::string operationClass;
|
||||
std::string executeState;
|
||||
std::string operationExecuteTime;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLLogsResult();
|
||||
explicit DescribeSQLLogsResult(const std::string &payload);
|
||||
~DescribeSQLLogsResult();
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Item> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<Item> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESQLLOGSRESULT_H_
|
||||
@@ -1,69 +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_GPDB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSlowLogRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSlowLogRecordsRequest();
|
||||
~DescribeSlowLogRecordsRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
long getSQLId()const;
|
||||
void setSQLId(long sQLId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
long sQLId_;
|
||||
std::string endTime_;
|
||||
std::string dBName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSlowLogRecordsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSlowLogRecordsRequest();
|
||||
~DescribeSlowLogRecordsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
long getSQLId() const;
|
||||
void setSQLId(long sQLId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getDBName() const;
|
||||
void setDBName(const std::string &dBName);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
long sQLId_;
|
||||
std::string endTime_;
|
||||
std::string dBName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWLOGRECORDSREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWSQLLOGSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWSQLLOGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSlowSQLLogsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSlowSQLLogsRequest();
|
||||
~DescribeSlowSQLLogsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getQueryKeywords() const;
|
||||
void setQueryKeywords(const std::string &queryKeywords);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDatabase() const;
|
||||
void setDatabase(const std::string &database);
|
||||
std::string getSourceIP() const;
|
||||
void setSourceIP(const std::string &sourceIP);
|
||||
std::string getMinExecuteCost() const;
|
||||
void setMinExecuteCost(const std::string &minExecuteCost);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getMaxExecuteCost() const;
|
||||
void setMaxExecuteCost(const std::string &maxExecuteCost);
|
||||
std::string getExecuteState() const;
|
||||
void setExecuteState(const std::string &executeState);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getOperationType() const;
|
||||
void setOperationType(const std::string &operationType);
|
||||
std::string getOperationClass() const;
|
||||
void setOperationClass(const std::string &operationClass);
|
||||
std::string getUser() const;
|
||||
void setUser(const std::string &user);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string queryKeywords_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string database_;
|
||||
std::string sourceIP_;
|
||||
std::string minExecuteCost_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string maxExecuteCost_;
|
||||
std::string executeState_;
|
||||
std::string endTime_;
|
||||
std::string operationType_;
|
||||
std::string operationClass_;
|
||||
std::string user_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWSQLLOGSREQUEST_H_
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWSQLLOGSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWSQLLOGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSlowSQLLogsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Item
|
||||
{
|
||||
float executeCost;
|
||||
std::string sQLPlan;
|
||||
std::string dBRole;
|
||||
std::string queryId;
|
||||
int sourcePort;
|
||||
std::string sQLText;
|
||||
std::string sourceIP;
|
||||
long returnRowCounts;
|
||||
std::string dBName;
|
||||
std::string operationType;
|
||||
long scanRowCounts;
|
||||
std::string operationClass;
|
||||
std::string executeState;
|
||||
std::string operationExecuteTime;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSlowSQLLogsResult();
|
||||
explicit DescribeSlowSQLLogsResult(const std::string &payload);
|
||||
~DescribeSlowSQLLogsResult();
|
||||
int getPageRecordCount()const;
|
||||
int getPageNumber()const;
|
||||
std::vector<Item> getItems()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int pageRecordCount_;
|
||||
int pageNumber_;
|
||||
std::vector<Item> items_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESLOWSQLLOGSRESULT_H_
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESPECIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESPECIFICATIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSpecificationRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSpecificationRequest();
|
||||
~DescribeSpecificationRequest();
|
||||
|
||||
std::string getStorageType()const;
|
||||
void setStorageType(const std::string& storageType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getCpuCores()const;
|
||||
void setCpuCores(int cpuCores);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
int getTotalNodeNum()const;
|
||||
void setTotalNodeNum(int totalNodeNum);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string storageType_;
|
||||
std::string accessKeyId_;
|
||||
int cpuCores_;
|
||||
std::string dBInstanceId_;
|
||||
int totalNodeNum_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESPECIFICATIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBESPECIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBESPECIFICATIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSpecificationRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSpecificationRequest();
|
||||
~DescribeSpecificationRequest();
|
||||
std::string getStorageType() const;
|
||||
void setStorageType(const std::string &storageType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getCpuCores() const;
|
||||
void setCpuCores(int cpuCores);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
int getTotalNodeNum() const;
|
||||
void setTotalNodeNum(int totalNodeNum);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string storageType_;
|
||||
std::string accessKeyId_;
|
||||
int cpuCores_;
|
||||
std::string dBInstanceId_;
|
||||
int totalNodeNum_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBESPECIFICATIONREQUEST_H_
|
||||
|
||||
@@ -32,6 +32,11 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeSpecificationResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct StorageNoticeItem
|
||||
{
|
||||
std::string value;
|
||||
std::string text;
|
||||
};
|
||||
struct DBInstanceClassItem
|
||||
{
|
||||
std::string value;
|
||||
@@ -42,11 +47,6 @@ namespace AlibabaCloud
|
||||
std::string value;
|
||||
std::string text;
|
||||
};
|
||||
struct StorageNoticeItem
|
||||
{
|
||||
std::string value;
|
||||
std::string text;
|
||||
};
|
||||
|
||||
|
||||
DescribeSpecificationResult();
|
||||
|
||||
@@ -1,66 +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_GPDB_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeTagsRequest();
|
||||
~DescribeTagsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
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 getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeTagsRequest();
|
||||
~DescribeTagsRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
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 getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBETAGSREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeUserEncryptionKeyListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeUserEncryptionKeyListRequest();
|
||||
~DescribeUserEncryptionKeyListRequest();
|
||||
std::string getPageNumber() const;
|
||||
void setPageNumber(const std::string &pageNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
|
||||
private:
|
||||
std::string pageNumber_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT DescribeUserEncryptionKeyListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct KmsKeysItem
|
||||
{
|
||||
std::string keyId;
|
||||
};
|
||||
|
||||
|
||||
DescribeUserEncryptionKeyListResult();
|
||||
explicit DescribeUserEncryptionKeyListResult(const std::string &payload);
|
||||
~DescribeUserEncryptionKeyListResult();
|
||||
std::vector<KmsKeysItem> getKmsKeys()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<KmsKeysItem> kmsKeys_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_DESCRIBEUSERENCRYPTIONKEYLISTRESULT_H_
|
||||
@@ -1,81 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
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 getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
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 getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyAccountDescriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyAccountDescriptionRequest();
|
||||
~ModifyAccountDescriptionRequest();
|
||||
|
||||
std::string getAccountDescription()const;
|
||||
void setAccountDescription(const std::string& accountDescription);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyAccountDescriptionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyAccountDescriptionRequest();
|
||||
~ModifyAccountDescriptionRequest();
|
||||
std::string getAccountDescription() const;
|
||||
void setAccountDescription(const std::string &accountDescription);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAccountName() const;
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accountDescription_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYACCOUNTDESCRIPTIONREQUEST_H_
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYBACKUPPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYBACKUPPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyBackupPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyBackupPolicyRequest();
|
||||
~ModifyBackupPolicyRequest();
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getRecoveryPointPeriod() const;
|
||||
void setRecoveryPointPeriod(const std::string &recoveryPointPeriod);
|
||||
bool getEnableRecoveryPoint() const;
|
||||
void setEnableRecoveryPoint(bool enableRecoveryPoint);
|
||||
std::string getPreferredBackupPeriod() const;
|
||||
void setPreferredBackupPeriod(const std::string &preferredBackupPeriod);
|
||||
std::string getPreferredBackupTime() const;
|
||||
void setPreferredBackupTime(const std::string &preferredBackupTime);
|
||||
int getBackupRetentionPeriod() const;
|
||||
void setBackupRetentionPeriod(int backupRetentionPeriod);
|
||||
|
||||
private:
|
||||
std::string dBInstanceId_;
|
||||
std::string recoveryPointPeriod_;
|
||||
bool enableRecoveryPoint_;
|
||||
std::string preferredBackupPeriod_;
|
||||
std::string preferredBackupTime_;
|
||||
int backupRetentionPeriod_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYBACKUPPOLICYREQUEST_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_GPDB_MODEL_MODIFYBACKUPPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYBACKUPPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyBackupPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyBackupPolicyResult();
|
||||
explicit ModifyBackupPolicyResult(const std::string &payload);
|
||||
~ModifyBackupPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYBACKUPPOLICYRESULT_H_
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceConnectionModeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceConnectionModeRequest();
|
||||
~ModifyDBInstanceConnectionModeRequest();
|
||||
|
||||
std::string getConnectionMode()const;
|
||||
void setConnectionMode(const std::string& connectionMode);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string connectionMode_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceConnectionModeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceConnectionModeRequest();
|
||||
~ModifyDBInstanceConnectionModeRequest();
|
||||
std::string getConnectionMode() const;
|
||||
void setConnectionMode(const std::string &connectionMode);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string connectionMode_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONMODEREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceConnectionStringRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceConnectionStringRequest();
|
||||
~ModifyDBInstanceConnectionStringRequest();
|
||||
|
||||
std::string getConnectionStringPrefix()const;
|
||||
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getCurrentConnectionString()const;
|
||||
void setCurrentConnectionString(const std::string& currentConnectionString);
|
||||
std::string getPort()const;
|
||||
void setPort(const std::string& port);
|
||||
|
||||
private:
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string currentConnectionString_;
|
||||
std::string port_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceConnectionStringRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceConnectionStringRequest();
|
||||
~ModifyDBInstanceConnectionStringRequest();
|
||||
std::string getConnectionStringPrefix() const;
|
||||
void setConnectionStringPrefix(const std::string &connectionStringPrefix);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getCurrentConnectionString() const;
|
||||
void setCurrentConnectionString(const std::string ¤tConnectionString);
|
||||
std::string getPort() const;
|
||||
void setPort(const std::string &port);
|
||||
|
||||
private:
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string currentConnectionString_;
|
||||
std::string port_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCECONNECTIONSTRINGREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceDescriptionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceDescriptionRequest();
|
||||
~ModifyDBInstanceDescriptionRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getDBInstanceDescription()const;
|
||||
void setDBInstanceDescription(const std::string& dBInstanceDescription);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBInstanceDescription_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceDescriptionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceDescriptionRequest();
|
||||
~ModifyDBInstanceDescriptionRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getDBInstanceDescription() const;
|
||||
void setDBInstanceDescription(const std::string &dBInstanceDescription);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBInstanceDescription_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEDESCRIPTIONREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceMaintainTimeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceMaintainTimeRequest();
|
||||
~ModifyDBInstanceMaintainTimeRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceMaintainTimeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceMaintainTimeRequest();
|
||||
~ModifyDBInstanceMaintainTimeRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string endTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCEMAINTAINTIMEREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceNetworkTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceNetworkTypeRequest();
|
||||
~ModifyDBInstanceNetworkTypeRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getPrivateIpAddress()const;
|
||||
void setPrivateIpAddress(const std::string& privateIpAddress);
|
||||
std::string getVPCId()const;
|
||||
void setVPCId(const std::string& vPCId);
|
||||
std::string getInstanceNetworkType()const;
|
||||
void setInstanceNetworkType(const std::string& instanceNetworkType);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string vPCId_;
|
||||
std::string instanceNetworkType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceNetworkTypeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceNetworkTypeRequest();
|
||||
~ModifyDBInstanceNetworkTypeRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getPrivateIpAddress() const;
|
||||
void setPrivateIpAddress(const std::string &privateIpAddress);
|
||||
std::string getVPCId() const;
|
||||
void setVPCId(const std::string &vPCId);
|
||||
std::string getInstanceNetworkType() const;
|
||||
void setInstanceNetworkType(const std::string &instanceNetworkType);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string vSwitchId_;
|
||||
std::string privateIpAddress_;
|
||||
std::string vPCId_;
|
||||
std::string instanceNetworkType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCENETWORKTYPEREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_MODIFYDBINSTANCESSLREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCESSLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceSSLRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyDBInstanceSSLRequest();
|
||||
~ModifyDBInstanceSSLRequest();
|
||||
|
||||
std::string getConnectionString()const;
|
||||
void setConnectionString(const std::string& connectionString);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
int getSSLEnabled()const;
|
||||
void setSSLEnabled(int sSLEnabled);
|
||||
|
||||
private:
|
||||
std::string connectionString_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
int sSLEnabled_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCESSLREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCESSLREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCESSLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyDBInstanceSSLRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyDBInstanceSSLRequest();
|
||||
~ModifyDBInstanceSSLRequest();
|
||||
std::string getConnectionString() const;
|
||||
void setConnectionString(const std::string &connectionString);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
int getSSLEnabled() const;
|
||||
void setSSLEnabled(int sSLEnabled);
|
||||
|
||||
private:
|
||||
std::string connectionString_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
int sSLEnabled_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYDBINSTANCESSLREQUEST_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_GPDB_MODEL_MODIFYPARAMETERSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYPARAMETERSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyParametersRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyParametersRequest();
|
||||
~ModifyParametersRequest();
|
||||
bool getForceRestartInstance() const;
|
||||
void setForceRestartInstance(bool forceRestartInstance);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getParameters() const;
|
||||
void setParameters(const std::string ¶meters);
|
||||
|
||||
private:
|
||||
bool forceRestartInstance_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string parameters_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYPARAMETERSREQUEST_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_GPDB_MODEL_MODIFYPARAMETERSRESULT_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYPARAMETERSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifyParametersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyParametersResult();
|
||||
explicit ModifyParametersResult(const std::string &payload);
|
||||
~ModifyParametersResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYPARAMETERSRESULT_H_
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifySQLCollectorPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySQLCollectorPolicyRequest();
|
||||
~ModifySQLCollectorPolicyRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSQLCollectorStatus()const;
|
||||
void setSQLCollectorStatus(const std::string& sQLCollectorStatus);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string sQLCollectorStatus_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifySQLCollectorPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifySQLCollectorPolicyRequest();
|
||||
~ModifySQLCollectorPolicyRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSQLCollectorStatus() const;
|
||||
void setSQLCollectorStatus(const std::string &sQLCollectorStatus);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string sQLCollectorStatus_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYSQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifySecurityIpsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySecurityIpsRequest();
|
||||
~ModifySecurityIpsRequest();
|
||||
|
||||
std::string getDBInstanceIPArrayName()const;
|
||||
void setDBInstanceIPArrayName(const std::string& dBInstanceIPArrayName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getSecurityIPList()const;
|
||||
void setSecurityIPList(const std::string& securityIPList);
|
||||
std::string getDBInstanceIPArrayAttribute()const;
|
||||
void setDBInstanceIPArrayAttribute(const std::string& dBInstanceIPArrayAttribute);
|
||||
|
||||
private:
|
||||
std::string dBInstanceIPArrayName_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string securityIPList_;
|
||||
std::string dBInstanceIPArrayAttribute_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ModifySecurityIpsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifySecurityIpsRequest();
|
||||
~ModifySecurityIpsRequest();
|
||||
std::string getDBInstanceIPArrayName() const;
|
||||
void setDBInstanceIPArrayName(const std::string &dBInstanceIPArrayName);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getSecurityIPList() const;
|
||||
void setSecurityIPList(const std::string &securityIPList);
|
||||
std::string getDBInstanceIPArrayAttribute() const;
|
||||
void setDBInstanceIPArrayAttribute(const std::string &dBInstanceIPArrayAttribute);
|
||||
|
||||
private:
|
||||
std::string dBInstanceIPArrayName_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string securityIPList_;
|
||||
std::string dBInstanceIPArrayAttribute_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_MODIFYSECURITYIPSREQUEST_H_
|
||||
|
||||
@@ -1,54 +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_GPDB_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ReleaseInstancePublicConnectionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseInstancePublicConnectionRequest();
|
||||
~ReleaseInstancePublicConnectionRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getCurrentConnectionString()const;
|
||||
void setCurrentConnectionString(const std::string& currentConnectionString);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string currentConnectionString_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ReleaseInstancePublicConnectionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ReleaseInstancePublicConnectionRequest();
|
||||
~ReleaseInstancePublicConnectionRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAddressType() const;
|
||||
void setAddressType(const std::string &addressType);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getCurrentConnectionString() const;
|
||||
void setCurrentConnectionString(const std::string ¤tConnectionString);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string addressType_;
|
||||
std::string dBInstanceId_;
|
||||
std::string currentConnectionString_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_RELEASEINSTANCEPUBLICCONNECTIONREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT ResetAccountPasswordRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResetAccountPasswordRequest();
|
||||
~ResetAccountPasswordRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getAccountPassword()const;
|
||||
void setAccountPassword(const std::string& accountPassword);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
std::string accountPassword_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT ResetAccountPasswordRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ResetAccountPasswordRequest();
|
||||
~ResetAccountPasswordRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAccountName() const;
|
||||
void setAccountName(const std::string &accountName);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getAccountPassword() const;
|
||||
void setAccountPassword(const std::string &accountPassword);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string accountName_;
|
||||
std::string dBInstanceId_;
|
||||
std::string accountPassword_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_RESETACCOUNTPASSWORDREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT RestartDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RestartDBInstanceRequest();
|
||||
~RestartDBInstanceRequest();
|
||||
|
||||
std::string getClientToken()const;
|
||||
void setClientToken(const std::string& clientToken);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT RestartDBInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RestartDBInstanceRequest();
|
||||
~RestartDBInstanceRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_RESTARTDBINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_GPDB_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT SwitchDBInstanceNetTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SwitchDBInstanceNetTypeRequest();
|
||||
~SwitchDBInstanceNetTypeRequest();
|
||||
|
||||
std::string getConnectionStringPrefix()const;
|
||||
void setConnectionStringPrefix(const std::string& connectionStringPrefix);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getPort()const;
|
||||
void setPort(const std::string& port);
|
||||
|
||||
private:
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string port_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT SwitchDBInstanceNetTypeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
SwitchDBInstanceNetTypeRequest();
|
||||
~SwitchDBInstanceNetTypeRequest();
|
||||
std::string getConnectionStringPrefix() const;
|
||||
void setConnectionStringPrefix(const std::string &connectionStringPrefix);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getPort() const;
|
||||
void setPort(const std::string &port);
|
||||
|
||||
private:
|
||||
std::string connectionStringPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string port_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_SWITCHDBINSTANCENETTYPEREQUEST_H_
|
||||
|
||||
@@ -1,78 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
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 getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT TagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
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 getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,75 +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_GPDB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
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 getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::vector<std::string> getTagKey()const;
|
||||
void setTagKey(const std::vector<std::string>& tagKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::vector<std::string> tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT UntagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getAll() const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
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 getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::vector<std::string> getTagKey() const;
|
||||
void setTagKey(const std::vector<std::string> &tagKey);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string resourceType_;
|
||||
std::vector<std::string> tagKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_GPDB_MODEL_UPGRADEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_UPGRADEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT UpgradeDBInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeDBInstanceRequest();
|
||||
~UpgradeDBInstanceRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getDBInstanceGroupCount()const;
|
||||
void setDBInstanceGroupCount(const std::string& dBInstanceGroupCount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBInstanceClass()const;
|
||||
void setDBInstanceClass(const std::string& dBInstanceClass);
|
||||
std::string getPayType()const;
|
||||
void setPayType(const std::string& payType);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBInstanceGroupCount_;
|
||||
long ownerId_;
|
||||
std::string dBInstanceClass_;
|
||||
std::string payType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_UPGRADEDBINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_UPGRADEDBINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_UPGRADEDBINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT UpgradeDBInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeDBInstanceRequest();
|
||||
~UpgradeDBInstanceRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getDBInstanceGroupCount() const;
|
||||
void setDBInstanceGroupCount(const std::string &dBInstanceGroupCount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBInstanceClass() const;
|
||||
void setDBInstanceClass(const std::string &dBInstanceClass);
|
||||
std::string getPayType() const;
|
||||
void setPayType(const std::string &payType);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string dBInstanceGroupCount_;
|
||||
long ownerId_;
|
||||
std::string dBInstanceClass_;
|
||||
std::string payType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_UPGRADEDBINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,69 +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_GPDB_MODEL_UPGRADEDBVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_UPGRADEDBVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Gpdb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_GPDB_EXPORT UpgradeDBVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeDBVersionRequest();
|
||||
~UpgradeDBVersionRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSwitchTimeMode()const;
|
||||
void setSwitchTimeMode(const std::string& switchTimeMode);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getSwitchTime()const;
|
||||
void setSwitchTime(const std::string& switchTime);
|
||||
std::string getMajorVersion()const;
|
||||
void setMajorVersion(const std::string& majorVersion);
|
||||
std::string getMinorVersion()const;
|
||||
void setMinorVersion(const std::string& minorVersion);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string switchTimeMode_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string switchTime_;
|
||||
std::string majorVersion_;
|
||||
std::string minorVersion_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_UPGRADEDBVERSIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_GPDB_MODEL_UPGRADEDBVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_GPDB_MODEL_UPGRADEDBVERSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/gpdb/GpdbExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Gpdb {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_GPDB_EXPORT UpgradeDBVersionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeDBVersionRequest();
|
||||
~UpgradeDBVersionRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSwitchTimeMode() const;
|
||||
void setSwitchTimeMode(const std::string &switchTimeMode);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getSwitchTime() const;
|
||||
void setSwitchTime(const std::string &switchTime);
|
||||
std::string getMajorVersion() const;
|
||||
void setMajorVersion(const std::string &majorVersion);
|
||||
std::string getMinorVersion() const;
|
||||
void setMinorVersion(const std::string &minorVersion);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string switchTimeMode_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string switchTime_;
|
||||
std::string majorVersion_;
|
||||
std::string minorVersion_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Gpdb
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_GPDB_MODEL_UPGRADEDBVERSIONREQUEST_H_
|
||||
|
||||
@@ -31,21 +31,21 @@ GpdbClient::GpdbClient(const Credentials &credentials, const ClientConfiguration
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gpdb");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
GpdbClient::GpdbClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gpdb");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
GpdbClient::GpdbClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "gpdb");
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
GpdbClient::~GpdbClient()
|
||||
@@ -123,6 +123,42 @@ GpdbClient::AllocateInstancePublicConnectionOutcomeCallable GpdbClient::allocate
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::CheckServiceLinkedRoleOutcome GpdbClient::checkServiceLinkedRole(const CheckServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CheckServiceLinkedRoleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CheckServiceLinkedRoleOutcome(CheckServiceLinkedRoleResult(outcome.result()));
|
||||
else
|
||||
return CheckServiceLinkedRoleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::checkServiceLinkedRoleAsync(const CheckServiceLinkedRoleRequest& request, const CheckServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, checkServiceLinkedRole(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::CheckServiceLinkedRoleOutcomeCallable GpdbClient::checkServiceLinkedRoleCallable(const CheckServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CheckServiceLinkedRoleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->checkServiceLinkedRole(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::CreateAccountOutcome GpdbClient::createAccount(const CreateAccountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -195,6 +231,78 @@ GpdbClient::CreateDBInstanceOutcomeCallable GpdbClient::createDBInstanceCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::CreateECSDBInstanceOutcome GpdbClient::createECSDBInstance(const CreateECSDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateECSDBInstanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateECSDBInstanceOutcome(CreateECSDBInstanceResult(outcome.result()));
|
||||
else
|
||||
return CreateECSDBInstanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::createECSDBInstanceAsync(const CreateECSDBInstanceRequest& request, const CreateECSDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createECSDBInstance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::CreateECSDBInstanceOutcomeCallable GpdbClient::createECSDBInstanceCallable(const CreateECSDBInstanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateECSDBInstanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createECSDBInstance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::CreateServiceLinkedRoleOutcome GpdbClient::createServiceLinkedRole(const CreateServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateServiceLinkedRoleOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateServiceLinkedRoleOutcome(CreateServiceLinkedRoleResult(outcome.result()));
|
||||
else
|
||||
return CreateServiceLinkedRoleOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::createServiceLinkedRoleAsync(const CreateServiceLinkedRoleRequest& request, const CreateServiceLinkedRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createServiceLinkedRole(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::CreateServiceLinkedRoleOutcomeCallable GpdbClient::createServiceLinkedRoleCallable(const CreateServiceLinkedRoleRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateServiceLinkedRoleOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createServiceLinkedRole(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DeleteDBInstanceOutcome GpdbClient::deleteDBInstance(const DeleteDBInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +447,78 @@ GpdbClient::DescribeAvailableResourcesOutcomeCallable GpdbClient::describeAvaila
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeBackupPolicyOutcome GpdbClient::describeBackupPolicy(const DescribeBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeBackupPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeBackupPolicyOutcome(DescribeBackupPolicyResult(outcome.result()));
|
||||
else
|
||||
return DescribeBackupPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeBackupPolicyAsync(const DescribeBackupPolicyRequest& request, const DescribeBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeBackupPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeBackupPolicyOutcomeCallable GpdbClient::describeBackupPolicyCallable(const DescribeBackupPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeBackupPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeBackupPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBClusterPerformanceOutcome GpdbClient::describeDBClusterPerformance(const DescribeDBClusterPerformanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDBClusterPerformanceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDBClusterPerformanceOutcome(DescribeDBClusterPerformanceResult(outcome.result()));
|
||||
else
|
||||
return DescribeDBClusterPerformanceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeDBClusterPerformanceAsync(const DescribeDBClusterPerformanceRequest& request, const DescribeDBClusterPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDBClusterPerformance(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBClusterPerformanceOutcomeCallable GpdbClient::describeDBClusterPerformanceCallable(const DescribeDBClusterPerformanceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBClusterPerformanceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDBClusterPerformance(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstanceAttributeOutcome GpdbClient::describeDBInstanceAttribute(const DescribeDBInstanceAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -447,6 +627,42 @@ GpdbClient::DescribeDBInstanceNetInfoOutcomeCallable GpdbClient::describeDBInsta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstanceOnECSAttributeOutcome GpdbClient::describeDBInstanceOnECSAttribute(const DescribeDBInstanceOnECSAttributeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDBInstanceOnECSAttributeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDBInstanceOnECSAttributeOutcome(DescribeDBInstanceOnECSAttributeResult(outcome.result()));
|
||||
else
|
||||
return DescribeDBInstanceOnECSAttributeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeDBInstanceOnECSAttributeAsync(const DescribeDBInstanceOnECSAttributeRequest& request, const DescribeDBInstanceOnECSAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDBInstanceOnECSAttribute(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstanceOnECSAttributeOutcomeCallable GpdbClient::describeDBInstanceOnECSAttributeCallable(const DescribeDBInstanceOnECSAttributeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBInstanceOnECSAttributeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDBInstanceOnECSAttribute(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstancePerformanceOutcome GpdbClient::describeDBInstancePerformance(const DescribeDBInstancePerformanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +699,42 @@ GpdbClient::DescribeDBInstancePerformanceOutcomeCallable GpdbClient::describeDBI
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstanceSQLPatternsOutcome GpdbClient::describeDBInstanceSQLPatterns(const DescribeDBInstanceSQLPatternsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDBInstanceSQLPatternsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDBInstanceSQLPatternsOutcome(DescribeDBInstanceSQLPatternsResult(outcome.result()));
|
||||
else
|
||||
return DescribeDBInstanceSQLPatternsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeDBInstanceSQLPatternsAsync(const DescribeDBInstanceSQLPatternsRequest& request, const DescribeDBInstanceSQLPatternsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDBInstanceSQLPatterns(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstanceSQLPatternsOutcomeCallable GpdbClient::describeDBInstanceSQLPatternsCallable(const DescribeDBInstanceSQLPatternsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDBInstanceSQLPatternsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDBInstanceSQLPatterns(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDBInstanceSSLOutcome GpdbClient::describeDBInstanceSSL(const DescribeDBInstanceSSLRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +807,150 @@ GpdbClient::DescribeDBInstancesOutcomeCallable GpdbClient::describeDBInstancesCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDataBackupsOutcome GpdbClient::describeDataBackups(const DescribeDataBackupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDataBackupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDataBackupsOutcome(DescribeDataBackupsResult(outcome.result()));
|
||||
else
|
||||
return DescribeDataBackupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeDataBackupsAsync(const DescribeDataBackupsRequest& request, const DescribeDataBackupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDataBackups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeDataBackupsOutcomeCallable GpdbClient::describeDataBackupsCallable(const DescribeDataBackupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDataBackupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDataBackups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeLogBackupsOutcome GpdbClient::describeLogBackups(const DescribeLogBackupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLogBackupsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLogBackupsOutcome(DescribeLogBackupsResult(outcome.result()));
|
||||
else
|
||||
return DescribeLogBackupsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeLogBackupsAsync(const DescribeLogBackupsRequest& request, const DescribeLogBackupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLogBackups(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeLogBackupsOutcomeCallable GpdbClient::describeLogBackupsCallable(const DescribeLogBackupsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLogBackupsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLogBackups(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeModifyParameterLogOutcome GpdbClient::describeModifyParameterLog(const DescribeModifyParameterLogRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeModifyParameterLogOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeModifyParameterLogOutcome(DescribeModifyParameterLogResult(outcome.result()));
|
||||
else
|
||||
return DescribeModifyParameterLogOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeModifyParameterLogAsync(const DescribeModifyParameterLogRequest& request, const DescribeModifyParameterLogAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeModifyParameterLog(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeModifyParameterLogOutcomeCallable GpdbClient::describeModifyParameterLogCallable(const DescribeModifyParameterLogRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeModifyParameterLogOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeModifyParameterLog(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeParametersOutcome GpdbClient::describeParameters(const DescribeParametersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeParametersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeParametersOutcome(DescribeParametersResult(outcome.result()));
|
||||
else
|
||||
return DescribeParametersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeParametersAsync(const DescribeParametersRequest& request, const DescribeParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeParameters(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeParametersOutcomeCallable GpdbClient::describeParametersCallable(const DescribeParametersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeParametersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeParameters(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeRdsVSwitchsOutcome GpdbClient::describeRdsVSwitchs(const DescribeRdsVSwitchsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +1131,78 @@ GpdbClient::DescribeSQLCollectorPolicyOutcomeCallable GpdbClient::describeSQLCol
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogByQueryIdOutcome GpdbClient::describeSQLLogByQueryId(const DescribeSQLLogByQueryIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLLogByQueryIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLLogByQueryIdOutcome(DescribeSQLLogByQueryIdResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLLogByQueryIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeSQLLogByQueryIdAsync(const DescribeSQLLogByQueryIdRequest& request, const DescribeSQLLogByQueryIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLLogByQueryId(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogByQueryIdOutcomeCallable GpdbClient::describeSQLLogByQueryIdCallable(const DescribeSQLLogByQueryIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLLogByQueryIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLLogByQueryId(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogCountOutcome GpdbClient::describeSQLLogCount(const DescribeSQLLogCountRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLLogCountOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLLogCountOutcome(DescribeSQLLogCountResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLLogCountOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeSQLLogCountAsync(const DescribeSQLLogCountRequest& request, const DescribeSQLLogCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLLogCount(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogCountOutcomeCallable GpdbClient::describeSQLLogCountCallable(const DescribeSQLLogCountRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLLogCountOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLLogCount(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogFilesOutcome GpdbClient::describeSQLLogFiles(const DescribeSQLLogFilesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +1275,78 @@ GpdbClient::DescribeSQLLogRecordsOutcomeCallable GpdbClient::describeSQLLogRecor
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogsOutcome GpdbClient::describeSQLLogs(const DescribeSQLLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLLogsOutcome(DescribeSQLLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeSQLLogsAsync(const DescribeSQLLogsRequest& request, const DescribeSQLLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogsOutcomeCallable GpdbClient::describeSQLLogsCallable(const DescribeSQLLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogsOnSliceOutcome GpdbClient::describeSQLLogsOnSlice(const DescribeSQLLogsOnSliceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLLogsOnSliceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLLogsOnSliceOutcome(DescribeSQLLogsOnSliceResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLLogsOnSliceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeSQLLogsOnSliceAsync(const DescribeSQLLogsOnSliceRequest& request, const DescribeSQLLogsOnSliceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLLogsOnSlice(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSQLLogsOnSliceOutcomeCallable GpdbClient::describeSQLLogsOnSliceCallable(const DescribeSQLLogsOnSliceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLLogsOnSliceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLLogsOnSlice(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSlowLogRecordsOutcome GpdbClient::describeSlowLogRecords(const DescribeSlowLogRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -843,6 +1383,42 @@ GpdbClient::DescribeSlowLogRecordsOutcomeCallable GpdbClient::describeSlowLogRec
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSlowSQLLogsOutcome GpdbClient::describeSlowSQLLogs(const DescribeSlowSQLLogsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSlowSQLLogsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSlowSQLLogsOutcome(DescribeSlowSQLLogsResult(outcome.result()));
|
||||
else
|
||||
return DescribeSlowSQLLogsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeSlowSQLLogsAsync(const DescribeSlowSQLLogsRequest& request, const DescribeSlowSQLLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSlowSQLLogs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSlowSQLLogsOutcomeCallable GpdbClient::describeSlowSQLLogsCallable(const DescribeSlowSQLLogsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSlowSQLLogsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSlowSQLLogs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeSpecificationOutcome GpdbClient::describeSpecification(const DescribeSpecificationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -915,6 +1491,42 @@ GpdbClient::DescribeTagsOutcomeCallable GpdbClient::describeTagsCallable(const D
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::DescribeUserEncryptionKeyListOutcome GpdbClient::describeUserEncryptionKeyList(const DescribeUserEncryptionKeyListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeUserEncryptionKeyListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeUserEncryptionKeyListOutcome(DescribeUserEncryptionKeyListResult(outcome.result()));
|
||||
else
|
||||
return DescribeUserEncryptionKeyListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::describeUserEncryptionKeyListAsync(const DescribeUserEncryptionKeyListRequest& request, const DescribeUserEncryptionKeyListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeUserEncryptionKeyList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::DescribeUserEncryptionKeyListOutcomeCallable GpdbClient::describeUserEncryptionKeyListCallable(const DescribeUserEncryptionKeyListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeUserEncryptionKeyListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeUserEncryptionKeyList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::ListTagResourcesOutcome GpdbClient::listTagResources(const ListTagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1599,42 @@ GpdbClient::ModifyAccountDescriptionOutcomeCallable GpdbClient::modifyAccountDes
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::ModifyBackupPolicyOutcome GpdbClient::modifyBackupPolicy(const ModifyBackupPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyBackupPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyBackupPolicyOutcome(ModifyBackupPolicyResult(outcome.result()));
|
||||
else
|
||||
return ModifyBackupPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::modifyBackupPolicyAsync(const ModifyBackupPolicyRequest& request, const ModifyBackupPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyBackupPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::ModifyBackupPolicyOutcomeCallable GpdbClient::modifyBackupPolicyCallable(const ModifyBackupPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyBackupPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyBackupPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::ModifyDBInstanceConnectionModeOutcome GpdbClient::modifyDBInstanceConnectionMode(const ModifyDBInstanceConnectionModeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1851,42 @@ GpdbClient::ModifyDBInstanceSSLOutcomeCallable GpdbClient::modifyDBInstanceSSLCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::ModifyParametersOutcome GpdbClient::modifyParameters(const ModifyParametersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyParametersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyParametersOutcome(ModifyParametersResult(outcome.result()));
|
||||
else
|
||||
return ModifyParametersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void GpdbClient::modifyParametersAsync(const ModifyParametersRequest& request, const ModifyParametersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyParameters(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
GpdbClient::ModifyParametersOutcomeCallable GpdbClient::modifyParametersCallable(const ModifyParametersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyParametersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyParameters(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
GpdbClient::ModifySQLCollectorPolicyOutcome GpdbClient::modifySQLCollectorPolicy(const ModifySQLCollectorPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,73 +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/gpdb/model/AddBuDBInstanceRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::AddBuDBInstanceRelationRequest;
|
||||
|
||||
AddBuDBInstanceRelationRequest::AddBuDBInstanceRelationRequest() :
|
||||
RpcServiceRequest("gpdb", "2016-05-03", "AddBuDBInstanceRelation")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddBuDBInstanceRelationRequest::~AddBuDBInstanceRelationRequest()
|
||||
{}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/gpdb/model/AddBuDBInstanceRelationRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::AddBuDBInstanceRelationRequest;
|
||||
|
||||
AddBuDBInstanceRelationRequest::AddBuDBInstanceRelationRequest()
|
||||
: RpcServiceRequest("gpdb", "2016-05-03", "AddBuDBInstanceRelation") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
AddBuDBInstanceRelationRequest::~AddBuDBInstanceRelationRequest() {}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
void AddBuDBInstanceRelationRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
std::string AddBuDBInstanceRelationRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
long AddBuDBInstanceRelationRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddBuDBInstanceRelationRequest::setDBInstanceId(const std::string &dBInstanceId) {
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddBuDBInstanceRelationRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddBuDBInstanceRelationRequest::getBusinessUnit()const
|
||||
{
|
||||
return businessUnit_;
|
||||
void AddBuDBInstanceRelationRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setBusinessUnit(const std::string& businessUnit)
|
||||
{
|
||||
businessUnit_ = businessUnit;
|
||||
setParameter("BusinessUnit", businessUnit);
|
||||
std::string AddBuDBInstanceRelationRequest::getBusinessUnit() const {
|
||||
return businessUnit_;
|
||||
}
|
||||
|
||||
void AddBuDBInstanceRelationRequest::setBusinessUnit(const std::string &businessUnit) {
|
||||
businessUnit_ = businessUnit;
|
||||
setParameter(std::string("BusinessUnit"), businessUnit);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +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/gpdb/model/AllocateInstancePublicConnectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::AllocateInstancePublicConnectionRequest;
|
||||
|
||||
AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest() :
|
||||
RpcServiceRequest("gpdb", "2016-05-03", "AllocateInstancePublicConnection")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest()
|
||||
{}
|
||||
|
||||
long AllocateInstancePublicConnectionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/gpdb/model/AllocateInstancePublicConnectionRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::AllocateInstancePublicConnectionRequest;
|
||||
|
||||
AllocateInstancePublicConnectionRequest::AllocateInstancePublicConnectionRequest()
|
||||
: RpcServiceRequest("gpdb", "2016-05-03", "AllocateInstancePublicConnection") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
AllocateInstancePublicConnectionRequest::~AllocateInstancePublicConnectionRequest() {}
|
||||
|
||||
long AllocateInstancePublicConnectionRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getConnectionStringPrefix()const
|
||||
{
|
||||
return connectionStringPrefix_;
|
||||
void AllocateInstancePublicConnectionRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setConnectionStringPrefix(const std::string& connectionStringPrefix)
|
||||
{
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setParameter("ConnectionStringPrefix", connectionStringPrefix);
|
||||
std::string AllocateInstancePublicConnectionRequest::getConnectionStringPrefix() const {
|
||||
return connectionStringPrefix_;
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void AllocateInstancePublicConnectionRequest::setConnectionStringPrefix(const std::string &connectionStringPrefix) {
|
||||
connectionStringPrefix_ = connectionStringPrefix;
|
||||
setParameter(std::string("ConnectionStringPrefix"), connectionStringPrefix);
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string AllocateInstancePublicConnectionRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
void AllocateInstancePublicConnectionRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
std::string AllocateInstancePublicConnectionRequest::getAddressType() const {
|
||||
return addressType_;
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
void AllocateInstancePublicConnectionRequest::setAddressType(const std::string &addressType) {
|
||||
addressType_ = addressType;
|
||||
setParameter(std::string("AddressType"), addressType);
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
std::string AllocateInstancePublicConnectionRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
long AllocateInstancePublicConnectionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AllocateInstancePublicConnectionRequest::setDBInstanceId(const std::string &dBInstanceId) {
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
std::string AllocateInstancePublicConnectionRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getPort()const
|
||||
{
|
||||
return port_;
|
||||
void AllocateInstancePublicConnectionRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setPort(const std::string& port)
|
||||
{
|
||||
port_ = port;
|
||||
setParameter("Port", port);
|
||||
long AllocateInstancePublicConnectionRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string AllocateInstancePublicConnectionRequest::getPort() const {
|
||||
return port_;
|
||||
}
|
||||
|
||||
void AllocateInstancePublicConnectionRequest::setPort(const std::string &port) {
|
||||
port_ = port;
|
||||
setParameter(std::string("Port"), port);
|
||||
}
|
||||
|
||||
|
||||
36
gpdb/src/model/CheckServiceLinkedRoleRequest.cc
Normal file
36
gpdb/src/model/CheckServiceLinkedRoleRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/gpdb/model/CheckServiceLinkedRoleRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::CheckServiceLinkedRoleRequest;
|
||||
|
||||
CheckServiceLinkedRoleRequest::CheckServiceLinkedRoleRequest()
|
||||
: RpcServiceRequest("gpdb", "2016-05-03", "CheckServiceLinkedRole") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckServiceLinkedRoleRequest::~CheckServiceLinkedRoleRequest() {}
|
||||
|
||||
std::string CheckServiceLinkedRoleRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CheckServiceLinkedRoleRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
58
gpdb/src/model/CheckServiceLinkedRoleResult.cc
Normal file
58
gpdb/src/model/CheckServiceLinkedRoleResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/gpdb/model/CheckServiceLinkedRoleResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Gpdb;
|
||||
using namespace AlibabaCloud::Gpdb::Model;
|
||||
|
||||
CheckServiceLinkedRoleResult::CheckServiceLinkedRoleResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CheckServiceLinkedRoleResult::CheckServiceLinkedRoleResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CheckServiceLinkedRoleResult::~CheckServiceLinkedRoleResult()
|
||||
{}
|
||||
|
||||
void CheckServiceLinkedRoleResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["HasServiceLinkedRole"].isNull())
|
||||
hasServiceLinkedRole_ = value["HasServiceLinkedRole"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CheckServiceLinkedRoleResult::getHasServiceLinkedRole()const
|
||||
{
|
||||
return hasServiceLinkedRole_;
|
||||
}
|
||||
|
||||
std::string CheckServiceLinkedRoleResult::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
@@ -1,106 +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/gpdb/model/CreateAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::CreateAccountRequest;
|
||||
|
||||
CreateAccountRequest::CreateAccountRequest() :
|
||||
RpcServiceRequest("gpdb", "2016-05-03", "CreateAccount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAccountRequest::~CreateAccountRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAccountRequest::getAccountDescription()const
|
||||
{
|
||||
return accountDescription_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/gpdb/model/CreateAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::CreateAccountRequest;
|
||||
|
||||
CreateAccountRequest::CreateAccountRequest()
|
||||
: RpcServiceRequest("gpdb", "2016-05-03", "CreateAccount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountDescription(const std::string& accountDescription)
|
||||
{
|
||||
accountDescription_ = accountDescription;
|
||||
setParameter("AccountDescription", accountDescription);
|
||||
CreateAccountRequest::~CreateAccountRequest() {}
|
||||
|
||||
std::string CreateAccountRequest::getAccountDescription() const {
|
||||
return accountDescription_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CreateAccountRequest::setAccountDescription(const std::string &accountDescription) {
|
||||
accountDescription_ = accountDescription;
|
||||
setParameter(std::string("AccountDescription"), accountDescription);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CreateAccountRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
void CreateAccountRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
std::string CreateAccountRequest::getAccountName() const {
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
void CreateAccountRequest::setAccountName(const std::string &accountName) {
|
||||
accountName_ = accountName;
|
||||
setParameter(std::string("AccountName"), accountName);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
std::string CreateAccountRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
long CreateAccountRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateAccountRequest::setDBInstanceId(const std::string &dBInstanceId) {
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateAccountRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getAccountPassword()const
|
||||
{
|
||||
return accountPassword_;
|
||||
void CreateAccountRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setAccountPassword(const std::string& accountPassword)
|
||||
{
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter("AccountPassword", accountPassword);
|
||||
std::string CreateAccountRequest::getAccountPassword() const {
|
||||
return accountPassword_;
|
||||
}
|
||||
|
||||
std::string CreateAccountRequest::getDatabaseName()const
|
||||
{
|
||||
return databaseName_;
|
||||
void CreateAccountRequest::setAccountPassword(const std::string &accountPassword) {
|
||||
accountPassword_ = accountPassword;
|
||||
setParameter(std::string("AccountPassword"), accountPassword);
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setDatabaseName(const std::string& databaseName)
|
||||
{
|
||||
databaseName_ = databaseName;
|
||||
setParameter("DatabaseName", databaseName);
|
||||
std::string CreateAccountRequest::getDatabaseName() const {
|
||||
return databaseName_;
|
||||
}
|
||||
|
||||
void CreateAccountRequest::setDatabaseName(const std::string &databaseName) {
|
||||
databaseName_ = databaseName;
|
||||
setParameter(std::string("DatabaseName"), databaseName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,227 +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/gpdb/model/CreateDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::CreateDBInstanceRequest;
|
||||
|
||||
CreateDBInstanceRequest::CreateDBInstanceRequest() :
|
||||
RpcServiceRequest("gpdb", "2016-05-03", "CreateDBInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateDBInstanceRequest::~CreateDBInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string CreateDBInstanceRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/gpdb/model/CreateDBInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Gpdb::Model::CreateDBInstanceRequest;
|
||||
|
||||
CreateDBInstanceRequest::CreateDBInstanceRequest()
|
||||
: RpcServiceRequest("gpdb", "2016-05-03", "CreateDBInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
CreateDBInstanceRequest::~CreateDBInstanceRequest() {}
|
||||
|
||||
std::string CreateDBInstanceRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getEngineVersion()const
|
||||
{
|
||||
return engineVersion_;
|
||||
void CreateDBInstanceRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setEngineVersion(const std::string& engineVersion)
|
||||
{
|
||||
engineVersion_ = engineVersion;
|
||||
setParameter("EngineVersion", engineVersion);
|
||||
std::string CreateDBInstanceRequest::getEngineVersion() const {
|
||||
return engineVersion_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CreateDBInstanceRequest::setEngineVersion(const std::string &engineVersion) {
|
||||
engineVersion_ = engineVersion;
|
||||
setParameter(std::string("EngineVersion"), engineVersion);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CreateDBInstanceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateDBInstanceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateDBInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
void CreateDBInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setEngine(const std::string& engine)
|
||||
{
|
||||
engine_ = engine;
|
||||
setParameter("Engine", engine);
|
||||
std::string CreateDBInstanceRequest::getEngine() const {
|
||||
return engine_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getDBInstanceDescription()const
|
||||
{
|
||||
return dBInstanceDescription_;
|
||||
void CreateDBInstanceRequest::setEngine(const std::string &engine) {
|
||||
engine_ = engine;
|
||||
setParameter(std::string("Engine"), engine);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setDBInstanceDescription(const std::string& dBInstanceDescription)
|
||||
{
|
||||
dBInstanceDescription_ = dBInstanceDescription;
|
||||
setParameter("DBInstanceDescription", dBInstanceDescription);
|
||||
std::string CreateDBInstanceRequest::getDBInstanceDescription() const {
|
||||
return dBInstanceDescription_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getDBInstanceGroupCount()const
|
||||
{
|
||||
return dBInstanceGroupCount_;
|
||||
void CreateDBInstanceRequest::setDBInstanceDescription(const std::string &dBInstanceDescription) {
|
||||
dBInstanceDescription_ = dBInstanceDescription;
|
||||
setParameter(std::string("DBInstanceDescription"), dBInstanceDescription);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setDBInstanceGroupCount(const std::string& dBInstanceGroupCount)
|
||||
{
|
||||
dBInstanceGroupCount_ = dBInstanceGroupCount;
|
||||
setParameter("DBInstanceGroupCount", dBInstanceGroupCount);
|
||||
std::string CreateDBInstanceRequest::getDBInstanceGroupCount() const {
|
||||
return dBInstanceGroupCount_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getPeriod()const
|
||||
{
|
||||
return period_;
|
||||
void CreateDBInstanceRequest::setDBInstanceGroupCount(const std::string &dBInstanceGroupCount) {
|
||||
dBInstanceGroupCount_ = dBInstanceGroupCount;
|
||||
setParameter(std::string("DBInstanceGroupCount"), dBInstanceGroupCount);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
std::string CreateDBInstanceRequest::getPeriod() const {
|
||||
return period_;
|
||||
}
|
||||
|
||||
long CreateDBInstanceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateDBInstanceRequest::setPeriod(const std::string &period) {
|
||||
period_ = period;
|
||||
setParameter(std::string("Period"), period);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateDBInstanceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getUsedTime()const
|
||||
{
|
||||
return usedTime_;
|
||||
void CreateDBInstanceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setUsedTime(const std::string& usedTime)
|
||||
{
|
||||
usedTime_ = usedTime;
|
||||
setParameter("UsedTime", usedTime);
|
||||
std::string CreateDBInstanceRequest::getUsedTime() const {
|
||||
return usedTime_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getDBInstanceClass()const
|
||||
{
|
||||
return dBInstanceClass_;
|
||||
void CreateDBInstanceRequest::setUsedTime(const std::string &usedTime) {
|
||||
usedTime_ = usedTime;
|
||||
setParameter(std::string("UsedTime"), usedTime);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setDBInstanceClass(const std::string& dBInstanceClass)
|
||||
{
|
||||
dBInstanceClass_ = dBInstanceClass;
|
||||
setParameter("DBInstanceClass", dBInstanceClass);
|
||||
std::string CreateDBInstanceRequest::getDBInstanceClass() const {
|
||||
return dBInstanceClass_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getSecurityIPList()const
|
||||
{
|
||||
return securityIPList_;
|
||||
void CreateDBInstanceRequest::setDBInstanceClass(const std::string &dBInstanceClass) {
|
||||
dBInstanceClass_ = dBInstanceClass;
|
||||
setParameter(std::string("DBInstanceClass"), dBInstanceClass);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setSecurityIPList(const std::string& securityIPList)
|
||||
{
|
||||
securityIPList_ = securityIPList;
|
||||
setParameter("SecurityIPList", securityIPList);
|
||||
std::string CreateDBInstanceRequest::getSecurityIPList() const {
|
||||
return securityIPList_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getVSwitchId()const
|
||||
{
|
||||
return vSwitchId_;
|
||||
void CreateDBInstanceRequest::setSecurityIPList(const std::string &securityIPList) {
|
||||
securityIPList_ = securityIPList;
|
||||
setParameter(std::string("SecurityIPList"), securityIPList);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setVSwitchId(const std::string& vSwitchId)
|
||||
{
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter("VSwitchId", vSwitchId);
|
||||
std::string CreateDBInstanceRequest::getVSwitchId() const {
|
||||
return vSwitchId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getPrivateIpAddress()const
|
||||
{
|
||||
return privateIpAddress_;
|
||||
void CreateDBInstanceRequest::setVSwitchId(const std::string &vSwitchId) {
|
||||
vSwitchId_ = vSwitchId;
|
||||
setParameter(std::string("VSwitchId"), vSwitchId);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setPrivateIpAddress(const std::string& privateIpAddress)
|
||||
{
|
||||
privateIpAddress_ = privateIpAddress;
|
||||
setParameter("PrivateIpAddress", privateIpAddress);
|
||||
std::string CreateDBInstanceRequest::getPrivateIpAddress() const {
|
||||
return privateIpAddress_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getVPCId()const
|
||||
{
|
||||
return vPCId_;
|
||||
void CreateDBInstanceRequest::setPrivateIpAddress(const std::string &privateIpAddress) {
|
||||
privateIpAddress_ = privateIpAddress;
|
||||
setParameter(std::string("PrivateIpAddress"), privateIpAddress);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setVPCId(const std::string& vPCId)
|
||||
{
|
||||
vPCId_ = vPCId;
|
||||
setParameter("VPCId", vPCId);
|
||||
std::string CreateDBInstanceRequest::getVPCId() const {
|
||||
return vPCId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getZoneId()const
|
||||
{
|
||||
return zoneId_;
|
||||
void CreateDBInstanceRequest::setVPCId(const std::string &vPCId) {
|
||||
vPCId_ = vPCId;
|
||||
setParameter(std::string("VPCId"), vPCId);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setZoneId(const std::string& zoneId)
|
||||
{
|
||||
zoneId_ = zoneId;
|
||||
setParameter("ZoneId", zoneId);
|
||||
std::string CreateDBInstanceRequest::getZoneId() const {
|
||||
return zoneId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
void CreateDBInstanceRequest::setZoneId(const std::string &zoneId) {
|
||||
zoneId_ = zoneId;
|
||||
setParameter(std::string("ZoneId"), zoneId);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setPayType(const std::string& payType)
|
||||
{
|
||||
payType_ = payType;
|
||||
setParameter("PayType", payType);
|
||||
std::string CreateDBInstanceRequest::getPayType() const {
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceRequest::getInstanceNetworkType()const
|
||||
{
|
||||
return instanceNetworkType_;
|
||||
void CreateDBInstanceRequest::setPayType(const std::string &payType) {
|
||||
payType_ = payType;
|
||||
setParameter(std::string("PayType"), payType);
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setInstanceNetworkType(const std::string& instanceNetworkType)
|
||||
{
|
||||
instanceNetworkType_ = instanceNetworkType;
|
||||
setParameter("InstanceNetworkType", instanceNetworkType);
|
||||
std::string CreateDBInstanceRequest::getInstanceNetworkType() const {
|
||||
return instanceNetworkType_;
|
||||
}
|
||||
|
||||
void CreateDBInstanceRequest::setInstanceNetworkType(const std::string &instanceNetworkType) {
|
||||
instanceNetworkType_ = instanceNetworkType;
|
||||
setParameter(std::string("InstanceNetworkType"), instanceNetworkType);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,12 +41,12 @@ void CreateDBInstanceResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DBInstanceId"].isNull())
|
||||
dBInstanceId_ = value["DBInstanceId"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
if(!value["ConnectionString"].isNull())
|
||||
connectionString_ = value["ConnectionString"].asString();
|
||||
if(!value["Port"].isNull())
|
||||
port_ = value["Port"].asString();
|
||||
if(!value["ConnectionString"].isNull())
|
||||
connectionString_ = value["ConnectionString"].asString();
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -60,13 +60,13 @@ std::string CreateDBInstanceResult::getPort()const
|
||||
return port_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceResult::getConnectionString()const
|
||||
{
|
||||
return connectionString_;
|
||||
}
|
||||
|
||||
std::string CreateDBInstanceResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user