Increase flow control value for ListDbfs.

This commit is contained in:
sdk-team
2023-03-16 11:50:45 +00:00
parent 7a240d684e
commit a22a0c32f6
6 changed files with 31 additions and 4 deletions

View File

@@ -1 +1 @@
1.36.1504
1.36.1505

View File

@@ -39,6 +39,7 @@ namespace AlibabaCloud
std::string instanceTypeFamily;
std::string value;
std::string label;
std::string imageId;
std::string oSName;
};

View File

@@ -36,17 +36,23 @@ public:
void setPageNumber(int pageNumber);
std::string getFilterKey() const;
void setFilterKey(const std::string &filterKey);
std::string getLinkIds() const;
void setLinkIds(const std::string &linkIds);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getFsIds() const;
void setFsIds(const std::string &fsIds);
private:
std::string filterValue_;
int pageNumber_;
std::string filterKey_;
std::string linkIds_;
std::string regionId_;
int pageSize_;
std::string fsIds_;
};
} // namespace Model
} // namespace DBFS

View File

@@ -31,21 +31,21 @@ DBFSClient::DBFSClient(const Credentials &credentials, const ClientConfiguration
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dbfs");
}
DBFSClient::DBFSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dbfs");
}
DBFSClient::DBFSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dbfs");
}
DBFSClient::~DBFSClient()

View File

@@ -55,6 +55,8 @@ void ListDbfsAttachableEcsInstancesResult::parse(const std::string &payload)
ecsLabelInfoObject.status = valueEcsLabelInfoLabelInfo["Status"].asString();
if(!valueEcsLabelInfoLabelInfo["ZoneId"].isNull())
ecsLabelInfoObject.zoneId = valueEcsLabelInfoLabelInfo["ZoneId"].asString();
if(!valueEcsLabelInfoLabelInfo["ImageId"].isNull())
ecsLabelInfoObject.imageId = valueEcsLabelInfoLabelInfo["ImageId"].asString();
ecsLabelInfo_.push_back(ecsLabelInfoObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -52,6 +52,15 @@ void ListSnapshotLinksRequest::setFilterKey(const std::string &filterKey) {
setParameter(std::string("FilterKey"), filterKey);
}
std::string ListSnapshotLinksRequest::getLinkIds() const {
return linkIds_;
}
void ListSnapshotLinksRequest::setLinkIds(const std::string &linkIds) {
linkIds_ = linkIds;
setParameter(std::string("LinkIds"), linkIds);
}
std::string ListSnapshotLinksRequest::getRegionId() const {
return regionId_;
}
@@ -70,3 +79,12 @@ void ListSnapshotLinksRequest::setPageSize(int pageSize) {
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
std::string ListSnapshotLinksRequest::getFsIds() const {
return fsIds_;
}
void ListSnapshotLinksRequest::setFsIds(const std::string &fsIds) {
fsIds_ = fsIds;
setParameter(std::string("FsIds"), fsIds);
}