Increase flow control value for ListDbfs.
This commit is contained in:
@@ -39,6 +39,7 @@ namespace AlibabaCloud
|
|||||||
std::string instanceTypeFamily;
|
std::string instanceTypeFamily;
|
||||||
std::string value;
|
std::string value;
|
||||||
std::string label;
|
std::string label;
|
||||||
|
std::string imageId;
|
||||||
std::string oSName;
|
std::string oSName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -36,17 +36,23 @@ public:
|
|||||||
void setPageNumber(int pageNumber);
|
void setPageNumber(int pageNumber);
|
||||||
std::string getFilterKey() const;
|
std::string getFilterKey() const;
|
||||||
void setFilterKey(const std::string &filterKey);
|
void setFilterKey(const std::string &filterKey);
|
||||||
|
std::string getLinkIds() const;
|
||||||
|
void setLinkIds(const std::string &linkIds);
|
||||||
std::string getRegionId() const;
|
std::string getRegionId() const;
|
||||||
void setRegionId(const std::string ®ionId);
|
void setRegionId(const std::string ®ionId);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
|
std::string getFsIds() const;
|
||||||
|
void setFsIds(const std::string &fsIds);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string filterValue_;
|
std::string filterValue_;
|
||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string filterKey_;
|
std::string filterKey_;
|
||||||
|
std::string linkIds_;
|
||||||
std::string regionId_;
|
std::string regionId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
|
std::string fsIds_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace DBFS
|
} // namespace DBFS
|
||||||
|
|||||||
@@ -31,21 +31,21 @@ DBFSClient::DBFSClient(const Credentials &credentials, const ClientConfiguration
|
|||||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(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) :
|
DBFSClient::DBFSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(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) :
|
DBFSClient::DBFSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||||
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||||
{
|
{
|
||||||
auto locationClient = std::make_shared<LocationClient>(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()
|
DBFSClient::~DBFSClient()
|
||||||
|
|||||||
@@ -55,6 +55,8 @@ void ListDbfsAttachableEcsInstancesResult::parse(const std::string &payload)
|
|||||||
ecsLabelInfoObject.status = valueEcsLabelInfoLabelInfo["Status"].asString();
|
ecsLabelInfoObject.status = valueEcsLabelInfoLabelInfo["Status"].asString();
|
||||||
if(!valueEcsLabelInfoLabelInfo["ZoneId"].isNull())
|
if(!valueEcsLabelInfoLabelInfo["ZoneId"].isNull())
|
||||||
ecsLabelInfoObject.zoneId = valueEcsLabelInfoLabelInfo["ZoneId"].asString();
|
ecsLabelInfoObject.zoneId = valueEcsLabelInfoLabelInfo["ZoneId"].asString();
|
||||||
|
if(!valueEcsLabelInfoLabelInfo["ImageId"].isNull())
|
||||||
|
ecsLabelInfoObject.imageId = valueEcsLabelInfoLabelInfo["ImageId"].asString();
|
||||||
ecsLabelInfo_.push_back(ecsLabelInfoObject);
|
ecsLabelInfo_.push_back(ecsLabelInfoObject);
|
||||||
}
|
}
|
||||||
if(!value["TotalCount"].isNull())
|
if(!value["TotalCount"].isNull())
|
||||||
|
|||||||
@@ -52,6 +52,15 @@ void ListSnapshotLinksRequest::setFilterKey(const std::string &filterKey) {
|
|||||||
setParameter(std::string("FilterKey"), 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 {
|
std::string ListSnapshotLinksRequest::getRegionId() const {
|
||||||
return regionId_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
@@ -70,3 +79,12 @@ void ListSnapshotLinksRequest::setPageSize(int pageSize) {
|
|||||||
setParameter(std::string("PageSize"), std::to_string(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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user