Browse Source

SubscribeBillToOSS add param: RowLimitPerFile.

sdk-team 3 years ago
parent
commit
c4144df5aa

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1448
+1.36.1449

+ 1 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryBillToOSSSubscriptionResult.h

@@ -43,6 +43,7 @@ namespace AlibabaCloud
 						long bucketOwnerId;
 						std::string multAccountRelSubscribe;
 						std::string subscribeLanguage;
+						int rowLimitPerFile;
 					};
 					std::string accountID;
 					std::vector<Item> items;

+ 3 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SubscribeBillToOSSRequest.h

@@ -40,6 +40,8 @@ public:
 	void setBucketPath(const std::string &bucketPath);
 	std::string getBeginBillingCycle() const;
 	void setBeginBillingCycle(const std::string &beginBillingCycle);
+	int getRowLimitPerFile() const;
+	void setRowLimitPerFile(int rowLimitPerFile);
 	std::string getMultAccountRelSubscribe() const;
 	void setMultAccountRelSubscribe(const std::string &multAccountRelSubscribe);
 
@@ -49,6 +51,7 @@ private:
 	std::string subscribeBucket_;
 	std::string bucketPath_;
 	std::string beginBillingCycle_;
+	int rowLimitPerFile_;
 	std::string multAccountRelSubscribe_;
 };
 } // namespace Model

+ 2 - 0
bssopenapi/src/model/QueryBillToOSSSubscriptionResult.cc

@@ -62,6 +62,8 @@ void QueryBillToOSSSubscriptionResult::parse(const std::string &payload)
 			itemObject.multAccountRelSubscribe = dataNodeItemsItem["MultAccountRelSubscribe"].asString();
 		if(!dataNodeItemsItem["BucketPath"].isNull())
 			itemObject.bucketPath = dataNodeItemsItem["BucketPath"].asString();
+		if(!dataNodeItemsItem["RowLimitPerFile"].isNull())
+			itemObject.rowLimitPerFile = std::stoi(dataNodeItemsItem["RowLimitPerFile"].asString());
 		data_.items.push_back(itemObject);
 	}
 	if(!value["Code"].isNull())

+ 9 - 0
bssopenapi/src/model/SubscribeBillToOSSRequest.cc

@@ -70,6 +70,15 @@ void SubscribeBillToOSSRequest::setBeginBillingCycle(const std::string &beginBil
   setParameter(std::string("BeginBillingCycle"), beginBillingCycle);
 }
 
+int SubscribeBillToOSSRequest::getRowLimitPerFile() const {
+  return rowLimitPerFile_;
+}
+
+void SubscribeBillToOSSRequest::setRowLimitPerFile(int rowLimitPerFile) {
+  rowLimitPerFile_ = rowLimitPerFile;
+  setParameter(std::string("RowLimitPerFile"), std::to_string(rowLimitPerFile));
+}
+
 std::string SubscribeBillToOSSRequest::getMultAccountRelSubscribe() const {
   return multAccountRelSubscribe_;
 }