Browse Source

Add CreateAndStartBackupPlan.

sdk-team 5 years ago
parent
commit
33bddb5fa9

+ 5 - 0
CHANGELOG

@@ -1,3 +1,8 @@
+2021-03-30 Version: 1.36.658
+- Add CreateAndStartBackupPlan.
+- Add DescribeFullBackupSet.
+- Add DescribeLogicalBackupSet.
+
 2021-03-26 Version: 1.36.657
 - Update api.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.657
+1.36.658

+ 8 - 8
dbs/CMakeLists.txt

@@ -21,16 +21,12 @@ set(dbs_public_header
 	include/alibabacloud/dbs/DbsExport.h )
 
 set(dbs_public_header_model 
-	include/alibabacloud/dbs/model/CloseDLAServiceRequest.h
-	include/alibabacloud/dbs/model/CloseDLAServiceResult.h
 	include/alibabacloud/dbs/model/ConfigureBackupPlanRequest.h
 	include/alibabacloud/dbs/model/ConfigureBackupPlanResult.h
 	include/alibabacloud/dbs/model/CreateAndStartBackupPlanRequest.h
 	include/alibabacloud/dbs/model/CreateAndStartBackupPlanResult.h
 	include/alibabacloud/dbs/model/CreateBackupPlanRequest.h
 	include/alibabacloud/dbs/model/CreateBackupPlanResult.h
-	include/alibabacloud/dbs/model/CreateDLAServiceRequest.h
-	include/alibabacloud/dbs/model/CreateDLAServiceResult.h
 	include/alibabacloud/dbs/model/CreateFullBackupSetDownloadRequest.h
 	include/alibabacloud/dbs/model/CreateFullBackupSetDownloadResult.h
 	include/alibabacloud/dbs/model/CreateGetDBListFromAgentTaskRequest.h
@@ -51,10 +47,14 @@ set(dbs_public_header_model
 	include/alibabacloud/dbs/model/DescribeDLAServiceResult.h
 	include/alibabacloud/dbs/model/DescribeFullBackupListRequest.h
 	include/alibabacloud/dbs/model/DescribeFullBackupListResult.h
+	include/alibabacloud/dbs/model/DescribeFullBackupSetRequest.h
+	include/alibabacloud/dbs/model/DescribeFullBackupSetResult.h
 	include/alibabacloud/dbs/model/DescribeIncrementBackupListRequest.h
 	include/alibabacloud/dbs/model/DescribeIncrementBackupListResult.h
 	include/alibabacloud/dbs/model/DescribeJobErrorCodeRequest.h
 	include/alibabacloud/dbs/model/DescribeJobErrorCodeResult.h
+	include/alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h
+	include/alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h
 	include/alibabacloud/dbs/model/DescribeNodeCidrListRequest.h
 	include/alibabacloud/dbs/model/DescribeNodeCidrListResult.h
 	include/alibabacloud/dbs/model/DescribePreCheckProgressListRequest.h
@@ -100,16 +100,12 @@ set(dbs_public_header_model
 
 set(dbs_src 
 	src/DbsClient.cc
-	src/model/CloseDLAServiceRequest.cc
-	src/model/CloseDLAServiceResult.cc
 	src/model/ConfigureBackupPlanRequest.cc
 	src/model/ConfigureBackupPlanResult.cc
 	src/model/CreateAndStartBackupPlanRequest.cc
 	src/model/CreateAndStartBackupPlanResult.cc
 	src/model/CreateBackupPlanRequest.cc
 	src/model/CreateBackupPlanResult.cc
-	src/model/CreateDLAServiceRequest.cc
-	src/model/CreateDLAServiceResult.cc
 	src/model/CreateFullBackupSetDownloadRequest.cc
 	src/model/CreateFullBackupSetDownloadResult.cc
 	src/model/CreateGetDBListFromAgentTaskRequest.cc
@@ -130,10 +126,14 @@ set(dbs_src
 	src/model/DescribeDLAServiceResult.cc
 	src/model/DescribeFullBackupListRequest.cc
 	src/model/DescribeFullBackupListResult.cc
+	src/model/DescribeFullBackupSetRequest.cc
+	src/model/DescribeFullBackupSetResult.cc
 	src/model/DescribeIncrementBackupListRequest.cc
 	src/model/DescribeIncrementBackupListResult.cc
 	src/model/DescribeJobErrorCodeRequest.cc
 	src/model/DescribeJobErrorCodeResult.cc
+	src/model/DescribeLogicalBackupSetRequest.cc
+	src/model/DescribeLogicalBackupSetResult.cc
 	src/model/DescribeNodeCidrListRequest.cc
 	src/model/DescribeNodeCidrListResult.cc
 	src/model/DescribePreCheckProgressListRequest.cc

+ 16 - 16
dbs/include/alibabacloud/dbs/DbsClient.h

@@ -22,16 +22,12 @@
 #include <alibabacloud/core/EndpointProvider.h>
 #include <alibabacloud/core/RpcServiceClient.h>
 #include "DbsExport.h"
-#include "model/CloseDLAServiceRequest.h"
-#include "model/CloseDLAServiceResult.h"
 #include "model/ConfigureBackupPlanRequest.h"
 #include "model/ConfigureBackupPlanResult.h"
 #include "model/CreateAndStartBackupPlanRequest.h"
 #include "model/CreateAndStartBackupPlanResult.h"
 #include "model/CreateBackupPlanRequest.h"
 #include "model/CreateBackupPlanResult.h"
-#include "model/CreateDLAServiceRequest.h"
-#include "model/CreateDLAServiceResult.h"
 #include "model/CreateFullBackupSetDownloadRequest.h"
 #include "model/CreateFullBackupSetDownloadResult.h"
 #include "model/CreateGetDBListFromAgentTaskRequest.h"
@@ -52,10 +48,14 @@
 #include "model/DescribeDLAServiceResult.h"
 #include "model/DescribeFullBackupListRequest.h"
 #include "model/DescribeFullBackupListResult.h"
+#include "model/DescribeFullBackupSetRequest.h"
+#include "model/DescribeFullBackupSetResult.h"
 #include "model/DescribeIncrementBackupListRequest.h"
 #include "model/DescribeIncrementBackupListResult.h"
 #include "model/DescribeJobErrorCodeRequest.h"
 #include "model/DescribeJobErrorCodeResult.h"
+#include "model/DescribeLogicalBackupSetRequest.h"
+#include "model/DescribeLogicalBackupSetResult.h"
 #include "model/DescribeNodeCidrListRequest.h"
 #include "model/DescribeNodeCidrListResult.h"
 #include "model/DescribePreCheckProgressListRequest.h"
@@ -107,9 +107,6 @@ namespace AlibabaCloud
 		class ALIBABACLOUD_DBS_EXPORT DbsClient : public RpcServiceClient
 		{
 		public:
-			typedef Outcome<Error, Model::CloseDLAServiceResult> CloseDLAServiceOutcome;
-			typedef std::future<CloseDLAServiceOutcome> CloseDLAServiceOutcomeCallable;
-			typedef std::function<void(const DbsClient*, const Model::CloseDLAServiceRequest&, const CloseDLAServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseDLAServiceAsyncHandler;
 			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;
@@ -119,9 +116,6 @@ 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::CreateDLAServiceResult> CreateDLAServiceOutcome;
-			typedef std::future<CreateDLAServiceOutcome> CreateDLAServiceOutcomeCallable;
-			typedef std::function<void(const DbsClient*, const Model::CreateDLAServiceRequest&, const CreateDLAServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDLAServiceAsyncHandler;
 			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;
@@ -152,12 +146,18 @@ namespace AlibabaCloud
 			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::DescribeFullBackupSetResult> DescribeFullBackupSetOutcome;
+			typedef std::future<DescribeFullBackupSetOutcome> DescribeFullBackupSetOutcomeCallable;
+			typedef std::function<void(const DbsClient*, const Model::DescribeFullBackupSetRequest&, const DescribeFullBackupSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFullBackupSetAsyncHandler;
 			typedef Outcome<Error, Model::DescribeIncrementBackupListResult> DescribeIncrementBackupListOutcome;
 			typedef std::future<DescribeIncrementBackupListOutcome> DescribeIncrementBackupListOutcomeCallable;
 			typedef std::function<void(const DbsClient*, const Model::DescribeIncrementBackupListRequest&, const DescribeIncrementBackupListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIncrementBackupListAsyncHandler;
 			typedef Outcome<Error, Model::DescribeJobErrorCodeResult> DescribeJobErrorCodeOutcome;
 			typedef std::future<DescribeJobErrorCodeOutcome> DescribeJobErrorCodeOutcomeCallable;
 			typedef std::function<void(const DbsClient*, const Model::DescribeJobErrorCodeRequest&, const DescribeJobErrorCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeJobErrorCodeAsyncHandler;
+			typedef Outcome<Error, Model::DescribeLogicalBackupSetResult> DescribeLogicalBackupSetOutcome;
+			typedef std::future<DescribeLogicalBackupSetOutcome> DescribeLogicalBackupSetOutcomeCallable;
+			typedef std::function<void(const DbsClient*, const Model::DescribeLogicalBackupSetRequest&, const DescribeLogicalBackupSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLogicalBackupSetAsyncHandler;
 			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;
@@ -226,9 +226,6 @@ namespace AlibabaCloud
 			DbsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
 			DbsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
 			~DbsClient();
-			CloseDLAServiceOutcome closeDLAService(const Model::CloseDLAServiceRequest &request)const;
-			void closeDLAServiceAsync(const Model::CloseDLAServiceRequest& request, const CloseDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			CloseDLAServiceOutcomeCallable closeDLAServiceCallable(const Model::CloseDLAServiceRequest& request) const;
 			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;
@@ -238,9 +235,6 @@ 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;
-			CreateDLAServiceOutcome createDLAService(const Model::CreateDLAServiceRequest &request)const;
-			void createDLAServiceAsync(const Model::CreateDLAServiceRequest& request, const CreateDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			CreateDLAServiceOutcomeCallable createDLAServiceCallable(const Model::CreateDLAServiceRequest& 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;
@@ -271,12 +265,18 @@ namespace AlibabaCloud
 			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;
+			DescribeFullBackupSetOutcome describeFullBackupSet(const Model::DescribeFullBackupSetRequest &request)const;
+			void describeFullBackupSetAsync(const Model::DescribeFullBackupSetRequest& request, const DescribeFullBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeFullBackupSetOutcomeCallable describeFullBackupSetCallable(const Model::DescribeFullBackupSetRequest& request) const;
 			DescribeIncrementBackupListOutcome describeIncrementBackupList(const Model::DescribeIncrementBackupListRequest &request)const;
 			void describeIncrementBackupListAsync(const Model::DescribeIncrementBackupListRequest& request, const DescribeIncrementBackupListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeIncrementBackupListOutcomeCallable describeIncrementBackupListCallable(const Model::DescribeIncrementBackupListRequest& request) const;
 			DescribeJobErrorCodeOutcome describeJobErrorCode(const Model::DescribeJobErrorCodeRequest &request)const;
 			void describeJobErrorCodeAsync(const Model::DescribeJobErrorCodeRequest& request, const DescribeJobErrorCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeJobErrorCodeOutcomeCallable describeJobErrorCodeCallable(const Model::DescribeJobErrorCodeRequest& request) const;
+			DescribeLogicalBackupSetOutcome describeLogicalBackupSet(const Model::DescribeLogicalBackupSetRequest &request)const;
+			void describeLogicalBackupSetAsync(const Model::DescribeLogicalBackupSetRequest& request, const DescribeLogicalBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeLogicalBackupSetOutcomeCallable describeLogicalBackupSetCallable(const Model::DescribeLogicalBackupSetRequest& 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;

+ 0 - 57
dbs/include/alibabacloud/dbs/model/CloseDLAServiceResult.h

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

+ 9 - 6
dbs/include/alibabacloud/dbs/model/CloseDLAServiceRequest.h → dbs/include/alibabacloud/dbs/model/DescribeFullBackupSetRequest.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DBS_MODEL_CLOSEDLASERVICEREQUEST_H_
-#define ALIBABACLOUD_DBS_MODEL_CLOSEDLASERVICEREQUEST_H_
+#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
+#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_
 
 #include <string>
 #include <vector>
@@ -28,27 +28,30 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_DBS_EXPORT CloseDLAServiceRequest : public RpcServiceRequest
+			class ALIBABACLOUD_DBS_EXPORT DescribeFullBackupSetRequest : public RpcServiceRequest
 			{
 
 			public:
-				CloseDLAServiceRequest();
-				~CloseDLAServiceRequest();
+				DescribeFullBackupSetRequest();
+				~DescribeFullBackupSetRequest();
 
 				std::string getClientToken()const;
 				void setClientToken(const std::string& clientToken);
 				std::string getBackupPlanId()const;
 				void setBackupPlanId(const std::string& backupPlanId);
+				std::string getBackupsetId()const;
+				void setBackupsetId(const std::string& backupsetId);
 				std::string getOwnerId()const;
 				void setOwnerId(const std::string& ownerId);
 
             private:
 				std::string clientToken_;
 				std::string backupPlanId_;
+				std::string backupsetId_;
 				std::string ownerId_;
 
 			};
 		}
 	}
 }
-#endif // !ALIBABACLOUD_DBS_MODEL_CLOSEDLASERVICEREQUEST_H_
+#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETREQUEST_H_

+ 81 - 0
dbs/include/alibabacloud/dbs/model/DescribeFullBackupSetResult.h

@@ -0,0 +1,81 @@
+/*
+ * 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_DESCRIBEFULLBACKUPSETRESULT_H_
+#define ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_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 DescribeFullBackupSetResult : public ServiceResult
+			{
+			public:
+
+
+				DescribeFullBackupSetResult();
+				explicit DescribeFullBackupSetResult(const std::string &payload);
+				~DescribeFullBackupSetResult();
+				std::string getStorageMethod()const;
+				std::string getBackupObjects()const;
+				long getEndTime()const;
+				long getBackupSize()const;
+				long getCreateTime()const;
+				long getStartTime()const;
+				long getBackupSetExpiredTime()const;
+				std::string getErrMessage()const;
+				std::string getBackupSetId()const;
+				bool getSuccess()const;
+				std::string getErrMessage1()const;
+				std::string getErrCode()const;
+				std::string getSourceEndpointIpPort()const;
+				long getFinishTime()const;
+				int getHttpStatusCode()const;
+				std::string getBackupStatus()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string storageMethod_;
+				std::string backupObjects_;
+				long endTime_;
+				long backupSize_;
+				long createTime_;
+				long startTime_;
+				long backupSetExpiredTime_;
+				std::string errMessage_;
+				std::string backupSetId_;
+				bool success_;
+				std::string errMessage1_;
+				std::string errCode_;
+				std::string sourceEndpointIpPort_;
+				long finishTime_;
+				int httpStatusCode_;
+				std::string backupStatus_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBEFULLBACKUPSETRESULT_H_

+ 9 - 12
dbs/include/alibabacloud/dbs/model/CreateDLAServiceRequest.h → dbs/include/alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICEREQUEST_H_
-#define ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICEREQUEST_H_
+#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
+#define ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_
 
 #include <string>
 #include <vector>
@@ -28,33 +28,30 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_DBS_EXPORT CreateDLAServiceRequest : public RpcServiceRequest
+			class ALIBABACLOUD_DBS_EXPORT DescribeLogicalBackupSetRequest : public RpcServiceRequest
 			{
 
 			public:
-				CreateDLAServiceRequest();
-				~CreateDLAServiceRequest();
+				DescribeLogicalBackupSetRequest();
+				~DescribeLogicalBackupSetRequest();
 
 				std::string getClientToken()const;
 				void setClientToken(const std::string& clientToken);
-				bool getAutoAdd()const;
-				void setAutoAdd(bool autoAdd);
-				std::string getBackupSetIds()const;
-				void setBackupSetIds(const std::string& backupSetIds);
 				std::string getBackupPlanId()const;
 				void setBackupPlanId(const std::string& backupPlanId);
+				std::string getBackupsetId()const;
+				void setBackupsetId(const std::string& backupsetId);
 				std::string getOwnerId()const;
 				void setOwnerId(const std::string& ownerId);
 
             private:
 				std::string clientToken_;
-				bool autoAdd_;
-				std::string backupSetIds_;
 				std::string backupPlanId_;
+				std::string backupsetId_;
 				std::string ownerId_;
 
 			};
 		}
 	}
 }
-#endif // !ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICEREQUEST_H_
+#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETREQUEST_H_

+ 11 - 7
dbs/include/alibabacloud/dbs/model/CreateDLAServiceResult.h → dbs/include/alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICERESULT_H_
-#define ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICERESULT_H_
+#ifndef ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
+#define ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,24 +29,28 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_DBS_EXPORT CreateDLAServiceResult : public ServiceResult
+			class ALIBABACLOUD_DBS_EXPORT DescribeLogicalBackupSetResult : public ServiceResult
 			{
 			public:
 
 
-				CreateDLAServiceResult();
-				explicit CreateDLAServiceResult(const std::string &payload);
-				~CreateDLAServiceResult();
+				DescribeLogicalBackupSetResult();
+				explicit DescribeLogicalBackupSetResult(const std::string &payload);
+				~DescribeLogicalBackupSetResult();
+				std::string getStatus()const;
 				int getHttpStatusCode()const;
 				std::string getErrMessage()const;
+				long getRowNum()const;
 				bool getSuccess()const;
 				std::string getErrCode()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
+				std::string status_;
 				int httpStatusCode_;
 				std::string errMessage_;
+				long rowNum_;
 				bool success_;
 				std::string errCode_;
 
@@ -54,4 +58,4 @@ namespace AlibabaCloud
 		}
 	}
 }
-#endif // !ALIBABACLOUD_DBS_MODEL_CREATEDLASERVICERESULT_H_
+#endif // !ALIBABACLOUD_DBS_MODEL_DESCRIBELOGICALBACKUPSETRESULT_H_

+ 72 - 72
dbs/src/DbsClient.cc

@@ -51,42 +51,6 @@ DbsClient::DbsClient(const std::string & accessKeyId, const std::string & access
 DbsClient::~DbsClient()
 {}
 
-DbsClient::CloseDLAServiceOutcome DbsClient::closeDLAService(const CloseDLAServiceRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return CloseDLAServiceOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return CloseDLAServiceOutcome(CloseDLAServiceResult(outcome.result()));
-	else
-		return CloseDLAServiceOutcome(outcome.error());
-}
-
-void DbsClient::closeDLAServiceAsync(const CloseDLAServiceRequest& request, const CloseDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, closeDLAService(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-DbsClient::CloseDLAServiceOutcomeCallable DbsClient::closeDLAServiceCallable(const CloseDLAServiceRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<CloseDLAServiceOutcome()>>(
-			[this, request]()
-			{
-			return this->closeDLAService(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 DbsClient::ConfigureBackupPlanOutcome DbsClient::configureBackupPlan(const ConfigureBackupPlanRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -195,42 +159,6 @@ DbsClient::CreateBackupPlanOutcomeCallable DbsClient::createBackupPlanCallable(c
 	return task->get_future();
 }
 
-DbsClient::CreateDLAServiceOutcome DbsClient::createDLAService(const CreateDLAServiceRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return CreateDLAServiceOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return CreateDLAServiceOutcome(CreateDLAServiceResult(outcome.result()));
-	else
-		return CreateDLAServiceOutcome(outcome.error());
-}
-
-void DbsClient::createDLAServiceAsync(const CreateDLAServiceRequest& request, const CreateDLAServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, createDLAService(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-DbsClient::CreateDLAServiceOutcomeCallable DbsClient::createDLAServiceCallable(const CreateDLAServiceRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<CreateDLAServiceOutcome()>>(
-			[this, request]()
-			{
-			return this->createDLAService(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 DbsClient::CreateFullBackupSetDownloadOutcome DbsClient::createFullBackupSetDownload(const CreateFullBackupSetDownloadRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -591,6 +519,42 @@ DbsClient::DescribeFullBackupListOutcomeCallable DbsClient::describeFullBackupLi
 	return task->get_future();
 }
 
+DbsClient::DescribeFullBackupSetOutcome DbsClient::describeFullBackupSet(const DescribeFullBackupSetRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeFullBackupSetOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeFullBackupSetOutcome(DescribeFullBackupSetResult(outcome.result()));
+	else
+		return DescribeFullBackupSetOutcome(outcome.error());
+}
+
+void DbsClient::describeFullBackupSetAsync(const DescribeFullBackupSetRequest& request, const DescribeFullBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeFullBackupSet(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+DbsClient::DescribeFullBackupSetOutcomeCallable DbsClient::describeFullBackupSetCallable(const DescribeFullBackupSetRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeFullBackupSetOutcome()>>(
+			[this, request]()
+			{
+			return this->describeFullBackupSet(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 DbsClient::DescribeIncrementBackupListOutcome DbsClient::describeIncrementBackupList(const DescribeIncrementBackupListRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -663,6 +627,42 @@ DbsClient::DescribeJobErrorCodeOutcomeCallable DbsClient::describeJobErrorCodeCa
 	return task->get_future();
 }
 
+DbsClient::DescribeLogicalBackupSetOutcome DbsClient::describeLogicalBackupSet(const DescribeLogicalBackupSetRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeLogicalBackupSetOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeLogicalBackupSetOutcome(DescribeLogicalBackupSetResult(outcome.result()));
+	else
+		return DescribeLogicalBackupSetOutcome(outcome.error());
+}
+
+void DbsClient::describeLogicalBackupSetAsync(const DescribeLogicalBackupSetRequest& request, const DescribeLogicalBackupSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeLogicalBackupSet(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+DbsClient::DescribeLogicalBackupSetOutcomeCallable DbsClient::describeLogicalBackupSetCallable(const DescribeLogicalBackupSetRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeLogicalBackupSetOutcome()>>(
+			[this, request]()
+			{
+			return this->describeLogicalBackupSet(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 DbsClient::DescribeNodeCidrListOutcome DbsClient::describeNodeCidrList(const DescribeNodeCidrListRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 0 - 62
dbs/src/model/CloseDLAServiceRequest.cc

@@ -1,62 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/dbs/model/CloseDLAServiceRequest.h>
-
-using AlibabaCloud::Dbs::Model::CloseDLAServiceRequest;
-
-CloseDLAServiceRequest::CloseDLAServiceRequest() :
-	RpcServiceRequest("dbs", "2019-03-06", "CloseDLAService")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-CloseDLAServiceRequest::~CloseDLAServiceRequest()
-{}
-
-std::string CloseDLAServiceRequest::getClientToken()const
-{
-	return clientToken_;
-}
-
-void CloseDLAServiceRequest::setClientToken(const std::string& clientToken)
-{
-	clientToken_ = clientToken;
-	setParameter("ClientToken", clientToken);
-}
-
-std::string CloseDLAServiceRequest::getBackupPlanId()const
-{
-	return backupPlanId_;
-}
-
-void CloseDLAServiceRequest::setBackupPlanId(const std::string& backupPlanId)
-{
-	backupPlanId_ = backupPlanId;
-	setParameter("BackupPlanId", backupPlanId);
-}
-
-std::string CloseDLAServiceRequest::getOwnerId()const
-{
-	return ownerId_;
-}
-
-void CloseDLAServiceRequest::setOwnerId(const std::string& ownerId)
-{
-	ownerId_ = ownerId;
-	setParameter("OwnerId", ownerId);
-}
-

+ 0 - 84
dbs/src/model/CreateDLAServiceRequest.cc

@@ -1,84 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/dbs/model/CreateDLAServiceRequest.h>
-
-using AlibabaCloud::Dbs::Model::CreateDLAServiceRequest;
-
-CreateDLAServiceRequest::CreateDLAServiceRequest() :
-	RpcServiceRequest("dbs", "2019-03-06", "CreateDLAService")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-CreateDLAServiceRequest::~CreateDLAServiceRequest()
-{}
-
-std::string CreateDLAServiceRequest::getClientToken()const
-{
-	return clientToken_;
-}
-
-void CreateDLAServiceRequest::setClientToken(const std::string& clientToken)
-{
-	clientToken_ = clientToken;
-	setParameter("ClientToken", clientToken);
-}
-
-bool CreateDLAServiceRequest::getAutoAdd()const
-{
-	return autoAdd_;
-}
-
-void CreateDLAServiceRequest::setAutoAdd(bool autoAdd)
-{
-	autoAdd_ = autoAdd;
-	setParameter("AutoAdd", autoAdd ? "true" : "false");
-}
-
-std::string CreateDLAServiceRequest::getBackupSetIds()const
-{
-	return backupSetIds_;
-}
-
-void CreateDLAServiceRequest::setBackupSetIds(const std::string& backupSetIds)
-{
-	backupSetIds_ = backupSetIds;
-	setParameter("BackupSetIds", backupSetIds);
-}
-
-std::string CreateDLAServiceRequest::getBackupPlanId()const
-{
-	return backupPlanId_;
-}
-
-void CreateDLAServiceRequest::setBackupPlanId(const std::string& backupPlanId)
-{
-	backupPlanId_ = backupPlanId;
-	setParameter("BackupPlanId", backupPlanId);
-}
-
-std::string CreateDLAServiceRequest::getOwnerId()const
-{
-	return ownerId_;
-}
-
-void CreateDLAServiceRequest::setOwnerId(const std::string& ownerId)
-{
-	ownerId_ = ownerId;
-	setParameter("OwnerId", ownerId);
-}
-

+ 0 - 72
dbs/src/model/CreateDLAServiceResult.cc

@@ -1,72 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/dbs/model/CreateDLAServiceResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Dbs;
-using namespace AlibabaCloud::Dbs::Model;
-
-CreateDLAServiceResult::CreateDLAServiceResult() :
-	ServiceResult()
-{}
-
-CreateDLAServiceResult::CreateDLAServiceResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-CreateDLAServiceResult::~CreateDLAServiceResult()
-{}
-
-void CreateDLAServiceResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["Success"].isNull())
-		success_ = value["Success"].asString() == "true";
-	if(!value["ErrCode"].isNull())
-		errCode_ = value["ErrCode"].asString();
-	if(!value["ErrMessage"].isNull())
-		errMessage_ = value["ErrMessage"].asString();
-	if(!value["HttpStatusCode"].isNull())
-		httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
-
-}
-
-int CreateDLAServiceResult::getHttpStatusCode()const
-{
-	return httpStatusCode_;
-}
-
-std::string CreateDLAServiceResult::getErrMessage()const
-{
-	return errMessage_;
-}
-
-bool CreateDLAServiceResult::getSuccess()const
-{
-	return success_;
-}
-
-std::string CreateDLAServiceResult::getErrCode()const
-{
-	return errCode_;
-}
-

+ 73 - 0
dbs/src/model/DescribeFullBackupSetRequest.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/dbs/model/DescribeFullBackupSetRequest.h>
+
+using AlibabaCloud::Dbs::Model::DescribeFullBackupSetRequest;
+
+DescribeFullBackupSetRequest::DescribeFullBackupSetRequest() :
+	RpcServiceRequest("dbs", "2019-03-06", "DescribeFullBackupSet")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeFullBackupSetRequest::~DescribeFullBackupSetRequest()
+{}
+
+std::string DescribeFullBackupSetRequest::getClientToken()const
+{
+	return clientToken_;
+}
+
+void DescribeFullBackupSetRequest::setClientToken(const std::string& clientToken)
+{
+	clientToken_ = clientToken;
+	setParameter("ClientToken", clientToken);
+}
+
+std::string DescribeFullBackupSetRequest::getBackupPlanId()const
+{
+	return backupPlanId_;
+}
+
+void DescribeFullBackupSetRequest::setBackupPlanId(const std::string& backupPlanId)
+{
+	backupPlanId_ = backupPlanId;
+	setParameter("BackupPlanId", backupPlanId);
+}
+
+std::string DescribeFullBackupSetRequest::getBackupsetId()const
+{
+	return backupsetId_;
+}
+
+void DescribeFullBackupSetRequest::setBackupsetId(const std::string& backupsetId)
+{
+	backupsetId_ = backupsetId;
+	setParameter("BackupsetId", backupsetId);
+}
+
+std::string DescribeFullBackupSetRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void DescribeFullBackupSetRequest::setOwnerId(const std::string& ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", ownerId);
+}
+

+ 156 - 0
dbs/src/model/DescribeFullBackupSetResult.cc

@@ -0,0 +1,156 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/dbs/model/DescribeFullBackupSetResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Dbs;
+using namespace AlibabaCloud::Dbs::Model;
+
+DescribeFullBackupSetResult::DescribeFullBackupSetResult() :
+	ServiceResult()
+{}
+
+DescribeFullBackupSetResult::DescribeFullBackupSetResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeFullBackupSetResult::~DescribeFullBackupSetResult()
+{}
+
+void DescribeFullBackupSetResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["ErrCode"].isNull())
+		errCode_ = value["ErrCode"].asString();
+	if(!value["ErrMessage"].isNull())
+		errMessage_ = value["ErrMessage"].asString();
+	if(!value["HttpStatusCode"].isNull())
+		httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
+	if(!value["BackupSetId"].isNull())
+		backupSetId_ = value["BackupSetId"].asString();
+	if(!value["SourceEndpointIpPort"].isNull())
+		sourceEndpointIpPort_ = value["SourceEndpointIpPort"].asString();
+	if(!value["StartTime"].isNull())
+		startTime_ = std::stol(value["StartTime"].asString());
+	if(!value["EndTime"].isNull())
+		endTime_ = std::stol(value["EndTime"].asString());
+	if(!value["BackupStatus"].isNull())
+		backupStatus_ = value["BackupStatus"].asString();
+	if(!value["BackupSetExpiredTime"].isNull())
+		backupSetExpiredTime_ = std::stol(value["BackupSetExpiredTime"].asString());
+	if(!value["BackupSize"].isNull())
+		backupSize_ = std::stol(value["BackupSize"].asString());
+	if(!value["StorageMethod"].isNull())
+		storageMethod_ = value["StorageMethod"].asString();
+	if(!value["ErrMessage"].isNull())
+		errMessage1_ = value["ErrMessage"].asString();
+	if(!value["BackupObjects"].isNull())
+		backupObjects_ = value["BackupObjects"].asString();
+	if(!value["CreateTime"].isNull())
+		createTime_ = std::stol(value["CreateTime"].asString());
+	if(!value["FinishTime"].isNull())
+		finishTime_ = std::stol(value["FinishTime"].asString());
+
+}
+
+std::string DescribeFullBackupSetResult::getStorageMethod()const
+{
+	return storageMethod_;
+}
+
+std::string DescribeFullBackupSetResult::getBackupObjects()const
+{
+	return backupObjects_;
+}
+
+long DescribeFullBackupSetResult::getEndTime()const
+{
+	return endTime_;
+}
+
+long DescribeFullBackupSetResult::getBackupSize()const
+{
+	return backupSize_;
+}
+
+long DescribeFullBackupSetResult::getCreateTime()const
+{
+	return createTime_;
+}
+
+long DescribeFullBackupSetResult::getStartTime()const
+{
+	return startTime_;
+}
+
+long DescribeFullBackupSetResult::getBackupSetExpiredTime()const
+{
+	return backupSetExpiredTime_;
+}
+
+std::string DescribeFullBackupSetResult::getErrMessage()const
+{
+	return errMessage_;
+}
+
+std::string DescribeFullBackupSetResult::getBackupSetId()const
+{
+	return backupSetId_;
+}
+
+bool DescribeFullBackupSetResult::getSuccess()const
+{
+	return success_;
+}
+
+std::string DescribeFullBackupSetResult::getErrMessage1()const
+{
+	return errMessage1_;
+}
+
+std::string DescribeFullBackupSetResult::getErrCode()const
+{
+	return errCode_;
+}
+
+std::string DescribeFullBackupSetResult::getSourceEndpointIpPort()const
+{
+	return sourceEndpointIpPort_;
+}
+
+long DescribeFullBackupSetResult::getFinishTime()const
+{
+	return finishTime_;
+}
+
+int DescribeFullBackupSetResult::getHttpStatusCode()const
+{
+	return httpStatusCode_;
+}
+
+std::string DescribeFullBackupSetResult::getBackupStatus()const
+{
+	return backupStatus_;
+}
+

+ 73 - 0
dbs/src/model/DescribeLogicalBackupSetRequest.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/dbs/model/DescribeLogicalBackupSetRequest.h>
+
+using AlibabaCloud::Dbs::Model::DescribeLogicalBackupSetRequest;
+
+DescribeLogicalBackupSetRequest::DescribeLogicalBackupSetRequest() :
+	RpcServiceRequest("dbs", "2019-03-06", "DescribeLogicalBackupSet")
+{
+	setMethod(HttpRequest::Method::Post);
+}
+
+DescribeLogicalBackupSetRequest::~DescribeLogicalBackupSetRequest()
+{}
+
+std::string DescribeLogicalBackupSetRequest::getClientToken()const
+{
+	return clientToken_;
+}
+
+void DescribeLogicalBackupSetRequest::setClientToken(const std::string& clientToken)
+{
+	clientToken_ = clientToken;
+	setParameter("ClientToken", clientToken);
+}
+
+std::string DescribeLogicalBackupSetRequest::getBackupPlanId()const
+{
+	return backupPlanId_;
+}
+
+void DescribeLogicalBackupSetRequest::setBackupPlanId(const std::string& backupPlanId)
+{
+	backupPlanId_ = backupPlanId;
+	setParameter("BackupPlanId", backupPlanId);
+}
+
+std::string DescribeLogicalBackupSetRequest::getBackupsetId()const
+{
+	return backupsetId_;
+}
+
+void DescribeLogicalBackupSetRequest::setBackupsetId(const std::string& backupsetId)
+{
+	backupsetId_ = backupsetId;
+	setParameter("BackupsetId", backupsetId);
+}
+
+std::string DescribeLogicalBackupSetRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void DescribeLogicalBackupSetRequest::setOwnerId(const std::string& ownerId)
+{
+	ownerId_ = ownerId;
+	setParameter("OwnerId", ownerId);
+}
+

+ 23 - 9
dbs/src/model/CloseDLAServiceResult.cc → dbs/src/model/DescribeLogicalBackupSetResult.cc

@@ -14,26 +14,26 @@
  * limitations under the License.
  */
 
-#include <alibabacloud/dbs/model/CloseDLAServiceResult.h>
+#include <alibabacloud/dbs/model/DescribeLogicalBackupSetResult.h>
 #include <json/json.h>
 
 using namespace AlibabaCloud::Dbs;
 using namespace AlibabaCloud::Dbs::Model;
 
-CloseDLAServiceResult::CloseDLAServiceResult() :
+DescribeLogicalBackupSetResult::DescribeLogicalBackupSetResult() :
 	ServiceResult()
 {}
 
-CloseDLAServiceResult::CloseDLAServiceResult(const std::string &payload) :
+DescribeLogicalBackupSetResult::DescribeLogicalBackupSetResult(const std::string &payload) :
 	ServiceResult()
 {
 	parse(payload);
 }
 
-CloseDLAServiceResult::~CloseDLAServiceResult()
+DescribeLogicalBackupSetResult::~DescribeLogicalBackupSetResult()
 {}
 
-void CloseDLAServiceResult::parse(const std::string &payload)
+void DescribeLogicalBackupSetResult::parse(const std::string &payload)
 {
 	Json::Reader reader;
 	Json::Value value;
@@ -47,25 +47,39 @@ void CloseDLAServiceResult::parse(const std::string &payload)
 		errMessage_ = value["ErrMessage"].asString();
 	if(!value["HttpStatusCode"].isNull())
 		httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
+	if(!value["RowNum"].isNull())
+		rowNum_ = std::stol(value["RowNum"].asString());
+	if(!value["Status"].isNull())
+		status_ = value["Status"].asString();
 
 }
 
-int CloseDLAServiceResult::getHttpStatusCode()const
+std::string DescribeLogicalBackupSetResult::getStatus()const
+{
+	return status_;
+}
+
+int DescribeLogicalBackupSetResult::getHttpStatusCode()const
 {
 	return httpStatusCode_;
 }
 
-std::string CloseDLAServiceResult::getErrMessage()const
+std::string DescribeLogicalBackupSetResult::getErrMessage()const
 {
 	return errMessage_;
 }
 
-bool CloseDLAServiceResult::getSuccess()const
+long DescribeLogicalBackupSetResult::getRowNum()const
+{
+	return rowNum_;
+}
+
+bool DescribeLogicalBackupSetResult::getSuccess()const
 {
 	return success_;
 }
 
-std::string CloseDLAServiceResult::getErrCode()const
+std::string DescribeLogicalBackupSetResult::getErrCode()const
 {
 	return errCode_;
 }