regenerate code
This commit is contained in:
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ActivatePhotosRequest;
|
||||
|
||||
ActivatePhotosRequest::ActivatePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ActivatePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ActivatePhotosRequest::~ActivatePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ActivatePhotosRequest::getLibraryId()const
|
||||
void ActivatePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> ActivatePhotosRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> ActivatePhotosRequest::getPhotoId()const
|
||||
void ActivatePhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ActivatePhotosRequest::getStoreName()const
|
||||
@@ -56,6 +59,6 @@ std::string ActivatePhotosRequest::getStoreName()const
|
||||
void ActivatePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::AddAlbumPhotosRequest;
|
||||
|
||||
AddAlbumPhotosRequest::AddAlbumPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "AddAlbumPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddAlbumPhotosRequest::~AddAlbumPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string AddAlbumPhotosRequest::getLibraryId()const
|
||||
void AddAlbumPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long AddAlbumPhotosRequest::getAlbumId()const
|
||||
@@ -44,7 +46,7 @@ long AddAlbumPhotosRequest::getAlbumId()const
|
||||
void AddAlbumPhotosRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setCoreParameter("AlbumId", std::to_string(albumId));
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
std::vector<long> AddAlbumPhotosRequest::getPhotoId()const
|
||||
@@ -55,8 +57,9 @@ std::vector<long> AddAlbumPhotosRequest::getPhotoId()const
|
||||
void AddAlbumPhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosRequest::getStoreName()const
|
||||
@@ -67,6 +70,6 @@ std::string AddAlbumPhotosRequest::getStoreName()const
|
||||
void AddAlbumPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::CreateAlbumRequest;
|
||||
|
||||
CreateAlbumRequest::CreateAlbumRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "CreateAlbum")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAlbumRequest::~CreateAlbumRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateAlbumRequest::getLibraryId()const
|
||||
void CreateAlbumRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string CreateAlbumRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string CreateAlbumRequest::getStoreName()const
|
||||
void CreateAlbumRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string CreateAlbumRequest::getRemark()const
|
||||
@@ -55,7 +57,7 @@ std::string CreateAlbumRequest::getRemark()const
|
||||
void CreateAlbumRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreateAlbumRequest::getAlbumName()const
|
||||
@@ -66,6 +68,6 @@ std::string CreateAlbumRequest::getAlbumName()const
|
||||
void CreateAlbumRequest::setAlbumName(const std::string& albumName)
|
||||
{
|
||||
albumName_ = albumName;
|
||||
setCoreParameter("AlbumName", albumName);
|
||||
setParameter("AlbumName", albumName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::CreateEventRequest;
|
||||
|
||||
CreateEventRequest::CreateEventRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "CreateEvent")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateEventRequest::~CreateEventRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateEventRequest::getStoreName()const
|
||||
void CreateEventRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getRemark()const
|
||||
@@ -44,7 +46,7 @@ std::string CreateEventRequest::getRemark()const
|
||||
void CreateEventRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getTitle()const
|
||||
@@ -55,7 +57,7 @@ std::string CreateEventRequest::getTitle()const
|
||||
void CreateEventRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
setParameter("Title", title);
|
||||
}
|
||||
|
||||
long CreateEventRequest::getEndAt()const
|
||||
@@ -66,7 +68,7 @@ long CreateEventRequest::getEndAt()const
|
||||
void CreateEventRequest::setEndAt(long endAt)
|
||||
{
|
||||
endAt_ = endAt;
|
||||
setCoreParameter("EndAt", std::to_string(endAt));
|
||||
setParameter("EndAt", std::to_string(endAt));
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getIdentity()const
|
||||
@@ -77,7 +79,7 @@ std::string CreateEventRequest::getIdentity()const
|
||||
void CreateEventRequest::setIdentity(const std::string& identity)
|
||||
{
|
||||
identity_ = identity;
|
||||
setCoreParameter("Identity", identity);
|
||||
setParameter("Identity", identity);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getWatermarkPhotoId()const
|
||||
@@ -88,7 +90,7 @@ std::string CreateEventRequest::getWatermarkPhotoId()const
|
||||
void CreateEventRequest::setWatermarkPhotoId(const std::string& watermarkPhotoId)
|
||||
{
|
||||
watermarkPhotoId_ = watermarkPhotoId;
|
||||
setCoreParameter("WatermarkPhotoId", watermarkPhotoId);
|
||||
setParameter("WatermarkPhotoId", watermarkPhotoId);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getSplashPhotoId()const
|
||||
@@ -99,7 +101,7 @@ std::string CreateEventRequest::getSplashPhotoId()const
|
||||
void CreateEventRequest::setSplashPhotoId(const std::string& splashPhotoId)
|
||||
{
|
||||
splashPhotoId_ = splashPhotoId;
|
||||
setCoreParameter("SplashPhotoId", splashPhotoId);
|
||||
setParameter("SplashPhotoId", splashPhotoId);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getLibraryId()const
|
||||
@@ -110,7 +112,7 @@ std::string CreateEventRequest::getLibraryId()const
|
||||
void CreateEventRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getWeixinTitle()const
|
||||
@@ -121,7 +123,7 @@ std::string CreateEventRequest::getWeixinTitle()const
|
||||
void CreateEventRequest::setWeixinTitle(const std::string& weixinTitle)
|
||||
{
|
||||
weixinTitle_ = weixinTitle;
|
||||
setCoreParameter("WeixinTitle", weixinTitle);
|
||||
setParameter("WeixinTitle", weixinTitle);
|
||||
}
|
||||
|
||||
std::string CreateEventRequest::getBannerPhotoId()const
|
||||
@@ -132,7 +134,7 @@ std::string CreateEventRequest::getBannerPhotoId()const
|
||||
void CreateEventRequest::setBannerPhotoId(const std::string& bannerPhotoId)
|
||||
{
|
||||
bannerPhotoId_ = bannerPhotoId;
|
||||
setCoreParameter("BannerPhotoId", bannerPhotoId);
|
||||
setParameter("BannerPhotoId", bannerPhotoId);
|
||||
}
|
||||
|
||||
long CreateEventRequest::getStartAt()const
|
||||
@@ -143,6 +145,6 @@ long CreateEventRequest::getStartAt()const
|
||||
void CreateEventRequest::setStartAt(long startAt)
|
||||
{
|
||||
startAt_ = startAt;
|
||||
setCoreParameter("StartAt", std::to_string(startAt));
|
||||
setParameter("StartAt", std::to_string(startAt));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::CreatePhotoRequest;
|
||||
|
||||
CreatePhotoRequest::CreatePhotoRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "CreatePhoto")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePhotoRequest::~CreatePhotoRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreatePhotoRequest::getPhotoTitle()const
|
||||
void CreatePhotoRequest::setPhotoTitle(const std::string& photoTitle)
|
||||
{
|
||||
photoTitle_ = photoTitle;
|
||||
setCoreParameter("PhotoTitle", photoTitle);
|
||||
setParameter("PhotoTitle", photoTitle);
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string CreatePhotoRequest::getStoreName()const
|
||||
void CreatePhotoRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getRemark()const
|
||||
@@ -55,7 +57,7 @@ std::string CreatePhotoRequest::getRemark()const
|
||||
void CreatePhotoRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getSessionId()const
|
||||
@@ -66,7 +68,7 @@ std::string CreatePhotoRequest::getSessionId()const
|
||||
void CreatePhotoRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setCoreParameter("SessionId", sessionId);
|
||||
setParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
long CreatePhotoRequest::getTakenAt()const
|
||||
@@ -77,7 +79,7 @@ long CreatePhotoRequest::getTakenAt()const
|
||||
void CreatePhotoRequest::setTakenAt(long takenAt)
|
||||
{
|
||||
takenAt_ = takenAt;
|
||||
setCoreParameter("TakenAt", std::to_string(takenAt));
|
||||
setParameter("TakenAt", std::to_string(takenAt));
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getStaging()const
|
||||
@@ -88,7 +90,7 @@ std::string CreatePhotoRequest::getStaging()const
|
||||
void CreatePhotoRequest::setStaging(const std::string& staging)
|
||||
{
|
||||
staging_ = staging;
|
||||
setCoreParameter("Staging", staging);
|
||||
setParameter("Staging", staging);
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getFileId()const
|
||||
@@ -99,7 +101,7 @@ std::string CreatePhotoRequest::getFileId()const
|
||||
void CreatePhotoRequest::setFileId(const std::string& fileId)
|
||||
{
|
||||
fileId_ = fileId;
|
||||
setCoreParameter("FileId", fileId);
|
||||
setParameter("FileId", fileId);
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getLibraryId()const
|
||||
@@ -110,7 +112,7 @@ std::string CreatePhotoRequest::getLibraryId()const
|
||||
void CreatePhotoRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getUploadType()const
|
||||
@@ -121,7 +123,7 @@ std::string CreatePhotoRequest::getUploadType()const
|
||||
void CreatePhotoRequest::setUploadType(const std::string& uploadType)
|
||||
{
|
||||
uploadType_ = uploadType;
|
||||
setCoreParameter("UploadType", uploadType);
|
||||
setParameter("UploadType", uploadType);
|
||||
}
|
||||
|
||||
long CreatePhotoRequest::getShareExpireTime()const
|
||||
@@ -132,6 +134,6 @@ long CreatePhotoRequest::getShareExpireTime()const
|
||||
void CreatePhotoRequest::setShareExpireTime(long shareExpireTime)
|
||||
{
|
||||
shareExpireTime_ = shareExpireTime;
|
||||
setCoreParameter("ShareExpireTime", std::to_string(shareExpireTime));
|
||||
setParameter("ShareExpireTime", std::to_string(shareExpireTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::CreatePhotoStoreRequest;
|
||||
|
||||
CreatePhotoStoreRequest::CreatePhotoStoreRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "CreatePhotoStore")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePhotoStoreRequest::~CreatePhotoStoreRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreatePhotoStoreRequest::getStoreName()const
|
||||
void CreatePhotoStoreRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreRequest::getRemark()const
|
||||
@@ -44,7 +46,7 @@ std::string CreatePhotoStoreRequest::getRemark()const
|
||||
void CreatePhotoStoreRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
long CreatePhotoStoreRequest::getDefaultQuota()const
|
||||
@@ -55,7 +57,7 @@ long CreatePhotoStoreRequest::getDefaultQuota()const
|
||||
void CreatePhotoStoreRequest::setDefaultQuota(long defaultQuota)
|
||||
{
|
||||
defaultQuota_ = defaultQuota;
|
||||
setCoreParameter("DefaultQuota", std::to_string(defaultQuota));
|
||||
setParameter("DefaultQuota", std::to_string(defaultQuota));
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreRequest::getBucketName()const
|
||||
@@ -66,6 +68,6 @@ std::string CreatePhotoStoreRequest::getBucketName()const
|
||||
void CreatePhotoStoreRequest::setBucketName(const std::string& bucketName)
|
||||
{
|
||||
bucketName_ = bucketName;
|
||||
setCoreParameter("BucketName", bucketName);
|
||||
setParameter("BucketName", bucketName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::CreateTransactionRequest;
|
||||
|
||||
CreateTransactionRequest::CreateTransactionRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "CreateTransaction")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTransactionRequest::~CreateTransactionRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string CreateTransactionRequest::getExt()const
|
||||
void CreateTransactionRequest::setExt(const std::string& ext)
|
||||
{
|
||||
ext_ = ext;
|
||||
setCoreParameter("Ext", ext);
|
||||
setParameter("Ext", ext);
|
||||
}
|
||||
|
||||
std::string CreateTransactionRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string CreateTransactionRequest::getLibraryId()const
|
||||
void CreateTransactionRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string CreateTransactionRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string CreateTransactionRequest::getStoreName()const
|
||||
void CreateTransactionRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long CreateTransactionRequest::getSize()const
|
||||
@@ -66,7 +68,7 @@ long CreateTransactionRequest::getSize()const
|
||||
void CreateTransactionRequest::setSize(long size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string CreateTransactionRequest::getForce()const
|
||||
@@ -77,7 +79,7 @@ std::string CreateTransactionRequest::getForce()const
|
||||
void CreateTransactionRequest::setForce(const std::string& force)
|
||||
{
|
||||
force_ = force;
|
||||
setCoreParameter("Force", force);
|
||||
setParameter("Force", force);
|
||||
}
|
||||
|
||||
std::string CreateTransactionRequest::getMd5()const
|
||||
@@ -88,6 +90,6 @@ std::string CreateTransactionRequest::getMd5()const
|
||||
void CreateTransactionRequest::setMd5(const std::string& md5)
|
||||
{
|
||||
md5_ = md5;
|
||||
setCoreParameter("Md5", md5);
|
||||
setParameter("Md5", md5);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::DeleteAlbumsRequest;
|
||||
|
||||
DeleteAlbumsRequest::DeleteAlbumsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "DeleteAlbums")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAlbumsRequest::~DeleteAlbumsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DeleteAlbumsRequest::getLibraryId()const
|
||||
void DeleteAlbumsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> DeleteAlbumsRequest::getAlbumId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> DeleteAlbumsRequest::getAlbumId()const
|
||||
void DeleteAlbumsRequest::setAlbumId(const std::vector<long>& albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
for(int i = 0; i!= albumId.size(); i++)
|
||||
setCoreParameter("AlbumId."+ std::to_string(i), std::to_string(albumId.at(i)));
|
||||
for(int dep1 = 0; dep1!= albumId.size(); dep1++) {
|
||||
setParameter("AlbumId."+ std::to_string(dep1), std::to_string(albumId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsRequest::getStoreName()const
|
||||
@@ -56,6 +59,6 @@ std::string DeleteAlbumsRequest::getStoreName()const
|
||||
void DeleteAlbumsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::DeleteEventRequest;
|
||||
|
||||
DeleteEventRequest::DeleteEventRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "DeleteEvent")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteEventRequest::~DeleteEventRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long DeleteEventRequest::getEventId()const
|
||||
void DeleteEventRequest::setEventId(long eventId)
|
||||
{
|
||||
eventId_ = eventId;
|
||||
setCoreParameter("EventId", std::to_string(eventId));
|
||||
setParameter("EventId", std::to_string(eventId));
|
||||
}
|
||||
|
||||
std::string DeleteEventRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string DeleteEventRequest::getLibraryId()const
|
||||
void DeleteEventRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string DeleteEventRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string DeleteEventRequest::getStoreName()const
|
||||
void DeleteEventRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::DeleteFacesRequest;
|
||||
|
||||
DeleteFacesRequest::DeleteFacesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "DeleteFaces")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteFacesRequest::~DeleteFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DeleteFacesRequest::getLibraryId()const
|
||||
void DeleteFacesRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string DeleteFacesRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string DeleteFacesRequest::getStoreName()const
|
||||
void DeleteFacesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::vector<long> DeleteFacesRequest::getFaceId()const
|
||||
@@ -55,7 +57,8 @@ std::vector<long> DeleteFacesRequest::getFaceId()const
|
||||
void DeleteFacesRequest::setFaceId(const std::vector<long>& faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
for(int i = 0; i!= faceId.size(); i++)
|
||||
setCoreParameter("FaceId."+ std::to_string(i), std::to_string(faceId.at(i)));
|
||||
for(int dep1 = 0; dep1!= faceId.size(); dep1++) {
|
||||
setParameter("FaceId."+ std::to_string(dep1), std::to_string(faceId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::DeletePhotoStoreRequest;
|
||||
|
||||
DeletePhotoStoreRequest::DeletePhotoStoreRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "DeletePhotoStore")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeletePhotoStoreRequest::~DeletePhotoStoreRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string DeletePhotoStoreRequest::getStoreName()const
|
||||
void DeletePhotoStoreRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::DeletePhotosRequest;
|
||||
|
||||
DeletePhotosRequest::DeletePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "DeletePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeletePhotosRequest::~DeletePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string DeletePhotosRequest::getLibraryId()const
|
||||
void DeletePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string DeletePhotosRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string DeletePhotosRequest::getStoreName()const
|
||||
void DeletePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::vector<long> DeletePhotosRequest::getPhotoId()const
|
||||
@@ -55,7 +57,8 @@ std::vector<long> DeletePhotosRequest::getPhotoId()const
|
||||
void DeletePhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::EditEventRequest;
|
||||
|
||||
EditEventRequest::EditEventRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "EditEvent")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EditEventRequest::~EditEventRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string EditEventRequest::getEventId()const
|
||||
void EditEventRequest::setEventId(const std::string& eventId)
|
||||
{
|
||||
eventId_ = eventId;
|
||||
setCoreParameter("EventId", eventId);
|
||||
setParameter("EventId", eventId);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string EditEventRequest::getStoreName()const
|
||||
void EditEventRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getRemark()const
|
||||
@@ -55,7 +57,7 @@ std::string EditEventRequest::getRemark()const
|
||||
void EditEventRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getTitle()const
|
||||
@@ -66,7 +68,7 @@ std::string EditEventRequest::getTitle()const
|
||||
void EditEventRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
setParameter("Title", title);
|
||||
}
|
||||
|
||||
long EditEventRequest::getEndAt()const
|
||||
@@ -77,7 +79,7 @@ long EditEventRequest::getEndAt()const
|
||||
void EditEventRequest::setEndAt(long endAt)
|
||||
{
|
||||
endAt_ = endAt;
|
||||
setCoreParameter("EndAt", std::to_string(endAt));
|
||||
setParameter("EndAt", std::to_string(endAt));
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getIdentity()const
|
||||
@@ -88,7 +90,7 @@ std::string EditEventRequest::getIdentity()const
|
||||
void EditEventRequest::setIdentity(const std::string& identity)
|
||||
{
|
||||
identity_ = identity;
|
||||
setCoreParameter("Identity", identity);
|
||||
setParameter("Identity", identity);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getWatermarkPhotoId()const
|
||||
@@ -99,7 +101,7 @@ std::string EditEventRequest::getWatermarkPhotoId()const
|
||||
void EditEventRequest::setWatermarkPhotoId(const std::string& watermarkPhotoId)
|
||||
{
|
||||
watermarkPhotoId_ = watermarkPhotoId;
|
||||
setCoreParameter("WatermarkPhotoId", watermarkPhotoId);
|
||||
setParameter("WatermarkPhotoId", watermarkPhotoId);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getSplashPhotoId()const
|
||||
@@ -110,7 +112,7 @@ std::string EditEventRequest::getSplashPhotoId()const
|
||||
void EditEventRequest::setSplashPhotoId(const std::string& splashPhotoId)
|
||||
{
|
||||
splashPhotoId_ = splashPhotoId;
|
||||
setCoreParameter("SplashPhotoId", splashPhotoId);
|
||||
setParameter("SplashPhotoId", splashPhotoId);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getLibraryId()const
|
||||
@@ -121,7 +123,7 @@ std::string EditEventRequest::getLibraryId()const
|
||||
void EditEventRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getWeixinTitle()const
|
||||
@@ -132,7 +134,7 @@ std::string EditEventRequest::getWeixinTitle()const
|
||||
void EditEventRequest::setWeixinTitle(const std::string& weixinTitle)
|
||||
{
|
||||
weixinTitle_ = weixinTitle;
|
||||
setCoreParameter("WeixinTitle", weixinTitle);
|
||||
setParameter("WeixinTitle", weixinTitle);
|
||||
}
|
||||
|
||||
std::string EditEventRequest::getBannerPhotoId()const
|
||||
@@ -143,7 +145,7 @@ std::string EditEventRequest::getBannerPhotoId()const
|
||||
void EditEventRequest::setBannerPhotoId(const std::string& bannerPhotoId)
|
||||
{
|
||||
bannerPhotoId_ = bannerPhotoId;
|
||||
setCoreParameter("BannerPhotoId", bannerPhotoId);
|
||||
setParameter("BannerPhotoId", bannerPhotoId);
|
||||
}
|
||||
|
||||
long EditEventRequest::getStartAt()const
|
||||
@@ -154,6 +156,6 @@ long EditEventRequest::getStartAt()const
|
||||
void EditEventRequest::setStartAt(long startAt)
|
||||
{
|
||||
startAt_ = startAt;
|
||||
setCoreParameter("StartAt", std::to_string(startAt));
|
||||
setParameter("StartAt", std::to_string(startAt));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::EditPhotoStoreRequest;
|
||||
|
||||
EditPhotoStoreRequest::EditPhotoStoreRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "EditPhotoStore")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EditPhotoStoreRequest::~EditPhotoStoreRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string EditPhotoStoreRequest::getAutoCleanEnabled()const
|
||||
void EditPhotoStoreRequest::setAutoCleanEnabled(const std::string& autoCleanEnabled)
|
||||
{
|
||||
autoCleanEnabled_ = autoCleanEnabled;
|
||||
setCoreParameter("AutoCleanEnabled", autoCleanEnabled);
|
||||
setParameter("AutoCleanEnabled", autoCleanEnabled);
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string EditPhotoStoreRequest::getStoreName()const
|
||||
void EditPhotoStoreRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreRequest::getRemark()const
|
||||
@@ -55,7 +57,7 @@ std::string EditPhotoStoreRequest::getRemark()const
|
||||
void EditPhotoStoreRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
long EditPhotoStoreRequest::getDefaultQuota()const
|
||||
@@ -66,7 +68,7 @@ long EditPhotoStoreRequest::getDefaultQuota()const
|
||||
void EditPhotoStoreRequest::setDefaultQuota(long defaultQuota)
|
||||
{
|
||||
defaultQuota_ = defaultQuota;
|
||||
setCoreParameter("DefaultQuota", std::to_string(defaultQuota));
|
||||
setParameter("DefaultQuota", std::to_string(defaultQuota));
|
||||
}
|
||||
|
||||
int EditPhotoStoreRequest::getAutoCleanDays()const
|
||||
@@ -77,7 +79,7 @@ int EditPhotoStoreRequest::getAutoCleanDays()const
|
||||
void EditPhotoStoreRequest::setAutoCleanDays(int autoCleanDays)
|
||||
{
|
||||
autoCleanDays_ = autoCleanDays;
|
||||
setCoreParameter("AutoCleanDays", std::to_string(autoCleanDays));
|
||||
setParameter("AutoCleanDays", std::to_string(autoCleanDays));
|
||||
}
|
||||
|
||||
long EditPhotoStoreRequest::getDefaultTrashQuota()const
|
||||
@@ -88,6 +90,6 @@ long EditPhotoStoreRequest::getDefaultTrashQuota()const
|
||||
void EditPhotoStoreRequest::setDefaultTrashQuota(long defaultTrashQuota)
|
||||
{
|
||||
defaultTrashQuota_ = defaultTrashQuota;
|
||||
setCoreParameter("DefaultTrashQuota", std::to_string(defaultTrashQuota));
|
||||
setParameter("DefaultTrashQuota", std::to_string(defaultTrashQuota));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::EditPhotosRequest;
|
||||
|
||||
EditPhotosRequest::EditPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "EditPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
EditPhotosRequest::~EditPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string EditPhotosRequest::getLibraryId()const
|
||||
void EditPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> EditPhotosRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> EditPhotosRequest::getPhotoId()const
|
||||
void EditPhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string EditPhotosRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string EditPhotosRequest::getStoreName()const
|
||||
void EditPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string EditPhotosRequest::getRemark()const
|
||||
@@ -67,7 +70,7 @@ std::string EditPhotosRequest::getRemark()const
|
||||
void EditPhotosRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string EditPhotosRequest::getTitle()const
|
||||
@@ -78,7 +81,7 @@ std::string EditPhotosRequest::getTitle()const
|
||||
void EditPhotosRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setCoreParameter("Title", title);
|
||||
setParameter("Title", title);
|
||||
}
|
||||
|
||||
long EditPhotosRequest::getTakenAt()const
|
||||
@@ -89,7 +92,7 @@ long EditPhotosRequest::getTakenAt()const
|
||||
void EditPhotosRequest::setTakenAt(long takenAt)
|
||||
{
|
||||
takenAt_ = takenAt;
|
||||
setCoreParameter("TakenAt", std::to_string(takenAt));
|
||||
setParameter("TakenAt", std::to_string(takenAt));
|
||||
}
|
||||
|
||||
long EditPhotosRequest::getShareExpireTime()const
|
||||
@@ -100,6 +103,6 @@ long EditPhotosRequest::getShareExpireTime()const
|
||||
void EditPhotosRequest::setShareExpireTime(long shareExpireTime)
|
||||
{
|
||||
shareExpireTime_ = shareExpireTime;
|
||||
setCoreParameter("ShareExpireTime", std::to_string(shareExpireTime));
|
||||
setParameter("ShareExpireTime", std::to_string(shareExpireTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::FetchAlbumTagPhotosRequest;
|
||||
|
||||
FetchAlbumTagPhotosRequest::FetchAlbumTagPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchAlbumTagPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FetchAlbumTagPhotosRequest::~FetchAlbumTagPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long FetchAlbumTagPhotosRequest::getTagId()const
|
||||
void FetchAlbumTagPhotosRequest::setTagId(long tagId)
|
||||
{
|
||||
tagId_ = tagId;
|
||||
setCoreParameter("TagId", std::to_string(tagId));
|
||||
setParameter("TagId", std::to_string(tagId));
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string FetchAlbumTagPhotosRequest::getLibraryId()const
|
||||
void FetchAlbumTagPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long FetchAlbumTagPhotosRequest::getAlbumId()const
|
||||
@@ -55,7 +57,7 @@ long FetchAlbumTagPhotosRequest::getAlbumId()const
|
||||
void FetchAlbumTagPhotosRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setCoreParameter("AlbumId", std::to_string(albumId));
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosRequest::getStoreName()const
|
||||
@@ -66,7 +68,7 @@ std::string FetchAlbumTagPhotosRequest::getStoreName()const
|
||||
void FetchAlbumTagPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int FetchAlbumTagPhotosRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int FetchAlbumTagPhotosRequest::getSize()const
|
||||
void FetchAlbumTagPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
int FetchAlbumTagPhotosRequest::getPage()const
|
||||
@@ -88,6 +90,6 @@ int FetchAlbumTagPhotosRequest::getPage()const
|
||||
void FetchAlbumTagPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::FetchLibrariesRequest;
|
||||
|
||||
FetchLibrariesRequest::FetchLibrariesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchLibraries")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FetchLibrariesRequest::~FetchLibrariesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ bool FetchLibrariesRequest::getNeedQuota()const
|
||||
void FetchLibrariesRequest::setNeedQuota(bool needQuota)
|
||||
{
|
||||
needQuota_ = needQuota;
|
||||
setCoreParameter("NeedQuota", needQuota ? "true" : "false");
|
||||
setParameter("NeedQuota", needQuota ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string FetchLibrariesRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string FetchLibrariesRequest::getStoreName()const
|
||||
void FetchLibrariesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int FetchLibrariesRequest::getSize()const
|
||||
@@ -55,7 +57,7 @@ int FetchLibrariesRequest::getSize()const
|
||||
void FetchLibrariesRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
int FetchLibrariesRequest::getPage()const
|
||||
@@ -66,6 +68,6 @@ int FetchLibrariesRequest::getPage()const
|
||||
void FetchLibrariesRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::FetchMomentPhotosRequest;
|
||||
|
||||
FetchMomentPhotosRequest::FetchMomentPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchMomentPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FetchMomentPhotosRequest::~FetchMomentPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string FetchMomentPhotosRequest::getLibraryId()const
|
||||
void FetchMomentPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getOrderBy()const
|
||||
@@ -44,7 +46,7 @@ std::string FetchMomentPhotosRequest::getOrderBy()const
|
||||
void FetchMomentPhotosRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string FetchMomentPhotosRequest::getStoreName()const
|
||||
void FetchMomentPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long FetchMomentPhotosRequest::getMomentId()const
|
||||
@@ -66,7 +68,7 @@ long FetchMomentPhotosRequest::getMomentId()const
|
||||
void FetchMomentPhotosRequest::setMomentId(long momentId)
|
||||
{
|
||||
momentId_ = momentId;
|
||||
setCoreParameter("MomentId", std::to_string(momentId));
|
||||
setParameter("MomentId", std::to_string(momentId));
|
||||
}
|
||||
|
||||
int FetchMomentPhotosRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int FetchMomentPhotosRequest::getSize()const
|
||||
void FetchMomentPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
int FetchMomentPhotosRequest::getPage()const
|
||||
@@ -88,7 +90,7 @@ int FetchMomentPhotosRequest::getPage()const
|
||||
void FetchMomentPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
std::string FetchMomentPhotosRequest::getOrder()const
|
||||
@@ -99,6 +101,6 @@ std::string FetchMomentPhotosRequest::getOrder()const
|
||||
void FetchMomentPhotosRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::FetchPhotosRequest;
|
||||
|
||||
FetchPhotosRequest::FetchPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
FetchPhotosRequest::~FetchPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string FetchPhotosRequest::getLibraryId()const
|
||||
void FetchPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getOrderBy()const
|
||||
@@ -44,7 +46,7 @@ std::string FetchPhotosRequest::getOrderBy()const
|
||||
void FetchPhotosRequest::setOrderBy(const std::string& orderBy)
|
||||
{
|
||||
orderBy_ = orderBy;
|
||||
setCoreParameter("OrderBy", orderBy);
|
||||
setParameter("OrderBy", orderBy);
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string FetchPhotosRequest::getStoreName()const
|
||||
void FetchPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int FetchPhotosRequest::getSize()const
|
||||
@@ -66,7 +68,7 @@ int FetchPhotosRequest::getSize()const
|
||||
void FetchPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getState()const
|
||||
@@ -77,7 +79,7 @@ std::string FetchPhotosRequest::getState()const
|
||||
void FetchPhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
int FetchPhotosRequest::getPage()const
|
||||
@@ -88,7 +90,7 @@ int FetchPhotosRequest::getPage()const
|
||||
void FetchPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
std::string FetchPhotosRequest::getOrder()const
|
||||
@@ -99,6 +101,6 @@ std::string FetchPhotosRequest::getOrder()const
|
||||
void FetchPhotosRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetAlbumsByNamesRequest;
|
||||
|
||||
GetAlbumsByNamesRequest::GetAlbumsByNamesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetAlbumsByNames")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAlbumsByNamesRequest::~GetAlbumsByNamesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetAlbumsByNamesRequest::getLibraryId()const
|
||||
void GetAlbumsByNamesRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string GetAlbumsByNamesRequest::getStoreName()const
|
||||
void GetAlbumsByNamesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> GetAlbumsByNamesRequest::getName()const
|
||||
@@ -55,7 +57,8 @@ std::vector<std::string> GetAlbumsByNamesRequest::getName()const
|
||||
void GetAlbumsByNamesRequest::setName(const std::vector<std::string>& name)
|
||||
{
|
||||
name_ = name;
|
||||
for(int i = 0; i!= name.size(); i++)
|
||||
setCoreParameter("Name."+ std::to_string(i), name.at(i));
|
||||
for(int dep1 = 0; dep1!= name.size(); dep1++) {
|
||||
setParameter("Name."+ std::to_string(dep1), name.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetDownloadUrlRequest;
|
||||
|
||||
GetDownloadUrlRequest::GetDownloadUrlRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetDownloadUrl")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDownloadUrlRequest::~GetDownloadUrlRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetDownloadUrlRequest::getLibraryId()const
|
||||
void GetDownloadUrlRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long GetDownloadUrlRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long GetDownloadUrlRequest::getPhotoId()const
|
||||
void GetDownloadUrlRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string GetDownloadUrlRequest::getStoreName()const
|
||||
void GetDownloadUrlRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetDownloadUrlsRequest;
|
||||
|
||||
GetDownloadUrlsRequest::GetDownloadUrlsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetDownloadUrls")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDownloadUrlsRequest::~GetDownloadUrlsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetDownloadUrlsRequest::getLibraryId()const
|
||||
void GetDownloadUrlsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> GetDownloadUrlsRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> GetDownloadUrlsRequest::getPhotoId()const
|
||||
void GetDownloadUrlsRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsRequest::getStoreName()const
|
||||
@@ -56,6 +59,6 @@ std::string GetDownloadUrlsRequest::getStoreName()const
|
||||
void GetDownloadUrlsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetEventRequest;
|
||||
|
||||
GetEventRequest::GetEventRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetEvent")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEventRequest::~GetEventRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long GetEventRequest::getEventId()const
|
||||
void GetEventRequest::setEventId(long eventId)
|
||||
{
|
||||
eventId_ = eventId;
|
||||
setCoreParameter("EventId", std::to_string(eventId));
|
||||
setParameter("EventId", std::to_string(eventId));
|
||||
}
|
||||
|
||||
std::string GetEventRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string GetEventRequest::getLibraryId()const
|
||||
void GetEventRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string GetEventRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string GetEventRequest::getStoreName()const
|
||||
void GetEventRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetFramedPhotoUrlsRequest;
|
||||
|
||||
GetFramedPhotoUrlsRequest::GetFramedPhotoUrlsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetFramedPhotoUrls")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetFramedPhotoUrlsRequest::~GetFramedPhotoUrlsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetFramedPhotoUrlsRequest::getFrameId()const
|
||||
void GetFramedPhotoUrlsRequest::setFrameId(const std::string& frameId)
|
||||
{
|
||||
frameId_ = frameId;
|
||||
setCoreParameter("FrameId", frameId);
|
||||
setParameter("FrameId", frameId);
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string GetFramedPhotoUrlsRequest::getLibraryId()const
|
||||
void GetFramedPhotoUrlsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> GetFramedPhotoUrlsRequest::getPhotoId()const
|
||||
@@ -55,8 +57,9 @@ std::vector<long> GetFramedPhotoUrlsRequest::getPhotoId()const
|
||||
void GetFramedPhotoUrlsRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsRequest::getStoreName()const
|
||||
@@ -67,6 +70,6 @@ std::string GetFramedPhotoUrlsRequest::getStoreName()const
|
||||
void GetFramedPhotoUrlsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetLibraryRequest;
|
||||
|
||||
GetLibraryRequest::GetLibraryRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetLibrary")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetLibraryRequest::~GetLibraryRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetLibraryRequest::getLibraryId()const
|
||||
void GetLibraryRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string GetLibraryRequest::getStoreName()const
|
||||
@@ -44,6 +46,6 @@ std::string GetLibraryRequest::getStoreName()const
|
||||
void GetLibraryRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetPhotoStoreRequest;
|
||||
|
||||
GetPhotoStoreRequest::GetPhotoStoreRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetPhotoStore")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPhotoStoreRequest::~GetPhotoStoreRequest()
|
||||
{}
|
||||
@@ -33,6 +35,6 @@ std::string GetPhotoStoreRequest::getStoreName()const
|
||||
void GetPhotoStoreRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetPhotosByMd5sRequest;
|
||||
|
||||
GetPhotosByMd5sRequest::GetPhotosByMd5sRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetPhotosByMd5s")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPhotosByMd5sRequest::~GetPhotosByMd5sRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetPhotosByMd5sRequest::getLibraryId()const
|
||||
void GetPhotosByMd5sRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string GetPhotosByMd5sRequest::getStoreName()const
|
||||
void GetPhotosByMd5sRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sRequest::getState()const
|
||||
@@ -55,7 +57,7 @@ std::string GetPhotosByMd5sRequest::getState()const
|
||||
void GetPhotosByMd5sRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::vector<std::string> GetPhotosByMd5sRequest::getMd5()const
|
||||
@@ -66,7 +68,8 @@ std::vector<std::string> GetPhotosByMd5sRequest::getMd5()const
|
||||
void GetPhotosByMd5sRequest::setMd5(const std::vector<std::string>& md5)
|
||||
{
|
||||
md5_ = md5;
|
||||
for(int i = 0; i!= md5.size(); i++)
|
||||
setCoreParameter("Md5."+ std::to_string(i), md5.at(i));
|
||||
for(int dep1 = 0; dep1!= md5.size(); dep1++) {
|
||||
setParameter("Md5."+ std::to_string(dep1), md5.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetPhotosRequest;
|
||||
|
||||
GetPhotosRequest::GetPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPhotosRequest::~GetPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetPhotosRequest::getLibraryId()const
|
||||
void GetPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> GetPhotosRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> GetPhotosRequest::getPhotoId()const
|
||||
void GetPhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string GetPhotosRequest::getStoreName()const
|
||||
@@ -56,6 +59,6 @@ std::string GetPhotosRequest::getStoreName()const
|
||||
void GetPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetPrivateAccessUrlsRequest;
|
||||
|
||||
GetPrivateAccessUrlsRequest::GetPrivateAccessUrlsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetPrivateAccessUrls")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPrivateAccessUrlsRequest::~GetPrivateAccessUrlsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetPrivateAccessUrlsRequest::getLibraryId()const
|
||||
void GetPrivateAccessUrlsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> GetPrivateAccessUrlsRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> GetPrivateAccessUrlsRequest::getPhotoId()const
|
||||
void GetPrivateAccessUrlsRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string GetPrivateAccessUrlsRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string GetPrivateAccessUrlsRequest::getStoreName()const
|
||||
void GetPrivateAccessUrlsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string GetPrivateAccessUrlsRequest::getZoomType()const
|
||||
@@ -67,6 +70,6 @@ std::string GetPrivateAccessUrlsRequest::getZoomType()const
|
||||
void GetPrivateAccessUrlsRequest::setZoomType(const std::string& zoomType)
|
||||
{
|
||||
zoomType_ = zoomType;
|
||||
setCoreParameter("ZoomType", zoomType);
|
||||
setParameter("ZoomType", zoomType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetPublicAccessUrlsRequest;
|
||||
|
||||
GetPublicAccessUrlsRequest::GetPublicAccessUrlsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetPublicAccessUrls")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPublicAccessUrlsRequest::~GetPublicAccessUrlsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetPublicAccessUrlsRequest::getLibraryId()const
|
||||
void GetPublicAccessUrlsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> GetPublicAccessUrlsRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> GetPublicAccessUrlsRequest::getPhotoId()const
|
||||
void GetPublicAccessUrlsRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string GetPublicAccessUrlsRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string GetPublicAccessUrlsRequest::getStoreName()const
|
||||
void GetPublicAccessUrlsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string GetPublicAccessUrlsRequest::getZoomType()const
|
||||
@@ -67,7 +70,7 @@ std::string GetPublicAccessUrlsRequest::getZoomType()const
|
||||
void GetPublicAccessUrlsRequest::setZoomType(const std::string& zoomType)
|
||||
{
|
||||
zoomType_ = zoomType;
|
||||
setCoreParameter("ZoomType", zoomType);
|
||||
setParameter("ZoomType", zoomType);
|
||||
}
|
||||
|
||||
std::string GetPublicAccessUrlsRequest::getDomainType()const
|
||||
@@ -78,6 +81,6 @@ std::string GetPublicAccessUrlsRequest::getDomainType()const
|
||||
void GetPublicAccessUrlsRequest::setDomainType(const std::string& domainType)
|
||||
{
|
||||
domainType_ = domainType;
|
||||
setCoreParameter("DomainType", domainType);
|
||||
setParameter("DomainType", domainType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetQuotaRequest;
|
||||
|
||||
GetQuotaRequest::GetQuotaRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetQuota")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetQuotaRequest::~GetQuotaRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetQuotaRequest::getLibraryId()const
|
||||
void GetQuotaRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string GetQuotaRequest::getStoreName()const
|
||||
@@ -44,6 +46,6 @@ std::string GetQuotaRequest::getStoreName()const
|
||||
void GetQuotaRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetSimilarPhotosRequest;
|
||||
|
||||
GetSimilarPhotosRequest::GetSimilarPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetSimilarPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSimilarPhotosRequest::~GetSimilarPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetSimilarPhotosRequest::getLibraryId()const
|
||||
void GetSimilarPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long GetSimilarPhotosRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long GetSimilarPhotosRequest::getPhotoId()const
|
||||
void GetSimilarPhotosRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string GetSimilarPhotosRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string GetSimilarPhotosRequest::getStoreName()const
|
||||
void GetSimilarPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetThumbnailRequest;
|
||||
|
||||
GetThumbnailRequest::GetThumbnailRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetThumbnail")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetThumbnailRequest::~GetThumbnailRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetThumbnailRequest::getLibraryId()const
|
||||
void GetThumbnailRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long GetThumbnailRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long GetThumbnailRequest::getPhotoId()const
|
||||
void GetThumbnailRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string GetThumbnailRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string GetThumbnailRequest::getStoreName()const
|
||||
void GetThumbnailRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string GetThumbnailRequest::getZoomType()const
|
||||
@@ -66,6 +68,6 @@ std::string GetThumbnailRequest::getZoomType()const
|
||||
void GetThumbnailRequest::setZoomType(const std::string& zoomType)
|
||||
{
|
||||
zoomType_ = zoomType;
|
||||
setCoreParameter("ZoomType", zoomType);
|
||||
setParameter("ZoomType", zoomType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetThumbnailsRequest;
|
||||
|
||||
GetThumbnailsRequest::GetThumbnailsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetThumbnails")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetThumbnailsRequest::~GetThumbnailsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetThumbnailsRequest::getLibraryId()const
|
||||
void GetThumbnailsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> GetThumbnailsRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> GetThumbnailsRequest::getPhotoId()const
|
||||
void GetThumbnailsRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string GetThumbnailsRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string GetThumbnailsRequest::getStoreName()const
|
||||
void GetThumbnailsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string GetThumbnailsRequest::getZoomType()const
|
||||
@@ -67,6 +70,6 @@ std::string GetThumbnailsRequest::getZoomType()const
|
||||
void GetThumbnailsRequest::setZoomType(const std::string& zoomType)
|
||||
{
|
||||
zoomType_ = zoomType;
|
||||
setCoreParameter("ZoomType", zoomType);
|
||||
setParameter("ZoomType", zoomType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::GetVideoCoverRequest;
|
||||
|
||||
GetVideoCoverRequest::GetVideoCoverRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "GetVideoCover")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetVideoCoverRequest::~GetVideoCoverRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string GetVideoCoverRequest::getLibraryId()const
|
||||
void GetVideoCoverRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long GetVideoCoverRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long GetVideoCoverRequest::getPhotoId()const
|
||||
void GetVideoCoverRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string GetVideoCoverRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string GetVideoCoverRequest::getStoreName()const
|
||||
void GetVideoCoverRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string GetVideoCoverRequest::getZoomType()const
|
||||
@@ -66,6 +68,6 @@ std::string GetVideoCoverRequest::getZoomType()const
|
||||
void GetVideoCoverRequest::setZoomType(const std::string& zoomType)
|
||||
{
|
||||
zoomType_ = zoomType;
|
||||
setCoreParameter("ZoomType", zoomType);
|
||||
setParameter("ZoomType", zoomType);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::InactivatePhotosRequest;
|
||||
|
||||
InactivatePhotosRequest::InactivatePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "InactivatePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
InactivatePhotosRequest::~InactivatePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string InactivatePhotosRequest::getLibraryId()const
|
||||
void InactivatePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> InactivatePhotosRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> InactivatePhotosRequest::getPhotoId()const
|
||||
void InactivatePhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string InactivatePhotosRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string InactivatePhotosRequest::getStoreName()const
|
||||
void InactivatePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long InactivatePhotosRequest::getInactiveTime()const
|
||||
@@ -67,6 +70,6 @@ long InactivatePhotosRequest::getInactiveTime()const
|
||||
void InactivatePhotosRequest::setInactiveTime(long inactiveTime)
|
||||
{
|
||||
inactiveTime_ = inactiveTime;
|
||||
setCoreParameter("InactiveTime", std::to_string(inactiveTime));
|
||||
setParameter("InactiveTime", std::to_string(inactiveTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::LikePhotoRequest;
|
||||
|
||||
LikePhotoRequest::LikePhotoRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "LikePhoto")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
LikePhotoRequest::~LikePhotoRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string LikePhotoRequest::getLibraryId()const
|
||||
void LikePhotoRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long LikePhotoRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long LikePhotoRequest::getPhotoId()const
|
||||
void LikePhotoRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string LikePhotoRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string LikePhotoRequest::getStoreName()const
|
||||
void LikePhotoRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListAlbumPhotosRequest;
|
||||
|
||||
ListAlbumPhotosRequest::ListAlbumPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListAlbumPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListAlbumPhotosRequest::~ListAlbumPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListAlbumPhotosRequest::getCursor()const
|
||||
void ListAlbumPhotosRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListAlbumPhotosRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListAlbumPhotosRequest::getLibraryId()const
|
||||
void ListAlbumPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long ListAlbumPhotosRequest::getAlbumId()const
|
||||
@@ -55,7 +57,7 @@ long ListAlbumPhotosRequest::getAlbumId()const
|
||||
void ListAlbumPhotosRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setCoreParameter("AlbumId", std::to_string(albumId));
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
std::string ListAlbumPhotosRequest::getStoreName()const
|
||||
@@ -66,7 +68,7 @@ std::string ListAlbumPhotosRequest::getStoreName()const
|
||||
void ListAlbumPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListAlbumPhotosRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int ListAlbumPhotosRequest::getSize()const
|
||||
void ListAlbumPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListAlbumPhotosRequest::getState()const
|
||||
@@ -88,7 +90,7 @@ std::string ListAlbumPhotosRequest::getState()const
|
||||
void ListAlbumPhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListAlbumPhotosRequest::getDirection()const
|
||||
@@ -99,6 +101,6 @@ std::string ListAlbumPhotosRequest::getDirection()const
|
||||
void ListAlbumPhotosRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListAlbumsRequest;
|
||||
|
||||
ListAlbumsRequest::ListAlbumsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListAlbums")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListAlbumsRequest::~ListAlbumsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListAlbumsRequest::getCursor()const
|
||||
void ListAlbumsRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListAlbumsRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListAlbumsRequest::getLibraryId()const
|
||||
void ListAlbumsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListAlbumsRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListAlbumsRequest::getStoreName()const
|
||||
void ListAlbumsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListAlbumsRequest::getSize()const
|
||||
@@ -66,7 +68,7 @@ int ListAlbumsRequest::getSize()const
|
||||
void ListAlbumsRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListAlbumsRequest::getState()const
|
||||
@@ -77,7 +79,7 @@ std::string ListAlbumsRequest::getState()const
|
||||
void ListAlbumsRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListAlbumsRequest::getDirection()const
|
||||
@@ -88,6 +90,6 @@ std::string ListAlbumsRequest::getDirection()const
|
||||
void ListAlbumsRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListEventsRequest;
|
||||
|
||||
ListEventsRequest::ListEventsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListEvents")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListEventsRequest::~ListEventsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListEventsRequest::getCursor()const
|
||||
void ListEventsRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListEventsRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string ListEventsRequest::getStoreName()const
|
||||
void ListEventsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListEventsRequest::getSize()const
|
||||
@@ -55,7 +57,7 @@ int ListEventsRequest::getSize()const
|
||||
void ListEventsRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListEventsRequest::getState()const
|
||||
@@ -66,7 +68,7 @@ std::string ListEventsRequest::getState()const
|
||||
void ListEventsRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListEventsRequest::getDirection()const
|
||||
@@ -77,6 +79,6 @@ std::string ListEventsRequest::getDirection()const
|
||||
void ListEventsRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListFacePhotosRequest;
|
||||
|
||||
ListFacePhotosRequest::ListFacePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListFacePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListFacePhotosRequest::~ListFacePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListFacePhotosRequest::getCursor()const
|
||||
void ListFacePhotosRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListFacePhotosRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListFacePhotosRequest::getLibraryId()const
|
||||
void ListFacePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListFacePhotosRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListFacePhotosRequest::getStoreName()const
|
||||
void ListFacePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long ListFacePhotosRequest::getFaceId()const
|
||||
@@ -66,7 +68,7 @@ long ListFacePhotosRequest::getFaceId()const
|
||||
void ListFacePhotosRequest::setFaceId(long faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
setCoreParameter("FaceId", std::to_string(faceId));
|
||||
setParameter("FaceId", std::to_string(faceId));
|
||||
}
|
||||
|
||||
int ListFacePhotosRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int ListFacePhotosRequest::getSize()const
|
||||
void ListFacePhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListFacePhotosRequest::getState()const
|
||||
@@ -88,7 +90,7 @@ std::string ListFacePhotosRequest::getState()const
|
||||
void ListFacePhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListFacePhotosRequest::getDirection()const
|
||||
@@ -99,6 +101,6 @@ std::string ListFacePhotosRequest::getDirection()const
|
||||
void ListFacePhotosRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListFacesRequest;
|
||||
|
||||
ListFacesRequest::ListFacesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListFaces")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListFacesRequest::~ListFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListFacesRequest::getCursor()const
|
||||
void ListFacesRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListFacesRequest::getHasFaceName()const
|
||||
@@ -44,7 +46,7 @@ std::string ListFacesRequest::getHasFaceName()const
|
||||
void ListFacesRequest::setHasFaceName(const std::string& hasFaceName)
|
||||
{
|
||||
hasFaceName_ = hasFaceName;
|
||||
setCoreParameter("HasFaceName", hasFaceName);
|
||||
setParameter("HasFaceName", hasFaceName);
|
||||
}
|
||||
|
||||
std::string ListFacesRequest::getLibraryId()const
|
||||
@@ -55,7 +57,7 @@ std::string ListFacesRequest::getLibraryId()const
|
||||
void ListFacesRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListFacesRequest::getStoreName()const
|
||||
@@ -66,7 +68,7 @@ std::string ListFacesRequest::getStoreName()const
|
||||
void ListFacesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListFacesRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int ListFacesRequest::getSize()const
|
||||
void ListFacesRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListFacesRequest::getState()const
|
||||
@@ -88,7 +90,7 @@ std::string ListFacesRequest::getState()const
|
||||
void ListFacesRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListFacesRequest::getDirection()const
|
||||
@@ -99,6 +101,6 @@ std::string ListFacesRequest::getDirection()const
|
||||
void ListFacesRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListMomentPhotosRequest;
|
||||
|
||||
ListMomentPhotosRequest::ListMomentPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListMomentPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListMomentPhotosRequest::~ListMomentPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListMomentPhotosRequest::getCursor()const
|
||||
void ListMomentPhotosRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListMomentPhotosRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListMomentPhotosRequest::getLibraryId()const
|
||||
void ListMomentPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListMomentPhotosRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListMomentPhotosRequest::getStoreName()const
|
||||
void ListMomentPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long ListMomentPhotosRequest::getMomentId()const
|
||||
@@ -66,7 +68,7 @@ long ListMomentPhotosRequest::getMomentId()const
|
||||
void ListMomentPhotosRequest::setMomentId(long momentId)
|
||||
{
|
||||
momentId_ = momentId;
|
||||
setCoreParameter("MomentId", std::to_string(momentId));
|
||||
setParameter("MomentId", std::to_string(momentId));
|
||||
}
|
||||
|
||||
int ListMomentPhotosRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int ListMomentPhotosRequest::getSize()const
|
||||
void ListMomentPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListMomentPhotosRequest::getState()const
|
||||
@@ -88,7 +90,7 @@ std::string ListMomentPhotosRequest::getState()const
|
||||
void ListMomentPhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListMomentPhotosRequest::getDirection()const
|
||||
@@ -99,6 +101,6 @@ std::string ListMomentPhotosRequest::getDirection()const
|
||||
void ListMomentPhotosRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListMomentsRequest;
|
||||
|
||||
ListMomentsRequest::ListMomentsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListMoments")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListMomentsRequest::~ListMomentsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListMomentsRequest::getCursor()const
|
||||
void ListMomentsRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListMomentsRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListMomentsRequest::getLibraryId()const
|
||||
void ListMomentsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListMomentsRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListMomentsRequest::getStoreName()const
|
||||
void ListMomentsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListMomentsRequest::getSize()const
|
||||
@@ -66,7 +68,7 @@ int ListMomentsRequest::getSize()const
|
||||
void ListMomentsRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListMomentsRequest::getState()const
|
||||
@@ -77,7 +79,7 @@ std::string ListMomentsRequest::getState()const
|
||||
void ListMomentsRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListMomentsRequest::getDirection()const
|
||||
@@ -88,6 +90,6 @@ std::string ListMomentsRequest::getDirection()const
|
||||
void ListMomentsRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListPhotoFacesRequest;
|
||||
|
||||
ListPhotoFacesRequest::ListPhotoFacesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListPhotoFaces")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPhotoFacesRequest::~ListPhotoFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListPhotoFacesRequest::getLibraryId()const
|
||||
void ListPhotoFacesRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long ListPhotoFacesRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long ListPhotoFacesRequest::getPhotoId()const
|
||||
void ListPhotoFacesRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string ListPhotoFacesRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string ListPhotoFacesRequest::getStoreName()const
|
||||
void ListPhotoFacesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListPhotoStoresRequest;
|
||||
|
||||
ListPhotoStoresRequest::ListPhotoStoresRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListPhotoStores")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPhotoStoresRequest::~ListPhotoStoresRequest()
|
||||
{}
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListPhotoTagsRequest;
|
||||
|
||||
ListPhotoTagsRequest::ListPhotoTagsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListPhotoTags")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPhotoTagsRequest::~ListPhotoTagsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListPhotoTagsRequest::getLibraryId()const
|
||||
void ListPhotoTagsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long ListPhotoTagsRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long ListPhotoTagsRequest::getPhotoId()const
|
||||
void ListPhotoTagsRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string ListPhotoTagsRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListPhotoTagsRequest::getStoreName()const
|
||||
void ListPhotoTagsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string ListPhotoTagsRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string ListPhotoTagsRequest::getLang()const
|
||||
void ListPhotoTagsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListPhotosRequest;
|
||||
|
||||
ListPhotosRequest::ListPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListPhotosRequest::~ListPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListPhotosRequest::getCursor()const
|
||||
void ListPhotosRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
std::string ListPhotosRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListPhotosRequest::getLibraryId()const
|
||||
void ListPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListPhotosRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListPhotosRequest::getStoreName()const
|
||||
void ListPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListPhotosRequest::getSize()const
|
||||
@@ -66,7 +68,7 @@ int ListPhotosRequest::getSize()const
|
||||
void ListPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListPhotosRequest::getState()const
|
||||
@@ -77,7 +79,7 @@ std::string ListPhotosRequest::getState()const
|
||||
void ListPhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListPhotosRequest::getDirection()const
|
||||
@@ -88,6 +90,6 @@ std::string ListPhotosRequest::getDirection()const
|
||||
void ListPhotosRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListRegisteredTagsRequest;
|
||||
|
||||
ListRegisteredTagsRequest::ListRegisteredTagsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListRegisteredTags")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListRegisteredTagsRequest::~ListRegisteredTagsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListRegisteredTagsRequest::getStoreName()const
|
||||
void ListRegisteredTagsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> ListRegisteredTagsRequest::getLang()const
|
||||
@@ -44,7 +46,8 @@ std::vector<std::string> ListRegisteredTagsRequest::getLang()const
|
||||
void ListRegisteredTagsRequest::setLang(const std::vector<std::string>& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
for(int i = 0; i!= lang.size(); i++)
|
||||
setCoreParameter("Lang."+ std::to_string(i), lang.at(i));
|
||||
for(int dep1 = 0; dep1!= lang.size(); dep1++) {
|
||||
setParameter("Lang."+ std::to_string(dep1), lang.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListTagPhotosRequest;
|
||||
|
||||
ListTagPhotosRequest::ListTagPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListTagPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagPhotosRequest::~ListTagPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListTagPhotosRequest::getCursor()const
|
||||
void ListTagPhotosRequest::setCursor(const std::string& cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", cursor);
|
||||
setParameter("Cursor", cursor);
|
||||
}
|
||||
|
||||
long ListTagPhotosRequest::getTagId()const
|
||||
@@ -44,7 +46,7 @@ long ListTagPhotosRequest::getTagId()const
|
||||
void ListTagPhotosRequest::setTagId(long tagId)
|
||||
{
|
||||
tagId_ = tagId;
|
||||
setCoreParameter("TagId", std::to_string(tagId));
|
||||
setParameter("TagId", std::to_string(tagId));
|
||||
}
|
||||
|
||||
std::string ListTagPhotosRequest::getLibraryId()const
|
||||
@@ -55,7 +57,7 @@ std::string ListTagPhotosRequest::getLibraryId()const
|
||||
void ListTagPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListTagPhotosRequest::getStoreName()const
|
||||
@@ -66,7 +68,7 @@ std::string ListTagPhotosRequest::getStoreName()const
|
||||
void ListTagPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int ListTagPhotosRequest::getSize()const
|
||||
@@ -77,7 +79,7 @@ int ListTagPhotosRequest::getSize()const
|
||||
void ListTagPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
std::string ListTagPhotosRequest::getState()const
|
||||
@@ -88,7 +90,7 @@ std::string ListTagPhotosRequest::getState()const
|
||||
void ListTagPhotosRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setCoreParameter("State", state);
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
std::string ListTagPhotosRequest::getDirection()const
|
||||
@@ -99,6 +101,6 @@ std::string ListTagPhotosRequest::getDirection()const
|
||||
void ListTagPhotosRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListTagsRequest;
|
||||
|
||||
ListTagsRequest::ListTagsRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListTags")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagsRequest::~ListTagsRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListTagsRequest::getLibraryId()const
|
||||
void ListTagsRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListTagsRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string ListTagsRequest::getStoreName()const
|
||||
void ListTagsRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string ListTagsRequest::getLang()const
|
||||
@@ -55,6 +57,6 @@ std::string ListTagsRequest::getLang()const
|
||||
void ListTagsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListTimeLinePhotosRequest;
|
||||
|
||||
ListTimeLinePhotosRequest::ListTimeLinePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListTimeLinePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTimeLinePhotosRequest::~ListTimeLinePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ListTimeLinePhotosRequest::getLibraryId()const
|
||||
void ListTimeLinePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long ListTimeLinePhotosRequest::getEndTime()const
|
||||
@@ -44,7 +46,7 @@ long ListTimeLinePhotosRequest::getEndTime()const
|
||||
void ListTimeLinePhotosRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string ListTimeLinePhotosRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListTimeLinePhotosRequest::getStoreName()const
|
||||
void ListTimeLinePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long ListTimeLinePhotosRequest::getStartTime()const
|
||||
@@ -66,7 +68,7 @@ long ListTimeLinePhotosRequest::getStartTime()const
|
||||
void ListTimeLinePhotosRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string ListTimeLinePhotosRequest::getFilterBy()const
|
||||
@@ -77,7 +79,7 @@ std::string ListTimeLinePhotosRequest::getFilterBy()const
|
||||
void ListTimeLinePhotosRequest::setFilterBy(const std::string& filterBy)
|
||||
{
|
||||
filterBy_ = filterBy;
|
||||
setCoreParameter("FilterBy", filterBy);
|
||||
setParameter("FilterBy", filterBy);
|
||||
}
|
||||
|
||||
int ListTimeLinePhotosRequest::getSize()const
|
||||
@@ -88,7 +90,7 @@ int ListTimeLinePhotosRequest::getSize()const
|
||||
void ListTimeLinePhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
int ListTimeLinePhotosRequest::getPage()const
|
||||
@@ -99,7 +101,7 @@ int ListTimeLinePhotosRequest::getPage()const
|
||||
void ListTimeLinePhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
std::string ListTimeLinePhotosRequest::getDirection()const
|
||||
@@ -110,7 +112,7 @@ std::string ListTimeLinePhotosRequest::getDirection()const
|
||||
void ListTimeLinePhotosRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
std::string ListTimeLinePhotosRequest::getOrder()const
|
||||
@@ -121,6 +123,6 @@ std::string ListTimeLinePhotosRequest::getOrder()const
|
||||
void ListTimeLinePhotosRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ListTimeLinesRequest;
|
||||
|
||||
ListTimeLinesRequest::ListTimeLinesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ListTimeLines")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTimeLinesRequest::~ListTimeLinesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long ListTimeLinesRequest::getCursor()const
|
||||
void ListTimeLinesRequest::setCursor(long cursor)
|
||||
{
|
||||
cursor_ = cursor;
|
||||
setCoreParameter("Cursor", std::to_string(cursor));
|
||||
setParameter("Cursor", std::to_string(cursor));
|
||||
}
|
||||
|
||||
std::string ListTimeLinesRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string ListTimeLinesRequest::getLibraryId()const
|
||||
void ListTimeLinesRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string ListTimeLinesRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string ListTimeLinesRequest::getStoreName()const
|
||||
void ListTimeLinesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string ListTimeLinesRequest::getFilterBy()const
|
||||
@@ -66,7 +68,7 @@ std::string ListTimeLinesRequest::getFilterBy()const
|
||||
void ListTimeLinesRequest::setFilterBy(const std::string& filterBy)
|
||||
{
|
||||
filterBy_ = filterBy;
|
||||
setCoreParameter("FilterBy", filterBy);
|
||||
setParameter("FilterBy", filterBy);
|
||||
}
|
||||
|
||||
int ListTimeLinesRequest::getPhotoSize()const
|
||||
@@ -77,7 +79,7 @@ int ListTimeLinesRequest::getPhotoSize()const
|
||||
void ListTimeLinesRequest::setPhotoSize(int photoSize)
|
||||
{
|
||||
photoSize_ = photoSize;
|
||||
setCoreParameter("PhotoSize", std::to_string(photoSize));
|
||||
setParameter("PhotoSize", std::to_string(photoSize));
|
||||
}
|
||||
|
||||
int ListTimeLinesRequest::getTimeLineCount()const
|
||||
@@ -88,7 +90,7 @@ int ListTimeLinesRequest::getTimeLineCount()const
|
||||
void ListTimeLinesRequest::setTimeLineCount(int timeLineCount)
|
||||
{
|
||||
timeLineCount_ = timeLineCount;
|
||||
setCoreParameter("TimeLineCount", std::to_string(timeLineCount));
|
||||
setParameter("TimeLineCount", std::to_string(timeLineCount));
|
||||
}
|
||||
|
||||
std::string ListTimeLinesRequest::getTimeLineUnit()const
|
||||
@@ -99,7 +101,7 @@ std::string ListTimeLinesRequest::getTimeLineUnit()const
|
||||
void ListTimeLinesRequest::setTimeLineUnit(const std::string& timeLineUnit)
|
||||
{
|
||||
timeLineUnit_ = timeLineUnit;
|
||||
setCoreParameter("TimeLineUnit", timeLineUnit);
|
||||
setParameter("TimeLineUnit", timeLineUnit);
|
||||
}
|
||||
|
||||
std::string ListTimeLinesRequest::getDirection()const
|
||||
@@ -110,7 +112,7 @@ std::string ListTimeLinesRequest::getDirection()const
|
||||
void ListTimeLinesRequest::setDirection(const std::string& direction)
|
||||
{
|
||||
direction_ = direction;
|
||||
setCoreParameter("Direction", direction);
|
||||
setParameter("Direction", direction);
|
||||
}
|
||||
|
||||
std::string ListTimeLinesRequest::getOrder()const
|
||||
@@ -121,6 +123,6 @@ std::string ListTimeLinesRequest::getOrder()const
|
||||
void ListTimeLinesRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
setParameter("Order", order);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::MergeFacesRequest;
|
||||
|
||||
MergeFacesRequest::MergeFacesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "MergeFaces")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MergeFacesRequest::~MergeFacesRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string MergeFacesRequest::getLibraryId()const
|
||||
void MergeFacesRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long MergeFacesRequest::getTargetFaceId()const
|
||||
@@ -44,7 +46,7 @@ long MergeFacesRequest::getTargetFaceId()const
|
||||
void MergeFacesRequest::setTargetFaceId(long targetFaceId)
|
||||
{
|
||||
targetFaceId_ = targetFaceId;
|
||||
setCoreParameter("TargetFaceId", std::to_string(targetFaceId));
|
||||
setParameter("TargetFaceId", std::to_string(targetFaceId));
|
||||
}
|
||||
|
||||
std::string MergeFacesRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string MergeFacesRequest::getStoreName()const
|
||||
void MergeFacesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::vector<long> MergeFacesRequest::getFaceId()const
|
||||
@@ -66,7 +68,8 @@ std::vector<long> MergeFacesRequest::getFaceId()const
|
||||
void MergeFacesRequest::setFaceId(const std::vector<long>& faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
for(int i = 0; i!= faceId.size(); i++)
|
||||
setCoreParameter("FaceId."+ std::to_string(i), std::to_string(faceId.at(i)));
|
||||
for(int dep1 = 0; dep1!= faceId.size(); dep1++) {
|
||||
setParameter("FaceId."+ std::to_string(dep1), std::to_string(faceId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::MoveAlbumPhotosRequest;
|
||||
|
||||
MoveAlbumPhotosRequest::MoveAlbumPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "MoveAlbumPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MoveAlbumPhotosRequest::~MoveAlbumPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long MoveAlbumPhotosRequest::getSourceAlbumId()const
|
||||
void MoveAlbumPhotosRequest::setSourceAlbumId(long sourceAlbumId)
|
||||
{
|
||||
sourceAlbumId_ = sourceAlbumId;
|
||||
setCoreParameter("SourceAlbumId", std::to_string(sourceAlbumId));
|
||||
setParameter("SourceAlbumId", std::to_string(sourceAlbumId));
|
||||
}
|
||||
|
||||
long MoveAlbumPhotosRequest::getTargetAlbumId()const
|
||||
@@ -44,7 +46,7 @@ long MoveAlbumPhotosRequest::getTargetAlbumId()const
|
||||
void MoveAlbumPhotosRequest::setTargetAlbumId(long targetAlbumId)
|
||||
{
|
||||
targetAlbumId_ = targetAlbumId;
|
||||
setCoreParameter("TargetAlbumId", std::to_string(targetAlbumId));
|
||||
setParameter("TargetAlbumId", std::to_string(targetAlbumId));
|
||||
}
|
||||
|
||||
std::string MoveAlbumPhotosRequest::getLibraryId()const
|
||||
@@ -55,7 +57,7 @@ std::string MoveAlbumPhotosRequest::getLibraryId()const
|
||||
void MoveAlbumPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> MoveAlbumPhotosRequest::getPhotoId()const
|
||||
@@ -66,8 +68,9 @@ std::vector<long> MoveAlbumPhotosRequest::getPhotoId()const
|
||||
void MoveAlbumPhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string MoveAlbumPhotosRequest::getStoreName()const
|
||||
@@ -78,6 +81,6 @@ std::string MoveAlbumPhotosRequest::getStoreName()const
|
||||
void MoveAlbumPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::MoveFacePhotosRequest;
|
||||
|
||||
MoveFacePhotosRequest::MoveFacePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "MoveFacePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MoveFacePhotosRequest::~MoveFacePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string MoveFacePhotosRequest::getLibraryId()const
|
||||
void MoveFacePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long MoveFacePhotosRequest::getTargetFaceId()const
|
||||
@@ -44,7 +46,7 @@ long MoveFacePhotosRequest::getTargetFaceId()const
|
||||
void MoveFacePhotosRequest::setTargetFaceId(long targetFaceId)
|
||||
{
|
||||
targetFaceId_ = targetFaceId;
|
||||
setCoreParameter("TargetFaceId", std::to_string(targetFaceId));
|
||||
setParameter("TargetFaceId", std::to_string(targetFaceId));
|
||||
}
|
||||
|
||||
std::vector<long> MoveFacePhotosRequest::getPhotoId()const
|
||||
@@ -55,8 +57,9 @@ std::vector<long> MoveFacePhotosRequest::getPhotoId()const
|
||||
void MoveFacePhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string MoveFacePhotosRequest::getStoreName()const
|
||||
@@ -67,7 +70,7 @@ std::string MoveFacePhotosRequest::getStoreName()const
|
||||
void MoveFacePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long MoveFacePhotosRequest::getSourceFaceId()const
|
||||
@@ -78,6 +81,6 @@ long MoveFacePhotosRequest::getSourceFaceId()const
|
||||
void MoveFacePhotosRequest::setSourceFaceId(long sourceFaceId)
|
||||
{
|
||||
sourceFaceId_ = sourceFaceId;
|
||||
setCoreParameter("SourceFaceId", std::to_string(sourceFaceId));
|
||||
setParameter("SourceFaceId", std::to_string(sourceFaceId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ReactivatePhotosRequest;
|
||||
|
||||
ReactivatePhotosRequest::ReactivatePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ReactivatePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ReactivatePhotosRequest::~ReactivatePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string ReactivatePhotosRequest::getLibraryId()const
|
||||
void ReactivatePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> ReactivatePhotosRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> ReactivatePhotosRequest::getPhotoId()const
|
||||
void ReactivatePhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ReactivatePhotosRequest::getStoreName()const
|
||||
@@ -56,6 +59,6 @@ std::string ReactivatePhotosRequest::getStoreName()const
|
||||
void ReactivatePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::RegisterPhotoRequest;
|
||||
|
||||
RegisterPhotoRequest::RegisterPhotoRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "RegisterPhoto")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RegisterPhotoRequest::~RegisterPhotoRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ float RegisterPhotoRequest::getLatitude()const
|
||||
void RegisterPhotoRequest::setLatitude(float latitude)
|
||||
{
|
||||
latitude_ = latitude;
|
||||
setCoreParameter("Latitude", std::to_string(latitude));
|
||||
setParameter("Latitude", std::to_string(latitude));
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getPhotoTitle()const
|
||||
@@ -44,7 +46,7 @@ std::string RegisterPhotoRequest::getPhotoTitle()const
|
||||
void RegisterPhotoRequest::setPhotoTitle(const std::string& photoTitle)
|
||||
{
|
||||
photoTitle_ = photoTitle;
|
||||
setCoreParameter("PhotoTitle", photoTitle);
|
||||
setParameter("PhotoTitle", photoTitle);
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string RegisterPhotoRequest::getStoreName()const
|
||||
void RegisterPhotoRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getIsVideo()const
|
||||
@@ -66,7 +68,7 @@ std::string RegisterPhotoRequest::getIsVideo()const
|
||||
void RegisterPhotoRequest::setIsVideo(const std::string& isVideo)
|
||||
{
|
||||
isVideo_ = isVideo;
|
||||
setCoreParameter("IsVideo", isVideo);
|
||||
setParameter("IsVideo", isVideo);
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getRemark()const
|
||||
@@ -77,7 +79,7 @@ std::string RegisterPhotoRequest::getRemark()const
|
||||
void RegisterPhotoRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
setParameter("Remark", remark);
|
||||
}
|
||||
|
||||
long RegisterPhotoRequest::getTakenAt()const
|
||||
@@ -88,7 +90,7 @@ long RegisterPhotoRequest::getTakenAt()const
|
||||
void RegisterPhotoRequest::setTakenAt(long takenAt)
|
||||
{
|
||||
takenAt_ = takenAt;
|
||||
setCoreParameter("TakenAt", std::to_string(takenAt));
|
||||
setParameter("TakenAt", std::to_string(takenAt));
|
||||
}
|
||||
|
||||
float RegisterPhotoRequest::getLongitude()const
|
||||
@@ -99,7 +101,7 @@ float RegisterPhotoRequest::getLongitude()const
|
||||
void RegisterPhotoRequest::setLongitude(float longitude)
|
||||
{
|
||||
longitude_ = longitude;
|
||||
setCoreParameter("Longitude", std::to_string(longitude));
|
||||
setParameter("Longitude", std::to_string(longitude));
|
||||
}
|
||||
|
||||
int RegisterPhotoRequest::getHeight()const
|
||||
@@ -110,7 +112,7 @@ int RegisterPhotoRequest::getHeight()const
|
||||
void RegisterPhotoRequest::setHeight(int height)
|
||||
{
|
||||
height_ = height;
|
||||
setCoreParameter("Height", std::to_string(height));
|
||||
setParameter("Height", std::to_string(height));
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getLibraryId()const
|
||||
@@ -121,7 +123,7 @@ std::string RegisterPhotoRequest::getLibraryId()const
|
||||
void RegisterPhotoRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long RegisterPhotoRequest::getSize()const
|
||||
@@ -132,7 +134,7 @@ long RegisterPhotoRequest::getSize()const
|
||||
void RegisterPhotoRequest::setSize(long size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
int RegisterPhotoRequest::getWidth()const
|
||||
@@ -143,7 +145,7 @@ int RegisterPhotoRequest::getWidth()const
|
||||
void RegisterPhotoRequest::setWidth(int width)
|
||||
{
|
||||
width_ = width;
|
||||
setCoreParameter("Width", std::to_string(width));
|
||||
setParameter("Width", std::to_string(width));
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getLocation()const
|
||||
@@ -154,7 +156,7 @@ std::string RegisterPhotoRequest::getLocation()const
|
||||
void RegisterPhotoRequest::setLocation(const std::string& location)
|
||||
{
|
||||
location_ = location;
|
||||
setCoreParameter("Location", location);
|
||||
setParameter("Location", location);
|
||||
}
|
||||
|
||||
std::string RegisterPhotoRequest::getMd5()const
|
||||
@@ -165,6 +167,6 @@ std::string RegisterPhotoRequest::getMd5()const
|
||||
void RegisterPhotoRequest::setMd5(const std::string& md5)
|
||||
{
|
||||
md5_ = md5;
|
||||
setCoreParameter("Md5", md5);
|
||||
setParameter("Md5", md5);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::RegisterTagRequest;
|
||||
|
||||
RegisterTagRequest::RegisterTagRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "RegisterTag")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RegisterTagRequest::~RegisterTagRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string RegisterTagRequest::getStoreName()const
|
||||
void RegisterTagRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string RegisterTagRequest::getText()const
|
||||
@@ -44,7 +46,7 @@ std::string RegisterTagRequest::getText()const
|
||||
void RegisterTagRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setCoreParameter("Text", text);
|
||||
setParameter("Text", text);
|
||||
}
|
||||
|
||||
std::string RegisterTagRequest::getTagKey()const
|
||||
@@ -55,7 +57,7 @@ std::string RegisterTagRequest::getTagKey()const
|
||||
void RegisterTagRequest::setTagKey(const std::string& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
setCoreParameter("TagKey", tagKey);
|
||||
setParameter("TagKey", tagKey);
|
||||
}
|
||||
|
||||
std::string RegisterTagRequest::getLang()const
|
||||
@@ -66,6 +68,6 @@ std::string RegisterTagRequest::getLang()const
|
||||
void RegisterTagRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
setParameter("Lang", lang);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::RemoveAlbumPhotosRequest;
|
||||
|
||||
RemoveAlbumPhotosRequest::RemoveAlbumPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "RemoveAlbumPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveAlbumPhotosRequest::~RemoveAlbumPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string RemoveAlbumPhotosRequest::getLibraryId()const
|
||||
void RemoveAlbumPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long RemoveAlbumPhotosRequest::getAlbumId()const
|
||||
@@ -44,7 +46,7 @@ long RemoveAlbumPhotosRequest::getAlbumId()const
|
||||
void RemoveAlbumPhotosRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setCoreParameter("AlbumId", std::to_string(albumId));
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
std::vector<long> RemoveAlbumPhotosRequest::getPhotoId()const
|
||||
@@ -55,8 +57,9 @@ std::vector<long> RemoveAlbumPhotosRequest::getPhotoId()const
|
||||
void RemoveAlbumPhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string RemoveAlbumPhotosRequest::getStoreName()const
|
||||
@@ -67,6 +70,6 @@ std::string RemoveAlbumPhotosRequest::getStoreName()const
|
||||
void RemoveAlbumPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::RemoveFacePhotosRequest;
|
||||
|
||||
RemoveFacePhotosRequest::RemoveFacePhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "RemoveFacePhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveFacePhotosRequest::~RemoveFacePhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string RemoveFacePhotosRequest::getLibraryId()const
|
||||
void RemoveFacePhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<long> RemoveFacePhotosRequest::getPhotoId()const
|
||||
@@ -44,8 +46,9 @@ std::vector<long> RemoveFacePhotosRequest::getPhotoId()const
|
||||
void RemoveFacePhotosRequest::setPhotoId(const std::vector<long>& photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
for(int i = 0; i!= photoId.size(); i++)
|
||||
setCoreParameter("PhotoId."+ std::to_string(i), std::to_string(photoId.at(i)));
|
||||
for(int dep1 = 0; dep1!= photoId.size(); dep1++) {
|
||||
setParameter("PhotoId."+ std::to_string(dep1), std::to_string(photoId.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string RemoveFacePhotosRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string RemoveFacePhotosRequest::getStoreName()const
|
||||
void RemoveFacePhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long RemoveFacePhotosRequest::getFaceId()const
|
||||
@@ -67,6 +70,6 @@ long RemoveFacePhotosRequest::getFaceId()const
|
||||
void RemoveFacePhotosRequest::setFaceId(long faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
setCoreParameter("FaceId", std::to_string(faceId));
|
||||
setParameter("FaceId", std::to_string(faceId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::RenameAlbumRequest;
|
||||
|
||||
RenameAlbumRequest::RenameAlbumRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "RenameAlbum")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RenameAlbumRequest::~RenameAlbumRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string RenameAlbumRequest::getLibraryId()const
|
||||
void RenameAlbumRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long RenameAlbumRequest::getAlbumId()const
|
||||
@@ -44,7 +46,7 @@ long RenameAlbumRequest::getAlbumId()const
|
||||
void RenameAlbumRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setCoreParameter("AlbumId", std::to_string(albumId));
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
std::string RenameAlbumRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string RenameAlbumRequest::getStoreName()const
|
||||
void RenameAlbumRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::string RenameAlbumRequest::getAlbumName()const
|
||||
@@ -66,6 +68,6 @@ std::string RenameAlbumRequest::getAlbumName()const
|
||||
void RenameAlbumRequest::setAlbumName(const std::string& albumName)
|
||||
{
|
||||
albumName_ = albumName;
|
||||
setCoreParameter("AlbumName", albumName);
|
||||
setParameter("AlbumName", albumName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::RenameFaceRequest;
|
||||
|
||||
RenameFaceRequest::RenameFaceRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "RenameFace")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RenameFaceRequest::~RenameFaceRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string RenameFaceRequest::getLibraryId()const
|
||||
void RenameFaceRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string RenameFaceRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string RenameFaceRequest::getStoreName()const
|
||||
void RenameFaceRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long RenameFaceRequest::getFaceId()const
|
||||
@@ -55,7 +57,7 @@ long RenameFaceRequest::getFaceId()const
|
||||
void RenameFaceRequest::setFaceId(long faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
setCoreParameter("FaceId", std::to_string(faceId));
|
||||
setParameter("FaceId", std::to_string(faceId));
|
||||
}
|
||||
|
||||
std::string RenameFaceRequest::getFaceName()const
|
||||
@@ -66,6 +68,6 @@ std::string RenameFaceRequest::getFaceName()const
|
||||
void RenameFaceRequest::setFaceName(const std::string& faceName)
|
||||
{
|
||||
faceName_ = faceName;
|
||||
setCoreParameter("FaceName", faceName);
|
||||
setParameter("FaceName", faceName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::SearchPhotosRequest;
|
||||
|
||||
SearchPhotosRequest::SearchPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "SearchPhotos")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SearchPhotosRequest::~SearchPhotosRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string SearchPhotosRequest::getLibraryId()const
|
||||
void SearchPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string SearchPhotosRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string SearchPhotosRequest::getStoreName()const
|
||||
void SearchPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int SearchPhotosRequest::getSize()const
|
||||
@@ -55,7 +57,7 @@ int SearchPhotosRequest::getSize()const
|
||||
void SearchPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setCoreParameter("Size", std::to_string(size));
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
int SearchPhotosRequest::getPage()const
|
||||
@@ -66,7 +68,7 @@ int SearchPhotosRequest::getPage()const
|
||||
void SearchPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setCoreParameter("Page", std::to_string(page));
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
std::string SearchPhotosRequest::getKeyword()const
|
||||
@@ -77,6 +79,6 @@ std::string SearchPhotosRequest::getKeyword()const
|
||||
void SearchPhotosRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setCoreParameter("Keyword", keyword);
|
||||
setParameter("Keyword", keyword);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::SetAlbumCoverRequest;
|
||||
|
||||
SetAlbumCoverRequest::SetAlbumCoverRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "SetAlbumCover")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetAlbumCoverRequest::~SetAlbumCoverRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string SetAlbumCoverRequest::getLibraryId()const
|
||||
void SetAlbumCoverRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long SetAlbumCoverRequest::getAlbumId()const
|
||||
@@ -44,7 +46,7 @@ long SetAlbumCoverRequest::getAlbumId()const
|
||||
void SetAlbumCoverRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setCoreParameter("AlbumId", std::to_string(albumId));
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
long SetAlbumCoverRequest::getPhotoId()const
|
||||
@@ -55,7 +57,7 @@ long SetAlbumCoverRequest::getPhotoId()const
|
||||
void SetAlbumCoverRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string SetAlbumCoverRequest::getStoreName()const
|
||||
@@ -66,6 +68,6 @@ std::string SetAlbumCoverRequest::getStoreName()const
|
||||
void SetAlbumCoverRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::SetFaceCoverRequest;
|
||||
|
||||
SetFaceCoverRequest::SetFaceCoverRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "SetFaceCover")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetFaceCoverRequest::~SetFaceCoverRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string SetFaceCoverRequest::getLibraryId()const
|
||||
void SetFaceCoverRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long SetFaceCoverRequest::getPhotoId()const
|
||||
@@ -44,7 +46,7 @@ long SetFaceCoverRequest::getPhotoId()const
|
||||
void SetFaceCoverRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::string SetFaceCoverRequest::getStoreName()const
|
||||
@@ -55,7 +57,7 @@ std::string SetFaceCoverRequest::getStoreName()const
|
||||
void SetFaceCoverRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long SetFaceCoverRequest::getFaceId()const
|
||||
@@ -66,6 +68,6 @@ long SetFaceCoverRequest::getFaceId()const
|
||||
void SetFaceCoverRequest::setFaceId(long faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
setCoreParameter("FaceId", std::to_string(faceId));
|
||||
setParameter("FaceId", std::to_string(faceId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::SetMeRequest;
|
||||
|
||||
SetMeRequest::SetMeRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "SetMe")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetMeRequest::~SetMeRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string SetMeRequest::getLibraryId()const
|
||||
void SetMeRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string SetMeRequest::getStoreName()const
|
||||
@@ -44,7 +46,7 @@ std::string SetMeRequest::getStoreName()const
|
||||
void SetMeRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long SetMeRequest::getFaceId()const
|
||||
@@ -55,6 +57,6 @@ long SetMeRequest::getFaceId()const
|
||||
void SetMeRequest::setFaceId(long faceId)
|
||||
{
|
||||
faceId_ = faceId;
|
||||
setCoreParameter("FaceId", std::to_string(faceId));
|
||||
setParameter("FaceId", std::to_string(faceId));
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::SetQuotaRequest;
|
||||
|
||||
SetQuotaRequest::SetQuotaRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "SetQuota")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetQuotaRequest::~SetQuotaRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ long SetQuotaRequest::getTotalQuota()const
|
||||
void SetQuotaRequest::setTotalQuota(long totalQuota)
|
||||
{
|
||||
totalQuota_ = totalQuota;
|
||||
setCoreParameter("TotalQuota", std::to_string(totalQuota));
|
||||
setParameter("TotalQuota", std::to_string(totalQuota));
|
||||
}
|
||||
|
||||
std::string SetQuotaRequest::getLibraryId()const
|
||||
@@ -44,7 +46,7 @@ std::string SetQuotaRequest::getLibraryId()const
|
||||
void SetQuotaRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::string SetQuotaRequest::getStoreName()const
|
||||
@@ -55,6 +57,6 @@ std::string SetQuotaRequest::getStoreName()const
|
||||
void SetQuotaRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::TagPhotoRequest;
|
||||
|
||||
TagPhotoRequest::TagPhotoRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "TagPhoto")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TagPhotoRequest::~TagPhotoRequest()
|
||||
{}
|
||||
@@ -33,7 +35,7 @@ std::string TagPhotoRequest::getLibraryId()const
|
||||
void TagPhotoRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setCoreParameter("LibraryId", libraryId);
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
std::vector<float> TagPhotoRequest::getConfidence()const
|
||||
@@ -44,8 +46,9 @@ std::vector<float> TagPhotoRequest::getConfidence()const
|
||||
void TagPhotoRequest::setConfidence(const std::vector<float>& confidence)
|
||||
{
|
||||
confidence_ = confidence;
|
||||
for(int i = 0; i!= confidence.size(); i++)
|
||||
setCoreParameter("Confidence."+ std::to_string(i), std::to_string(confidence.at(i)));
|
||||
for(int dep1 = 0; dep1!= confidence.size(); dep1++) {
|
||||
setParameter("Confidence."+ std::to_string(dep1), std::to_string(confidence.at(dep1)));
|
||||
}
|
||||
}
|
||||
|
||||
std::string TagPhotoRequest::getStoreName()const
|
||||
@@ -56,7 +59,7 @@ std::string TagPhotoRequest::getStoreName()const
|
||||
void TagPhotoRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
long TagPhotoRequest::getPhotoId()const
|
||||
@@ -67,7 +70,7 @@ long TagPhotoRequest::getPhotoId()const
|
||||
void TagPhotoRequest::setPhotoId(long photoId)
|
||||
{
|
||||
photoId_ = photoId;
|
||||
setCoreParameter("PhotoId", std::to_string(photoId));
|
||||
setParameter("PhotoId", std::to_string(photoId));
|
||||
}
|
||||
|
||||
std::vector<std::string> TagPhotoRequest::getTagKey()const
|
||||
@@ -78,7 +81,8 @@ std::vector<std::string> TagPhotoRequest::getTagKey()const
|
||||
void TagPhotoRequest::setTagKey(const std::vector<std::string>& tagKey)
|
||||
{
|
||||
tagKey_ = tagKey;
|
||||
for(int i = 0; i!= tagKey.size(); i++)
|
||||
setCoreParameter("TagKey."+ std::to_string(i), tagKey.at(i));
|
||||
for(int dep1 = 0; dep1!= tagKey.size(); dep1++) {
|
||||
setParameter("TagKey."+ std::to_string(dep1), tagKey.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,9 @@ using AlibabaCloud::CloudPhoto::Model::ToggleFeaturesRequest;
|
||||
|
||||
ToggleFeaturesRequest::ToggleFeaturesRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "ToggleFeatures")
|
||||
{}
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ToggleFeaturesRequest::~ToggleFeaturesRequest()
|
||||
{}
|
||||
@@ -33,8 +35,9 @@ std::vector<std::string> ToggleFeaturesRequest::getDisabledFeatures()const
|
||||
void ToggleFeaturesRequest::setDisabledFeatures(const std::vector<std::string>& disabledFeatures)
|
||||
{
|
||||
disabledFeatures_ = disabledFeatures;
|
||||
for(int i = 0; i!= disabledFeatures.size(); i++)
|
||||
setCoreParameter("DisabledFeatures."+ std::to_string(i), disabledFeatures.at(i));
|
||||
for(int dep1 = 0; dep1!= disabledFeatures.size(); dep1++) {
|
||||
setParameter("DisabledFeatures."+ std::to_string(dep1), disabledFeatures.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
std::string ToggleFeaturesRequest::getStoreName()const
|
||||
@@ -45,7 +48,7 @@ std::string ToggleFeaturesRequest::getStoreName()const
|
||||
void ToggleFeaturesRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setCoreParameter("StoreName", storeName);
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
std::vector<std::string> ToggleFeaturesRequest::getEnabledFeatures()const
|
||||
@@ -56,7 +59,8 @@ std::vector<std::string> ToggleFeaturesRequest::getEnabledFeatures()const
|
||||
void ToggleFeaturesRequest::setEnabledFeatures(const std::vector<std::string>& enabledFeatures)
|
||||
{
|
||||
enabledFeatures_ = enabledFeatures;
|
||||
for(int i = 0; i!= enabledFeatures.size(); i++)
|
||||
setCoreParameter("EnabledFeatures."+ std::to_string(i), enabledFeatures.at(i));
|
||||
for(int dep1 = 0; dep1!= enabledFeatures.size(); dep1++) {
|
||||
setParameter("EnabledFeatures."+ std::to_string(dep1), enabledFeatures.at(dep1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user