Supported Video Abstract for IMM.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2019-09-19 Version 1.36.141
|
||||
- Supported Video Abstract for IMM.
|
||||
|
||||
2019-09-19 Version 1.36.140
|
||||
- Generated 2018-01-20 for `Iot`.
|
||||
|
||||
|
||||
@@ -34,6 +34,15 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Frames
|
||||
{
|
||||
struct Address
|
||||
{
|
||||
std::string township;
|
||||
std::string addressLine;
|
||||
std::string country;
|
||||
std::string city;
|
||||
std::string district;
|
||||
std::string province;
|
||||
};
|
||||
struct FacesItem
|
||||
{
|
||||
struct EmotionDetails
|
||||
@@ -121,11 +130,14 @@ namespace AlibabaCloud
|
||||
float celebrityConfidence;
|
||||
};
|
||||
std::string modifyTime;
|
||||
Address address;
|
||||
std::string sourceType;
|
||||
std::string sourceUri;
|
||||
std::string facesFailReason;
|
||||
std::string remarksA;
|
||||
std::string addressFailReason;
|
||||
std::string remarksB;
|
||||
std::string addressModifyTime;
|
||||
std::string imageFormat;
|
||||
std::string tagsFailReason;
|
||||
std::string facesModifyTime;
|
||||
@@ -137,6 +149,7 @@ namespace AlibabaCloud
|
||||
std::string sourcePosition;
|
||||
std::vector<Frames::FacesItem> faces;
|
||||
std::vector<Frames::TagsItem> tags;
|
||||
std::string addressStatus;
|
||||
std::string facesStatus;
|
||||
std::string createTime;
|
||||
std::string tagsModifyTime;
|
||||
|
||||
@@ -35,14 +35,38 @@ namespace AlibabaCloud
|
||||
FindImagesRequest();
|
||||
~FindImagesRequest();
|
||||
|
||||
std::string getGender()const;
|
||||
void setGender(const std::string& gender);
|
||||
std::string getProject()const;
|
||||
void setProject(const std::string& project);
|
||||
std::string getExternalId()const;
|
||||
void setExternalId(const std::string& externalId);
|
||||
std::string getFacesModifyTimeRange()const;
|
||||
void setFacesModifyTimeRange(const std::string& facesModifyTimeRange);
|
||||
std::string getOCRContentsMatch()const;
|
||||
void setOCRContentsMatch(const std::string& oCRContentsMatch);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::string getRemarksDPrefix()const;
|
||||
void setRemarksDPrefix(const std::string& remarksDPrefix);
|
||||
std::string getSourceType()const;
|
||||
void setSourceType(const std::string& sourceType);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getTagNames()const;
|
||||
void setTagNames(const std::string& tagNames);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
std::string getRemarksCPrefix()const;
|
||||
void setRemarksCPrefix(const std::string& remarksCPrefix);
|
||||
std::string getModifyTimeRange()const;
|
||||
void setModifyTimeRange(const std::string& modifyTimeRange);
|
||||
std::string getAddressLineContentsMatch()const;
|
||||
void setAddressLineContentsMatch(const std::string& addressLineContentsMatch);
|
||||
std::string getGender()const;
|
||||
void setGender(const std::string& gender);
|
||||
std::string getImageSizeRange()const;
|
||||
void setImageSizeRange(const std::string& imageSizeRange);
|
||||
std::string getRemarksBPrefix()const;
|
||||
@@ -53,71 +77,50 @@ namespace AlibabaCloud
|
||||
void setLocationBoundary(const std::string& locationBoundary);
|
||||
std::string getImageTimeRange()const;
|
||||
void setImageTimeRange(const std::string& imageTimeRange);
|
||||
std::string getOCRContentsMatch()const;
|
||||
void setOCRContentsMatch(const std::string& oCRContentsMatch);
|
||||
int getLimit()const;
|
||||
void setLimit(int limit);
|
||||
std::string getRemarksDPrefix()const;
|
||||
void setRemarksDPrefix(const std::string& remarksDPrefix);
|
||||
std::string getTagsModifyTimeRange()const;
|
||||
void setTagsModifyTimeRange(const std::string& tagsModifyTimeRange);
|
||||
std::string getSourceType()const;
|
||||
void setSourceType(const std::string& sourceType);
|
||||
std::string getAgeRange()const;
|
||||
void setAgeRange(const std::string& ageRange);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getRemarksAPrefix()const;
|
||||
void setRemarksAPrefix(const std::string& remarksAPrefix);
|
||||
std::string getGroupId()const;
|
||||
void setGroupId(const std::string& groupId);
|
||||
std::string getOrderBy()const;
|
||||
void setOrderBy(const std::string& orderBy);
|
||||
std::string getTagNames()const;
|
||||
void setTagNames(const std::string& tagNames);
|
||||
std::string getSourceUriPrefix()const;
|
||||
void setSourceUriPrefix(const std::string& sourceUriPrefix);
|
||||
std::string getEmotion()const;
|
||||
void setEmotion(const std::string& emotion);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
std::string getRemarksCPrefix()const;
|
||||
void setRemarksCPrefix(const std::string& remarksCPrefix);
|
||||
std::string getCreateTimeRange()const;
|
||||
void setCreateTimeRange(const std::string& createTimeRange);
|
||||
std::string getSetId()const;
|
||||
void setSetId(const std::string& setId);
|
||||
std::string getModifyTimeRange()const;
|
||||
void setModifyTimeRange(const std::string& modifyTimeRange);
|
||||
|
||||
private:
|
||||
std::string gender_;
|
||||
std::string project_;
|
||||
std::string externalId_;
|
||||
std::string facesModifyTimeRange_;
|
||||
std::string oCRContentsMatch_;
|
||||
int limit_;
|
||||
std::string remarksDPrefix_;
|
||||
std::string sourceType_;
|
||||
std::string order_;
|
||||
std::string groupId_;
|
||||
std::string orderBy_;
|
||||
std::string tagNames_;
|
||||
std::string marker_;
|
||||
std::string remarksCPrefix_;
|
||||
std::string modifyTimeRange_;
|
||||
std::string addressLineContentsMatch_;
|
||||
std::string gender_;
|
||||
std::string imageSizeRange_;
|
||||
std::string remarksBPrefix_;
|
||||
std::string accessKeyId_;
|
||||
std::string locationBoundary_;
|
||||
std::string imageTimeRange_;
|
||||
std::string oCRContentsMatch_;
|
||||
int limit_;
|
||||
std::string remarksDPrefix_;
|
||||
std::string tagsModifyTimeRange_;
|
||||
std::string sourceType_;
|
||||
std::string ageRange_;
|
||||
std::string order_;
|
||||
std::string remarksAPrefix_;
|
||||
std::string groupId_;
|
||||
std::string orderBy_;
|
||||
std::string tagNames_;
|
||||
std::string sourceUriPrefix_;
|
||||
std::string emotion_;
|
||||
std::string marker_;
|
||||
std::string remarksCPrefix_;
|
||||
std::string createTimeRange_;
|
||||
std::string setId_;
|
||||
std::string modifyTimeRange_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ImagesItem
|
||||
{
|
||||
struct Address
|
||||
{
|
||||
std::string township;
|
||||
std::string addressLine;
|
||||
std::string country;
|
||||
std::string city;
|
||||
std::string district;
|
||||
std::string province;
|
||||
};
|
||||
struct FacesItem
|
||||
{
|
||||
struct EmotionDetails
|
||||
@@ -121,11 +130,14 @@ namespace AlibabaCloud
|
||||
float celebrityConfidence;
|
||||
};
|
||||
std::string modifyTime;
|
||||
Address address;
|
||||
std::string sourceType;
|
||||
std::string sourceUri;
|
||||
std::string facesFailReason;
|
||||
std::string remarksA;
|
||||
std::string addressFailReason;
|
||||
std::string remarksB;
|
||||
std::string addressModifyTime;
|
||||
std::string imageFormat;
|
||||
std::string tagsFailReason;
|
||||
std::string facesModifyTime;
|
||||
@@ -137,6 +149,7 @@ namespace AlibabaCloud
|
||||
std::string sourcePosition;
|
||||
std::vector<ImagesItem::FacesItem> faces;
|
||||
std::vector<ImagesItem::TagsItem> tags;
|
||||
std::string addressStatus;
|
||||
std::string facesStatus;
|
||||
std::string createTime;
|
||||
std::string tagsModifyTime;
|
||||
|
||||
@@ -32,6 +32,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_IMM_EXPORT GetImageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Address
|
||||
{
|
||||
std::string township;
|
||||
std::string addressLine;
|
||||
std::string country;
|
||||
std::string city;
|
||||
std::string district;
|
||||
std::string province;
|
||||
};
|
||||
struct FacesItem
|
||||
{
|
||||
struct FaceAttributes
|
||||
@@ -123,11 +132,14 @@ namespace AlibabaCloud
|
||||
explicit GetImageResult(const std::string &payload);
|
||||
~GetImageResult();
|
||||
std::string getModifyTime()const;
|
||||
Address getAddress()const;
|
||||
std::string getSourceType()const;
|
||||
std::string getSourceUri()const;
|
||||
std::string getFacesFailReason()const;
|
||||
std::string getRemarksA()const;
|
||||
std::string getAddressFailReason()const;
|
||||
std::string getRemarksB()const;
|
||||
std::string getAddressModifyTime()const;
|
||||
std::string getImageFormat()const;
|
||||
std::string getTagsFailReason()const;
|
||||
std::string getExif()const;
|
||||
@@ -139,6 +151,7 @@ namespace AlibabaCloud
|
||||
std::string getSourcePosition()const;
|
||||
std::vector<FacesItem> getFaces()const;
|
||||
std::vector<TagsItem> getTags()const;
|
||||
std::string getAddressStatus()const;
|
||||
std::string getFacesStatus()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getTagsModifyTime()const;
|
||||
@@ -163,11 +176,14 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string modifyTime_;
|
||||
Address address_;
|
||||
std::string sourceType_;
|
||||
std::string sourceUri_;
|
||||
std::string facesFailReason_;
|
||||
std::string remarksA_;
|
||||
std::string addressFailReason_;
|
||||
std::string remarksB_;
|
||||
std::string addressModifyTime_;
|
||||
std::string imageFormat_;
|
||||
std::string tagsFailReason_;
|
||||
std::string exif_;
|
||||
@@ -179,6 +195,7 @@ namespace AlibabaCloud
|
||||
std::string sourcePosition_;
|
||||
std::vector<FacesItem> faces_;
|
||||
std::vector<TagsItem> tags_;
|
||||
std::string addressStatus_;
|
||||
std::string facesStatus_;
|
||||
std::string createTime_;
|
||||
std::string tagsModifyTime_;
|
||||
|
||||
@@ -34,6 +34,15 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct ImagesItem
|
||||
{
|
||||
struct Address
|
||||
{
|
||||
std::string township;
|
||||
std::string addressLine;
|
||||
std::string country;
|
||||
std::string city;
|
||||
std::string district;
|
||||
std::string province;
|
||||
};
|
||||
struct FacesItem
|
||||
{
|
||||
struct EmotionDetails
|
||||
@@ -121,11 +130,14 @@ namespace AlibabaCloud
|
||||
float celebrityConfidence;
|
||||
};
|
||||
std::string modifyTime;
|
||||
Address address;
|
||||
std::string sourceType;
|
||||
std::string sourceUri;
|
||||
std::string facesFailReason;
|
||||
std::string remarksA;
|
||||
std::string addressFailReason;
|
||||
std::string remarksB;
|
||||
std::string addressModifyTime;
|
||||
std::string imageFormat;
|
||||
std::string tagsFailReason;
|
||||
std::string facesModifyTime;
|
||||
@@ -137,6 +149,7 @@ namespace AlibabaCloud
|
||||
std::string sourcePosition;
|
||||
std::vector<ImagesItem::FacesItem> faces;
|
||||
std::vector<ImagesItem::TagsItem> tags;
|
||||
std::string addressStatus;
|
||||
std::string facesStatus;
|
||||
std::string createTime;
|
||||
std::string tagsModifyTime;
|
||||
|
||||
@@ -105,6 +105,12 @@ void FindImagesByTagNamesResult::parse(const std::string &payload)
|
||||
imagesObject.remarksC = valueImagesFrames["RemarksC"].asString();
|
||||
if(!valueImagesFrames["RemarksD"].isNull())
|
||||
imagesObject.remarksD = valueImagesFrames["RemarksD"].asString();
|
||||
if(!valueImagesFrames["AddressModifyTime"].isNull())
|
||||
imagesObject.addressModifyTime = valueImagesFrames["AddressModifyTime"].asString();
|
||||
if(!valueImagesFrames["AddressStatus"].isNull())
|
||||
imagesObject.addressStatus = valueImagesFrames["AddressStatus"].asString();
|
||||
if(!valueImagesFrames["AddressFailReason"].isNull())
|
||||
imagesObject.addressFailReason = valueImagesFrames["AddressFailReason"].asString();
|
||||
auto allFacesNode = allImagesNode["Faces"]["FacesItem"];
|
||||
for (auto allImagesNodeFacesFacesItem : allFacesNode)
|
||||
{
|
||||
@@ -235,6 +241,19 @@ void FindImagesByTagNamesResult::parse(const std::string &payload)
|
||||
celebrityObject.celebrityBoundary.height = std::stoi(celebrityBoundaryNode["Height"].asString());
|
||||
imagesObject.celebrity.push_back(celebrityObject);
|
||||
}
|
||||
auto addressNode = value["Address"];
|
||||
if(!addressNode["AddressLine"].isNull())
|
||||
imagesObject.address.addressLine = addressNode["AddressLine"].asString();
|
||||
if(!addressNode["Country"].isNull())
|
||||
imagesObject.address.country = addressNode["Country"].asString();
|
||||
if(!addressNode["Province"].isNull())
|
||||
imagesObject.address.province = addressNode["Province"].asString();
|
||||
if(!addressNode["City"].isNull())
|
||||
imagesObject.address.city = addressNode["City"].asString();
|
||||
if(!addressNode["District"].isNull())
|
||||
imagesObject.address.district = addressNode["District"].asString();
|
||||
if(!addressNode["Township"].isNull())
|
||||
imagesObject.address.township = addressNode["Township"].asString();
|
||||
images_.push_back(imagesObject);
|
||||
}
|
||||
if(!value["SetId"].isNull())
|
||||
|
||||
@@ -25,17 +25,6 @@ FindImagesRequest::FindImagesRequest() :
|
||||
FindImagesRequest::~FindImagesRequest()
|
||||
{}
|
||||
|
||||
std::string FindImagesRequest::getGender()const
|
||||
{
|
||||
return gender_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setGender(const std::string& gender)
|
||||
{
|
||||
gender_ = gender;
|
||||
setCoreParameter("Gender", gender);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getProject()const
|
||||
{
|
||||
return project_;
|
||||
@@ -69,6 +58,149 @@ void FindImagesRequest::setFacesModifyTimeRange(const std::string& facesModifyTi
|
||||
setCoreParameter("FacesModifyTimeRange", facesModifyTimeRange);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getOCRContentsMatch()const
|
||||
{
|
||||
return oCRContentsMatch_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setOCRContentsMatch(const std::string& oCRContentsMatch)
|
||||
{
|
||||
oCRContentsMatch_ = oCRContentsMatch;
|
||||
setCoreParameter("OCRContentsMatch", oCRContentsMatch);
|
||||
}
|
||||
|
||||
int FindImagesRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setCoreParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getRemarksDPrefix()const
|
||||
{
|
||||
return remarksDPrefix_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setRemarksDPrefix(const std::string& remarksDPrefix)
|
||||
{
|
||||
remarksDPrefix_ = remarksDPrefix;
|
||||
setCoreParameter("RemarksDPrefix", remarksDPrefix);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getSourceType()const
|
||||
{
|
||||
return sourceType_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setSourceType(const std::string& sourceType)
|
||||
{
|
||||
sourceType_ = sourceType;
|
||||
setCoreParameter("SourceType", sourceType);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getTagNames()const
|
||||
{
|
||||
return tagNames_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setTagNames(const std::string& tagNames)
|
||||
{
|
||||
tagNames_ = tagNames;
|
||||
setCoreParameter("TagNames", tagNames);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getMarker()const
|
||||
{
|
||||
return marker_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setMarker(const std::string& marker)
|
||||
{
|
||||
marker_ = marker;
|
||||
setCoreParameter("Marker", marker);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getRemarksCPrefix()const
|
||||
{
|
||||
return remarksCPrefix_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setRemarksCPrefix(const std::string& remarksCPrefix)
|
||||
{
|
||||
remarksCPrefix_ = remarksCPrefix;
|
||||
setCoreParameter("RemarksCPrefix", remarksCPrefix);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getModifyTimeRange()const
|
||||
{
|
||||
return modifyTimeRange_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setModifyTimeRange(const std::string& modifyTimeRange)
|
||||
{
|
||||
modifyTimeRange_ = modifyTimeRange;
|
||||
setCoreParameter("ModifyTimeRange", modifyTimeRange);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getAddressLineContentsMatch()const
|
||||
{
|
||||
return addressLineContentsMatch_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setAddressLineContentsMatch(const std::string& addressLineContentsMatch)
|
||||
{
|
||||
addressLineContentsMatch_ = addressLineContentsMatch;
|
||||
setCoreParameter("AddressLineContentsMatch", addressLineContentsMatch);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getGender()const
|
||||
{
|
||||
return gender_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setGender(const std::string& gender)
|
||||
{
|
||||
gender_ = gender;
|
||||
setCoreParameter("Gender", gender);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getImageSizeRange()const
|
||||
{
|
||||
return imageSizeRange_;
|
||||
@@ -124,39 +256,6 @@ void FindImagesRequest::setImageTimeRange(const std::string& imageTimeRange)
|
||||
setCoreParameter("ImageTimeRange", imageTimeRange);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getOCRContentsMatch()const
|
||||
{
|
||||
return oCRContentsMatch_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setOCRContentsMatch(const std::string& oCRContentsMatch)
|
||||
{
|
||||
oCRContentsMatch_ = oCRContentsMatch;
|
||||
setCoreParameter("OCRContentsMatch", oCRContentsMatch);
|
||||
}
|
||||
|
||||
int FindImagesRequest::getLimit()const
|
||||
{
|
||||
return limit_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setLimit(int limit)
|
||||
{
|
||||
limit_ = limit;
|
||||
setCoreParameter("Limit", std::to_string(limit));
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getRemarksDPrefix()const
|
||||
{
|
||||
return remarksDPrefix_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setRemarksDPrefix(const std::string& remarksDPrefix)
|
||||
{
|
||||
remarksDPrefix_ = remarksDPrefix;
|
||||
setCoreParameter("RemarksDPrefix", remarksDPrefix);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getTagsModifyTimeRange()const
|
||||
{
|
||||
return tagsModifyTimeRange_;
|
||||
@@ -168,17 +267,6 @@ void FindImagesRequest::setTagsModifyTimeRange(const std::string& tagsModifyTime
|
||||
setCoreParameter("TagsModifyTimeRange", tagsModifyTimeRange);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getSourceType()const
|
||||
{
|
||||
return sourceType_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setSourceType(const std::string& sourceType)
|
||||
{
|
||||
sourceType_ = sourceType;
|
||||
setCoreParameter("SourceType", sourceType);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getAgeRange()const
|
||||
{
|
||||
return ageRange_;
|
||||
@@ -190,17 +278,6 @@ void FindImagesRequest::setAgeRange(const std::string& ageRange)
|
||||
setCoreParameter("AgeRange", ageRange);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getRemarksAPrefix()const
|
||||
{
|
||||
return remarksAPrefix_;
|
||||
@@ -212,39 +289,6 @@ void FindImagesRequest::setRemarksAPrefix(const std::string& remarksAPrefix)
|
||||
setCoreParameter("RemarksAPrefix", remarksAPrefix);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setCoreParameter("GroupId", groupId);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getOrderBy()const
|
||||
{
|
||||
return orderBy_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getTagNames()const
|
||||
{
|
||||
return tagNames_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setTagNames(const std::string& tagNames)
|
||||
{
|
||||
tagNames_ = tagNames;
|
||||
setCoreParameter("TagNames", tagNames);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getSourceUriPrefix()const
|
||||
{
|
||||
return sourceUriPrefix_;
|
||||
@@ -267,28 +311,6 @@ void FindImagesRequest::setEmotion(const std::string& emotion)
|
||||
setCoreParameter("Emotion", emotion);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getMarker()const
|
||||
{
|
||||
return marker_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setMarker(const std::string& marker)
|
||||
{
|
||||
marker_ = marker;
|
||||
setCoreParameter("Marker", marker);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getRemarksCPrefix()const
|
||||
{
|
||||
return remarksCPrefix_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setRemarksCPrefix(const std::string& remarksCPrefix)
|
||||
{
|
||||
remarksCPrefix_ = remarksCPrefix;
|
||||
setCoreParameter("RemarksCPrefix", remarksCPrefix);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getCreateTimeRange()const
|
||||
{
|
||||
return createTimeRange_;
|
||||
@@ -311,14 +333,3 @@ void FindImagesRequest::setSetId(const std::string& setId)
|
||||
setCoreParameter("SetId", setId);
|
||||
}
|
||||
|
||||
std::string FindImagesRequest::getModifyTimeRange()const
|
||||
{
|
||||
return modifyTimeRange_;
|
||||
}
|
||||
|
||||
void FindImagesRequest::setModifyTimeRange(const std::string& modifyTimeRange)
|
||||
{
|
||||
modifyTimeRange_ = modifyTimeRange;
|
||||
setCoreParameter("ModifyTimeRange", modifyTimeRange);
|
||||
}
|
||||
|
||||
|
||||
@@ -105,6 +105,12 @@ void FindImagesResult::parse(const std::string &payload)
|
||||
imagesObject.remarksD = valueImagesImagesItem["RemarksD"].asString();
|
||||
if(!valueImagesImagesItem["ExternalId"].isNull())
|
||||
imagesObject.externalId = valueImagesImagesItem["ExternalId"].asString();
|
||||
if(!valueImagesImagesItem["AddressModifyTime"].isNull())
|
||||
imagesObject.addressModifyTime = valueImagesImagesItem["AddressModifyTime"].asString();
|
||||
if(!valueImagesImagesItem["AddressStatus"].isNull())
|
||||
imagesObject.addressStatus = valueImagesImagesItem["AddressStatus"].asString();
|
||||
if(!valueImagesImagesItem["AddressFailReason"].isNull())
|
||||
imagesObject.addressFailReason = valueImagesImagesItem["AddressFailReason"].asString();
|
||||
auto allFacesNode = allImagesNode["Faces"]["FacesItem"];
|
||||
for (auto allImagesNodeFacesFacesItem : allFacesNode)
|
||||
{
|
||||
@@ -235,6 +241,19 @@ void FindImagesResult::parse(const std::string &payload)
|
||||
celebrityObject.celebrityBoundary.height = std::stoi(celebrityBoundaryNode["Height"].asString());
|
||||
imagesObject.celebrity.push_back(celebrityObject);
|
||||
}
|
||||
auto addressNode = value["Address"];
|
||||
if(!addressNode["AddressLine"].isNull())
|
||||
imagesObject.address.addressLine = addressNode["AddressLine"].asString();
|
||||
if(!addressNode["Country"].isNull())
|
||||
imagesObject.address.country = addressNode["Country"].asString();
|
||||
if(!addressNode["Province"].isNull())
|
||||
imagesObject.address.province = addressNode["Province"].asString();
|
||||
if(!addressNode["City"].isNull())
|
||||
imagesObject.address.city = addressNode["City"].asString();
|
||||
if(!addressNode["District"].isNull())
|
||||
imagesObject.address.district = addressNode["District"].asString();
|
||||
if(!addressNode["Township"].isNull())
|
||||
imagesObject.address.township = addressNode["Township"].asString();
|
||||
images_.push_back(imagesObject);
|
||||
}
|
||||
if(!value["SetId"].isNull())
|
||||
|
||||
@@ -167,6 +167,19 @@ void GetImageResult::parse(const std::string &payload)
|
||||
celebrityObject.celebrityBoundary.height = std::stoi(celebrityBoundaryNode["Height"].asString());
|
||||
celebrity_.push_back(celebrityObject);
|
||||
}
|
||||
auto addressNode = value["Address"];
|
||||
if(!addressNode["AddressLine"].isNull())
|
||||
address_.addressLine = addressNode["AddressLine"].asString();
|
||||
if(!addressNode["Country"].isNull())
|
||||
address_.country = addressNode["Country"].asString();
|
||||
if(!addressNode["Province"].isNull())
|
||||
address_.province = addressNode["Province"].asString();
|
||||
if(!addressNode["City"].isNull())
|
||||
address_.city = addressNode["City"].asString();
|
||||
if(!addressNode["District"].isNull())
|
||||
address_.district = addressNode["District"].asString();
|
||||
if(!addressNode["Township"].isNull())
|
||||
address_.township = addressNode["Township"].asString();
|
||||
if(!value["SetId"].isNull())
|
||||
setId_ = value["SetId"].asString();
|
||||
if(!value["ImageUri"].isNull())
|
||||
@@ -231,6 +244,12 @@ void GetImageResult::parse(const std::string &payload)
|
||||
remarksD_ = value["RemarksD"].asString();
|
||||
if(!value["ExternalId"].isNull())
|
||||
externalId_ = value["ExternalId"].asString();
|
||||
if(!value["AddressModifyTime"].isNull())
|
||||
addressModifyTime_ = value["AddressModifyTime"].asString();
|
||||
if(!value["AddressStatus"].isNull())
|
||||
addressStatus_ = value["AddressStatus"].asString();
|
||||
if(!value["AddressFailReason"].isNull())
|
||||
addressFailReason_ = value["AddressFailReason"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -239,6 +258,11 @@ std::string GetImageResult::getModifyTime()const
|
||||
return modifyTime_;
|
||||
}
|
||||
|
||||
GetImageResult::Address GetImageResult::getAddress()const
|
||||
{
|
||||
return address_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getSourceType()const
|
||||
{
|
||||
return sourceType_;
|
||||
@@ -259,11 +283,21 @@ std::string GetImageResult::getRemarksA()const
|
||||
return remarksA_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getAddressFailReason()const
|
||||
{
|
||||
return addressFailReason_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getRemarksB()const
|
||||
{
|
||||
return remarksB_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getAddressModifyTime()const
|
||||
{
|
||||
return addressModifyTime_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getImageFormat()const
|
||||
{
|
||||
return imageFormat_;
|
||||
@@ -319,6 +353,11 @@ std::vector<GetImageResult::TagsItem> GetImageResult::getTags()const
|
||||
return tags_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getAddressStatus()const
|
||||
{
|
||||
return addressStatus_;
|
||||
}
|
||||
|
||||
std::string GetImageResult::getFacesStatus()const
|
||||
{
|
||||
return facesStatus_;
|
||||
|
||||
@@ -105,6 +105,12 @@ void ListImagesResult::parse(const std::string &payload)
|
||||
imagesObject.remarksD = valueImagesImagesItem["RemarksD"].asString();
|
||||
if(!valueImagesImagesItem["ExternalId"].isNull())
|
||||
imagesObject.externalId = valueImagesImagesItem["ExternalId"].asString();
|
||||
if(!valueImagesImagesItem["AddressModifyTime"].isNull())
|
||||
imagesObject.addressModifyTime = valueImagesImagesItem["AddressModifyTime"].asString();
|
||||
if(!valueImagesImagesItem["AddressStatus"].isNull())
|
||||
imagesObject.addressStatus = valueImagesImagesItem["AddressStatus"].asString();
|
||||
if(!valueImagesImagesItem["AddressFailReason"].isNull())
|
||||
imagesObject.addressFailReason = valueImagesImagesItem["AddressFailReason"].asString();
|
||||
auto allFacesNode = allImagesNode["Faces"]["FacesItem"];
|
||||
for (auto allImagesNodeFacesFacesItem : allFacesNode)
|
||||
{
|
||||
@@ -235,6 +241,19 @@ void ListImagesResult::parse(const std::string &payload)
|
||||
celebrityObject.celebrityBoundary.height = std::stoi(celebrityBoundaryNode["Height"].asString());
|
||||
imagesObject.celebrity.push_back(celebrityObject);
|
||||
}
|
||||
auto addressNode = value["Address"];
|
||||
if(!addressNode["AddressLine"].isNull())
|
||||
imagesObject.address.addressLine = addressNode["AddressLine"].asString();
|
||||
if(!addressNode["Country"].isNull())
|
||||
imagesObject.address.country = addressNode["Country"].asString();
|
||||
if(!addressNode["Province"].isNull())
|
||||
imagesObject.address.province = addressNode["Province"].asString();
|
||||
if(!addressNode["City"].isNull())
|
||||
imagesObject.address.city = addressNode["City"].asString();
|
||||
if(!addressNode["District"].isNull())
|
||||
imagesObject.address.district = addressNode["District"].asString();
|
||||
if(!addressNode["Township"].isNull())
|
||||
imagesObject.address.township = addressNode["Township"].asString();
|
||||
images_.push_back(imagesObject);
|
||||
}
|
||||
if(!value["SetId"].isNull())
|
||||
|
||||
Reference in New Issue
Block a user