SubscribeBillToOSS add param: RowLimitPerFile.
This commit is contained in:
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
long bucketOwnerId;
|
||||
std::string multAccountRelSubscribe;
|
||||
std::string subscribeLanguage;
|
||||
int rowLimitPerFile;
|
||||
};
|
||||
std::string accountID;
|
||||
std::vector<Item> items;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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())
|
||||
|
||||
@@ -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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user