QuerySavingsPlansInstance api add status query param.
This commit is contained in:
@@ -48,6 +48,8 @@ public:
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace BssOpenApi
|
||||
|
||||
@@ -93,3 +93,12 @@ void QuerySavingsPlansInstanceRequest::setTag(const std::vector<QuerySavingsPlan
|
||||
}
|
||||
}
|
||||
|
||||
std::string QuerySavingsPlansInstanceRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void QuerySavingsPlansInstanceRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user