Update SegmentBody.
This commit is contained in:
@@ -35,12 +35,15 @@ namespace AlibabaCloud
|
||||
SegmentBodyRequest();
|
||||
~SegmentBodyRequest();
|
||||
|
||||
std::string getReturnForm()const;
|
||||
void setReturnForm(const std::string& returnForm);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
std::string getImageURL()const;
|
||||
void setImageURL(const std::string& imageURL);
|
||||
|
||||
private:
|
||||
std::string returnForm_;
|
||||
bool async_;
|
||||
std::string imageURL_;
|
||||
|
||||
|
||||
@@ -27,6 +27,17 @@ SegmentBodyRequest::SegmentBodyRequest() :
|
||||
SegmentBodyRequest::~SegmentBodyRequest()
|
||||
{}
|
||||
|
||||
std::string SegmentBodyRequest::getReturnForm()const
|
||||
{
|
||||
return returnForm_;
|
||||
}
|
||||
|
||||
void SegmentBodyRequest::setReturnForm(const std::string& returnForm)
|
||||
{
|
||||
returnForm_ = returnForm;
|
||||
setParameter("ReturnForm", returnForm);
|
||||
}
|
||||
|
||||
bool SegmentBodyRequest::getAsync()const
|
||||
{
|
||||
return async_;
|
||||
|
||||
Reference in New Issue
Block a user