Support DescribePolarSQLCollectorPolicy.

This commit is contained in:
sdk-team
2021-05-06 03:22:27 +00:00
parent 21d4a23230
commit 111ecd0032
50 changed files with 680 additions and 2040 deletions

View File

@@ -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;

View File

@@ -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_;

View File

@@ -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;
};

View File

@@ -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_;
};
}

View File

@@ -36,7 +36,6 @@ namespace AlibabaCloud
{
std::string dBVersion;
std::string parameterGroupId;
std::string digitalId;
std::string forceRestart;
std::string parameterGroupName;
std::string createTime;

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_;