Update backupsetDownloadset fun.

This commit is contained in:
sdk-team
2020-02-25 14:02:48 +08:00
parent 03ae6a55f9
commit 86d673dc39
25 changed files with 1794 additions and 4 deletions

View File

@@ -26,12 +26,18 @@
#include "model/ConfigureBackupPlanResult.h"
#include "model/CreateBackupPlanRequest.h"
#include "model/CreateBackupPlanResult.h"
#include "model/CreateFullBackupSetDownloadRequest.h"
#include "model/CreateFullBackupSetDownloadResult.h"
#include "model/CreateIncrementBackupSetDownloadRequest.h"
#include "model/CreateIncrementBackupSetDownloadResult.h"
#include "model/CreateRestoreTaskRequest.h"
#include "model/CreateRestoreTaskResult.h"
#include "model/DescribeBackupGatewayListRequest.h"
#include "model/DescribeBackupGatewayListResult.h"
#include "model/DescribeBackupPlanListRequest.h"
#include "model/DescribeBackupPlanListResult.h"
#include "model/DescribeBackupSetDownloadTaskListRequest.h"
#include "model/DescribeBackupSetDownloadTaskListResult.h"
#include "model/DescribeFullBackupListRequest.h"
#include "model/DescribeFullBackupListResult.h"
#include "model/DescribeIncrementBackupListRequest.h"
@@ -50,6 +56,8 @@
#include "model/ModifyBackupObjectsResult.h"
#include "model/ModifyBackupPlanNameRequest.h"
#include "model/ModifyBackupPlanNameResult.h"
#include "model/ModifyBackupSetDownloadRulesRequest.h"
#include "model/ModifyBackupSetDownloadRulesResult.h"
#include "model/ModifyBackupSourceEndpointRequest.h"
#include "model/ModifyBackupSourceEndpointResult.h"
#include "model/ModifyBackupStrategyRequest.h"
@@ -60,6 +68,8 @@
#include "model/StartBackupPlanResult.h"
#include "model/StartRestoreTaskRequest.h"
#include "model/StartRestoreTaskResult.h"
#include "model/StartTaskRequest.h"
#include "model/StartTaskResult.h"
#include "model/StopBackupPlanRequest.h"
#include "model/StopBackupPlanResult.h"
#include "model/UpgradeBackupPlanRequest.h"
@@ -79,6 +89,12 @@ namespace AlibabaCloud
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::CreateFullBackupSetDownloadResult> CreateFullBackupSetDownloadOutcome;
typedef std::future<CreateFullBackupSetDownloadOutcome> CreateFullBackupSetDownloadOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::CreateFullBackupSetDownloadRequest&, const CreateFullBackupSetDownloadOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateFullBackupSetDownloadAsyncHandler;
typedef Outcome<Error, Model::CreateIncrementBackupSetDownloadResult> CreateIncrementBackupSetDownloadOutcome;
typedef std::future<CreateIncrementBackupSetDownloadOutcome> CreateIncrementBackupSetDownloadOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::CreateIncrementBackupSetDownloadRequest&, const CreateIncrementBackupSetDownloadOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIncrementBackupSetDownloadAsyncHandler;
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;
@@ -88,6 +104,9 @@ 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::DescribeBackupSetDownloadTaskListResult> DescribeBackupSetDownloadTaskListOutcome;
typedef std::future<DescribeBackupSetDownloadTaskListOutcome> DescribeBackupSetDownloadTaskListOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::DescribeBackupSetDownloadTaskListRequest&, const DescribeBackupSetDownloadTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeBackupSetDownloadTaskListAsyncHandler;
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;
@@ -115,6 +134,9 @@ namespace AlibabaCloud
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::ModifyBackupSetDownloadRulesResult> ModifyBackupSetDownloadRulesOutcome;
typedef std::future<ModifyBackupSetDownloadRulesOutcome> ModifyBackupSetDownloadRulesOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::ModifyBackupSetDownloadRulesRequest&, const ModifyBackupSetDownloadRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyBackupSetDownloadRulesAsyncHandler;
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;
@@ -130,6 +152,9 @@ namespace AlibabaCloud
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::StartTaskResult> StartTaskOutcome;
typedef std::future<StartTaskOutcome> StartTaskOutcomeCallable;
typedef std::function<void(const DbsClient*, const Model::StartTaskRequest&, const StartTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartTaskAsyncHandler;
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;
@@ -147,6 +172,12 @@ namespace AlibabaCloud
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;
CreateFullBackupSetDownloadOutcome createFullBackupSetDownload(const Model::CreateFullBackupSetDownloadRequest &request)const;
void createFullBackupSetDownloadAsync(const Model::CreateFullBackupSetDownloadRequest& request, const CreateFullBackupSetDownloadAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateFullBackupSetDownloadOutcomeCallable createFullBackupSetDownloadCallable(const Model::CreateFullBackupSetDownloadRequest& request) const;
CreateIncrementBackupSetDownloadOutcome createIncrementBackupSetDownload(const Model::CreateIncrementBackupSetDownloadRequest &request)const;
void createIncrementBackupSetDownloadAsync(const Model::CreateIncrementBackupSetDownloadRequest& request, const CreateIncrementBackupSetDownloadAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateIncrementBackupSetDownloadOutcomeCallable createIncrementBackupSetDownloadCallable(const Model::CreateIncrementBackupSetDownloadRequest& 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;
@@ -156,6 +187,9 @@ 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;
DescribeBackupSetDownloadTaskListOutcome describeBackupSetDownloadTaskList(const Model::DescribeBackupSetDownloadTaskListRequest &request)const;
void describeBackupSetDownloadTaskListAsync(const Model::DescribeBackupSetDownloadTaskListRequest& request, const DescribeBackupSetDownloadTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeBackupSetDownloadTaskListOutcomeCallable describeBackupSetDownloadTaskListCallable(const Model::DescribeBackupSetDownloadTaskListRequest& 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;
@@ -183,6 +217,9 @@ namespace AlibabaCloud
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;
ModifyBackupSetDownloadRulesOutcome modifyBackupSetDownloadRules(const Model::ModifyBackupSetDownloadRulesRequest &request)const;
void modifyBackupSetDownloadRulesAsync(const Model::ModifyBackupSetDownloadRulesRequest& request, const ModifyBackupSetDownloadRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyBackupSetDownloadRulesOutcomeCallable modifyBackupSetDownloadRulesCallable(const Model::ModifyBackupSetDownloadRulesRequest& 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;
@@ -198,6 +235,9 @@ namespace AlibabaCloud
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;
StartTaskOutcome startTask(const Model::StartTaskRequest &request)const;
void startTaskAsync(const Model::StartTaskRequest& request, const StartTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartTaskOutcomeCallable startTaskCallable(const Model::StartTaskRequest& 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;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_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 CreateFullBackupSetDownloadRequest : public RpcServiceRequest
{
public:
CreateFullBackupSetDownloadRequest();
~CreateFullBackupSetDownloadRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupSetId()const;
void setBackupSetId(const std::string& backupSetId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getBackupSetDataFormat()const;
void setBackupSetDataFormat(const std::string& backupSetDataFormat);
private:
std::string clientToken_;
std::string backupSetId_;
std::string ownerId_;
std::string backupSetDataFormat_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADREQUEST_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_CREATEFULLBACKUPSETDOWNLOADRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADRESULT_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 CreateFullBackupSetDownloadResult : public ServiceResult
{
public:
CreateFullBackupSetDownloadResult();
explicit CreateFullBackupSetDownloadResult(const std::string &payload);
~CreateFullBackupSetDownloadResult();
std::string getBackupSetDownloadTaskId()const;
int getHttpStatusCode()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string backupSetDownloadTaskId_;
int httpStatusCode_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEFULLBACKUPSETDOWNLOADRESULT_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_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_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 CreateIncrementBackupSetDownloadRequest : public RpcServiceRequest
{
public:
CreateIncrementBackupSetDownloadRequest();
~CreateIncrementBackupSetDownloadRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupSetName()const;
void setBackupSetName(const std::string& backupSetName);
std::string getBackupSetId()const;
void setBackupSetId(const std::string& backupSetId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getBackupSetDataFormat()const;
void setBackupSetDataFormat(const std::string& backupSetDataFormat);
private:
std::string clientToken_;
std::string backupSetName_;
std::string backupSetId_;
std::string ownerId_;
std::string backupSetDataFormat_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADREQUEST_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_CREATEINCREMENTBACKUPSETDOWNLOADRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADRESULT_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 CreateIncrementBackupSetDownloadResult : public ServiceResult
{
public:
CreateIncrementBackupSetDownloadResult();
explicit CreateIncrementBackupSetDownloadResult(const std::string &payload);
~CreateIncrementBackupSetDownloadResult();
std::string getBackupSetDownloadTaskId()const;
int getHttpStatusCode()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
std::string backupSetDownloadTaskId_;
int httpStatusCode_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_CREATEINCREMENTBACKUPSETDOWNLOADRESULT_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_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_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 DescribeBackupSetDownloadTaskListRequest : public RpcServiceRequest
{
public:
DescribeBackupSetDownloadTaskListRequest();
~DescribeBackupSetDownloadTaskListRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupSetDownloadTaskId()const;
void setBackupSetDownloadTaskId(const std::string& backupSetDownloadTaskId);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
int getPageNum()const;
void setPageNum(int pageNum);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string clientToken_;
std::string backupSetDownloadTaskId_;
std::string backupPlanId_;
int pageNum_;
std::string ownerId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTREQUEST_H_

View File

@@ -0,0 +1,89 @@
/*
* 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_DESCRIBEBACKUPSETDOWNLOADTASKLISTRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTRESULT_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 DescribeBackupSetDownloadTaskListResult : public ServiceResult
{
public:
struct BackupSetDownloadTaskDetail
{
std::string backupSetDbType;
long backupSetDownloadCreateTime;
std::string backupSetDownloadTaskName;
std::string backupSetDownloadDir;
std::string backupSetDownloadWay;
std::string backupSetCode;
std::string backupSetId;
std::string errMessage;
std::string backupSetDownloadTargetType;
std::string backupSetDownloadStatus;
std::string backupSetDownloadIntranetUrl;
std::string backupSetDownloadInternetUrl;
std::string backupSetDownloadTaskId;
long backupSetDownloadFinishTime;
std::string backupSetJobType;
std::string backupSetDataFormat;
std::string backupPlanId;
long backupGatewayId;
long backupSetDataSize;
};
DescribeBackupSetDownloadTaskListResult();
explicit DescribeBackupSetDownloadTaskListResult(const std::string &payload);
~DescribeBackupSetDownloadTaskListResult();
int getPageSize()const;
int getPageNum()const;
int getHttpStatusCode()const;
int getTotalElements()const;
std::vector<BackupSetDownloadTaskDetail> getItems()const;
int getTotalPages()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
protected:
void parse(const std::string &payload);
private:
int pageSize_;
int pageNum_;
int httpStatusCode_;
int totalElements_;
std::vector<BackupSetDownloadTaskDetail> items_;
int totalPages_;
std::string errMessage_;
bool success_;
std::string errCode_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEBACKUPSETDOWNLOADTASKLISTRESULT_H_

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_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_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 ModifyBackupSetDownloadRulesRequest : public RpcServiceRequest
{
public:
ModifyBackupSetDownloadRulesRequest();
~ModifyBackupSetDownloadRulesRequest();
std::string getFullDataFormat()const;
void setFullDataFormat(const std::string& fullDataFormat);
long getBackupGatewayId()const;
void setBackupGatewayId(long backupGatewayId);
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getBackupSetDownloadTargetType()const;
void setBackupSetDownloadTargetType(const std::string& backupSetDownloadTargetType);
std::string getBackupPlanId()const;
void setBackupPlanId(const std::string& backupPlanId);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
bool getOpenAutoDownload()const;
void setOpenAutoDownload(bool openAutoDownload);
std::string getIncrementDataFormat()const;
void setIncrementDataFormat(const std::string& incrementDataFormat);
std::string getBackupSetDownloadDir()const;
void setBackupSetDownloadDir(const std::string& backupSetDownloadDir);
private:
std::string fullDataFormat_;
long backupGatewayId_;
std::string clientToken_;
std::string backupSetDownloadTargetType_;
std::string backupPlanId_;
std::string ownerId_;
bool openAutoDownload_;
std::string incrementDataFormat_;
std::string backupSetDownloadDir_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESREQUEST_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_MODIFYBACKUPSETDOWNLOADRULESRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_MODIFYBACKUPSETDOWNLOADRULESRESULT_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 ModifyBackupSetDownloadRulesResult : public ServiceResult
{
public:
ModifyBackupSetDownloadRulesResult();
explicit ModifyBackupSetDownloadRulesResult(const std::string &payload);
~ModifyBackupSetDownloadRulesResult();
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_MODIFYBACKUPSETDOWNLOADRULESRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DBS_MODEL_STARTTASKREQUEST_H_
#define ALIBABACLOUD_DBS_MODEL_STARTTASKREQUEST_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 StartTaskRequest : public RpcServiceRequest
{
public:
StartTaskRequest();
~StartTaskRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
std::string getOwnerId()const;
void setOwnerId(const std::string& ownerId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
private:
std::string clientToken_;
std::string ownerId_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_STARTTASKREQUEST_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_STARTTASKRESULT_H_
#define ALIBABACLOUD_DBS_MODEL_STARTTASKRESULT_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 StartTaskResult : public ServiceResult
{
public:
StartTaskResult();
explicit StartTaskResult(const std::string &payload);
~StartTaskResult();
std::string getTaskId()const;
int getHttpStatusCode()const;
std::string getErrMessage()const;
bool getSuccess()const;
std::string getErrCode()const;
std::string getJobTypeName()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
int httpStatusCode_;
std::string errMessage_;
bool success_;
std::string errCode_;
std::string jobTypeName_;
};
}
}
}
#endif // !ALIBABACLOUD_DBS_MODEL_STARTTASKRESULT_H_