|
@@ -25,17 +25,6 @@ FindImagesRequest::FindImagesRequest() :
|
|
|
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
|
|
std::string FindImagesRequest::getProject()const
|
|
|
{
|
|
{
|
|
|
return project_;
|
|
return project_;
|
|
@@ -69,224 +58,257 @@ void FindImagesRequest::setFacesModifyTimeRange(const std::string& facesModifyTi
|
|
|
setCoreParameter("FacesModifyTimeRange", facesModifyTimeRange);
|
|
setCoreParameter("FacesModifyTimeRange", facesModifyTimeRange);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getImageSizeRange()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getOCRContentsMatch()const
|
|
|
{
|
|
{
|
|
|
- return imageSizeRange_;
|
|
|
|
|
|
|
+ return oCRContentsMatch_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setImageSizeRange(const std::string& imageSizeRange)
|
|
|
|
|
|
|
+void FindImagesRequest::setOCRContentsMatch(const std::string& oCRContentsMatch)
|
|
|
{
|
|
{
|
|
|
- imageSizeRange_ = imageSizeRange;
|
|
|
|
|
- setCoreParameter("ImageSizeRange", imageSizeRange);
|
|
|
|
|
|
|
+ oCRContentsMatch_ = oCRContentsMatch;
|
|
|
|
|
+ setCoreParameter("OCRContentsMatch", oCRContentsMatch);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getRemarksBPrefix()const
|
|
|
|
|
|
|
+int FindImagesRequest::getLimit()const
|
|
|
{
|
|
{
|
|
|
- return remarksBPrefix_;
|
|
|
|
|
|
|
+ return limit_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setRemarksBPrefix(const std::string& remarksBPrefix)
|
|
|
|
|
|
|
+void FindImagesRequest::setLimit(int limit)
|
|
|
{
|
|
{
|
|
|
- remarksBPrefix_ = remarksBPrefix;
|
|
|
|
|
- setCoreParameter("RemarksBPrefix", remarksBPrefix);
|
|
|
|
|
|
|
+ limit_ = limit;
|
|
|
|
|
+ setCoreParameter("Limit", std::to_string(limit));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getAccessKeyId()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getRemarksDPrefix()const
|
|
|
{
|
|
{
|
|
|
- return accessKeyId_;
|
|
|
|
|
|
|
+ return remarksDPrefix_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
|
|
|
|
|
+void FindImagesRequest::setRemarksDPrefix(const std::string& remarksDPrefix)
|
|
|
{
|
|
{
|
|
|
- accessKeyId_ = accessKeyId;
|
|
|
|
|
- setCoreParameter("AccessKeyId", accessKeyId);
|
|
|
|
|
|
|
+ remarksDPrefix_ = remarksDPrefix;
|
|
|
|
|
+ setCoreParameter("RemarksDPrefix", remarksDPrefix);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getLocationBoundary()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getSourceType()const
|
|
|
{
|
|
{
|
|
|
- return locationBoundary_;
|
|
|
|
|
|
|
+ return sourceType_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setLocationBoundary(const std::string& locationBoundary)
|
|
|
|
|
|
|
+void FindImagesRequest::setSourceType(const std::string& sourceType)
|
|
|
{
|
|
{
|
|
|
- locationBoundary_ = locationBoundary;
|
|
|
|
|
- setCoreParameter("LocationBoundary", locationBoundary);
|
|
|
|
|
|
|
+ sourceType_ = sourceType;
|
|
|
|
|
+ setCoreParameter("SourceType", sourceType);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getImageTimeRange()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getOrder()const
|
|
|
{
|
|
{
|
|
|
- return imageTimeRange_;
|
|
|
|
|
|
|
+ return order_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setImageTimeRange(const std::string& imageTimeRange)
|
|
|
|
|
|
|
+void FindImagesRequest::setOrder(const std::string& order)
|
|
|
{
|
|
{
|
|
|
- imageTimeRange_ = imageTimeRange;
|
|
|
|
|
- setCoreParameter("ImageTimeRange", imageTimeRange);
|
|
|
|
|
|
|
+ order_ = order;
|
|
|
|
|
+ setCoreParameter("Order", order);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getOCRContentsMatch()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getGroupId()const
|
|
|
{
|
|
{
|
|
|
- return oCRContentsMatch_;
|
|
|
|
|
|
|
+ return groupId_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setOCRContentsMatch(const std::string& oCRContentsMatch)
|
|
|
|
|
|
|
+void FindImagesRequest::setGroupId(const std::string& groupId)
|
|
|
{
|
|
{
|
|
|
- oCRContentsMatch_ = oCRContentsMatch;
|
|
|
|
|
- setCoreParameter("OCRContentsMatch", oCRContentsMatch);
|
|
|
|
|
|
|
+ groupId_ = groupId;
|
|
|
|
|
+ setCoreParameter("GroupId", groupId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-int FindImagesRequest::getLimit()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getOrderBy()const
|
|
|
{
|
|
{
|
|
|
- return limit_;
|
|
|
|
|
|
|
+ return orderBy_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setLimit(int limit)
|
|
|
|
|
|
|
+void FindImagesRequest::setOrderBy(const std::string& orderBy)
|
|
|
{
|
|
{
|
|
|
- limit_ = limit;
|
|
|
|
|
- setCoreParameter("Limit", std::to_string(limit));
|
|
|
|
|
|
|
+ orderBy_ = orderBy;
|
|
|
|
|
+ setCoreParameter("OrderBy", orderBy);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getRemarksDPrefix()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getTagNames()const
|
|
|
{
|
|
{
|
|
|
- return remarksDPrefix_;
|
|
|
|
|
|
|
+ return tagNames_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setRemarksDPrefix(const std::string& remarksDPrefix)
|
|
|
|
|
|
|
+void FindImagesRequest::setTagNames(const std::string& tagNames)
|
|
|
{
|
|
{
|
|
|
- remarksDPrefix_ = remarksDPrefix;
|
|
|
|
|
- setCoreParameter("RemarksDPrefix", remarksDPrefix);
|
|
|
|
|
|
|
+ tagNames_ = tagNames;
|
|
|
|
|
+ setCoreParameter("TagNames", tagNames);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getTagsModifyTimeRange()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getMarker()const
|
|
|
{
|
|
{
|
|
|
- return tagsModifyTimeRange_;
|
|
|
|
|
|
|
+ return marker_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setTagsModifyTimeRange(const std::string& tagsModifyTimeRange)
|
|
|
|
|
|
|
+void FindImagesRequest::setMarker(const std::string& marker)
|
|
|
{
|
|
{
|
|
|
- tagsModifyTimeRange_ = tagsModifyTimeRange;
|
|
|
|
|
- setCoreParameter("TagsModifyTimeRange", tagsModifyTimeRange);
|
|
|
|
|
|
|
+ marker_ = marker;
|
|
|
|
|
+ setCoreParameter("Marker", marker);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getSourceType()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getRemarksCPrefix()const
|
|
|
{
|
|
{
|
|
|
- return sourceType_;
|
|
|
|
|
|
|
+ return remarksCPrefix_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setSourceType(const std::string& sourceType)
|
|
|
|
|
|
|
+void FindImagesRequest::setRemarksCPrefix(const std::string& remarksCPrefix)
|
|
|
{
|
|
{
|
|
|
- sourceType_ = sourceType;
|
|
|
|
|
- setCoreParameter("SourceType", sourceType);
|
|
|
|
|
|
|
+ remarksCPrefix_ = remarksCPrefix;
|
|
|
|
|
+ setCoreParameter("RemarksCPrefix", remarksCPrefix);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getAgeRange()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getModifyTimeRange()const
|
|
|
{
|
|
{
|
|
|
- return ageRange_;
|
|
|
|
|
|
|
+ return modifyTimeRange_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setAgeRange(const std::string& ageRange)
|
|
|
|
|
|
|
+void FindImagesRequest::setModifyTimeRange(const std::string& modifyTimeRange)
|
|
|
{
|
|
{
|
|
|
- ageRange_ = ageRange;
|
|
|
|
|
- setCoreParameter("AgeRange", ageRange);
|
|
|
|
|
|
|
+ modifyTimeRange_ = modifyTimeRange;
|
|
|
|
|
+ setCoreParameter("ModifyTimeRange", modifyTimeRange);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getOrder()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getAddressLineContentsMatch()const
|
|
|
{
|
|
{
|
|
|
- return order_;
|
|
|
|
|
|
|
+ return addressLineContentsMatch_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setOrder(const std::string& order)
|
|
|
|
|
|
|
+void FindImagesRequest::setAddressLineContentsMatch(const std::string& addressLineContentsMatch)
|
|
|
{
|
|
{
|
|
|
- order_ = order;
|
|
|
|
|
- setCoreParameter("Order", order);
|
|
|
|
|
|
|
+ addressLineContentsMatch_ = addressLineContentsMatch;
|
|
|
|
|
+ setCoreParameter("AddressLineContentsMatch", addressLineContentsMatch);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getRemarksAPrefix()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getGender()const
|
|
|
{
|
|
{
|
|
|
- return remarksAPrefix_;
|
|
|
|
|
|
|
+ return gender_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setRemarksAPrefix(const std::string& remarksAPrefix)
|
|
|
|
|
|
|
+void FindImagesRequest::setGender(const std::string& gender)
|
|
|
{
|
|
{
|
|
|
- remarksAPrefix_ = remarksAPrefix;
|
|
|
|
|
- setCoreParameter("RemarksAPrefix", remarksAPrefix);
|
|
|
|
|
|
|
+ gender_ = gender;
|
|
|
|
|
+ setCoreParameter("Gender", gender);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getGroupId()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getImageSizeRange()const
|
|
|
{
|
|
{
|
|
|
- return groupId_;
|
|
|
|
|
|
|
+ return imageSizeRange_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setGroupId(const std::string& groupId)
|
|
|
|
|
|
|
+void FindImagesRequest::setImageSizeRange(const std::string& imageSizeRange)
|
|
|
{
|
|
{
|
|
|
- groupId_ = groupId;
|
|
|
|
|
- setCoreParameter("GroupId", groupId);
|
|
|
|
|
|
|
+ imageSizeRange_ = imageSizeRange;
|
|
|
|
|
+ setCoreParameter("ImageSizeRange", imageSizeRange);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getOrderBy()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getRemarksBPrefix()const
|
|
|
{
|
|
{
|
|
|
- return orderBy_;
|
|
|
|
|
|
|
+ return remarksBPrefix_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setOrderBy(const std::string& orderBy)
|
|
|
|
|
|
|
+void FindImagesRequest::setRemarksBPrefix(const std::string& remarksBPrefix)
|
|
|
{
|
|
{
|
|
|
- orderBy_ = orderBy;
|
|
|
|
|
- setCoreParameter("OrderBy", orderBy);
|
|
|
|
|
|
|
+ remarksBPrefix_ = remarksBPrefix;
|
|
|
|
|
+ setCoreParameter("RemarksBPrefix", remarksBPrefix);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getTagNames()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getAccessKeyId()const
|
|
|
{
|
|
{
|
|
|
- return tagNames_;
|
|
|
|
|
|
|
+ return accessKeyId_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setTagNames(const std::string& tagNames)
|
|
|
|
|
|
|
+void FindImagesRequest::setAccessKeyId(const std::string& accessKeyId)
|
|
|
{
|
|
{
|
|
|
- tagNames_ = tagNames;
|
|
|
|
|
- setCoreParameter("TagNames", tagNames);
|
|
|
|
|
|
|
+ accessKeyId_ = accessKeyId;
|
|
|
|
|
+ setCoreParameter("AccessKeyId", accessKeyId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getSourceUriPrefix()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getLocationBoundary()const
|
|
|
{
|
|
{
|
|
|
- return sourceUriPrefix_;
|
|
|
|
|
|
|
+ return locationBoundary_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setSourceUriPrefix(const std::string& sourceUriPrefix)
|
|
|
|
|
|
|
+void FindImagesRequest::setLocationBoundary(const std::string& locationBoundary)
|
|
|
{
|
|
{
|
|
|
- sourceUriPrefix_ = sourceUriPrefix;
|
|
|
|
|
- setCoreParameter("SourceUriPrefix", sourceUriPrefix);
|
|
|
|
|
|
|
+ locationBoundary_ = locationBoundary;
|
|
|
|
|
+ setCoreParameter("LocationBoundary", locationBoundary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getEmotion()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getImageTimeRange()const
|
|
|
{
|
|
{
|
|
|
- return emotion_;
|
|
|
|
|
|
|
+ return imageTimeRange_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setEmotion(const std::string& emotion)
|
|
|
|
|
|
|
+void FindImagesRequest::setImageTimeRange(const std::string& imageTimeRange)
|
|
|
{
|
|
{
|
|
|
- emotion_ = emotion;
|
|
|
|
|
- setCoreParameter("Emotion", emotion);
|
|
|
|
|
|
|
+ imageTimeRange_ = imageTimeRange;
|
|
|
|
|
+ setCoreParameter("ImageTimeRange", imageTimeRange);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getMarker()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getTagsModifyTimeRange()const
|
|
|
{
|
|
{
|
|
|
- return marker_;
|
|
|
|
|
|
|
+ return tagsModifyTimeRange_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setMarker(const std::string& marker)
|
|
|
|
|
|
|
+void FindImagesRequest::setTagsModifyTimeRange(const std::string& tagsModifyTimeRange)
|
|
|
{
|
|
{
|
|
|
- marker_ = marker;
|
|
|
|
|
- setCoreParameter("Marker", marker);
|
|
|
|
|
|
|
+ tagsModifyTimeRange_ = tagsModifyTimeRange;
|
|
|
|
|
+ setCoreParameter("TagsModifyTimeRange", tagsModifyTimeRange);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getRemarksCPrefix()const
|
|
|
|
|
|
|
+std::string FindImagesRequest::getAgeRange()const
|
|
|
{
|
|
{
|
|
|
- return remarksCPrefix_;
|
|
|
|
|
|
|
+ return ageRange_;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void FindImagesRequest::setRemarksCPrefix(const std::string& remarksCPrefix)
|
|
|
|
|
|
|
+void FindImagesRequest::setAgeRange(const std::string& ageRange)
|
|
|
{
|
|
{
|
|
|
- remarksCPrefix_ = remarksCPrefix;
|
|
|
|
|
- setCoreParameter("RemarksCPrefix", remarksCPrefix);
|
|
|
|
|
|
|
+ ageRange_ = ageRange;
|
|
|
|
|
+ setCoreParameter("AgeRange", ageRange);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string FindImagesRequest::getRemarksAPrefix()const
|
|
|
|
|
+{
|
|
|
|
|
+ return remarksAPrefix_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void FindImagesRequest::setRemarksAPrefix(const std::string& remarksAPrefix)
|
|
|
|
|
+{
|
|
|
|
|
+ remarksAPrefix_ = remarksAPrefix;
|
|
|
|
|
+ setCoreParameter("RemarksAPrefix", remarksAPrefix);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string FindImagesRequest::getSourceUriPrefix()const
|
|
|
|
|
+{
|
|
|
|
|
+ return sourceUriPrefix_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void FindImagesRequest::setSourceUriPrefix(const std::string& sourceUriPrefix)
|
|
|
|
|
+{
|
|
|
|
|
+ sourceUriPrefix_ = sourceUriPrefix;
|
|
|
|
|
+ setCoreParameter("SourceUriPrefix", sourceUriPrefix);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+std::string FindImagesRequest::getEmotion()const
|
|
|
|
|
+{
|
|
|
|
|
+ return emotion_;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void FindImagesRequest::setEmotion(const std::string& emotion)
|
|
|
|
|
+{
|
|
|
|
|
+ emotion_ = emotion;
|
|
|
|
|
+ setCoreParameter("Emotion", emotion);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
std::string FindImagesRequest::getCreateTimeRange()const
|
|
std::string FindImagesRequest::getCreateTimeRange()const
|
|
@@ -311,14 +333,3 @@ void FindImagesRequest::setSetId(const std::string& setId)
|
|
|
setCoreParameter("SetId", setId);
|
|
setCoreParameter("SetId", setId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-std::string FindImagesRequest::getModifyTimeRange()const
|
|
|
|
|
-{
|
|
|
|
|
- return modifyTimeRange_;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-void FindImagesRequest::setModifyTimeRange(const std::string& modifyTimeRange)
|
|
|
|
|
-{
|
|
|
|
|
- modifyTimeRange_ = modifyTimeRange;
|
|
|
|
|
- setCoreParameter("ModifyTimeRange", modifyTimeRange);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|