Update API DescribeGrantRulesToCen support ChildInstanceOwnerId and ChildInstanceId.
This commit is contained in:
@@ -48,6 +48,10 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion() const;
|
||||
void setVersion(const std::string &version);
|
||||
long getChildInstanceOwnerId() const;
|
||||
void setChildInstanceOwnerId(long childInstanceOwnerId);
|
||||
std::string getChildInstanceId() const;
|
||||
void setChildInstanceId(const std::string &childInstanceId);
|
||||
long getMaxResults() const;
|
||||
void setMaxResults(long maxResults);
|
||||
|
||||
@@ -61,6 +65,8 @@ private:
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
long childInstanceOwnerId_;
|
||||
std::string childInstanceId_;
|
||||
long maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -106,6 +106,24 @@ void DescribeGrantRulesToCenRequest::setVersion(const std::string &version) {
|
||||
setParameter(std::string("Version"), version);
|
||||
}
|
||||
|
||||
long DescribeGrantRulesToCenRequest::getChildInstanceOwnerId() const {
|
||||
return childInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeGrantRulesToCenRequest::setChildInstanceOwnerId(long childInstanceOwnerId) {
|
||||
childInstanceOwnerId_ = childInstanceOwnerId;
|
||||
setParameter(std::string("ChildInstanceOwnerId"), std::to_string(childInstanceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeGrantRulesToCenRequest::getChildInstanceId() const {
|
||||
return childInstanceId_;
|
||||
}
|
||||
|
||||
void DescribeGrantRulesToCenRequest::setChildInstanceId(const std::string &childInstanceId) {
|
||||
childInstanceId_ = childInstanceId;
|
||||
setParameter(std::string("ChildInstanceId"), childInstanceId);
|
||||
}
|
||||
|
||||
long DescribeGrantRulesToCenRequest::getMaxResults() const {
|
||||
return maxResults_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user