Modify CreateBackupPlan.

This commit is contained in:
sdk-team
2019-07-11 15:36:56 +08:00
parent d9d4b6f085
commit 79d7afefd8
33 changed files with 2136 additions and 150 deletions

View File

@@ -24,28 +24,38 @@
#include "DbsExport.h"
#include "model/DescribeBackupPlanListRequest.h"
#include "model/DescribeBackupPlanListResult.h"
#include "model/StopBackupPlanRequest.h"
#include "model/StopBackupPlanResult.h"
#include "model/CreateBackupPlanRequest.h"
#include "model/CreateBackupPlanResult.h"
#include "model/StartBackupPlanRequest.h"
#include "model/StartBackupPlanResult.h"
#include "model/RenewBackupPlanRequest.h"
#include "model/RenewBackupPlanResult.h"
#include "model/DescribeFullBackupListRequest.h"
#include "model/DescribeFullBackupListResult.h"
#include "model/DescribeRestoreTaskListRequest.h"
#include "model/DescribeRestoreTaskListResult.h"
#include "model/ModifyBackupPlanNameRequest.h"
#include "model/ModifyBackupPlanNameResult.h"
#include "model/StopBackupPlanRequest.h"
#include "model/StopBackupPlanResult.h"
#include "model/ModifyBackupSourceEndpointRequest.h"
#include "model/ModifyBackupSourceEndpointResult.h"
#include "model/DescribeBackupGatewayListRequest.h"
#include "model/DescribeBackupGatewayListResult.h"
#include "model/ModifyBackupObjectsRequest.h"
#include "model/ModifyBackupObjectsResult.h"
#include "model/CreateRestoreTaskRequest.h"
#include "model/CreateRestoreTaskResult.h"
#include "model/DescribeIncrementBackupListRequest.h"
#include "model/DescribeIncrementBackupListResult.h"
#include "model/ConfigureBackupPlanRequest.h"
#include "model/ConfigureBackupPlanResult.h"
#include "model/DescribeFullBackupListRequest.h"
#include "model/DescribeFullBackupListResult.h"
#include "model/ModifyBackupStrategyRequest.h"
#include "model/ModifyBackupStrategyResult.h"
#include "model/StartRestoreTaskRequest.h"
#include "model/StartRestoreTaskResult.h"
#include "model/DescribeNodeCidrListRequest.h"
#include "model/DescribeNodeCidrListResult.h"
#include "model/DescribeRestoreTaskListRequest.h"
#include "model/DescribeRestoreTaskListResult.h"
namespace AlibabaCloud
@@ -58,18 +68,36 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeBackupPlanListResult> DescribeBackupPlanListOutcome;
typedef std::future<DescribeBackupPlanListOutcome> DescribeBackupPlanListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeBackupPlanListRequest&, const DescribeBackupPlanListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupPlanListAsyncHandler;
typedef Outcome<Error, Model::StopBackupPlanResult> StopBackupPlanOutcome;
typedef std::future<StopBackupPlanOutcome> StopBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StopBackupPlanRequest&, const StopBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopBackupPlanAsyncHandler;
typedef Outcome<Error, Model::CreateBackupPlanResult> CreateBackupPlanOutcome;
typedef std::future<CreateBackupPlanOutcome> CreateBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::CreateBackupPlanRequest&, const CreateBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBackupPlanAsyncHandler;
typedef Outcome<Error, Model::StartBackupPlanResult> StartBackupPlanOutcome;
typedef std::future<StartBackupPlanOutcome> StartBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StartBackupPlanRequest&, const StartBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBackupPlanAsyncHandler;
typedef Outcome<Error, Model::RenewBackupPlanResult> RenewBackupPlanOutcome;
typedef std::future<RenewBackupPlanOutcome> RenewBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::RenewBackupPlanRequest&, const RenewBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenewBackupPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeFullBackupListResult> DescribeFullBackupListOutcome;
typedef std::future<DescribeFullBackupListOutcome> DescribeFullBackupListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupListRequest&, const DescribeFullBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupListAsyncHandler;
typedef Outcome<Error, Model::DescribeRestoreTaskListResult> DescribeRestoreTaskListOutcome;
typedef std::future<DescribeRestoreTaskListOutcome> DescribeRestoreTaskListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeRestoreTaskListRequest&, const DescribeRestoreTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRestoreTaskListAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupPlanNameResult> ModifyBackupPlanNameOutcome;
typedef std::future<ModifyBackupPlanNameOutcome> ModifyBackupPlanNameOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupPlanNameRequest&, const ModifyBackupPlanNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupPlanNameAsyncHandler;
typedef Outcome<Error, Model::StopBackupPlanResult> StopBackupPlanOutcome;
typedef std::future<StopBackupPlanOutcome> StopBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StopBackupPlanRequest&, const StopBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopBackupPlanAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupSourceEndpointResult> ModifyBackupSourceEndpointOutcome;
typedef std::future<ModifyBackupSourceEndpointOutcome> ModifyBackupSourceEndpointOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupSourceEndpointRequest&, const ModifyBackupSourceEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupSourceEndpointAsyncHandler;
typedef Outcome<Error, Model::DescribeBackupGatewayListResult> DescribeBackupGatewayListOutcome;
typedef std::future<DescribeBackupGatewayListOutcome> DescribeBackupGatewayListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeBackupGatewayListRequest&, const DescribeBackupGatewayListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupGatewayListAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupObjectsResult> ModifyBackupObjectsOutcome;
typedef std::future<ModifyBackupObjectsOutcome> ModifyBackupObjectsOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupObjectsRequest&, const ModifyBackupObjectsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupObjectsAsyncHandler;
typedef Outcome<Error, Model::CreateRestoreTaskResult> CreateRestoreTaskOutcome;
typedef std::future<CreateRestoreTaskOutcome> CreateRestoreTaskOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::CreateRestoreTaskRequest&, const CreateRestoreTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRestoreTaskAsyncHandler;
@@ -79,18 +107,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ConfigureBackupPlanResult> ConfigureBackupPlanOutcome;
typedef std::future<ConfigureBackupPlanOutcome> ConfigureBackupPlanOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ConfigureBackupPlanRequest&, const ConfigureBackupPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureBackupPlanAsyncHandler;
typedef Outcome<Error, Model::DescribeFullBackupListResult> DescribeFullBackupListOutcome;
typedef std::future<DescribeFullBackupListOutcome> DescribeFullBackupListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupListRequest&, const DescribeFullBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupListAsyncHandler;
typedef Outcome<Error, Model::ModifyBackupStrategyResult> ModifyBackupStrategyOutcome;
typedef std::future<ModifyBackupStrategyOutcome> ModifyBackupStrategyOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupStrategyRequest&, const ModifyBackupStrategyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupStrategyAsyncHandler;
typedef Outcome<Error, Model::StartRestoreTaskResult> StartRestoreTaskOutcome;
typedef std::future<StartRestoreTaskOutcome> StartRestoreTaskOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StartRestoreTaskRequest&, const StartRestoreTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartRestoreTaskAsyncHandler;
typedef Outcome<Error, Model::DescribeNodeCidrListResult> DescribeNodeCidrListOutcome;
typedef std::future<DescribeNodeCidrListOutcome> DescribeNodeCidrListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeNodeCidrListRequest&, const DescribeNodeCidrListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeCidrListAsyncHandler;
typedef Outcome<Error, Model::DescribeRestoreTaskListResult> DescribeRestoreTaskListOutcome;
typedef std::future<DescribeRestoreTaskListOutcome> DescribeRestoreTaskListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeRestoreTaskListRequest&, const DescribeRestoreTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRestoreTaskListAsyncHandler;
DbsClient(const Credentials &credentials, const ClientConfiguration &configuration);
DbsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -99,18 +124,36 @@ namespace AlibabaCloud
DescribeBackupPlanListOutcome describeBackupPlanList(const Model::DescribeBackupPlanListRequest &request)const;
void describeBackupPlanListAsync(const Model::DescribeBackupPlanListRequest& request, const DescribeBackupPlanListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupPlanListOutcomeCallable describeBackupPlanListCallable(const Model::DescribeBackupPlanListRequest& request) const;
StopBackupPlanOutcome stopBackupPlan(const Model::StopBackupPlanRequest &request)const;
void stopBackupPlanAsync(const Model::StopBackupPlanRequest& request, const StopBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopBackupPlanOutcomeCallable stopBackupPlanCallable(const Model::StopBackupPlanRequest& request) const;
CreateBackupPlanOutcome createBackupPlan(const Model::CreateBackupPlanRequest &request)const;
void createBackupPlanAsync(const Model::CreateBackupPlanRequest& request, const CreateBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBackupPlanOutcomeCallable createBackupPlanCallable(const Model::CreateBackupPlanRequest& request) const;
StartBackupPlanOutcome startBackupPlan(const Model::StartBackupPlanRequest &request)const;
void startBackupPlanAsync(const Model::StartBackupPlanRequest& request, const StartBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartBackupPlanOutcomeCallable startBackupPlanCallable(const Model::StartBackupPlanRequest& request) const;
RenewBackupPlanOutcome renewBackupPlan(const Model::RenewBackupPlanRequest &request)const;
void renewBackupPlanAsync(const Model::RenewBackupPlanRequest& request, const RenewBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RenewBackupPlanOutcomeCallable renewBackupPlanCallable(const Model::RenewBackupPlanRequest& request) const;
DescribeFullBackupListOutcome describeFullBackupList(const Model::DescribeFullBackupListRequest &request)const;
void describeFullBackupListAsync(const Model::DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFullBackupListOutcomeCallable describeFullBackupListCallable(const Model::DescribeFullBackupListRequest& request) const;
DescribeRestoreTaskListOutcome describeRestoreTaskList(const Model::DescribeRestoreTaskListRequest &request)const;
void describeRestoreTaskListAsync(const Model::DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRestoreTaskListOutcomeCallable describeRestoreTaskListCallable(const Model::DescribeRestoreTaskListRequest& request) const;
ModifyBackupPlanNameOutcome modifyBackupPlanName(const Model::ModifyBackupPlanNameRequest &request)const;
void modifyBackupPlanNameAsync(const Model::ModifyBackupPlanNameRequest& request, const ModifyBackupPlanNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupPlanNameOutcomeCallable modifyBackupPlanNameCallable(const Model::ModifyBackupPlanNameRequest& request) const;
StopBackupPlanOutcome stopBackupPlan(const Model::StopBackupPlanRequest &request)const;
void stopBackupPlanAsync(const Model::StopBackupPlanRequest& request, const StopBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopBackupPlanOutcomeCallable stopBackupPlanCallable(const Model::StopBackupPlanRequest& request) const;
ModifyBackupSourceEndpointOutcome modifyBackupSourceEndpoint(const Model::ModifyBackupSourceEndpointRequest &request)const;
void modifyBackupSourceEndpointAsync(const Model::ModifyBackupSourceEndpointRequest& request, const ModifyBackupSourceEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupSourceEndpointOutcomeCallable modifyBackupSourceEndpointCallable(const Model::ModifyBackupSourceEndpointRequest& request) const;
DescribeBackupGatewayListOutcome describeBackupGatewayList(const Model::DescribeBackupGatewayListRequest &request)const;
void describeBackupGatewayListAsync(const Model::DescribeBackupGatewayListRequest& request, const DescribeBackupGatewayListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupGatewayListOutcomeCallable describeBackupGatewayListCallable(const Model::DescribeBackupGatewayListRequest& request) const;
ModifyBackupObjectsOutcome modifyBackupObjects(const Model::ModifyBackupObjectsRequest &request)const;
void modifyBackupObjectsAsync(const Model::ModifyBackupObjectsRequest& request, const ModifyBackupObjectsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupObjectsOutcomeCallable modifyBackupObjectsCallable(const Model::ModifyBackupObjectsRequest& request) const;
CreateRestoreTaskOutcome createRestoreTask(const Model::CreateRestoreTaskRequest &request)const;
void createRestoreTaskAsync(const Model::CreateRestoreTaskRequest& request, const CreateRestoreTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRestoreTaskOutcomeCallable createRestoreTaskCallable(const Model::CreateRestoreTaskRequest& request) const;
@@ -120,18 +163,15 @@ namespace AlibabaCloud
ConfigureBackupPlanOutcome configureBackupPlan(const Model::ConfigureBackupPlanRequest &request)const;
void configureBackupPlanAsync(const Model::ConfigureBackupPlanRequest& request, const ConfigureBackupPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigureBackupPlanOutcomeCallable configureBackupPlanCallable(const Model::ConfigureBackupPlanRequest& request) const;
DescribeFullBackupListOutcome describeFullBackupList(const Model::DescribeFullBackupListRequest &request)const;
void describeFullBackupListAsync(const Model::DescribeFullBackupListRequest& request, const DescribeFullBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeFullBackupListOutcomeCallable describeFullBackupListCallable(const Model::DescribeFullBackupListRequest& request) const;
ModifyBackupStrategyOutcome modifyBackupStrategy(const Model::ModifyBackupStrategyRequest &request)const;
void modifyBackupStrategyAsync(const Model::ModifyBackupStrategyRequest& request, const ModifyBackupStrategyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupStrategyOutcomeCallable modifyBackupStrategyCallable(const Model::ModifyBackupStrategyRequest& request) const;
StartRestoreTaskOutcome startRestoreTask(const Model::StartRestoreTaskRequest &request)const;
void startRestoreTaskAsync(const Model::StartRestoreTaskRequest& request, const StartRestoreTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartRestoreTaskOutcomeCallable startRestoreTaskCallable(const Model::StartRestoreTaskRequest& request) const;
DescribeNodeCidrListOutcome describeNodeCidrList(const Model::DescribeNodeCidrListRequest &request)const;
void describeNodeCidrListAsync(const Model::DescribeNodeCidrListRequest& request, const DescribeNodeCidrListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeNodeCidrListOutcomeCallable describeNodeCidrListCallable(const Model::DescribeNodeCidrListRequest& request) const;
DescribeRestoreTaskListOutcome describeRestoreTaskList(const Model::DescribeRestoreTaskListRequest &request)const;
void describeRestoreTaskListAsync(const Model::DescribeRestoreTaskListRequest& request, const DescribeRestoreTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRestoreTaskListOutcomeCallable describeRestoreTaskListCallable(const Model::DescribeRestoreTaskListRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -35,35 +35,50 @@ namespace AlibabaCloud
CreateBackupPlanRequest();
~CreateBackupPlanRequest();
std::string getBackupMethod()const;
void setBackupMethod(const std::string& backupMethod);
std::string getDatabaseType()const;
void setDatabaseType(const std::string& databaseType);
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getUsedTime()const;
void setUsedTime(int usedTime);
std::string getInstanceClass()const;
void setInstanceClass(const std::string& instanceClass);
std::string getStorageType()const;
void setStorageType(const std::string& storageType);
std::string getBackupMethod()const;
void setBackupMethod(const std::string& backupMethod);
std::string getDatabaseRegion()const;
void setDatabaseRegion(const std::string& databaseRegion);
std::string getStorageRegion()const;
void setStorageRegion(const std::string& storageRegion);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getInstanceType()const;
void setInstanceType(const std::string& instanceType);
std::string getRegion()const;
void setRegion(const std::string& region);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
std::string backupMethod_;
std::string databaseType_;
std::string period_;
std::string regionId_;
std::string clientToken_;
std::string region_;
std::string ownerId_;
int usedTime_;
std::string instanceClass_;
std::string storageType_;
std::string backupMethod_;
std::string databaseRegion_;
std::string storageRegion_;
std::string regionId_;
std::string instanceType_;
std::string region_;
std::string payType_;
};
}

View File

@@ -71,6 +71,8 @@ namespace AlibabaCloud
void setRestoreObjects(const std::string& restoreObjects);
std::string getRestoreTaskName()const;
void setRestoreTaskName(const std::string& restoreTaskName);
std::string getDuplicateConflict()const;
void setDuplicateConflict(const std::string& duplicateConflict);
std::string getDestinationEndpointPassword()const;
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
@@ -93,6 +95,7 @@ namespace AlibabaCloud
std::string destinationEndpointUserName_;
std::string restoreObjects_;
std::string restoreTaskName_;
std::string duplicateConflict_;
std::string destinationEndpointPassword_;
};

View File

@@ -36,11 +36,13 @@ namespace AlibabaCloud
{
std::string sourceEndpointIpPort;
std::string storageMethod;
std::string backupObjects;
long endTime;
long backupSize;
long startTime;
long backupSetExpiredTime;
std::string backupSetId;
std::string errMessage;
std::string backupStatus;
};

View File

@@ -40,6 +40,7 @@ namespace AlibabaCloud
std::string destinationEndpointOracleSID;
std::string backupSetId;
std::string restoreStatus;
std::string errMessage;
std::string destinationEndpointInstanceType;
long restoreTime;
std::string destinationEndpointRegion;
@@ -55,6 +56,7 @@ namespace AlibabaCloud
long restoreTaskCreateTime;
long backupGatewayId;
std::string destinationEndpointInstanceID;
long restoreTaskFinishTime;
};

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupObjectsRequest : public RpcServiceRequest
{
public:
ModifyBackupObjectsRequest();
~ModifyBackupObjectsRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getBackupObjects()const;
void setBackupObjects(const std::string& backupObjects);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string backupObjects_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPOBJECTSREQUEST_H_

View File

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

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupPlanNameRequest : public RpcServiceRequest
{
public:
ModifyBackupPlanNameRequest();
~ModifyBackupPlanNameRequest();
std::string getBackupPlanName()const;
void setBackupPlanName(const std::string& backupPlanName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string backupPlanName_;
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPPLANNAMEREQUEST_H_

View File

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

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSourceEndpointRequest : public RpcServiceRequest
{
public:
ModifyBackupSourceEndpointRequest();
~ModifyBackupSourceEndpointRequest();
std::string getSourceEndpointRegion()const;
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
long getBackupGatewayId()const;
void setBackupGatewayId(long backupGatewayId);
std::string getSourceEndpointInstanceID()const;
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
std::string getSourceEndpointUserName()const;
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getSourceEndpointPassword()const;
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getBackupObjects()const;
void setBackupObjects(const std::string& backupObjects);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getSourceEndpointPort()const;
void setSourceEndpointPort(int sourceEndpointPort);
std::string getSourceEndpointDatabaseName()const;
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
std::string getSourceEndpointInstanceType()const;
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
std::string getSourceEndpointIP()const;
void setSourceEndpointIP(const std::string& sourceEndpointIP);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getSourceEndpointOracleSID()const;
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
private:
std::string sourceEndpointRegion_;
long backupGatewayId_;
std::string sourceEndpointInstanceID_;
std::string sourceEndpointUserName_;
std::string clientToken_;
std::string sourceEndpointPassword_;
std::string backupPlanId_;
std::string backupObjects_;
std::string ownerId_;
int sourceEndpointPort_;
std::string sourceEndpointDatabaseName_;
std::string sourceEndpointInstanceType_;
std::string sourceEndpointIP_;
std::string regionId_;
std::string sourceEndpointOracleSID_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupSourceEndpointResult : public ServiceResult
{
public:
ModifyBackupSourceEndpointResult();
explicit ModifyBackupSourceEndpointResult(const std::string &payload);
~ModifyBackupSourceEndpointResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSOURCEENDPOINTRESULT_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_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyRequest : public RpcServiceRequest
{
public:
ModifyBackupStrategyRequest();
~ModifyBackupStrategyRequest();
std::string getBackupPeriod()const;
void setBackupPeriod(const std::string& backupPeriod);
std::string getBackupStartTime()const;
void setBackupStartTime(const std::string& backupStartTime);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
private:
std::string backupPeriod_;
std::string backupStartTime_;
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT ModifyBackupStrategyResult : public ServiceResult
{
public:
ModifyBackupStrategyResult();
explicit ModifyBackupStrategyResult(const std::string &payload);
~ModifyBackupStrategyResult();
int getHttpStatusCode()const;
std::string getBackupPlanId()const;
bool getNeedPrecheck()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int httpStatusCode_;
std::string backupPlanId_;
bool needPrecheck_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSTRATEGYRESULT_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_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dbs/DbsExport.h>
namespace AlibabaCloud
{
namespace Dbs
{
namespace Model
{
class ALIBABACLOUD_DBS_EXPORT RenewBackupPlanRequest : public RpcServiceRequest
{
public:
RenewBackupPlanRequest();
~RenewBackupPlanRequest();
std::string getPeriod()const;
void setPeriod(const std::string& period);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getUsedTime()const;
void setUsedTime(int usedTime);
private:
std::string period_;
std::string regionId_;
std::string clientToken_;
std::string backupPlanId_;
std::string ownerId_;
int usedTime_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_RENEWBACKUPPLANREQUEST_H_

View File

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