Supported SQL SERVER support delete backup set according to time range.

This commit is contained in:
sdk-team
2019-12-31 16:58:28 +08:00
parent e471f55ca6
commit 34e1a5148b
53 changed files with 3109 additions and 7 deletions

View File

@@ -86,6 +86,8 @@
#include "model/DeleteAccountResult.h"
#include "model/DeleteBackupRequest.h"
#include "model/DeleteBackupResult.h"
#include "model/DeleteBackupFileRequest.h"
#include "model/DeleteBackupFileResult.h"
#include "model/DeleteDBInstanceRequest.h"
#include "model/DeleteDBInstanceResult.h"
#include "model/DeleteDatabaseRequest.h"
@@ -162,6 +164,12 @@
#include "model/DescribeDBInstancesByPerformanceResult.h"
#include "model/DescribeDBInstancesForCloneRequest.h"
#include "model/DescribeDBInstancesForCloneResult.h"
#include "model/DescribeDBProxyRequest.h"
#include "model/DescribeDBProxyResult.h"
#include "model/DescribeDBProxyEndpointRequest.h"
#include "model/DescribeDBProxyEndpointResult.h"
#include "model/DescribeDBProxyPerformanceRequest.h"
#include "model/DescribeDBProxyPerformanceResult.h"
#include "model/DescribeDTCSecurityIpHostsForSQLServerRequest.h"
#include "model/DescribeDTCSecurityIpHostsForSQLServerResult.h"
#include "model/DescribeDatabasesRequest.h"
@@ -188,6 +196,8 @@
#include "model/DescribeInstanceCrossBackupPolicyResult.h"
#include "model/DescribeLogBackupFilesRequest.h"
#include "model/DescribeLogBackupFilesResult.h"
#include "model/DescribeMigrateTaskByIdRequest.h"
#include "model/DescribeMigrateTaskByIdResult.h"
#include "model/DescribeMigrateTasksRequest.h"
#include "model/DescribeMigrateTasksResult.h"
#include "model/DescribeMigrateTasksForSQLServerRequest.h"
@@ -294,6 +304,12 @@
#include "model/ModifyDBInstanceSpecResult.h"
#include "model/ModifyDBInstanceTDERequest.h"
#include "model/ModifyDBInstanceTDEResult.h"
#include "model/ModifyDBProxyRequest.h"
#include "model/ModifyDBProxyResult.h"
#include "model/ModifyDBProxyEndpointRequest.h"
#include "model/ModifyDBProxyEndpointResult.h"
#include "model/ModifyDBProxyInstanceRequest.h"
#include "model/ModifyDBProxyInstanceResult.h"
#include "model/ModifyDTCSecurityIpHostsForSQLServerRequest.h"
#include "model/ModifyDTCSecurityIpHostsForSQLServerResult.h"
#include "model/ModifyDedicatedHostAttributeRequest.h"
@@ -481,6 +497,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteBackupResult> DeleteBackupOutcome;
typedef std::future<DeleteBackupOutcome> DeleteBackupOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DeleteBackupRequest&, const DeleteBackupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBackupAsyncHandler;
typedef Outcome<Error, Model::DeleteBackupFileResult> DeleteBackupFileOutcome;
typedef std::future<DeleteBackupFileOutcome> DeleteBackupFileOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DeleteBackupFileRequest&, const DeleteBackupFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBackupFileAsyncHandler;
typedef Outcome<Error, Model::DeleteDBInstanceResult> DeleteDBInstanceOutcome;
typedef std::future<DeleteDBInstanceOutcome> DeleteDBInstanceOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DeleteDBInstanceRequest&, const DeleteDBInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDBInstanceAsyncHandler;
@@ -595,6 +614,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeDBInstancesForCloneResult> DescribeDBInstancesForCloneOutcome;
typedef std::future<DescribeDBInstancesForCloneOutcome> DescribeDBInstancesForCloneOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeDBInstancesForCloneRequest&, const DescribeDBInstancesForCloneOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBInstancesForCloneAsyncHandler;
typedef Outcome<Error, Model::DescribeDBProxyResult> DescribeDBProxyOutcome;
typedef std::future<DescribeDBProxyOutcome> DescribeDBProxyOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeDBProxyRequest&, const DescribeDBProxyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBProxyAsyncHandler;
typedef Outcome<Error, Model::DescribeDBProxyEndpointResult> DescribeDBProxyEndpointOutcome;
typedef std::future<DescribeDBProxyEndpointOutcome> DescribeDBProxyEndpointOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeDBProxyEndpointRequest&, const DescribeDBProxyEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBProxyEndpointAsyncHandler;
typedef Outcome<Error, Model::DescribeDBProxyPerformanceResult> DescribeDBProxyPerformanceOutcome;
typedef std::future<DescribeDBProxyPerformanceOutcome> DescribeDBProxyPerformanceOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeDBProxyPerformanceRequest&, const DescribeDBProxyPerformanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDBProxyPerformanceAsyncHandler;
typedef Outcome<Error, Model::DescribeDTCSecurityIpHostsForSQLServerResult> DescribeDTCSecurityIpHostsForSQLServerOutcome;
typedef std::future<DescribeDTCSecurityIpHostsForSQLServerOutcome> DescribeDTCSecurityIpHostsForSQLServerOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeDTCSecurityIpHostsForSQLServerRequest&, const DescribeDTCSecurityIpHostsForSQLServerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDTCSecurityIpHostsForSQLServerAsyncHandler;
@@ -634,6 +662,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLogBackupFilesResult> DescribeLogBackupFilesOutcome;
typedef std::future<DescribeLogBackupFilesOutcome> DescribeLogBackupFilesOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeLogBackupFilesRequest&, const DescribeLogBackupFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogBackupFilesAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrateTaskByIdResult> DescribeMigrateTaskByIdOutcome;
typedef std::future<DescribeMigrateTaskByIdOutcome> DescribeMigrateTaskByIdOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeMigrateTaskByIdRequest&, const DescribeMigrateTaskByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrateTaskByIdAsyncHandler;
typedef Outcome<Error, Model::DescribeMigrateTasksResult> DescribeMigrateTasksOutcome;
typedef std::future<DescribeMigrateTasksOutcome> DescribeMigrateTasksOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::DescribeMigrateTasksRequest&, const DescribeMigrateTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrateTasksAsyncHandler;
@@ -793,6 +824,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyDBInstanceTDEResult> ModifyDBInstanceTDEOutcome;
typedef std::future<ModifyDBInstanceTDEOutcome> ModifyDBInstanceTDEOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::ModifyDBInstanceTDERequest&, const ModifyDBInstanceTDEOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBInstanceTDEAsyncHandler;
typedef Outcome<Error, Model::ModifyDBProxyResult> ModifyDBProxyOutcome;
typedef std::future<ModifyDBProxyOutcome> ModifyDBProxyOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::ModifyDBProxyRequest&, const ModifyDBProxyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBProxyAsyncHandler;
typedef Outcome<Error, Model::ModifyDBProxyEndpointResult> ModifyDBProxyEndpointOutcome;
typedef std::future<ModifyDBProxyEndpointOutcome> ModifyDBProxyEndpointOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::ModifyDBProxyEndpointRequest&, const ModifyDBProxyEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBProxyEndpointAsyncHandler;
typedef Outcome<Error, Model::ModifyDBProxyInstanceResult> ModifyDBProxyInstanceOutcome;
typedef std::future<ModifyDBProxyInstanceOutcome> ModifyDBProxyInstanceOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::ModifyDBProxyInstanceRequest&, const ModifyDBProxyInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDBProxyInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyDTCSecurityIpHostsForSQLServerResult> ModifyDTCSecurityIpHostsForSQLServerOutcome;
typedef std::future<ModifyDTCSecurityIpHostsForSQLServerOutcome> ModifyDTCSecurityIpHostsForSQLServerOutcomeCallable;
typedef std::function<void(const RdsClient*, const Model::ModifyDTCSecurityIpHostsForSQLServerRequest&, const ModifyDTCSecurityIpHostsForSQLServerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDTCSecurityIpHostsForSQLServerAsyncHandler;
@@ -1017,6 +1057,9 @@ namespace AlibabaCloud
DeleteBackupOutcome deleteBackup(const Model::DeleteBackupRequest &request)const;
void deleteBackupAsync(const Model::DeleteBackupRequest& request, const DeleteBackupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteBackupOutcomeCallable deleteBackupCallable(const Model::DeleteBackupRequest& request) const;
DeleteBackupFileOutcome deleteBackupFile(const Model::DeleteBackupFileRequest &request)const;
void deleteBackupFileAsync(const Model::DeleteBackupFileRequest& request, const DeleteBackupFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteBackupFileOutcomeCallable deleteBackupFileCallable(const Model::DeleteBackupFileRequest& request) const;
DeleteDBInstanceOutcome deleteDBInstance(const Model::DeleteDBInstanceRequest &request)const;
void deleteDBInstanceAsync(const Model::DeleteDBInstanceRequest& request, const DeleteDBInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDBInstanceOutcomeCallable deleteDBInstanceCallable(const Model::DeleteDBInstanceRequest& request) const;
@@ -1131,6 +1174,15 @@ namespace AlibabaCloud
DescribeDBInstancesForCloneOutcome describeDBInstancesForClone(const Model::DescribeDBInstancesForCloneRequest &request)const;
void describeDBInstancesForCloneAsync(const Model::DescribeDBInstancesForCloneRequest& request, const DescribeDBInstancesForCloneAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBInstancesForCloneOutcomeCallable describeDBInstancesForCloneCallable(const Model::DescribeDBInstancesForCloneRequest& request) const;
DescribeDBProxyOutcome describeDBProxy(const Model::DescribeDBProxyRequest &request)const;
void describeDBProxyAsync(const Model::DescribeDBProxyRequest& request, const DescribeDBProxyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBProxyOutcomeCallable describeDBProxyCallable(const Model::DescribeDBProxyRequest& request) const;
DescribeDBProxyEndpointOutcome describeDBProxyEndpoint(const Model::DescribeDBProxyEndpointRequest &request)const;
void describeDBProxyEndpointAsync(const Model::DescribeDBProxyEndpointRequest& request, const DescribeDBProxyEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBProxyEndpointOutcomeCallable describeDBProxyEndpointCallable(const Model::DescribeDBProxyEndpointRequest& request) const;
DescribeDBProxyPerformanceOutcome describeDBProxyPerformance(const Model::DescribeDBProxyPerformanceRequest &request)const;
void describeDBProxyPerformanceAsync(const Model::DescribeDBProxyPerformanceRequest& request, const DescribeDBProxyPerformanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDBProxyPerformanceOutcomeCallable describeDBProxyPerformanceCallable(const Model::DescribeDBProxyPerformanceRequest& request) const;
DescribeDTCSecurityIpHostsForSQLServerOutcome describeDTCSecurityIpHostsForSQLServer(const Model::DescribeDTCSecurityIpHostsForSQLServerRequest &request)const;
void describeDTCSecurityIpHostsForSQLServerAsync(const Model::DescribeDTCSecurityIpHostsForSQLServerRequest& request, const DescribeDTCSecurityIpHostsForSQLServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDTCSecurityIpHostsForSQLServerOutcomeCallable describeDTCSecurityIpHostsForSQLServerCallable(const Model::DescribeDTCSecurityIpHostsForSQLServerRequest& request) const;
@@ -1170,6 +1222,9 @@ namespace AlibabaCloud
DescribeLogBackupFilesOutcome describeLogBackupFiles(const Model::DescribeLogBackupFilesRequest &request)const;
void describeLogBackupFilesAsync(const Model::DescribeLogBackupFilesRequest& request, const DescribeLogBackupFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLogBackupFilesOutcomeCallable describeLogBackupFilesCallable(const Model::DescribeLogBackupFilesRequest& request) const;
DescribeMigrateTaskByIdOutcome describeMigrateTaskById(const Model::DescribeMigrateTaskByIdRequest &request)const;
void describeMigrateTaskByIdAsync(const Model::DescribeMigrateTaskByIdRequest& request, const DescribeMigrateTaskByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrateTaskByIdOutcomeCallable describeMigrateTaskByIdCallable(const Model::DescribeMigrateTaskByIdRequest& request) const;
DescribeMigrateTasksOutcome describeMigrateTasks(const Model::DescribeMigrateTasksRequest &request)const;
void describeMigrateTasksAsync(const Model::DescribeMigrateTasksRequest& request, const DescribeMigrateTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMigrateTasksOutcomeCallable describeMigrateTasksCallable(const Model::DescribeMigrateTasksRequest& request) const;
@@ -1329,6 +1384,15 @@ namespace AlibabaCloud
ModifyDBInstanceTDEOutcome modifyDBInstanceTDE(const Model::ModifyDBInstanceTDERequest &request)const;
void modifyDBInstanceTDEAsync(const Model::ModifyDBInstanceTDERequest& request, const ModifyDBInstanceTDEAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBInstanceTDEOutcomeCallable modifyDBInstanceTDECallable(const Model::ModifyDBInstanceTDERequest& request) const;
ModifyDBProxyOutcome modifyDBProxy(const Model::ModifyDBProxyRequest &request)const;
void modifyDBProxyAsync(const Model::ModifyDBProxyRequest& request, const ModifyDBProxyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBProxyOutcomeCallable modifyDBProxyCallable(const Model::ModifyDBProxyRequest& request) const;
ModifyDBProxyEndpointOutcome modifyDBProxyEndpoint(const Model::ModifyDBProxyEndpointRequest &request)const;
void modifyDBProxyEndpointAsync(const Model::ModifyDBProxyEndpointRequest& request, const ModifyDBProxyEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBProxyEndpointOutcomeCallable modifyDBProxyEndpointCallable(const Model::ModifyDBProxyEndpointRequest& request) const;
ModifyDBProxyInstanceOutcome modifyDBProxyInstance(const Model::ModifyDBProxyInstanceRequest &request)const;
void modifyDBProxyInstanceAsync(const Model::ModifyDBProxyInstanceRequest& request, const ModifyDBProxyInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDBProxyInstanceOutcomeCallable modifyDBProxyInstanceCallable(const Model::ModifyDBProxyInstanceRequest& request) const;
ModifyDTCSecurityIpHostsForSQLServerOutcome modifyDTCSecurityIpHostsForSQLServer(const Model::ModifyDTCSecurityIpHostsForSQLServerRequest &request)const;
void modifyDTCSecurityIpHostsForSQLServerAsync(const Model::ModifyDTCSecurityIpHostsForSQLServerRequest& request, const ModifyDTCSecurityIpHostsForSQLServerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDTCSecurityIpHostsForSQLServerOutcomeCallable modifyDTCSecurityIpHostsForSQLServerCallable(const Model::ModifyDTCSecurityIpHostsForSQLServerRequest& request) const;

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEBACKUPFILEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteBackupFileRequest : public RpcServiceRequest
{
public:
DeleteBackupFileRequest();
~DeleteBackupFileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getBackupId()const;
void setBackupId(const std::string& backupId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getBackupTime()const;
void setBackupTime(const std::string& backupTime);
std::string getDBName()const;
void setDBName(const std::string& dBName);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string dBInstanceId_;
std::string resourceOwnerAccount_;
std::string backupId_;
long ownerId_;
std::string backupTime_;
std::string dBName_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEBACKUPFILEREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DELETEBACKUPFILERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DELETEBACKUPFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DeleteBackupFileResult : public ServiceResult
{
public:
DeleteBackupFileResult();
explicit DeleteBackupFileResult(const std::string &payload);
~DeleteBackupFileResult();
std::vector<std::string> getDeletedBaksetIds()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> deletedBaksetIds_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DELETEBACKUPFILERESULT_H_

View File

@@ -53,12 +53,16 @@ namespace AlibabaCloud
DescribeAccountsResult();
explicit DescribeAccountsResult(const std::string &payload);
~DescribeAccountsResult();
std::string getSystemAdminAccountStatus()const;
std::vector<DBInstanceAccount> getAccounts()const;
std::string getSystemAdminAccountFirstActivationTime()const;
protected:
void parse(const std::string &payload);
private:
std::string systemAdminAccountStatus_;
std::vector<DBInstanceAccount> accounts_;
std::string systemAdminAccountFirstActivationTime_;
};
}

View File

@@ -61,6 +61,7 @@ namespace AlibabaCloud
std::string getPreferredBackupPeriod()const;
std::string getArchiveBackupKeepCount()const;
int getLogBackupRetentionPeriod()const;
int getLogBackupLocalRetentionNumber()const;
std::string getBackupLog()const;
std::string getEnableBackupLog()const;
std::string getLocalLogRetentionSpace()const;
@@ -84,6 +85,7 @@ namespace AlibabaCloud
std::string preferredBackupPeriod_;
std::string archiveBackupKeepCount_;
int logBackupRetentionPeriod_;
int logBackupLocalRetentionNumber_;
std::string backupLog_;
std::string enableBackupLog_;
std::string localLogRetentionSpace_;

View File

@@ -101,6 +101,7 @@ namespace AlibabaCloud
std::string category;
std::string dBInstanceNetType;
int tempUpgradeRecoveryCpu;
std::string dedicatedHostGroupId;
std::string tempDBInstanceId;
std::string dBInstanceCPU;
int tempUpgradeRecoveryMemory;

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYENDPOINTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYENDPOINTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBProxyEndpointRequest : public RpcServiceRequest
{
public:
DescribeDBProxyEndpointRequest();
~DescribeDBProxyEndpointRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDBProxyConnectString()const;
void setDBProxyConnectString(const std::string& dBProxyConnectString);
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);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBProxyEndpointId()const;
void setDBProxyEndpointId(const std::string& dBProxyEndpointId);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string dBProxyConnectString_;
std::string regionId_;
std::string dBInstanceId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string dBProxyEndpointId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYENDPOINTREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYENDPOINTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYENDPOINTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBProxyEndpointResult : public ServiceResult
{
public:
DescribeDBProxyEndpointResult();
explicit DescribeDBProxyEndpointResult(const std::string &payload);
~DescribeDBProxyEndpointResult();
std::string getReadOnlyInstanceDistributionType()const;
std::string getDBProxyConnectString()const;
std::string getDBProxyEndpointId()const;
std::string getDBProxyFeatures()const;
std::string getReadOnlyInstanceWeight()const;
std::string getReadOnlyInstanceMaxDelayTime()const;
std::string getDBProxyConnectStringNetType()const;
std::string getDBProxyConnectStringPort()const;
protected:
void parse(const std::string &payload);
private:
std::string readOnlyInstanceDistributionType_;
std::string dBProxyConnectString_;
std::string dBProxyEndpointId_;
std::string dBProxyFeatures_;
std::string readOnlyInstanceWeight_;
std::string readOnlyInstanceMaxDelayTime_;
std::string dBProxyConnectStringNetType_;
std::string dBProxyConnectStringPort_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYENDPOINTRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYPERFORMANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYPERFORMANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBProxyPerformanceRequest : public RpcServiceRequest
{
public:
DescribeDBProxyPerformanceRequest();
~DescribeDBProxyPerformanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getMetricsName()const;
void setMetricsName(const std::string& metricsName);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBProxyInstanceType()const;
void setDBProxyInstanceType(const std::string& dBProxyInstanceType);
private:
long resourceOwnerId_;
std::string metricsName_;
std::string startTime_;
std::string accessKeyId_;
std::string regionId_;
std::string dBInstanceId_;
std::string resourceOwnerAccount_;
std::string endTime_;
long ownerId_;
std::string dBProxyInstanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYPERFORMANCEREQUEST_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_RDS_MODEL_DESCRIBEDBPROXYPERFORMANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYPERFORMANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBProxyPerformanceResult : public ServiceResult
{
public:
struct PerformanceKey
{
struct PerformanceValue
{
std::string value;
std::string date;
};
std::string valueFormat;
std::vector<PerformanceKey::PerformanceValue> values;
std::string key;
};
DescribeDBProxyPerformanceResult();
explicit DescribeDBProxyPerformanceResult(const std::string &payload);
~DescribeDBProxyPerformanceResult();
std::vector<PerformanceKey> getPerformanceKeys()const;
std::string getEndTime()const;
std::string getDBInstanceId()const;
std::string getStartTime()const;
protected:
void parse(const std::string &payload);
private:
std::vector<PerformanceKey> performanceKeys_;
std::string endTime_;
std::string dBInstanceId_;
std::string startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYPERFORMANCERESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBProxyRequest : public RpcServiceRequest
{
public:
DescribeDBProxyRequest();
~DescribeDBProxyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string regionId_;
std::string dBInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_RDS_MODEL_DESCRIBEDBPROXYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeDBProxyResult : public ServiceResult
{
public:
struct DBProxyConnectStringItemsItem
{
std::string dBProxyConnectString;
std::string dBProxyEndpointId;
std::string dBProxyConnectStringNetType;
std::string dBProxyConnectStringPort;
std::string dBProxyVpcInstanceId;
};
DescribeDBProxyResult();
explicit DescribeDBProxyResult(const std::string &payload);
~DescribeDBProxyResult();
std::string getDBProxyServiceStatus()const;
int getDBProxyInstanceNum()const;
std::vector<DBProxyConnectStringItemsItem> getDBProxyConnectStringItems()const;
std::string getDBProxyInstanceStatus()const;
std::string getDBProxyInstanceType()const;
protected:
void parse(const std::string &payload);
private:
std::string dBProxyServiceStatus_;
int dBProxyInstanceNum_;
std::vector<DBProxyConnectStringItemsItem> dBProxyConnectStringItems_;
std::string dBProxyInstanceStatus_;
std::string dBProxyInstanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEDBPROXYRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKBYIDREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKBYIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTaskByIdRequest : public RpcServiceRequest
{
public:
DescribeMigrateTaskByIdRequest();
~DescribeMigrateTaskByIdRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getMigrateTaskId()const;
void setMigrateTaskId(const std::string& migrateTaskId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
private:
long resourceOwnerId_;
std::string migrateTaskId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string accessKeyId_;
std::string dBInstanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKBYIDREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_RDS_MODEL_DESCRIBEMIGRATETASKBYIDRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKBYIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT DescribeMigrateTaskByIdResult : public ServiceResult
{
public:
DescribeMigrateTaskByIdResult();
explicit DescribeMigrateTaskByIdResult(const std::string &payload);
~DescribeMigrateTaskByIdResult();
std::string getStatus()const;
std::string getDescription()const;
std::string getEndTime()const;
std::string getMigrateTaskId()const;
std::string getCreateTime()const;
std::string getBackupMode()const;
std::string getIsDBReplaced()const;
std::string getDBName()const;
std::string getDBInstanceName()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string description_;
std::string endTime_;
std::string migrateTaskId_;
std::string createTime_;
std::string backupMode_;
std::string isDBReplaced_;
std::string dBName_;
std::string dBInstanceName_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_DESCRIBEMIGRATETASKBYIDRESULT_H_

View File

@@ -51,11 +51,13 @@ namespace AlibabaCloud
explicit DescribeParameterGroupsResult(const std::string &payload);
~DescribeParameterGroupsResult();
std::vector<ParameterGroup> getParameterGroups()const;
bool getSignalForOptimizeParams()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ParameterGroup> parameterGroups_;
bool signalForOptimizeParams_;
};
}

View File

@@ -49,6 +49,10 @@ namespace AlibabaCloud
void setRegionId(const std::string& regionId);
std::string getEngine()const;
void setEngine(const std::string& engine);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getDBInstanceStorageType()const;
void setDBInstanceStorageType(const std::string& dBInstanceStorageType);
int getQuantity()const;
void setQuantity(int quantity);
std::string getResourceOwnerAccount()const;
@@ -82,6 +86,8 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string regionId_;
std::string engine_;
std::string dBInstanceId_;
std::string dBInstanceStorageType_;
int quantity_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setDuplicationContent(const std::string& duplicationContent);
std::string getHighSpaceUsageProtection()const;
void setHighSpaceUsageProtection(const std::string& highSpaceUsageProtection);
int getLogBackupLocalRetentionNumber()const;
void setLogBackupLocalRetentionNumber(int logBackupLocalRetentionNumber);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getEnableBackupLog()const;
@@ -95,6 +97,7 @@ namespace AlibabaCloud
std::string accessKeyId_;
std::string duplicationContent_;
std::string highSpaceUsageProtection_;
int logBackupLocalRetentionNumber_;
std::string dBInstanceId_;
std::string enableBackupLog_;
std::string backupPolicyMode_;

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
ModifyBackupPolicyResult();
explicit ModifyBackupPolicyResult(const std::string &payload);
~ModifyBackupPolicyResult();
int getLogBackupLocalRetentionNumber()const;
std::string getDBInstanceID()const;
std::string getEnableBackupLog()const;
int getLocalLogRetentionHours()const;
@@ -47,6 +48,7 @@ namespace AlibabaCloud
protected:
void parse(const std::string &payload);
private:
int logBackupLocalRetentionNumber_;
std::string dBInstanceID_;
std::string enableBackupLog_;
int localLogRetentionHours_;

View File

@@ -49,8 +49,8 @@ namespace AlibabaCloud
void setPeriod(const std::string& period);
std::string getAgentId()const;
void setAgentId(const std::string& agentId);
std::string getAutoPay()const;
void setAutoPay(const std::string& autoPay);
bool getAutoPay()const;
void setAutoPay(bool autoPay);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getResource()const;
@@ -72,7 +72,7 @@ namespace AlibabaCloud
std::string businessInfo_;
std::string period_;
std::string agentId_;
std::string autoPay_;
bool autoPay_;
std::string resourceOwnerAccount_;
std::string resource_;
std::string ownerAccount_;

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYENDPOINTREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYENDPOINTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT ModifyDBProxyEndpointRequest : public RpcServiceRequest
{
public:
ModifyDBProxyEndpointRequest();
~ModifyDBProxyEndpointRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getConfigDBProxyFeatures()const;
void setConfigDBProxyFeatures(const std::string& configDBProxyFeatures);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getReadOnlyInstanceWeight()const;
void setReadOnlyInstanceWeight(const std::string& readOnlyInstanceWeight);
std::string getReadOnlyInstanceMaxDelayTime()const;
void setReadOnlyInstanceMaxDelayTime(const std::string& readOnlyInstanceMaxDelayTime);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBProxyEndpointId()const;
void setDBProxyEndpointId(const std::string& dBProxyEndpointId);
std::string getReadOnlyInstanceDistributionType()const;
void setReadOnlyInstanceDistributionType(const std::string& readOnlyInstanceDistributionType);
private:
long resourceOwnerId_;
std::string configDBProxyFeatures_;
std::string accessKeyId_;
std::string regionId_;
std::string dBInstanceId_;
std::string readOnlyInstanceWeight_;
std::string readOnlyInstanceMaxDelayTime_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string dBProxyEndpointId_;
std::string readOnlyInstanceDistributionType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYENDPOINTREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYENDPOINTRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYENDPOINTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT ModifyDBProxyEndpointResult : public ServiceResult
{
public:
ModifyDBProxyEndpointResult();
explicit ModifyDBProxyEndpointResult(const std::string &payload);
~ModifyDBProxyEndpointResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYENDPOINTRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYINSTANCEREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT ModifyDBProxyInstanceRequest : public RpcServiceRequest
{
public:
ModifyDBProxyInstanceRequest();
~ModifyDBProxyInstanceRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getEffectiveTime()const;
void setEffectiveTime(const std::string& effectiveTime);
std::string getEffectiveSpecificTime()const;
void setEffectiveSpecificTime(const std::string& effectiveSpecificTime);
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);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBProxyInstanceNum()const;
void setDBProxyInstanceNum(const std::string& dBProxyInstanceNum);
std::string getDBProxyInstanceType()const;
void setDBProxyInstanceType(const std::string& dBProxyInstanceType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string effectiveTime_;
std::string effectiveSpecificTime_;
std::string regionId_;
std::string dBInstanceId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string dBProxyInstanceNum_;
std::string dBProxyInstanceType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYINSTANCEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYINSTANCERESULT_H_
#define ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYINSTANCERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT ModifyDBProxyInstanceResult : public ServiceResult
{
public:
ModifyDBProxyInstanceResult();
explicit ModifyDBProxyInstanceResult(const std::string &payload);
~ModifyDBProxyInstanceResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYINSTANCERESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYREQUEST_H_
#define ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT ModifyDBProxyRequest : public RpcServiceRequest
{
public:
ModifyDBProxyRequest();
~ModifyDBProxyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDBInstanceId()const;
void setDBInstanceId(const std::string& dBInstanceId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getDBProxyInstanceNum()const;
void setDBProxyInstanceNum(const std::string& dBProxyInstanceNum);
std::string getConfigDBProxyService()const;
void setConfigDBProxyService(const std::string& configDBProxyService);
std::string getVSwitchId()const;
void setVSwitchId(const std::string& vSwitchId);
std::string getVPCId()const;
void setVPCId(const std::string& vPCId);
std::string getInstanceNetworkType()const;
void setInstanceNetworkType(const std::string& instanceNetworkType);
private:
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string dBInstanceId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string dBProxyInstanceNum_;
std::string configDBProxyService_;
std::string vSwitchId_;
std::string vPCId_;
std::string instanceNetworkType_;
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYRESULT_H_
#define ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/rds/RdsExport.h>
namespace AlibabaCloud
{
namespace Rds
{
namespace Model
{
class ALIBABACLOUD_RDS_EXPORT ModifyDBProxyResult : public ServiceResult
{
public:
ModifyDBProxyResult();
explicit ModifyDBProxyResult(const std::string &payload);
~ModifyDBProxyResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYDBPROXYRESULT_H_