Support DescribePolarSQLCollectorPolicy.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2021-05-06 Version: 1.36.709
|
||||
- Support DescribePolarSQLCollectorPolicy.
|
||||
|
||||
2021-04-30 Version: 1.36.708
|
||||
- Add OpenArmsServiceSecondVersion.
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
polardb/2017-08-01/DescribePolarSQLCollectorPolicy.xml
Normal file
1
polardb/2017-08-01/DescribePolarSQLCollectorPolicy.xml
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="disable" isolationType="outer" parameterType="Single" product="polardb" visibility="Public" akProvenStatus="Disable" version="2017-08-01" keepClientResourceOwnerId="false" name="DescribePolarSQLCollectorPolicy" showJsonItemName="false" status="online"><IsvProtocol protocol="HTTP|HTTPS" method="GET" /><ErrorMapping exceptionExpress="success=false,code,message,httpStatusCode"><ErrorCodes /></ErrorMapping><IspProtocol interface="com.aliyun.adb.openapi.IRdsSqlAuditService" timeout="1000" protocol="dubbo" invokeType="com.aliyun.adb.openapi.request.DescribeSQLCollectorPolicyRequest" method="describeSQLCollectorPolicy" version="1.0.0" retries="-1" /><Parameters><Parameter name="callerBid" tagName="callerBid" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="subCallerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsSecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsAccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="sslCallerIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslCallerSecurityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyCallerSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyCallerIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="mfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appKey" tagName="AccessKeyId" type="String" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="apiName" tagName="Action" type="String" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="clientIP" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerId" tagName="OwnerId" type="Long" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="callerUidLoginEmail" tagName="callerUidEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBidLoginEmail" tagName="callerBidEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerIdLoginEmail" tagName="ownerIdLoginEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="resourceOwnerAccount" tagName="ResourceOwnerAccount" type="String" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="resourceOwnerId" tagName="ResourceOwnerId" type="Long" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="enable" tagName="enable" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="requestContent" tagName="requestContent" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerAccount" tagName="OwnerAccount" type="String" required="false" tagPosition="Query" checkBlank="false"/><Parameter name="product" tagName="Product" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="category" tagName="Category" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="dbInstanceId" tagName="DBClusterId" type="String" required="true" tagPosition="Query" checkBlank="false"/></Parameters><FlowControl controlUnit="Minute" userDefault="100" apiDefault="1000" /><ResultMapping><Member tagName="RequestId" type="String" name="requestId"/><Member tagName="SQLCollectorStatus" type="String" name="data.configValue"/></ResultMapping></Api>
|
||||
@@ -1 +1 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="disable" isolationType="outer" parameterType="Single" product="polardb" visibility="Public" akProvenStatus="Disable" version="2017-08-01" keepClientResourceOwnerId="false" name="DescribeSQLExplorerPolicy" showJsonItemName="true" status="online"><IsvProtocol protocol="HTTPS|HTTP" method="POST|GET" /><ErrorMapping><ErrorCodes /></ErrorMapping><IspProtocol interface="com.aliyun.adb.openapi.IRdsSqlAuditService" timeout="10000" protocol="dubbo" invokeType="com.aliyun.adb.openapi.request.DescribeSQLCollectorPolicyRequest" method="describeSQLCollectorPolicy" version="1.0.0" retries="-1" /><Parameters><Parameter name="callerBid" tagName="callerBid" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="subCallerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsSecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsAccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="sslCallerIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslCallerSecurityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyCallerSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyCallerIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="mfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appKey" tagName="AccessKeyId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="apiName" tagName="Action" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="clientIP" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerId" tagName="OwnerId" type="Long" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="callerUidLoginEmail" tagName="callerUidEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBidLoginEmail" tagName="callerBidEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerIdLoginEmail" tagName="ownerIdLoginEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="resourceOwnerAccount" tagName="ResourceOwnerAccount" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="resourceOwnerId" tagName="ResourceOwnerId" type="Long" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="enable" tagName="enable" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="requestContent" tagName="requestContent" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerAccount" tagName="OwnerAccount" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="product" tagName="Product" type="String" required="false" tagPosition="System" checkBlank="false" defaultValue="polardb"/><Parameter name="category" tagName="Category" type="String" required="false" tagPosition="System" checkBlank="false" defaultValue="dbcluster"/><Parameter name="dbInstanceId" tagName="DBInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Minute" apiDefault="100" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="SQLCollectorStatus" visibility="Public" type="String" name="data.configValue"><Switch><Case value="1" tagValue="Enable"/><Case value="0" tagValue="Disabled"/></Switch></Member></ResultMapping></Api>
|
||||
<?xml version='1.0' encoding='UTF-8'?><Api responseBodyIsOriginalObject="" authType="AK" responseLog="disable" isolationType="outer" parameterType="Single" product="polardb" visibility="Private" akProvenStatus="Disable" version="2017-08-01" keepClientResourceOwnerId="false" name="DescribeSQLExplorerPolicy" showJsonItemName="true" status="online"><IsvProtocol protocol="HTTP|HTTPS" method="POST|GET" /><ErrorMapping><ErrorCodes /></ErrorMapping><IspProtocol interface="com.aliyun.adb.openapi.IRdsSqlAuditService" timeout="10000" protocol="dubbo" invokeType="com.aliyun.adb.openapi.request.DescribeSQLCollectorPolicyRequest" method="describeSQLCollectorPolicy" version="1.0.0" retries="-1" /><Parameters><Parameter name="callerBid" tagName="callerBid" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerUid" tagName="callerUid" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerType" tagName="callerType" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="subCallerParentId" tagName="callerParentId" type="Long" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsSecurityToken" tagName="SecurityToken" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="stsAccessKeyId" tagName="AccessKeyId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="sslCallerIp" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslCallerSecurityTransport" tagName="security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyTrustTransportInfo" tagName="proxy_trust_transport_info" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyCallerSecurityTransport" tagName="proxy_original_security_transport" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="sslProxyCallerIp" tagName="proxy_original_source_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="mfaPresent" tagName="ak_mfa_present" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="requestId" tagName="RequestId" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="appKey" tagName="AccessKeyId" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="apiName" tagName="Action" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="clientIP" tagName="app_ip" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerId" tagName="OwnerId" type="Long" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="callerUidLoginEmail" tagName="callerUidEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="callerBidLoginEmail" tagName="callerBidEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerIdLoginEmail" tagName="ownerIdLoginEmail" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="resourceOwnerAccount" tagName="ResourceOwnerAccount" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="resourceOwnerId" tagName="ResourceOwnerId" type="Long" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="enable" tagName="enable" type="Boolean" required="false" tagPosition="System" checkBlank="false"/><Parameter name="requestContent" tagName="requestContent" type="String" required="false" tagPosition="System" checkBlank="false"/><Parameter name="ownerAccount" tagName="OwnerAccount" type="String" required="false" tagPosition="Query" checkBlank="false" visibility="Public"/><Parameter name="product" tagName="Product" type="String" required="false" tagPosition="System" checkBlank="false" defaultValue="polardb"/><Parameter name="category" tagName="Category" type="String" required="false" tagPosition="System" checkBlank="false" defaultValue="dbcluster"/><Parameter name="dbInstanceId" tagName="DBInstanceId" type="String" required="true" tagPosition="Query" docRequired="true" checkBlank="false" visibility="Public"/></Parameters><FlowControl controlUnit="Minute" apiDefault="100" /><ResultMapping><Member tagName="RequestId" visibility="Public" type="String" name="requestId"/><Member tagName="SQLCollectorStatus" visibility="Public" type="String" name="data.configValue"><Switch><Case value="1" tagValue="Enable"/><Case value="0" tagValue="Disabled"/></Switch></Member></ResultMapping></Api>
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -127,20 +127,16 @@ set(polardb_public_header_model
|
||||
include/alibabacloud/polardb/model/DescribeParameterGroupResult.h
|
||||
include/alibabacloud/polardb/model/DescribeParameterGroupsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeParameterGroupsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeParameterTemplatesRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeParameterTemplatesResult.h
|
||||
include/alibabacloud/polardb/model/DescribePendingMaintenanceActionRequest.h
|
||||
include/alibabacloud/polardb/model/DescribePendingMaintenanceActionResult.h
|
||||
include/alibabacloud/polardb/model/DescribePendingMaintenanceActionsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribePendingMaintenanceActionsResult.h
|
||||
include/alibabacloud/polardb/model/DescribePolarSQLCollectorPolicyRequest.h
|
||||
include/alibabacloud/polardb/model/DescribePolarSQLCollectorPolicyResult.h
|
||||
include/alibabacloud/polardb/model/DescribeRegionsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeRegionsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerPolicyRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerPolicyResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerRetentionRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLExplorerRetentionResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLLogRecordsRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLLogRecordsResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLLogTemplatesRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeSQLLogTemplatesResult.h
|
||||
include/alibabacloud/polardb/model/DescribeScheduleTasksRequest.h
|
||||
include/alibabacloud/polardb/model/DescribeScheduleTasksResult.h
|
||||
include/alibabacloud/polardb/model/DescribeSlowLogRecordsRequest.h
|
||||
@@ -318,20 +314,16 @@ set(polardb_src
|
||||
src/model/DescribeParameterGroupResult.cc
|
||||
src/model/DescribeParameterGroupsRequest.cc
|
||||
src/model/DescribeParameterGroupsResult.cc
|
||||
src/model/DescribeParameterTemplatesRequest.cc
|
||||
src/model/DescribeParameterTemplatesResult.cc
|
||||
src/model/DescribePendingMaintenanceActionRequest.cc
|
||||
src/model/DescribePendingMaintenanceActionResult.cc
|
||||
src/model/DescribePendingMaintenanceActionsRequest.cc
|
||||
src/model/DescribePendingMaintenanceActionsResult.cc
|
||||
src/model/DescribePolarSQLCollectorPolicyRequest.cc
|
||||
src/model/DescribePolarSQLCollectorPolicyResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
src/model/DescribeRegionsResult.cc
|
||||
src/model/DescribeSQLExplorerPolicyRequest.cc
|
||||
src/model/DescribeSQLExplorerPolicyResult.cc
|
||||
src/model/DescribeSQLExplorerRetentionRequest.cc
|
||||
src/model/DescribeSQLExplorerRetentionResult.cc
|
||||
src/model/DescribeSQLLogRecordsRequest.cc
|
||||
src/model/DescribeSQLLogRecordsResult.cc
|
||||
src/model/DescribeSQLLogTemplatesRequest.cc
|
||||
src/model/DescribeSQLLogTemplatesResult.cc
|
||||
src/model/DescribeScheduleTasksRequest.cc
|
||||
src/model/DescribeScheduleTasksResult.cc
|
||||
src/model/DescribeSlowLogRecordsRequest.cc
|
||||
|
||||
@@ -128,20 +128,16 @@
|
||||
#include "model/DescribeParameterGroupResult.h"
|
||||
#include "model/DescribeParameterGroupsRequest.h"
|
||||
#include "model/DescribeParameterGroupsResult.h"
|
||||
#include "model/DescribeParameterTemplatesRequest.h"
|
||||
#include "model/DescribeParameterTemplatesResult.h"
|
||||
#include "model/DescribePendingMaintenanceActionRequest.h"
|
||||
#include "model/DescribePendingMaintenanceActionResult.h"
|
||||
#include "model/DescribePendingMaintenanceActionsRequest.h"
|
||||
#include "model/DescribePendingMaintenanceActionsResult.h"
|
||||
#include "model/DescribePolarSQLCollectorPolicyRequest.h"
|
||||
#include "model/DescribePolarSQLCollectorPolicyResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
#include "model/DescribeRegionsResult.h"
|
||||
#include "model/DescribeSQLExplorerPolicyRequest.h"
|
||||
#include "model/DescribeSQLExplorerPolicyResult.h"
|
||||
#include "model/DescribeSQLExplorerRetentionRequest.h"
|
||||
#include "model/DescribeSQLExplorerRetentionResult.h"
|
||||
#include "model/DescribeSQLLogRecordsRequest.h"
|
||||
#include "model/DescribeSQLLogRecordsResult.h"
|
||||
#include "model/DescribeSQLLogTemplatesRequest.h"
|
||||
#include "model/DescribeSQLLogTemplatesResult.h"
|
||||
#include "model/DescribeScheduleTasksRequest.h"
|
||||
#include "model/DescribeScheduleTasksResult.h"
|
||||
#include "model/DescribeSlowLogRecordsRequest.h"
|
||||
@@ -378,27 +374,21 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeParameterGroupsResult> DescribeParameterGroupsOutcome;
|
||||
typedef std::future<DescribeParameterGroupsOutcome> DescribeParameterGroupsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeParameterGroupsRequest&, const DescribeParameterGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeParameterTemplatesResult> DescribeParameterTemplatesOutcome;
|
||||
typedef std::future<DescribeParameterTemplatesOutcome> DescribeParameterTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeParameterTemplatesRequest&, const DescribeParameterTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeParameterTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePendingMaintenanceActionResult> DescribePendingMaintenanceActionOutcome;
|
||||
typedef std::future<DescribePendingMaintenanceActionOutcome> DescribePendingMaintenanceActionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribePendingMaintenanceActionRequest&, const DescribePendingMaintenanceActionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePendingMaintenanceActionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePendingMaintenanceActionsResult> DescribePendingMaintenanceActionsOutcome;
|
||||
typedef std::future<DescribePendingMaintenanceActionsOutcome> DescribePendingMaintenanceActionsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribePendingMaintenanceActionsRequest&, const DescribePendingMaintenanceActionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePendingMaintenanceActionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePolarSQLCollectorPolicyResult> DescribePolarSQLCollectorPolicyOutcome;
|
||||
typedef std::future<DescribePolarSQLCollectorPolicyOutcome> DescribePolarSQLCollectorPolicyOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribePolarSQLCollectorPolicyRequest&, const DescribePolarSQLCollectorPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePolarSQLCollectorPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
|
||||
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLExplorerPolicyResult> DescribeSQLExplorerPolicyOutcome;
|
||||
typedef std::future<DescribeSQLExplorerPolicyOutcome> DescribeSQLExplorerPolicyOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLExplorerPolicyRequest&, const DescribeSQLExplorerPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLExplorerPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLExplorerRetentionResult> DescribeSQLExplorerRetentionOutcome;
|
||||
typedef std::future<DescribeSQLExplorerRetentionOutcome> DescribeSQLExplorerRetentionOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLExplorerRetentionRequest&, const DescribeSQLExplorerRetentionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLExplorerRetentionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogRecordsResult> DescribeSQLLogRecordsOutcome;
|
||||
typedef std::future<DescribeSQLLogRecordsOutcome> DescribeSQLLogRecordsOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLLogRecordsRequest&, const DescribeSQLLogRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSQLLogTemplatesResult> DescribeSQLLogTemplatesOutcome;
|
||||
typedef std::future<DescribeSQLLogTemplatesOutcome> DescribeSQLLogTemplatesOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeSQLLogTemplatesRequest&, const DescribeSQLLogTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSQLLogTemplatesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeScheduleTasksResult> DescribeScheduleTasksOutcome;
|
||||
typedef std::future<DescribeScheduleTasksOutcome> DescribeScheduleTasksOutcomeCallable;
|
||||
typedef std::function<void(const PolardbClient*, const Model::DescribeScheduleTasksRequest&, const DescribeScheduleTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeScheduleTasksAsyncHandler;
|
||||
@@ -665,27 +655,21 @@ namespace AlibabaCloud
|
||||
DescribeParameterGroupsOutcome describeParameterGroups(const Model::DescribeParameterGroupsRequest &request)const;
|
||||
void describeParameterGroupsAsync(const Model::DescribeParameterGroupsRequest& request, const DescribeParameterGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterGroupsOutcomeCallable describeParameterGroupsCallable(const Model::DescribeParameterGroupsRequest& request) const;
|
||||
DescribeParameterTemplatesOutcome describeParameterTemplates(const Model::DescribeParameterTemplatesRequest &request)const;
|
||||
void describeParameterTemplatesAsync(const Model::DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeParameterTemplatesOutcomeCallable describeParameterTemplatesCallable(const Model::DescribeParameterTemplatesRequest& request) const;
|
||||
DescribePendingMaintenanceActionOutcome describePendingMaintenanceAction(const Model::DescribePendingMaintenanceActionRequest &request)const;
|
||||
void describePendingMaintenanceActionAsync(const Model::DescribePendingMaintenanceActionRequest& request, const DescribePendingMaintenanceActionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePendingMaintenanceActionOutcomeCallable describePendingMaintenanceActionCallable(const Model::DescribePendingMaintenanceActionRequest& request) const;
|
||||
DescribePendingMaintenanceActionsOutcome describePendingMaintenanceActions(const Model::DescribePendingMaintenanceActionsRequest &request)const;
|
||||
void describePendingMaintenanceActionsAsync(const Model::DescribePendingMaintenanceActionsRequest& request, const DescribePendingMaintenanceActionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePendingMaintenanceActionsOutcomeCallable describePendingMaintenanceActionsCallable(const Model::DescribePendingMaintenanceActionsRequest& request) const;
|
||||
DescribePolarSQLCollectorPolicyOutcome describePolarSQLCollectorPolicy(const Model::DescribePolarSQLCollectorPolicyRequest &request)const;
|
||||
void describePolarSQLCollectorPolicyAsync(const Model::DescribePolarSQLCollectorPolicyRequest& request, const DescribePolarSQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePolarSQLCollectorPolicyOutcomeCallable describePolarSQLCollectorPolicyCallable(const Model::DescribePolarSQLCollectorPolicyRequest& request) const;
|
||||
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
|
||||
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
|
||||
DescribeSQLExplorerPolicyOutcome describeSQLExplorerPolicy(const Model::DescribeSQLExplorerPolicyRequest &request)const;
|
||||
void describeSQLExplorerPolicyAsync(const Model::DescribeSQLExplorerPolicyRequest& request, const DescribeSQLExplorerPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLExplorerPolicyOutcomeCallable describeSQLExplorerPolicyCallable(const Model::DescribeSQLExplorerPolicyRequest& request) const;
|
||||
DescribeSQLExplorerRetentionOutcome describeSQLExplorerRetention(const Model::DescribeSQLExplorerRetentionRequest &request)const;
|
||||
void describeSQLExplorerRetentionAsync(const Model::DescribeSQLExplorerRetentionRequest& request, const DescribeSQLExplorerRetentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLExplorerRetentionOutcomeCallable describeSQLExplorerRetentionCallable(const Model::DescribeSQLExplorerRetentionRequest& 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;
|
||||
DescribeSQLLogTemplatesOutcome describeSQLLogTemplates(const Model::DescribeSQLLogTemplatesRequest &request)const;
|
||||
void describeSQLLogTemplatesAsync(const Model::DescribeSQLLogTemplatesRequest& request, const DescribeSQLLogTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSQLLogTemplatesOutcomeCallable describeSQLLogTemplatesCallable(const Model::DescribeSQLLogTemplatesRequest& request) const;
|
||||
DescribeScheduleTasksOutcome describeScheduleTasks(const Model::DescribeScheduleTasksRequest &request)const;
|
||||
void describeScheduleTasksAsync(const Model::DescribeScheduleTasksRequest& request, const DescribeScheduleTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeScheduleTasksOutcomeCallable describeScheduleTasksCallable(const Model::DescribeScheduleTasksRequest& request) const;
|
||||
|
||||
@@ -32,16 +32,11 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeDBClusterAttributeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
struct DBNode
|
||||
{
|
||||
std::string dBNodeStatus;
|
||||
std::string zoneId;
|
||||
int maxConnections;
|
||||
std::string zoneId;
|
||||
std::string dBNodeRole;
|
||||
std::string creationTime;
|
||||
std::string dBNodeId;
|
||||
@@ -49,6 +44,11 @@ namespace AlibabaCloud
|
||||
std::string dBNodeClass;
|
||||
int maxIOPS;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
DescribeDBClusterAttributeResult();
|
||||
@@ -74,10 +74,11 @@ namespace AlibabaCloud
|
||||
std::string getVSwitchId()const;
|
||||
std::string getDBClusterDescription()const;
|
||||
std::string getExpired()const;
|
||||
std::string getPayType()const;
|
||||
std::string getLockMode()const;
|
||||
std::string getPayType()const;
|
||||
long getStorageUsed()const;
|
||||
std::string getDBVersionStatus()const;
|
||||
std::string getSubCategory()const;
|
||||
std::string getCreationTime()const;
|
||||
std::string getRegionId()const;
|
||||
long getSQLSize()const;
|
||||
@@ -106,10 +107,11 @@ namespace AlibabaCloud
|
||||
std::string vSwitchId_;
|
||||
std::string dBClusterDescription_;
|
||||
std::string expired_;
|
||||
std::string payType_;
|
||||
std::string lockMode_;
|
||||
std::string payType_;
|
||||
long storageUsed_;
|
||||
std::string dBVersionStatus_;
|
||||
std::string subCategory_;
|
||||
std::string creationTime_;
|
||||
std::string regionId_;
|
||||
long sQLSize_;
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace AlibabaCloud
|
||||
std::string port;
|
||||
std::string vSwitchId;
|
||||
std::string vpcInstanceId;
|
||||
std::string connectionString;
|
||||
std::string iPAddress;
|
||||
std::string connectionString;
|
||||
std::string netType;
|
||||
};
|
||||
std::string dBEndpointId;
|
||||
@@ -50,10 +50,10 @@ namespace AlibabaCloud
|
||||
std::string autoAddNewNodes;
|
||||
std::string endpointType;
|
||||
std::vector<DBEndpoint::Address> addressItems;
|
||||
std::string nodes;
|
||||
std::string readWriteMode;
|
||||
std::string endpointConfig;
|
||||
std::string dBEndpointDescription;
|
||||
std::string endpointConfig;
|
||||
std::string readWriteMode;
|
||||
std::string nodes;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,22 +37,30 @@ namespace AlibabaCloud
|
||||
DescribeDBClusterVersionResult();
|
||||
explicit DescribeDBClusterVersionResult(const std::string &payload);
|
||||
~DescribeDBClusterVersionResult();
|
||||
std::string getProxyVersionStatus()const;
|
||||
std::string getIsLatestVersion()const;
|
||||
std::string getDBVersion()const;
|
||||
std::string getDBRevisionVersion()const;
|
||||
std::string getDBVersionStatus()const;
|
||||
std::string getDBClusterId()const;
|
||||
std::string getDBLatestVersion()const;
|
||||
std::string getProxyRevisionVersion()const;
|
||||
std::string getDBMinorVersion()const;
|
||||
std::string getProxyLatestVersion()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string proxyVersionStatus_;
|
||||
std::string isLatestVersion_;
|
||||
std::string dBVersion_;
|
||||
std::string dBRevisionVersion_;
|
||||
std::string dBVersionStatus_;
|
||||
std::string dBClusterId_;
|
||||
std::string dBLatestVersion_;
|
||||
std::string proxyRevisionVersion_;
|
||||
std::string dBMinorVersion_;
|
||||
std::string proxyLatestVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string dBVersion;
|
||||
std::string parameterGroupId;
|
||||
std::string digitalId;
|
||||
std::string forceRestart;
|
||||
std::string parameterGroupName;
|
||||
std::string createTime;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,42 +28,42 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerRetentionRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeParameterTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLExplorerRetentionRequest();
|
||||
~DescribeSQLExplorerRetentionRequest();
|
||||
DescribeParameterTemplatesRequest();
|
||||
~DescribeParameterTemplatesRequest();
|
||||
|
||||
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& regionId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBType()const;
|
||||
void setDBType(const std::string& dBType);
|
||||
std::string getDBVersion()const;
|
||||
void setDBVersion(const std::string& dBVersion);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string regionId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string dBType_;
|
||||
std::string dBVersion_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPARAMETERTEMPLATESREQUEST_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_POLARDB_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeParameterTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TemplateRecord
|
||||
{
|
||||
std::string forceModify;
|
||||
std::string checkingCode;
|
||||
std::string parameterValue;
|
||||
std::string forceRestart;
|
||||
std::string parameterName;
|
||||
std::string parameterDescription;
|
||||
};
|
||||
|
||||
|
||||
DescribeParameterTemplatesResult();
|
||||
explicit DescribeParameterTemplatesResult(const std::string &payload);
|
||||
~DescribeParameterTemplatesResult();
|
||||
std::string getParameterCount()const;
|
||||
std::string getDBVersion()const;
|
||||
std::vector<TemplateRecord> getParameters()const;
|
||||
std::string getDBType()const;
|
||||
std::string getEngine()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string parameterCount_;
|
||||
std::string dBVersion_;
|
||||
std::vector<TemplateRecord> parameters_;
|
||||
std::string dBType_;
|
||||
std::string engine_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPARAMETERTEMPLATESRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPOLARSQLCOLLECTORPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPOLARSQLCOLLECTORPOLICYREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,21 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerPolicyRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribePolarSQLCollectorPolicyRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLExplorerPolicyRequest();
|
||||
~DescribeSQLExplorerPolicyRequest();
|
||||
DescribePolarSQLCollectorPolicyRequest();
|
||||
~DescribePolarSQLCollectorPolicyRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
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);
|
||||
std::string getDBClusterId()const;
|
||||
void setDBClusterId(const std::string& dBClusterId);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
@@ -51,8 +51,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -60,4 +60,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPOLARSQLCOLLECTORPOLICYREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYRESULT_H_
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPOLARSQLCOLLECTORPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPOLARSQLCOLLECTORPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerPolicyResult : public ServiceResult
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribePolarSQLCollectorPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeSQLExplorerPolicyResult();
|
||||
explicit DescribeSQLExplorerPolicyResult(const std::string &payload);
|
||||
~DescribeSQLExplorerPolicyResult();
|
||||
DescribePolarSQLCollectorPolicyResult();
|
||||
explicit DescribePolarSQLCollectorPolicyResult(const std::string &payload);
|
||||
~DescribePolarSQLCollectorPolicyResult();
|
||||
std::string getSQLCollectorStatus()const;
|
||||
|
||||
protected:
|
||||
@@ -48,4 +48,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERPOLICYRESULT_H_
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBEPOLARSQLCOLLECTORPOLICYRESULT_H_
|
||||
@@ -1,55 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLExplorerRetentionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeSQLExplorerRetentionResult();
|
||||
explicit DescribeSQLExplorerRetentionResult(const std::string &payload);
|
||||
~DescribeSQLExplorerRetentionResult();
|
||||
std::string getConfigValue()const;
|
||||
int getDBInstanceID()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string configValue_;
|
||||
int dBInstanceID_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLEXPLORERRETENTIONRESULT_H_
|
||||
@@ -1,132 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLLogRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLLogRecordsRequest();
|
||||
~DescribeSQLLogRecordsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getAccountName()const;
|
||||
void setAccountName(const std::string& accountName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
long getMinConsume()const;
|
||||
void setMinConsume(long minConsume);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getLogicalOperator()const;
|
||||
void setLogicalOperator(const std::string& logicalOperator);
|
||||
std::string getDBName()const;
|
||||
void setDBName(const std::string& dBName);
|
||||
long getMinScanRows()const;
|
||||
void setMinScanRows(long minScanRows);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getHostAddress()const;
|
||||
void setHostAddress(const std::string& hostAddress);
|
||||
std::string getSortKey()const;
|
||||
void setSortKey(const std::string& sortKey);
|
||||
int getPageNumbers()const;
|
||||
void setPageNumbers(int pageNumbers);
|
||||
std::string getPagingID()const;
|
||||
void setPagingID(const std::string& pagingID);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
std::string getTableName()const;
|
||||
void setTableName(const std::string& tableName);
|
||||
std::string getSqlType()const;
|
||||
void setSqlType(const std::string& sqlType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getMaxRecordsPerPage()const;
|
||||
void setMaxRecordsPerPage(int maxRecordsPerPage);
|
||||
std::string getQueryKeyword()const;
|
||||
void setQueryKeyword(const std::string& queryKeyword);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getMaxConsume()const;
|
||||
void setMaxConsume(long maxConsume);
|
||||
std::string getThreadID()const;
|
||||
void setThreadID(const std::string& threadID);
|
||||
std::string getChildDBInstanceIDs()const;
|
||||
void setChildDBInstanceIDs(const std::string& childDBInstanceIDs);
|
||||
std::string getSortMethod()const;
|
||||
void setSortMethod(const std::string& sortMethod);
|
||||
long getMaxScanRows()const;
|
||||
void setMaxScanRows(long maxScanRows);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
std::string jobId_;
|
||||
std::string accountName_;
|
||||
std::string securityToken_;
|
||||
std::string state_;
|
||||
long minConsume_;
|
||||
long ownerId_;
|
||||
std::string logicalOperator_;
|
||||
std::string dBName_;
|
||||
long minScanRows_;
|
||||
std::string accessKeyId_;
|
||||
std::string hostAddress_;
|
||||
std::string sortKey_;
|
||||
int pageNumbers_;
|
||||
std::string pagingID_;
|
||||
std::string dBInstanceId_;
|
||||
std::string tableName_;
|
||||
std::string sqlType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
int maxRecordsPerPage_;
|
||||
std::string queryKeyword_;
|
||||
std::string endTime_;
|
||||
long maxConsume_;
|
||||
std::string threadID_;
|
||||
std::string childDBInstanceIDs_;
|
||||
std::string sortMethod_;
|
||||
long maxScanRows_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGRECORDSREQUEST_H_
|
||||
@@ -1,90 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGRECORDSRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGRECORDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLLogRecordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SQLLogRecord
|
||||
{
|
||||
std::string executeTime;
|
||||
std::string insName;
|
||||
std::string hostAddress;
|
||||
long updateRows;
|
||||
std::string sQLText;
|
||||
std::string originTime;
|
||||
long consume;
|
||||
long scanRows;
|
||||
int threadID;
|
||||
std::string state;
|
||||
std::string dBName;
|
||||
std::string sqlType;
|
||||
std::string vip;
|
||||
std::string accountName;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLLogRecordsResult();
|
||||
explicit DescribeSQLLogRecordsResult(const std::string &payload);
|
||||
~DescribeSQLLogRecordsResult();
|
||||
int getMaxRecordsPerPage()const;
|
||||
int getItemsNumbers()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDBInstanceID()const;
|
||||
std::string getStartTime()const;
|
||||
int getTotalRecords()const;
|
||||
std::vector<SQLLogRecord> getItems()const;
|
||||
std::string getFinish()const;
|
||||
int getPageNumbers()const;
|
||||
std::string getJobId()const;
|
||||
std::string getPagingID()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int maxRecordsPerPage_;
|
||||
int itemsNumbers_;
|
||||
std::string endTime_;
|
||||
std::string dBInstanceID_;
|
||||
std::string startTime_;
|
||||
int totalRecords_;
|
||||
std::vector<SQLLogRecord> items_;
|
||||
std::string finish_;
|
||||
int pageNumbers_;
|
||||
std::string jobId_;
|
||||
std::string pagingID_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGRECORDSRESULT_H_
|
||||
@@ -1,108 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTEMPLATESREQUEST_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTEMPLATESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLLogTemplatesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSQLLogTemplatesRequest();
|
||||
~DescribeSQLLogTemplatesRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getSortKey()const;
|
||||
void setSortKey(const std::string& sortKey);
|
||||
float getMinAvgScanRows()const;
|
||||
void setMinAvgScanRows(float minAvgScanRows);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
int getPageNumbers()const;
|
||||
void setPageNumbers(int pageNumbers);
|
||||
std::string getPagingId()const;
|
||||
void setPagingId(const std::string& pagingId);
|
||||
std::string getDBInstanceId()const;
|
||||
void setDBInstanceId(const std::string& dBInstanceId);
|
||||
float getMaxAvgScanRows()const;
|
||||
void setMaxAvgScanRows(float maxAvgScanRows);
|
||||
std::string getSqlType()const;
|
||||
void setSqlType(const std::string& sqlType);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
float getMinAvgConsume()const;
|
||||
void setMinAvgConsume(float minAvgConsume);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
int getMaxRecordsPerPage()const;
|
||||
void setMaxRecordsPerPage(int maxRecordsPerPage);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
float getMaxAvgConsume()const;
|
||||
void setMaxAvgConsume(float maxAvgConsume);
|
||||
std::string getChildDBInstanceIDs()const;
|
||||
void setChildDBInstanceIDs(const std::string& childDBInstanceIDs);
|
||||
std::string getSortMethod()const;
|
||||
void setSortMethod(const std::string& sortMethod);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string jobId_;
|
||||
std::string sortKey_;
|
||||
float minAvgScanRows_;
|
||||
std::string securityToken_;
|
||||
int pageNumbers_;
|
||||
std::string pagingId_;
|
||||
std::string dBInstanceId_;
|
||||
float maxAvgScanRows_;
|
||||
std::string sqlType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
float minAvgConsume_;
|
||||
std::string ownerAccount_;
|
||||
int maxRecordsPerPage_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
float maxAvgConsume_;
|
||||
std::string childDBInstanceIDs_;
|
||||
std::string sortMethod_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTEMPLATESREQUEST_H_
|
||||
@@ -1,87 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTEMPLATESRESULT_H_
|
||||
#define ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTEMPLATESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/polardb/PolardbExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Polardb
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_POLARDB_EXPORT DescribeSQLLogTemplatesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct _Template
|
||||
{
|
||||
float avgScanRows;
|
||||
std::string templateHash;
|
||||
float avgConsume;
|
||||
std::string _template;
|
||||
long totalScanRows;
|
||||
long totalUpdateRows;
|
||||
long totalCounts;
|
||||
std::string sqlType;
|
||||
float avgUpdateRows;
|
||||
int itemID;
|
||||
long totalConsume;
|
||||
};
|
||||
|
||||
|
||||
DescribeSQLLogTemplatesResult();
|
||||
explicit DescribeSQLLogTemplatesResult(const std::string &payload);
|
||||
~DescribeSQLLogTemplatesResult();
|
||||
int getMaxRecordsPerPage()const;
|
||||
int getItemsNumbers()const;
|
||||
std::string getEndTime()const;
|
||||
int getDBInstanceID()const;
|
||||
std::string getStartTime()const;
|
||||
int getTotalRecords()const;
|
||||
std::vector<_Template> getItems()const;
|
||||
std::string getFinish()const;
|
||||
int getPageNumbers()const;
|
||||
std::string getJobId()const;
|
||||
std::string getPagingID()const;
|
||||
std::string getDBInstanceName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int maxRecordsPerPage_;
|
||||
int itemsNumbers_;
|
||||
std::string endTime_;
|
||||
int dBInstanceID_;
|
||||
std::string startTime_;
|
||||
int totalRecords_;
|
||||
std::vector<_Template> items_;
|
||||
std::string finish_;
|
||||
int pageNumbers_;
|
||||
std::string jobId_;
|
||||
std::string pagingID_;
|
||||
std::string dBInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_POLARDB_MODEL_DESCRIBESQLLOGTEMPLATESRESULT_H_
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getParameterGroupId()const;
|
||||
void setParameterGroupId(const std::string& parameterGroupId);
|
||||
std::string getEffectiveTime()const;
|
||||
void setEffectiveTime(const std::string& effectiveTime);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getDBClusterId()const;
|
||||
@@ -58,7 +56,6 @@ namespace AlibabaCloud
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string parameterGroupId_;
|
||||
std::string effectiveTime_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string dBClusterId_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
@@ -1959,6 +1959,42 @@ PolardbClient::DescribeParameterGroupsOutcomeCallable PolardbClient::describePar
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeParameterTemplatesOutcome PolardbClient::describeParameterTemplates(const DescribeParameterTemplatesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeParameterTemplatesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeParameterTemplatesOutcome(DescribeParameterTemplatesResult(outcome.result()));
|
||||
else
|
||||
return DescribeParameterTemplatesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeParameterTemplatesAsync(const DescribeParameterTemplatesRequest& request, const DescribeParameterTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeParameterTemplates(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeParameterTemplatesOutcomeCallable PolardbClient::describeParameterTemplatesCallable(const DescribeParameterTemplatesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeParameterTemplatesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeParameterTemplates(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribePendingMaintenanceActionOutcome PolardbClient::describePendingMaintenanceAction(const DescribePendingMaintenanceActionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2031,6 +2067,42 @@ PolardbClient::DescribePendingMaintenanceActionsOutcomeCallable PolardbClient::d
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribePolarSQLCollectorPolicyOutcome PolardbClient::describePolarSQLCollectorPolicy(const DescribePolarSQLCollectorPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePolarSQLCollectorPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePolarSQLCollectorPolicyOutcome(DescribePolarSQLCollectorPolicyResult(outcome.result()));
|
||||
else
|
||||
return DescribePolarSQLCollectorPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describePolarSQLCollectorPolicyAsync(const DescribePolarSQLCollectorPolicyRequest& request, const DescribePolarSQLCollectorPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePolarSQLCollectorPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribePolarSQLCollectorPolicyOutcomeCallable PolardbClient::describePolarSQLCollectorPolicyCallable(const DescribePolarSQLCollectorPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePolarSQLCollectorPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePolarSQLCollectorPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeRegionsOutcome PolardbClient::describeRegions(const DescribeRegionsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2067,150 +2139,6 @@ PolardbClient::DescribeRegionsOutcomeCallable PolardbClient::describeRegionsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerPolicyOutcome PolardbClient::describeSQLExplorerPolicy(const DescribeSQLExplorerPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLExplorerPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLExplorerPolicyOutcome(DescribeSQLExplorerPolicyResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLExplorerPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLExplorerPolicyAsync(const DescribeSQLExplorerPolicyRequest& request, const DescribeSQLExplorerPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLExplorerPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerPolicyOutcomeCallable PolardbClient::describeSQLExplorerPolicyCallable(const DescribeSQLExplorerPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLExplorerPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLExplorerPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerRetentionOutcome PolardbClient::describeSQLExplorerRetention(const DescribeSQLExplorerRetentionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLExplorerRetentionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLExplorerRetentionOutcome(DescribeSQLExplorerRetentionResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLExplorerRetentionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLExplorerRetentionAsync(const DescribeSQLExplorerRetentionRequest& request, const DescribeSQLExplorerRetentionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLExplorerRetention(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLExplorerRetentionOutcomeCallable PolardbClient::describeSQLExplorerRetentionCallable(const DescribeSQLExplorerRetentionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLExplorerRetentionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLExplorerRetention(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLLogRecordsOutcome PolardbClient::describeSQLLogRecords(const DescribeSQLLogRecordsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLLogRecordsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLLogRecordsOutcome(DescribeSQLLogRecordsResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLLogRecordsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLLogRecordsAsync(const DescribeSQLLogRecordsRequest& request, const DescribeSQLLogRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLLogRecords(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLLogRecordsOutcomeCallable PolardbClient::describeSQLLogRecordsCallable(const DescribeSQLLogRecordsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLLogRecordsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLLogRecords(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLLogTemplatesOutcome PolardbClient::describeSQLLogTemplates(const DescribeSQLLogTemplatesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeSQLLogTemplatesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeSQLLogTemplatesOutcome(DescribeSQLLogTemplatesResult(outcome.result()));
|
||||
else
|
||||
return DescribeSQLLogTemplatesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void PolardbClient::describeSQLLogTemplatesAsync(const DescribeSQLLogTemplatesRequest& request, const DescribeSQLLogTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeSQLLogTemplates(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
PolardbClient::DescribeSQLLogTemplatesOutcomeCallable PolardbClient::describeSQLLogTemplatesCallable(const DescribeSQLLogTemplatesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeSQLLogTemplatesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeSQLLogTemplates(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
PolardbClient::DescribeScheduleTasksOutcome PolardbClient::describeScheduleTasks(const DescribeScheduleTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -39,92 +39,94 @@ void DescribeDBClusterAttributeResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTagsNode = value["Tags"]["Tag"];
|
||||
for (auto valueTagsTag : allTagsNode)
|
||||
{
|
||||
Tag tagsObject;
|
||||
if(!valueTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueTagsTag["Key"].asString();
|
||||
if(!valueTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueTagsTag["Value"].asString();
|
||||
tags_.push_back(tagsObject);
|
||||
}
|
||||
auto allDBNodesNode = value["DBNodes"]["DBNode"];
|
||||
for (auto valueDBNodesDBNode : allDBNodesNode)
|
||||
{
|
||||
DBNode dBNodesObject;
|
||||
if(!valueDBNodesDBNode["DBNodeId"].isNull())
|
||||
dBNodesObject.dBNodeId = valueDBNodesDBNode["DBNodeId"].asString();
|
||||
if(!valueDBNodesDBNode["ZoneId"].isNull())
|
||||
dBNodesObject.zoneId = valueDBNodesDBNode["ZoneId"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeStatus"].isNull())
|
||||
dBNodesObject.dBNodeStatus = valueDBNodesDBNode["DBNodeStatus"].asString();
|
||||
if(!valueDBNodesDBNode["CreationTime"].isNull())
|
||||
dBNodesObject.creationTime = valueDBNodesDBNode["CreationTime"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeClass"].isNull())
|
||||
dBNodesObject.dBNodeClass = valueDBNodesDBNode["DBNodeClass"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeRole"].isNull())
|
||||
dBNodesObject.dBNodeRole = valueDBNodesDBNode["DBNodeRole"].asString();
|
||||
if(!valueDBNodesDBNode["MaxIOPS"].isNull())
|
||||
dBNodesObject.maxIOPS = std::stoi(valueDBNodesDBNode["MaxIOPS"].asString());
|
||||
if(!valueDBNodesDBNode["MaxConnections"].isNull())
|
||||
dBNodesObject.maxConnections = std::stoi(valueDBNodesDBNode["MaxConnections"].asString());
|
||||
if(!valueDBNodesDBNode["ZoneId"].isNull())
|
||||
dBNodesObject.zoneId = valueDBNodesDBNode["ZoneId"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeRole"].isNull())
|
||||
dBNodesObject.dBNodeRole = valueDBNodesDBNode["DBNodeRole"].asString();
|
||||
if(!valueDBNodesDBNode["CreationTime"].isNull())
|
||||
dBNodesObject.creationTime = valueDBNodesDBNode["CreationTime"].asString();
|
||||
if(!valueDBNodesDBNode["DBNodeId"].isNull())
|
||||
dBNodesObject.dBNodeId = valueDBNodesDBNode["DBNodeId"].asString();
|
||||
if(!valueDBNodesDBNode["FailoverPriority"].isNull())
|
||||
dBNodesObject.failoverPriority = std::stoi(valueDBNodesDBNode["FailoverPriority"].asString());
|
||||
if(!valueDBNodesDBNode["DBNodeClass"].isNull())
|
||||
dBNodesObject.dBNodeClass = valueDBNodesDBNode["DBNodeClass"].asString();
|
||||
if(!valueDBNodesDBNode["MaxIOPS"].isNull())
|
||||
dBNodesObject.maxIOPS = std::stoi(valueDBNodesDBNode["MaxIOPS"].asString());
|
||||
dBNodes_.push_back(dBNodesObject);
|
||||
}
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["DBClusterNetworkType"].isNull())
|
||||
dBClusterNetworkType_ = value["DBClusterNetworkType"].asString();
|
||||
if(!value["VPCId"].isNull())
|
||||
vPCId_ = value["VPCId"].asString();
|
||||
if(!value["VSwitchId"].isNull())
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
payType_ = value["PayType"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["DBClusterStatus"].isNull())
|
||||
dBClusterStatus_ = value["DBClusterStatus"].asString();
|
||||
if(!value["DBClusterDescription"].isNull())
|
||||
dBClusterDescription_ = value["DBClusterDescription"].asString();
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
if(!value["DBType"].isNull())
|
||||
dBType_ = value["DBType"].asString();
|
||||
if(!value["DBVersion"].isNull())
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["LockMode"].isNull())
|
||||
lockMode_ = value["LockMode"].asString();
|
||||
auto allTagsNode = value["Tags"]["Tag"];
|
||||
for (auto valueTagsTag : allTagsNode)
|
||||
{
|
||||
Tag tagsObject;
|
||||
if(!valueTagsTag["Value"].isNull())
|
||||
tagsObject.value = valueTagsTag["Value"].asString();
|
||||
if(!valueTagsTag["Key"].isNull())
|
||||
tagsObject.key = valueTagsTag["Key"].asString();
|
||||
tags_.push_back(tagsObject);
|
||||
}
|
||||
if(!value["DeletionLock"].isNull())
|
||||
deletionLock_ = std::stoi(value["DeletionLock"].asString());
|
||||
if(!value["CreationTime"].isNull())
|
||||
creationTime_ = value["CreationTime"].asString();
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
if(!value["Expired"].isNull())
|
||||
expired_ = value["Expired"].asString();
|
||||
if(!value["MaintainTime"].isNull())
|
||||
maintainTime_ = value["MaintainTime"].asString();
|
||||
if(!value["StorageUsed"].isNull())
|
||||
storageUsed_ = std::stol(value["StorageUsed"].asString());
|
||||
if(!value["StorageMax"].isNull())
|
||||
storageMax_ = std::stol(value["StorageMax"].asString());
|
||||
if(!value["ZoneIds"].isNull())
|
||||
zoneIds_ = value["ZoneIds"].asString();
|
||||
if(!value["SQLSize"].isNull())
|
||||
sQLSize_ = std::stol(value["SQLSize"].asString());
|
||||
if(!value["IsLatestVersion"].isNull())
|
||||
isLatestVersion_ = value["IsLatestVersion"].asString() == "true";
|
||||
if(!value["Category"].isNull())
|
||||
category_ = value["Category"].asString();
|
||||
if(!value["ResourceGroupId"].isNull())
|
||||
resourceGroupId_ = value["ResourceGroupId"].asString();
|
||||
if(!value["DataLevel1BackupChainSize"].isNull())
|
||||
dataLevel1BackupChainSize_ = std::stol(value["DataLevel1BackupChainSize"].asString());
|
||||
if(!value["Category"].isNull())
|
||||
category_ = value["Category"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["DBClusterNetworkType"].isNull())
|
||||
dBClusterNetworkType_ = value["DBClusterNetworkType"].asString();
|
||||
if(!value["DBType"].isNull())
|
||||
dBType_ = value["DBType"].asString();
|
||||
if(!value["IsLatestVersion"].isNull())
|
||||
isLatestVersion_ = value["IsLatestVersion"].asString() == "true";
|
||||
if(!value["DBVersion"].isNull())
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["StorageMax"].isNull())
|
||||
storageMax_ = std::stol(value["StorageMax"].asString());
|
||||
if(!value["ZoneIds"].isNull())
|
||||
zoneIds_ = value["ZoneIds"].asString();
|
||||
if(!value["MaintainTime"].isNull())
|
||||
maintainTime_ = value["MaintainTime"].asString();
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
if(!value["VPCId"].isNull())
|
||||
vPCId_ = value["VPCId"].asString();
|
||||
if(!value["DBClusterStatus"].isNull())
|
||||
dBClusterStatus_ = value["DBClusterStatus"].asString();
|
||||
if(!value["VSwitchId"].isNull())
|
||||
vSwitchId_ = value["VSwitchId"].asString();
|
||||
if(!value["DBClusterDescription"].isNull())
|
||||
dBClusterDescription_ = value["DBClusterDescription"].asString();
|
||||
if(!value["Expired"].isNull())
|
||||
expired_ = value["Expired"].asString();
|
||||
if(!value["LockMode"].isNull())
|
||||
lockMode_ = value["LockMode"].asString();
|
||||
if(!value["PayType"].isNull())
|
||||
payType_ = value["PayType"].asString();
|
||||
if(!value["StorageUsed"].isNull())
|
||||
storageUsed_ = std::stol(value["StorageUsed"].asString());
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
if(!value["SubCategory"].isNull())
|
||||
subCategory_ = value["SubCategory"].asString();
|
||||
if(!value["CreationTime"].isNull())
|
||||
creationTime_ = value["CreationTime"].asString();
|
||||
if(!value["RegionId"].isNull())
|
||||
regionId_ = value["RegionId"].asString();
|
||||
if(!value["SQLSize"].isNull())
|
||||
sQLSize_ = std::stol(value["SQLSize"].asString());
|
||||
if(!value["ExpireTime"].isNull())
|
||||
expireTime_ = value["ExpireTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -228,16 +230,16 @@ std::string DescribeDBClusterAttributeResult::getExpired()const
|
||||
return expired_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getLockMode()const
|
||||
{
|
||||
return lockMode_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getPayType()const
|
||||
{
|
||||
return payType_;
|
||||
}
|
||||
|
||||
long DescribeDBClusterAttributeResult::getStorageUsed()const
|
||||
{
|
||||
return storageUsed_;
|
||||
@@ -248,6 +250,11 @@ std::string DescribeDBClusterAttributeResult::getDBVersionStatus()const
|
||||
return dBVersionStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getSubCategory()const
|
||||
{
|
||||
return subCategory_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterAttributeResult::getCreationTime()const
|
||||
{
|
||||
return creationTime_;
|
||||
|
||||
@@ -45,40 +45,40 @@ void DescribeDBClusterEndpointsResult::parse(const std::string &payload)
|
||||
DBEndpoint itemsObject;
|
||||
if(!valueItemsDBEndpoint["DBEndpointId"].isNull())
|
||||
itemsObject.dBEndpointId = valueItemsDBEndpoint["DBEndpointId"].asString();
|
||||
if(!valueItemsDBEndpoint["EndpointType"].isNull())
|
||||
itemsObject.endpointType = valueItemsDBEndpoint["EndpointType"].asString();
|
||||
if(!valueItemsDBEndpoint["Nodes"].isNull())
|
||||
itemsObject.nodes = valueItemsDBEndpoint["Nodes"].asString();
|
||||
if(!valueItemsDBEndpoint["ReadWriteMode"].isNull())
|
||||
itemsObject.readWriteMode = valueItemsDBEndpoint["ReadWriteMode"].asString();
|
||||
if(!valueItemsDBEndpoint["AutoAddNewNodes"].isNull())
|
||||
itemsObject.autoAddNewNodes = valueItemsDBEndpoint["AutoAddNewNodes"].asString();
|
||||
if(!valueItemsDBEndpoint["EndpointConfig"].isNull())
|
||||
itemsObject.endpointConfig = valueItemsDBEndpoint["EndpointConfig"].asString();
|
||||
if(!valueItemsDBEndpoint["NodeWithRoles"].isNull())
|
||||
itemsObject.nodeWithRoles = valueItemsDBEndpoint["NodeWithRoles"].asString();
|
||||
if(!valueItemsDBEndpoint["AutoAddNewNodes"].isNull())
|
||||
itemsObject.autoAddNewNodes = valueItemsDBEndpoint["AutoAddNewNodes"].asString();
|
||||
if(!valueItemsDBEndpoint["EndpointType"].isNull())
|
||||
itemsObject.endpointType = valueItemsDBEndpoint["EndpointType"].asString();
|
||||
if(!valueItemsDBEndpoint["DBEndpointDescription"].isNull())
|
||||
itemsObject.dBEndpointDescription = valueItemsDBEndpoint["DBEndpointDescription"].asString();
|
||||
if(!valueItemsDBEndpoint["EndpointConfig"].isNull())
|
||||
itemsObject.endpointConfig = valueItemsDBEndpoint["EndpointConfig"].asString();
|
||||
if(!valueItemsDBEndpoint["ReadWriteMode"].isNull())
|
||||
itemsObject.readWriteMode = valueItemsDBEndpoint["ReadWriteMode"].asString();
|
||||
if(!valueItemsDBEndpoint["Nodes"].isNull())
|
||||
itemsObject.nodes = valueItemsDBEndpoint["Nodes"].asString();
|
||||
auto allAddressItemsNode = valueItemsDBEndpoint["AddressItems"]["Address"];
|
||||
for (auto valueItemsDBEndpointAddressItemsAddress : allAddressItemsNode)
|
||||
{
|
||||
DBEndpoint::Address addressItemsObject;
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["ConnectionString"].isNull())
|
||||
addressItemsObject.connectionString = valueItemsDBEndpointAddressItemsAddress["ConnectionString"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["IPAddress"].isNull())
|
||||
addressItemsObject.iPAddress = valueItemsDBEndpointAddressItemsAddress["IPAddress"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["NetType"].isNull())
|
||||
addressItemsObject.netType = valueItemsDBEndpointAddressItemsAddress["NetType"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["Port"].isNull())
|
||||
addressItemsObject.port = valueItemsDBEndpointAddressItemsAddress["Port"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["PrivateZoneConnectionString"].isNull())
|
||||
addressItemsObject.privateZoneConnectionString = valueItemsDBEndpointAddressItemsAddress["PrivateZoneConnectionString"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["VPCId"].isNull())
|
||||
addressItemsObject.vPCId = valueItemsDBEndpointAddressItemsAddress["VPCId"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["Port"].isNull())
|
||||
addressItemsObject.port = valueItemsDBEndpointAddressItemsAddress["Port"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["VSwitchId"].isNull())
|
||||
addressItemsObject.vSwitchId = valueItemsDBEndpointAddressItemsAddress["VSwitchId"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["VpcInstanceId"].isNull())
|
||||
addressItemsObject.vpcInstanceId = valueItemsDBEndpointAddressItemsAddress["VpcInstanceId"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["PrivateZoneConnectionString"].isNull())
|
||||
addressItemsObject.privateZoneConnectionString = valueItemsDBEndpointAddressItemsAddress["PrivateZoneConnectionString"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["IPAddress"].isNull())
|
||||
addressItemsObject.iPAddress = valueItemsDBEndpointAddressItemsAddress["IPAddress"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["ConnectionString"].isNull())
|
||||
addressItemsObject.connectionString = valueItemsDBEndpointAddressItemsAddress["ConnectionString"].asString();
|
||||
if(!valueItemsDBEndpointAddressItemsAddress["NetType"].isNull())
|
||||
addressItemsObject.netType = valueItemsDBEndpointAddressItemsAddress["NetType"].asString();
|
||||
itemsObject.addressItems.push_back(addressItemsObject);
|
||||
}
|
||||
items_.push_back(itemsObject);
|
||||
|
||||
@@ -39,21 +39,34 @@ void DescribeDBClusterVersionResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["DBVersion"].isNull())
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["DBMinorVersion"].isNull())
|
||||
dBMinorVersion_ = value["DBMinorVersion"].asString();
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
if(!value["ProxyVersionStatus"].isNull())
|
||||
proxyVersionStatus_ = value["ProxyVersionStatus"].asString();
|
||||
if(!value["IsLatestVersion"].isNull())
|
||||
isLatestVersion_ = value["IsLatestVersion"].asString();
|
||||
if(!value["DBVersion"].isNull())
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["DBRevisionVersion"].isNull())
|
||||
dBRevisionVersion_ = value["DBRevisionVersion"].asString();
|
||||
if(!value["DBVersionStatus"].isNull())
|
||||
dBVersionStatus_ = value["DBVersionStatus"].asString();
|
||||
if(!value["DBClusterId"].isNull())
|
||||
dBClusterId_ = value["DBClusterId"].asString();
|
||||
if(!value["DBLatestVersion"].isNull())
|
||||
dBLatestVersion_ = value["DBLatestVersion"].asString();
|
||||
if(!value["ProxyRevisionVersion"].isNull())
|
||||
proxyRevisionVersion_ = value["ProxyRevisionVersion"].asString();
|
||||
if(!value["DBMinorVersion"].isNull())
|
||||
dBMinorVersion_ = value["DBMinorVersion"].asString();
|
||||
if(!value["ProxyLatestVersion"].isNull())
|
||||
proxyLatestVersion_ = value["ProxyLatestVersion"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getProxyVersionStatus()const
|
||||
{
|
||||
return proxyVersionStatus_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getIsLatestVersion()const
|
||||
{
|
||||
return isLatestVersion_;
|
||||
@@ -79,8 +92,23 @@ std::string DescribeDBClusterVersionResult::getDBClusterId()const
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getDBLatestVersion()const
|
||||
{
|
||||
return dBLatestVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getProxyRevisionVersion()const
|
||||
{
|
||||
return proxyRevisionVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getDBMinorVersion()const
|
||||
{
|
||||
return dBMinorVersion_;
|
||||
}
|
||||
|
||||
std::string DescribeDBClusterVersionResult::getProxyLatestVersion()const
|
||||
{
|
||||
return proxyLatestVersion_;
|
||||
}
|
||||
|
||||
|
||||
@@ -47,8 +47,6 @@ void DescribeParameterGroupsResult::parse(const std::string &payload)
|
||||
parameterGroupsObject.dBVersion = valueParameterGroupsParameterGroupsItem["DBVersion"].asString();
|
||||
if(!valueParameterGroupsParameterGroupsItem["ParameterGroupId"].isNull())
|
||||
parameterGroupsObject.parameterGroupId = valueParameterGroupsParameterGroupsItem["ParameterGroupId"].asString();
|
||||
if(!valueParameterGroupsParameterGroupsItem["DigitalId"].isNull())
|
||||
parameterGroupsObject.digitalId = valueParameterGroupsParameterGroupsItem["DigitalId"].asString();
|
||||
if(!valueParameterGroupsParameterGroupsItem["ForceRestart"].isNull())
|
||||
parameterGroupsObject.forceRestart = valueParameterGroupsParameterGroupsItem["ForceRestart"].asString();
|
||||
if(!valueParameterGroupsParameterGroupsItem["ParameterGroupName"].isNull())
|
||||
|
||||
117
polardb/src/model/DescribeParameterTemplatesRequest.cc
Normal file
117
polardb/src/model/DescribeParameterTemplatesRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeParameterTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeParameterTemplatesRequest;
|
||||
|
||||
DescribeParameterTemplatesRequest::DescribeParameterTemplatesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeParameterTemplates")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeParameterTemplatesRequest::~DescribeParameterTemplatesRequest()
|
||||
{}
|
||||
|
||||
long DescribeParameterTemplatesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeParameterTemplatesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setDBType(const std::string& dBType)
|
||||
{
|
||||
dBType_ = dBType;
|
||||
setParameter("DBType", dBType);
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesRequest::getDBVersion()const
|
||||
{
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
void DescribeParameterTemplatesRequest::setDBVersion(const std::string& dBVersion)
|
||||
{
|
||||
dBVersion_ = dBVersion;
|
||||
setParameter("DBVersion", dBVersion);
|
||||
}
|
||||
|
||||
95
polardb/src/model/DescribeParameterTemplatesResult.cc
Normal file
95
polardb/src/model/DescribeParameterTemplatesResult.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeParameterTemplatesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeParameterTemplatesResult::DescribeParameterTemplatesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeParameterTemplatesResult::DescribeParameterTemplatesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeParameterTemplatesResult::~DescribeParameterTemplatesResult()
|
||||
{}
|
||||
|
||||
void DescribeParameterTemplatesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParametersNode = value["Parameters"]["TemplateRecord"];
|
||||
for (auto valueParametersTemplateRecord : allParametersNode)
|
||||
{
|
||||
TemplateRecord parametersObject;
|
||||
if(!valueParametersTemplateRecord["ForceModify"].isNull())
|
||||
parametersObject.forceModify = valueParametersTemplateRecord["ForceModify"].asString();
|
||||
if(!valueParametersTemplateRecord["CheckingCode"].isNull())
|
||||
parametersObject.checkingCode = valueParametersTemplateRecord["CheckingCode"].asString();
|
||||
if(!valueParametersTemplateRecord["ParameterValue"].isNull())
|
||||
parametersObject.parameterValue = valueParametersTemplateRecord["ParameterValue"].asString();
|
||||
if(!valueParametersTemplateRecord["ForceRestart"].isNull())
|
||||
parametersObject.forceRestart = valueParametersTemplateRecord["ForceRestart"].asString();
|
||||
if(!valueParametersTemplateRecord["ParameterName"].isNull())
|
||||
parametersObject.parameterName = valueParametersTemplateRecord["ParameterName"].asString();
|
||||
if(!valueParametersTemplateRecord["ParameterDescription"].isNull())
|
||||
parametersObject.parameterDescription = valueParametersTemplateRecord["ParameterDescription"].asString();
|
||||
parameters_.push_back(parametersObject);
|
||||
}
|
||||
if(!value["ParameterCount"].isNull())
|
||||
parameterCount_ = value["ParameterCount"].asString();
|
||||
if(!value["DBVersion"].isNull())
|
||||
dBVersion_ = value["DBVersion"].asString();
|
||||
if(!value["DBType"].isNull())
|
||||
dBType_ = value["DBType"].asString();
|
||||
if(!value["Engine"].isNull())
|
||||
engine_ = value["Engine"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesResult::getParameterCount()const
|
||||
{
|
||||
return parameterCount_;
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesResult::getDBVersion()const
|
||||
{
|
||||
return dBVersion_;
|
||||
}
|
||||
|
||||
std::vector<DescribeParameterTemplatesResult::TemplateRecord> DescribeParameterTemplatesResult::getParameters()const
|
||||
{
|
||||
return parameters_;
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesResult::getDBType()const
|
||||
{
|
||||
return dBType_;
|
||||
}
|
||||
|
||||
std::string DescribeParameterTemplatesResult::getEngine()const
|
||||
{
|
||||
return engine_;
|
||||
}
|
||||
|
||||
95
polardb/src/model/DescribePolarSQLCollectorPolicyRequest.cc
Normal file
95
polardb/src/model/DescribePolarSQLCollectorPolicyRequest.cc
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribePolarSQLCollectorPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribePolarSQLCollectorPolicyRequest;
|
||||
|
||||
DescribePolarSQLCollectorPolicyRequest::DescribePolarSQLCollectorPolicyRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribePolarSQLCollectorPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DescribePolarSQLCollectorPolicyRequest::~DescribePolarSQLCollectorPolicyRequest()
|
||||
{}
|
||||
|
||||
long DescribePolarSQLCollectorPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribePolarSQLCollectorPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribePolarSQLCollectorPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribePolarSQLCollectorPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribePolarSQLCollectorPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribePolarSQLCollectorPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribePolarSQLCollectorPolicyRequest::getDBClusterId()const
|
||||
{
|
||||
return dBClusterId_;
|
||||
}
|
||||
|
||||
void DescribePolarSQLCollectorPolicyRequest::setDBClusterId(const std::string& dBClusterId)
|
||||
{
|
||||
dBClusterId_ = dBClusterId;
|
||||
setParameter("DBClusterId", dBClusterId);
|
||||
}
|
||||
|
||||
std::string DescribePolarSQLCollectorPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribePolarSQLCollectorPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribePolarSQLCollectorPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribePolarSQLCollectorPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerPolicyResult.h>
|
||||
#include <alibabacloud/polardb/model/DescribePolarSQLCollectorPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSQLExplorerPolicyResult::DescribeSQLExplorerPolicyResult() :
|
||||
DescribePolarSQLCollectorPolicyResult::DescribePolarSQLCollectorPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSQLExplorerPolicyResult::DescribeSQLExplorerPolicyResult(const std::string &payload) :
|
||||
DescribePolarSQLCollectorPolicyResult::DescribePolarSQLCollectorPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerPolicyResult::~DescribeSQLExplorerPolicyResult()
|
||||
DescribePolarSQLCollectorPolicyResult::~DescribePolarSQLCollectorPolicyResult()
|
||||
{}
|
||||
|
||||
void DescribeSQLExplorerPolicyResult::parse(const std::string &payload)
|
||||
void DescribePolarSQLCollectorPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -44,7 +44,7 @@ void DescribeSQLExplorerPolicyResult::parse(const std::string &payload)
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyResult::getSQLCollectorStatus()const
|
||||
std::string DescribePolarSQLCollectorPolicyResult::getSQLCollectorStatus()const
|
||||
{
|
||||
return sQLCollectorStatus_;
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLExplorerPolicyRequest;
|
||||
|
||||
DescribeSQLExplorerPolicyRequest::DescribeSQLExplorerPolicyRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLExplorerPolicy")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerPolicyRequest::~DescribeSQLExplorerPolicyRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLExplorerPolicyRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerPolicyRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSQLExplorerPolicyRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerPolicyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerRetentionRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLExplorerRetentionRequest;
|
||||
|
||||
DescribeSQLExplorerRetentionRequest::DescribeSQLExplorerRetentionRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLExplorerRetention")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerRetentionRequest::~DescribeSQLExplorerRetentionRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLExplorerRetentionRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DescribeSQLExplorerRetentionRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLExplorerRetentionRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLExplorerRetentionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSQLExplorerRetentionResult::DescribeSQLExplorerRetentionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSQLExplorerRetentionResult::DescribeSQLExplorerRetentionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSQLExplorerRetentionResult::~DescribeSQLExplorerRetentionResult()
|
||||
{}
|
||||
|
||||
void DescribeSQLExplorerRetentionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ConfigValue"].isNull())
|
||||
configValue_ = value["ConfigValue"].asString();
|
||||
if(!value["DBInstanceID"].isNull())
|
||||
dBInstanceID_ = std::stoi(value["DBInstanceID"].asString());
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionResult::getConfigValue()const
|
||||
{
|
||||
return configValue_;
|
||||
}
|
||||
|
||||
int DescribeSQLExplorerRetentionResult::getDBInstanceID()const
|
||||
{
|
||||
return dBInstanceID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLExplorerRetentionResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
@@ -1,348 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLLogRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLLogRecordsRequest;
|
||||
|
||||
DescribeSQLLogRecordsRequest::DescribeSQLLogRecordsRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLLogRecords")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLLogRecordsRequest::~DescribeSQLLogRecordsRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLLogRecordsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getAccountName()const
|
||||
{
|
||||
return accountName_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setAccountName(const std::string& accountName)
|
||||
{
|
||||
accountName_ = accountName;
|
||||
setParameter("AccountName", accountName);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
long DescribeSQLLogRecordsRequest::getMinConsume()const
|
||||
{
|
||||
return minConsume_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setMinConsume(long minConsume)
|
||||
{
|
||||
minConsume_ = minConsume;
|
||||
setParameter("MinConsume", std::to_string(minConsume));
|
||||
}
|
||||
|
||||
long DescribeSQLLogRecordsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getLogicalOperator()const
|
||||
{
|
||||
return logicalOperator_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setLogicalOperator(const std::string& logicalOperator)
|
||||
{
|
||||
logicalOperator_ = logicalOperator;
|
||||
setParameter("LogicalOperator", logicalOperator);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getDBName()const
|
||||
{
|
||||
return dBName_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setDBName(const std::string& dBName)
|
||||
{
|
||||
dBName_ = dBName;
|
||||
setParameter("DBName", dBName);
|
||||
}
|
||||
|
||||
long DescribeSQLLogRecordsRequest::getMinScanRows()const
|
||||
{
|
||||
return minScanRows_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setMinScanRows(long minScanRows)
|
||||
{
|
||||
minScanRows_ = minScanRows;
|
||||
setParameter("MinScanRows", std::to_string(minScanRows));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getHostAddress()const
|
||||
{
|
||||
return hostAddress_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setHostAddress(const std::string& hostAddress)
|
||||
{
|
||||
hostAddress_ = hostAddress;
|
||||
setParameter("HostAddress", hostAddress);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getSortKey()const
|
||||
{
|
||||
return sortKey_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setSortKey(const std::string& sortKey)
|
||||
{
|
||||
sortKey_ = sortKey;
|
||||
setParameter("SortKey", sortKey);
|
||||
}
|
||||
|
||||
int DescribeSQLLogRecordsRequest::getPageNumbers()const
|
||||
{
|
||||
return pageNumbers_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setPageNumbers(int pageNumbers)
|
||||
{
|
||||
pageNumbers_ = pageNumbers;
|
||||
setParameter("PageNumbers", std::to_string(pageNumbers));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getPagingID()const
|
||||
{
|
||||
return pagingID_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setPagingID(const std::string& pagingID)
|
||||
{
|
||||
pagingID_ = pagingID;
|
||||
setParameter("PagingID", pagingID);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getTableName()const
|
||||
{
|
||||
return tableName_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setTableName(const std::string& tableName)
|
||||
{
|
||||
tableName_ = tableName;
|
||||
setParameter("TableName", tableName);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getSqlType()const
|
||||
{
|
||||
return sqlType_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setSqlType(const std::string& sqlType)
|
||||
{
|
||||
sqlType_ = sqlType;
|
||||
setParameter("SqlType", sqlType);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeSQLLogRecordsRequest::getMaxRecordsPerPage()const
|
||||
{
|
||||
return maxRecordsPerPage_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setMaxRecordsPerPage(int maxRecordsPerPage)
|
||||
{
|
||||
maxRecordsPerPage_ = maxRecordsPerPage;
|
||||
setParameter("MaxRecordsPerPage", std::to_string(maxRecordsPerPage));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getQueryKeyword()const
|
||||
{
|
||||
return queryKeyword_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setQueryKeyword(const std::string& queryKeyword)
|
||||
{
|
||||
queryKeyword_ = queryKeyword;
|
||||
setParameter("QueryKeyword", queryKeyword);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeSQLLogRecordsRequest::getMaxConsume()const
|
||||
{
|
||||
return maxConsume_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setMaxConsume(long maxConsume)
|
||||
{
|
||||
maxConsume_ = maxConsume;
|
||||
setParameter("MaxConsume", std::to_string(maxConsume));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getThreadID()const
|
||||
{
|
||||
return threadID_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setThreadID(const std::string& threadID)
|
||||
{
|
||||
threadID_ = threadID;
|
||||
setParameter("ThreadID", threadID);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getChildDBInstanceIDs()const
|
||||
{
|
||||
return childDBInstanceIDs_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setChildDBInstanceIDs(const std::string& childDBInstanceIDs)
|
||||
{
|
||||
childDBInstanceIDs_ = childDBInstanceIDs;
|
||||
setParameter("ChildDBInstanceIDs", childDBInstanceIDs);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsRequest::getSortMethod()const
|
||||
{
|
||||
return sortMethod_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setSortMethod(const std::string& sortMethod)
|
||||
{
|
||||
sortMethod_ = sortMethod;
|
||||
setParameter("SortMethod", sortMethod);
|
||||
}
|
||||
|
||||
long DescribeSQLLogRecordsRequest::getMaxScanRows()const
|
||||
{
|
||||
return maxScanRows_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogRecordsRequest::setMaxScanRows(long maxScanRows)
|
||||
{
|
||||
maxScanRows_ = maxScanRows;
|
||||
setParameter("MaxScanRows", std::to_string(maxScanRows));
|
||||
}
|
||||
|
||||
@@ -1,160 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLLogRecordsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSQLLogRecordsResult::DescribeSQLLogRecordsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSQLLogRecordsResult::DescribeSQLLogRecordsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSQLLogRecordsResult::~DescribeSQLLogRecordsResult()
|
||||
{}
|
||||
|
||||
void DescribeSQLLogRecordsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["SQLLogRecord"];
|
||||
for (auto valueItemsSQLLogRecord : allItemsNode)
|
||||
{
|
||||
SQLLogRecord itemsObject;
|
||||
if(!valueItemsSQLLogRecord["ExecuteTime"].isNull())
|
||||
itemsObject.executeTime = valueItemsSQLLogRecord["ExecuteTime"].asString();
|
||||
if(!valueItemsSQLLogRecord["InsName"].isNull())
|
||||
itemsObject.insName = valueItemsSQLLogRecord["InsName"].asString();
|
||||
if(!valueItemsSQLLogRecord["HostAddress"].isNull())
|
||||
itemsObject.hostAddress = valueItemsSQLLogRecord["HostAddress"].asString();
|
||||
if(!valueItemsSQLLogRecord["UpdateRows"].isNull())
|
||||
itemsObject.updateRows = std::stol(valueItemsSQLLogRecord["UpdateRows"].asString());
|
||||
if(!valueItemsSQLLogRecord["SQLText"].isNull())
|
||||
itemsObject.sQLText = valueItemsSQLLogRecord["SQLText"].asString();
|
||||
if(!valueItemsSQLLogRecord["OriginTime"].isNull())
|
||||
itemsObject.originTime = valueItemsSQLLogRecord["OriginTime"].asString();
|
||||
if(!valueItemsSQLLogRecord["Consume"].isNull())
|
||||
itemsObject.consume = std::stol(valueItemsSQLLogRecord["Consume"].asString());
|
||||
if(!valueItemsSQLLogRecord["ScanRows"].isNull())
|
||||
itemsObject.scanRows = std::stol(valueItemsSQLLogRecord["ScanRows"].asString());
|
||||
if(!valueItemsSQLLogRecord["ThreadID"].isNull())
|
||||
itemsObject.threadID = std::stoi(valueItemsSQLLogRecord["ThreadID"].asString());
|
||||
if(!valueItemsSQLLogRecord["State"].isNull())
|
||||
itemsObject.state = valueItemsSQLLogRecord["State"].asString();
|
||||
if(!valueItemsSQLLogRecord["DBName"].isNull())
|
||||
itemsObject.dBName = valueItemsSQLLogRecord["DBName"].asString();
|
||||
if(!valueItemsSQLLogRecord["SqlType"].isNull())
|
||||
itemsObject.sqlType = valueItemsSQLLogRecord["SqlType"].asString();
|
||||
if(!valueItemsSQLLogRecord["Vip"].isNull())
|
||||
itemsObject.vip = valueItemsSQLLogRecord["Vip"].asString();
|
||||
if(!valueItemsSQLLogRecord["AccountName"].isNull())
|
||||
itemsObject.accountName = valueItemsSQLLogRecord["AccountName"].asString();
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["MaxRecordsPerPage"].isNull())
|
||||
maxRecordsPerPage_ = std::stoi(value["MaxRecordsPerPage"].asString());
|
||||
if(!value["ItemsNumbers"].isNull())
|
||||
itemsNumbers_ = std::stoi(value["ItemsNumbers"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DBInstanceID"].isNull())
|
||||
dBInstanceID_ = value["DBInstanceID"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["TotalRecords"].isNull())
|
||||
totalRecords_ = std::stoi(value["TotalRecords"].asString());
|
||||
if(!value["Finish"].isNull())
|
||||
finish_ = value["Finish"].asString();
|
||||
if(!value["PageNumbers"].isNull())
|
||||
pageNumbers_ = std::stoi(value["PageNumbers"].asString());
|
||||
if(!value["JobId"].isNull())
|
||||
jobId_ = value["JobId"].asString();
|
||||
if(!value["PagingID"].isNull())
|
||||
pagingID_ = value["PagingID"].asString();
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeSQLLogRecordsResult::getMaxRecordsPerPage()const
|
||||
{
|
||||
return maxRecordsPerPage_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogRecordsResult::getItemsNumbers()const
|
||||
{
|
||||
return itemsNumbers_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getDBInstanceID()const
|
||||
{
|
||||
return dBInstanceID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogRecordsResult::getTotalRecords()const
|
||||
{
|
||||
return totalRecords_;
|
||||
}
|
||||
|
||||
std::vector<DescribeSQLLogRecordsResult::SQLLogRecord> DescribeSQLLogRecordsResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getFinish()const
|
||||
{
|
||||
return finish_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogRecordsResult::getPageNumbers()const
|
||||
{
|
||||
return pageNumbers_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getPagingID()const
|
||||
{
|
||||
return pagingID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogRecordsResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
@@ -1,260 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLLogTemplatesRequest.h>
|
||||
|
||||
using AlibabaCloud::Polardb::Model::DescribeSQLLogTemplatesRequest;
|
||||
|
||||
DescribeSQLLogTemplatesRequest::DescribeSQLLogTemplatesRequest() :
|
||||
RpcServiceRequest("polardb", "2017-08-01", "DescribeSQLLogTemplates")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSQLLogTemplatesRequest::~DescribeSQLLogTemplatesRequest()
|
||||
{}
|
||||
|
||||
long DescribeSQLLogTemplatesRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getSortKey()const
|
||||
{
|
||||
return sortKey_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setSortKey(const std::string& sortKey)
|
||||
{
|
||||
sortKey_ = sortKey;
|
||||
setParameter("SortKey", sortKey);
|
||||
}
|
||||
|
||||
float DescribeSQLLogTemplatesRequest::getMinAvgScanRows()const
|
||||
{
|
||||
return minAvgScanRows_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setMinAvgScanRows(float minAvgScanRows)
|
||||
{
|
||||
minAvgScanRows_ = minAvgScanRows;
|
||||
setParameter("MinAvgScanRows", std::to_string(minAvgScanRows));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesRequest::getPageNumbers()const
|
||||
{
|
||||
return pageNumbers_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setPageNumbers(int pageNumbers)
|
||||
{
|
||||
pageNumbers_ = pageNumbers;
|
||||
setParameter("PageNumbers", std::to_string(pageNumbers));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getPagingId()const
|
||||
{
|
||||
return pagingId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setPagingId(const std::string& pagingId)
|
||||
{
|
||||
pagingId_ = pagingId;
|
||||
setParameter("PagingId", pagingId);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getDBInstanceId()const
|
||||
{
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setDBInstanceId(const std::string& dBInstanceId)
|
||||
{
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter("DBInstanceId", dBInstanceId);
|
||||
}
|
||||
|
||||
float DescribeSQLLogTemplatesRequest::getMaxAvgScanRows()const
|
||||
{
|
||||
return maxAvgScanRows_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setMaxAvgScanRows(float maxAvgScanRows)
|
||||
{
|
||||
maxAvgScanRows_ = maxAvgScanRows;
|
||||
setParameter("MaxAvgScanRows", std::to_string(maxAvgScanRows));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getSqlType()const
|
||||
{
|
||||
return sqlType_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setSqlType(const std::string& sqlType)
|
||||
{
|
||||
sqlType_ = sqlType;
|
||||
setParameter("SqlType", sqlType);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
float DescribeSQLLogTemplatesRequest::getMinAvgConsume()const
|
||||
{
|
||||
return minAvgConsume_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setMinAvgConsume(float minAvgConsume)
|
||||
{
|
||||
minAvgConsume_ = minAvgConsume;
|
||||
setParameter("MinAvgConsume", std::to_string(minAvgConsume));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesRequest::getMaxRecordsPerPage()const
|
||||
{
|
||||
return maxRecordsPerPage_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setMaxRecordsPerPage(int maxRecordsPerPage)
|
||||
{
|
||||
maxRecordsPerPage_ = maxRecordsPerPage;
|
||||
setParameter("MaxRecordsPerPage", std::to_string(maxRecordsPerPage));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeSQLLogTemplatesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
float DescribeSQLLogTemplatesRequest::getMaxAvgConsume()const
|
||||
{
|
||||
return maxAvgConsume_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setMaxAvgConsume(float maxAvgConsume)
|
||||
{
|
||||
maxAvgConsume_ = maxAvgConsume;
|
||||
setParameter("MaxAvgConsume", std::to_string(maxAvgConsume));
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getChildDBInstanceIDs()const
|
||||
{
|
||||
return childDBInstanceIDs_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setChildDBInstanceIDs(const std::string& childDBInstanceIDs)
|
||||
{
|
||||
childDBInstanceIDs_ = childDBInstanceIDs;
|
||||
setParameter("ChildDBInstanceIDs", childDBInstanceIDs);
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesRequest::getSortMethod()const
|
||||
{
|
||||
return sortMethod_;
|
||||
}
|
||||
|
||||
void DescribeSQLLogTemplatesRequest::setSortMethod(const std::string& sortMethod)
|
||||
{
|
||||
sortMethod_ = sortMethod;
|
||||
setParameter("SortMethod", sortMethod);
|
||||
}
|
||||
|
||||
@@ -1,154 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/polardb/model/DescribeSQLLogTemplatesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Polardb;
|
||||
using namespace AlibabaCloud::Polardb::Model;
|
||||
|
||||
DescribeSQLLogTemplatesResult::DescribeSQLLogTemplatesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeSQLLogTemplatesResult::DescribeSQLLogTemplatesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeSQLLogTemplatesResult::~DescribeSQLLogTemplatesResult()
|
||||
{}
|
||||
|
||||
void DescribeSQLLogTemplatesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allItemsNode = value["Items"]["Template"];
|
||||
for (auto valueItemsTemplate : allItemsNode)
|
||||
{
|
||||
_Template itemsObject;
|
||||
if(!valueItemsTemplate["AvgScanRows"].isNull())
|
||||
itemsObject.avgScanRows = std::stof(valueItemsTemplate["AvgScanRows"].asString());
|
||||
if(!valueItemsTemplate["TemplateHash"].isNull())
|
||||
itemsObject.templateHash = valueItemsTemplate["TemplateHash"].asString();
|
||||
if(!valueItemsTemplate["AvgConsume"].isNull())
|
||||
itemsObject.avgConsume = std::stof(valueItemsTemplate["AvgConsume"].asString());
|
||||
if(!valueItemsTemplate["TotalScanRows"].isNull())
|
||||
itemsObject.totalScanRows = std::stol(valueItemsTemplate["TotalScanRows"].asString());
|
||||
if(!valueItemsTemplate["TotalUpdateRows"].isNull())
|
||||
itemsObject.totalUpdateRows = std::stol(valueItemsTemplate["TotalUpdateRows"].asString());
|
||||
if(!valueItemsTemplate["TotalCounts"].isNull())
|
||||
itemsObject.totalCounts = std::stol(valueItemsTemplate["TotalCounts"].asString());
|
||||
if(!valueItemsTemplate["SqlType"].isNull())
|
||||
itemsObject.sqlType = valueItemsTemplate["SqlType"].asString();
|
||||
if(!valueItemsTemplate["AvgUpdateRows"].isNull())
|
||||
itemsObject.avgUpdateRows = std::stof(valueItemsTemplate["AvgUpdateRows"].asString());
|
||||
if(!valueItemsTemplate["ItemID"].isNull())
|
||||
itemsObject.itemID = std::stoi(valueItemsTemplate["ItemID"].asString());
|
||||
if(!valueItemsTemplate["Template"].isNull())
|
||||
itemsObject._template = valueItemsTemplate["Template"].asString();
|
||||
if(!valueItemsTemplate["TotalConsume"].isNull())
|
||||
itemsObject.totalConsume = std::stol(valueItemsTemplate["TotalConsume"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["MaxRecordsPerPage"].isNull())
|
||||
maxRecordsPerPage_ = std::stoi(value["MaxRecordsPerPage"].asString());
|
||||
if(!value["ItemsNumbers"].isNull())
|
||||
itemsNumbers_ = std::stoi(value["ItemsNumbers"].asString());
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DBInstanceID"].isNull())
|
||||
dBInstanceID_ = std::stoi(value["DBInstanceID"].asString());
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["TotalRecords"].isNull())
|
||||
totalRecords_ = std::stoi(value["TotalRecords"].asString());
|
||||
if(!value["Finish"].isNull())
|
||||
finish_ = value["Finish"].asString();
|
||||
if(!value["PageNumbers"].isNull())
|
||||
pageNumbers_ = std::stoi(value["PageNumbers"].asString());
|
||||
if(!value["JobId"].isNull())
|
||||
jobId_ = value["JobId"].asString();
|
||||
if(!value["PagingID"].isNull())
|
||||
pagingID_ = value["PagingID"].asString();
|
||||
if(!value["DBInstanceName"].isNull())
|
||||
dBInstanceName_ = value["DBInstanceName"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesResult::getMaxRecordsPerPage()const
|
||||
{
|
||||
return maxRecordsPerPage_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesResult::getItemsNumbers()const
|
||||
{
|
||||
return itemsNumbers_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesResult::getDBInstanceID()const
|
||||
{
|
||||
return dBInstanceID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesResult::getTotalRecords()const
|
||||
{
|
||||
return totalRecords_;
|
||||
}
|
||||
|
||||
std::vector<DescribeSQLLogTemplatesResult::_Template> DescribeSQLLogTemplatesResult::getItems()const
|
||||
{
|
||||
return items_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesResult::getFinish()const
|
||||
{
|
||||
return finish_;
|
||||
}
|
||||
|
||||
int DescribeSQLLogTemplatesResult::getPageNumbers()const
|
||||
{
|
||||
return pageNumbers_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesResult::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesResult::getPagingID()const
|
||||
{
|
||||
return pagingID_;
|
||||
}
|
||||
|
||||
std::string DescribeSQLLogTemplatesResult::getDBInstanceName()const
|
||||
{
|
||||
return dBInstanceName_;
|
||||
}
|
||||
|
||||
@@ -60,17 +60,6 @@ void ModifyDBClusterParametersRequest::setParameterGroupId(const std::string& pa
|
||||
setParameter("ParameterGroupId", parameterGroupId);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterParametersRequest::getEffectiveTime()const
|
||||
{
|
||||
return effectiveTime_;
|
||||
}
|
||||
|
||||
void ModifyDBClusterParametersRequest::setEffectiveTime(const std::string& effectiveTime)
|
||||
{
|
||||
effectiveTime_ = effectiveTime;
|
||||
setParameter("EffectiveTime", effectiveTime);
|
||||
}
|
||||
|
||||
std::string ModifyDBClusterParametersRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user