由丰鲁成发起的CLOUDPHOTO SDK自动发布, BUILD_ID=482, 版本号:1.2.16
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2018-03-20 Version: 1.2.16
|
||||
1, add FetchAlbumTagPhotos
|
||||
2, CreatePhoto add optional param TakenAt
|
||||
|
||||
2018-03-16 Version: 1.2.15
|
||||
1, Synchronize to the latest api list
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@ set(cloudphoto_public_header_model
|
||||
include/alibabacloud/cloudphoto/model/MergeFacesResult.h
|
||||
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sRequest.h
|
||||
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sResult.h
|
||||
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosRequest.h
|
||||
include/alibabacloud/cloudphoto/model/FetchAlbumTagPhotosResult.h
|
||||
include/alibabacloud/cloudphoto/model/CreateTransactionRequest.h
|
||||
include/alibabacloud/cloudphoto/model/CreateTransactionResult.h
|
||||
include/alibabacloud/cloudphoto/model/InactivatePhotosRequest.h
|
||||
@@ -186,6 +188,8 @@ set(cloudphoto_src
|
||||
src/model/MergeFacesResult.cc
|
||||
src/model/GetPhotosByMd5sRequest.cc
|
||||
src/model/GetPhotosByMd5sResult.cc
|
||||
src/model/FetchAlbumTagPhotosRequest.cc
|
||||
src/model/FetchAlbumTagPhotosResult.cc
|
||||
src/model/CreateTransactionRequest.cc
|
||||
src/model/CreateTransactionResult.cc
|
||||
src/model/InactivatePhotosRequest.cc
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
#include "model/MergeFacesResult.h"
|
||||
#include "model/GetPhotosByMd5sRequest.h"
|
||||
#include "model/GetPhotosByMd5sResult.h"
|
||||
#include "model/FetchAlbumTagPhotosRequest.h"
|
||||
#include "model/FetchAlbumTagPhotosResult.h"
|
||||
#include "model/CreateTransactionRequest.h"
|
||||
#include "model/CreateTransactionResult.h"
|
||||
#include "model/InactivatePhotosRequest.h"
|
||||
@@ -163,407 +165,413 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CloudPhotoClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::RemoveFacePhotosResult> RemoveFacePhotosOutcome;
|
||||
typedef std::future<RemoveFacePhotosOutcome> RemoveFacePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::RemoveFacePhotosResult> RemoveFacePhotosOutcome;
|
||||
typedef std::future<RemoveFacePhotosOutcome> RemoveFacePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::RemoveFacePhotosRequest&, const RemoveFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveFacePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReactivatePhotosResult> ReactivatePhotosOutcome;
|
||||
typedef std::future<ReactivatePhotosOutcome> ReactivatePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ReactivatePhotosResult> ReactivatePhotosOutcome;
|
||||
typedef std::future<ReactivatePhotosOutcome> ReactivatePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ReactivatePhotosRequest&, const ReactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReactivatePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetQuotaResult> GetQuotaOutcome;
|
||||
typedef std::future<GetQuotaOutcome> GetQuotaOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetQuotaResult> GetQuotaOutcome;
|
||||
typedef std::future<GetQuotaOutcome> GetQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetQuotaRequest&, const GetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetThumbnailsResult> GetThumbnailsOutcome;
|
||||
typedef std::future<GetThumbnailsOutcome> GetThumbnailsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetThumbnailsResult> GetThumbnailsOutcome;
|
||||
typedef std::future<GetThumbnailsOutcome> GetThumbnailsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetThumbnailsRequest&, const GetThumbnailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThumbnailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteFacesResult> DeleteFacesOutcome;
|
||||
typedef std::future<DeleteFacesOutcome> DeleteFacesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DeleteFacesResult> DeleteFacesOutcome;
|
||||
typedef std::future<DeleteFacesOutcome> DeleteFacesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteFacesRequest&, const DeleteFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteFacesAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddAlbumPhotosResult> AddAlbumPhotosOutcome;
|
||||
typedef std::future<AddAlbumPhotosOutcome> AddAlbumPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::AddAlbumPhotosResult> AddAlbumPhotosOutcome;
|
||||
typedef std::future<AddAlbumPhotosOutcome> AddAlbumPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::AddAlbumPhotosRequest&, const AddAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddAlbumPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListFacesResult> ListFacesOutcome;
|
||||
typedef std::future<ListFacesOutcome> ListFacesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListFacesResult> ListFacesOutcome;
|
||||
typedef std::future<ListFacesOutcome> ListFacesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListFacesRequest&, const ListFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFacesAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveFacePhotosResult> MoveFacePhotosOutcome;
|
||||
typedef std::future<MoveFacePhotosOutcome> MoveFacePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::MoveFacePhotosResult> MoveFacePhotosOutcome;
|
||||
typedef std::future<MoveFacePhotosOutcome> MoveFacePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::MoveFacePhotosRequest&, const MoveFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveFacePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteEventResult> DeleteEventOutcome;
|
||||
typedef std::future<DeleteEventOutcome> DeleteEventOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DeleteEventResult> DeleteEventOutcome;
|
||||
typedef std::future<DeleteEventOutcome> DeleteEventOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteEventRequest&, const DeleteEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhotosResult> ListPhotosOutcome;
|
||||
typedef std::future<ListPhotosOutcome> ListPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListPhotosResult> ListPhotosOutcome;
|
||||
typedef std::future<ListPhotosOutcome> ListPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotosRequest&, const ListPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterTagResult> RegisterTagOutcome;
|
||||
typedef std::future<RegisterTagOutcome> RegisterTagOutcomeCallable;
|
||||
typedef Outcome<Error, Model::RegisterTagResult> RegisterTagOutcome;
|
||||
typedef std::future<RegisterTagOutcome> RegisterTagOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::RegisterTagRequest&, const RegisterTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterTagAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
|
||||
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListTimeLinePhotosResult> ListTimeLinePhotosOutcome;
|
||||
typedef std::future<ListTimeLinePhotosOutcome> ListTimeLinePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinePhotosRequest&, const ListTimeLinePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
|
||||
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DeletePhotosResult> DeletePhotosOutcome;
|
||||
typedef std::future<DeletePhotosOutcome> DeletePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotosRequest&, const DeletePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::MergeFacesResult> MergeFacesOutcome;
|
||||
typedef std::future<MergeFacesOutcome> MergeFacesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::MergeFacesResult> MergeFacesOutcome;
|
||||
typedef std::future<MergeFacesOutcome> MergeFacesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::MergeFacesRequest&, const MergeFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MergeFacesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPhotosByMd5sResult> GetPhotosByMd5sOutcome;
|
||||
typedef std::future<GetPhotosByMd5sOutcome> GetPhotosByMd5sOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetPhotosByMd5sResult> GetPhotosByMd5sOutcome;
|
||||
typedef std::future<GetPhotosByMd5sOutcome> GetPhotosByMd5sOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosByMd5sRequest&, const GetPhotosByMd5sOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosByMd5sAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTransactionResult> CreateTransactionOutcome;
|
||||
typedef std::future<CreateTransactionOutcome> CreateTransactionOutcomeCallable;
|
||||
typedef Outcome<Error, Model::FetchAlbumTagPhotosResult> FetchAlbumTagPhotosOutcome;
|
||||
typedef std::future<FetchAlbumTagPhotosOutcome> FetchAlbumTagPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::FetchAlbumTagPhotosRequest&, const FetchAlbumTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FetchAlbumTagPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateTransactionResult> CreateTransactionOutcome;
|
||||
typedef std::future<CreateTransactionOutcome> CreateTransactionOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::CreateTransactionRequest&, const CreateTransactionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTransactionAsyncHandler;
|
||||
typedef Outcome<Error, Model::InactivatePhotosResult> InactivatePhotosOutcome;
|
||||
typedef std::future<InactivatePhotosOutcome> InactivatePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::InactivatePhotosResult> InactivatePhotosOutcome;
|
||||
typedef std::future<InactivatePhotosOutcome> InactivatePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::InactivatePhotosRequest&, const InactivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> InactivatePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePhotoStoreResult> CreatePhotoStoreOutcome;
|
||||
typedef std::future<CreatePhotoStoreOutcome> CreatePhotoStoreOutcomeCallable;
|
||||
typedef Outcome<Error, Model::CreatePhotoStoreResult> CreatePhotoStoreOutcome;
|
||||
typedef std::future<CreatePhotoStoreOutcome> CreatePhotoStoreOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::CreatePhotoStoreRequest&, const CreatePhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePhotoStoreAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagPhotoResult> TagPhotoOutcome;
|
||||
typedef std::future<TagPhotoOutcome> TagPhotoOutcomeCallable;
|
||||
typedef Outcome<Error, Model::TagPhotoResult> TagPhotoOutcome;
|
||||
typedef std::future<TagPhotoOutcome> TagPhotoOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::TagPhotoRequest&, const TagPhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagPhotoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetLibraryResult> GetLibraryOutcome;
|
||||
typedef std::future<GetLibraryOutcome> GetLibraryOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetLibraryResult> GetLibraryOutcome;
|
||||
typedef std::future<GetLibraryOutcome> GetLibraryOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetLibraryRequest&, const GetLibraryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetLibraryAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetQuotaResult> SetQuotaOutcome;
|
||||
typedef std::future<SetQuotaOutcome> SetQuotaOutcomeCallable;
|
||||
typedef Outcome<Error, Model::SetQuotaResult> SetQuotaOutcome;
|
||||
typedef std::future<SetQuotaOutcome> SetQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::SetQuotaRequest&, const SetQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAlbumPhotosResult> ListAlbumPhotosOutcome;
|
||||
typedef std::future<ListAlbumPhotosOutcome> ListAlbumPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListAlbumPhotosResult> ListAlbumPhotosOutcome;
|
||||
typedef std::future<ListAlbumPhotosOutcome> ListAlbumPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumPhotosRequest&, const ListAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveAlbumPhotosResult> RemoveAlbumPhotosOutcome;
|
||||
typedef std::future<RemoveAlbumPhotosOutcome> RemoveAlbumPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::RemoveAlbumPhotosResult> RemoveAlbumPhotosOutcome;
|
||||
typedef std::future<RemoveAlbumPhotosOutcome> RemoveAlbumPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::RemoveAlbumPhotosRequest&, const RemoveAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveAlbumPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
|
||||
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListAlbumsResult> ListAlbumsOutcome;
|
||||
typedef std::future<ListAlbumsOutcome> ListAlbumsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListAlbumsRequest&, const ListAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAlbumsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhotoFacesResult> ListPhotoFacesOutcome;
|
||||
typedef std::future<ListPhotoFacesOutcome> ListPhotoFacesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListPhotoFacesResult> ListPhotoFacesOutcome;
|
||||
typedef std::future<ListPhotoFacesOutcome> ListPhotoFacesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoFacesRequest&, const ListPhotoFacesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoFacesAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenameAlbumResult> RenameAlbumOutcome;
|
||||
typedef std::future<RenameAlbumOutcome> RenameAlbumOutcomeCallable;
|
||||
typedef Outcome<Error, Model::RenameAlbumResult> RenameAlbumOutcome;
|
||||
typedef std::future<RenameAlbumOutcome> RenameAlbumOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::RenameAlbumRequest&, const RenameAlbumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameAlbumAsyncHandler;
|
||||
typedef Outcome<Error, Model::ActivatePhotosResult> ActivatePhotosOutcome;
|
||||
typedef std::future<ActivatePhotosOutcome> ActivatePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ActivatePhotosResult> ActivatePhotosOutcome;
|
||||
typedef std::future<ActivatePhotosOutcome> ActivatePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ActivatePhotosRequest&, const ActivatePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ActivatePhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPrivateAccessUrlsResult> GetPrivateAccessUrlsOutcome;
|
||||
typedef std::future<GetPrivateAccessUrlsOutcome> GetPrivateAccessUrlsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetPrivateAccessUrlsResult> GetPrivateAccessUrlsOutcome;
|
||||
typedef std::future<GetPrivateAccessUrlsOutcome> GetPrivateAccessUrlsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetPrivateAccessUrlsRequest&, const GetPrivateAccessUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPrivateAccessUrlsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSimilarPhotosResult> GetSimilarPhotosOutcome;
|
||||
typedef std::future<GetSimilarPhotosOutcome> GetSimilarPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetSimilarPhotosResult> GetSimilarPhotosOutcome;
|
||||
typedef std::future<GetSimilarPhotosOutcome> GetSimilarPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetSimilarPhotosRequest&, const GetSimilarPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSimilarPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListEventsResult> ListEventsOutcome;
|
||||
typedef std::future<ListEventsOutcome> ListEventsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListEventsResult> ListEventsOutcome;
|
||||
typedef std::future<ListEventsOutcome> ListEventsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListEventsRequest&, const ListEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListEventsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVideoCoverResult> GetVideoCoverOutcome;
|
||||
typedef std::future<GetVideoCoverOutcome> GetVideoCoverOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetVideoCoverResult> GetVideoCoverOutcome;
|
||||
typedef std::future<GetVideoCoverOutcome> GetVideoCoverOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetVideoCoverRequest&, const GetVideoCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVideoCoverAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetFramedPhotoUrlsResult> GetFramedPhotoUrlsOutcome;
|
||||
typedef std::future<GetFramedPhotoUrlsOutcome> GetFramedPhotoUrlsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetFramedPhotoUrlsResult> GetFramedPhotoUrlsOutcome;
|
||||
typedef std::future<GetFramedPhotoUrlsOutcome> GetFramedPhotoUrlsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetFramedPhotoUrlsRequest&, const GetFramedPhotoUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFramedPhotoUrlsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetEventResult> GetEventOutcome;
|
||||
typedef std::future<GetEventOutcome> GetEventOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetEventResult> GetEventOutcome;
|
||||
typedef std::future<GetEventOutcome> GetEventOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetEventRequest&, const GetEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetMeResult> SetMeOutcome;
|
||||
typedef std::future<SetMeOutcome> SetMeOutcomeCallable;
|
||||
typedef Outcome<Error, Model::SetMeResult> SetMeOutcome;
|
||||
typedef std::future<SetMeOutcome> SetMeOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::SetMeRequest&, const SetMeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetMeAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagPhotosResult> ListTagPhotosOutcome;
|
||||
typedef std::future<ListTagPhotosOutcome> ListTagPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListTagPhotosResult> ListTagPhotosOutcome;
|
||||
typedef std::future<ListTagPhotosOutcome> ListTagPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListTagPhotosRequest&, const ListTagPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAlbumsResult> DeleteAlbumsOutcome;
|
||||
typedef std::future<DeleteAlbumsOutcome> DeleteAlbumsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DeleteAlbumsResult> DeleteAlbumsOutcome;
|
||||
typedef std::future<DeleteAlbumsOutcome> DeleteAlbumsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::DeleteAlbumsRequest&, const DeleteAlbumsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAlbumsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDownloadUrlsResult> GetDownloadUrlsOutcome;
|
||||
typedef std::future<GetDownloadUrlsOutcome> GetDownloadUrlsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetDownloadUrlsResult> GetDownloadUrlsOutcome;
|
||||
typedef std::future<GetDownloadUrlsOutcome> GetDownloadUrlsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetDownloadUrlsRequest&, const GetDownloadUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDownloadUrlsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPhotosResult> GetPhotosOutcome;
|
||||
typedef std::future<GetPhotosOutcome> GetPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetPhotosResult> GetPhotosOutcome;
|
||||
typedef std::future<GetPhotosOutcome> GetPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotosRequest&, const GetPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::RegisterPhotoResult> RegisterPhotoOutcome;
|
||||
typedef std::future<RegisterPhotoOutcome> RegisterPhotoOutcomeCallable;
|
||||
typedef Outcome<Error, Model::RegisterPhotoResult> RegisterPhotoOutcome;
|
||||
typedef std::future<RegisterPhotoOutcome> RegisterPhotoOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::RegisterPhotoRequest&, const RegisterPhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RegisterPhotoAsyncHandler;
|
||||
typedef Outcome<Error, Model::EditPhotoStoreResult> EditPhotoStoreOutcome;
|
||||
typedef std::future<EditPhotoStoreOutcome> EditPhotoStoreOutcomeCallable;
|
||||
typedef Outcome<Error, Model::EditPhotoStoreResult> EditPhotoStoreOutcome;
|
||||
typedef std::future<EditPhotoStoreOutcome> EditPhotoStoreOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::EditPhotoStoreRequest&, const EditPhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPhotoStoreAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTimeLinesResult> ListTimeLinesOutcome;
|
||||
typedef std::future<ListTimeLinesOutcome> ListTimeLinesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListTimeLinesResult> ListTimeLinesOutcome;
|
||||
typedef std::future<ListTimeLinesOutcome> ListTimeLinesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListTimeLinesRequest&, const ListTimeLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTimeLinesAsyncHandler;
|
||||
typedef Outcome<Error, Model::SearchPhotosResult> SearchPhotosOutcome;
|
||||
typedef std::future<SearchPhotosOutcome> SearchPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::SearchPhotosResult> SearchPhotosOutcome;
|
||||
typedef std::future<SearchPhotosOutcome> SearchPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::SearchPhotosRequest&, const SearchPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::ToggleFeaturesResult> ToggleFeaturesOutcome;
|
||||
typedef std::future<ToggleFeaturesOutcome> ToggleFeaturesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ToggleFeaturesResult> ToggleFeaturesOutcome;
|
||||
typedef std::future<ToggleFeaturesOutcome> ToggleFeaturesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ToggleFeaturesRequest&, const ToggleFeaturesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ToggleFeaturesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRegisteredTagsResult> ListRegisteredTagsOutcome;
|
||||
typedef std::future<ListRegisteredTagsOutcome> ListRegisteredTagsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListRegisteredTagsResult> ListRegisteredTagsOutcome;
|
||||
typedef std::future<ListRegisteredTagsOutcome> ListRegisteredTagsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListRegisteredTagsRequest&, const ListRegisteredTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRegisteredTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeletePhotoStoreResult> DeletePhotoStoreOutcome;
|
||||
typedef std::future<DeletePhotoStoreOutcome> DeletePhotoStoreOutcomeCallable;
|
||||
typedef Outcome<Error, Model::DeletePhotoStoreResult> DeletePhotoStoreOutcome;
|
||||
typedef std::future<DeletePhotoStoreOutcome> DeletePhotoStoreOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::DeletePhotoStoreRequest&, const DeletePhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotoStoreAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateEventResult> CreateEventOutcome;
|
||||
typedef std::future<CreateEventOutcome> CreateEventOutcomeCallable;
|
||||
typedef Outcome<Error, Model::CreateEventResult> CreateEventOutcome;
|
||||
typedef std::future<CreateEventOutcome> CreateEventOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::CreateEventRequest&, const CreateEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPhotoStoreResult> GetPhotoStoreOutcome;
|
||||
typedef std::future<GetPhotoStoreOutcome> GetPhotoStoreOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetPhotoStoreResult> GetPhotoStoreOutcome;
|
||||
typedef std::future<GetPhotoStoreOutcome> GetPhotoStoreOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetPhotoStoreRequest&, const GetPhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhotoStoreAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMomentPhotosResult> ListMomentPhotosOutcome;
|
||||
typedef std::future<ListMomentPhotosOutcome> ListMomentPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListMomentPhotosResult> ListMomentPhotosOutcome;
|
||||
typedef std::future<ListMomentPhotosOutcome> ListMomentPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListMomentPhotosRequest&, const ListMomentPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMomentPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetThumbnailResult> GetThumbnailOutcome;
|
||||
typedef std::future<GetThumbnailOutcome> GetThumbnailOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetThumbnailResult> GetThumbnailOutcome;
|
||||
typedef std::future<GetThumbnailOutcome> GetThumbnailOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetThumbnailRequest&, const GetThumbnailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetThumbnailAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetFaceCoverResult> SetFaceCoverOutcome;
|
||||
typedef std::future<SetFaceCoverOutcome> SetFaceCoverOutcomeCallable;
|
||||
typedef Outcome<Error, Model::SetFaceCoverResult> SetFaceCoverOutcome;
|
||||
typedef std::future<SetFaceCoverOutcome> SetFaceCoverOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::SetFaceCoverRequest&, const SetFaceCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetFaceCoverAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePhotoResult> CreatePhotoOutcome;
|
||||
typedef std::future<CreatePhotoOutcome> CreatePhotoOutcomeCallable;
|
||||
typedef Outcome<Error, Model::CreatePhotoResult> CreatePhotoOutcome;
|
||||
typedef std::future<CreatePhotoOutcome> CreatePhotoOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::CreatePhotoRequest&, const CreatePhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePhotoAsyncHandler;
|
||||
typedef Outcome<Error, Model::MoveAlbumPhotosResult> MoveAlbumPhotosOutcome;
|
||||
typedef std::future<MoveAlbumPhotosOutcome> MoveAlbumPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::MoveAlbumPhotosResult> MoveAlbumPhotosOutcome;
|
||||
typedef std::future<MoveAlbumPhotosOutcome> MoveAlbumPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::MoveAlbumPhotosRequest&, const MoveAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveAlbumPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::EditEventResult> EditEventOutcome;
|
||||
typedef std::future<EditEventOutcome> EditEventOutcomeCallable;
|
||||
typedef Outcome<Error, Model::EditEventResult> EditEventOutcome;
|
||||
typedef std::future<EditEventOutcome> EditEventOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::EditEventRequest&, const EditEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditEventAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDownloadUrlResult> GetDownloadUrlOutcome;
|
||||
typedef std::future<GetDownloadUrlOutcome> GetDownloadUrlOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetDownloadUrlResult> GetDownloadUrlOutcome;
|
||||
typedef std::future<GetDownloadUrlOutcome> GetDownloadUrlOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetDownloadUrlRequest&, const GetDownloadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDownloadUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAlbumResult> CreateAlbumOutcome;
|
||||
typedef std::future<CreateAlbumOutcome> CreateAlbumOutcomeCallable;
|
||||
typedef Outcome<Error, Model::CreateAlbumResult> CreateAlbumOutcome;
|
||||
typedef std::future<CreateAlbumOutcome> CreateAlbumOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::CreateAlbumRequest&, const CreateAlbumOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlbumAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhotoTagsResult> ListPhotoTagsOutcome;
|
||||
typedef std::future<ListPhotoTagsOutcome> ListPhotoTagsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListPhotoTagsResult> ListPhotoTagsOutcome;
|
||||
typedef std::future<ListPhotoTagsOutcome> ListPhotoTagsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoTagsRequest&, const ListPhotoTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::LikePhotoResult> LikePhotoOutcome;
|
||||
typedef std::future<LikePhotoOutcome> LikePhotoOutcomeCallable;
|
||||
typedef Outcome<Error, Model::LikePhotoResult> LikePhotoOutcome;
|
||||
typedef std::future<LikePhotoOutcome> LikePhotoOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::LikePhotoRequest&, const LikePhotoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LikePhotoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhotoStoresResult> ListPhotoStoresOutcome;
|
||||
typedef std::future<ListPhotoStoresOutcome> ListPhotoStoresOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListPhotoStoresResult> ListPhotoStoresOutcome;
|
||||
typedef std::future<ListPhotoStoresOutcome> ListPhotoStoresOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListPhotoStoresRequest&, const ListPhotoStoresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoStoresAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAlbumsByNamesResult> GetAlbumsByNamesOutcome;
|
||||
typedef std::future<GetAlbumsByNamesOutcome> GetAlbumsByNamesOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetAlbumsByNamesResult> GetAlbumsByNamesOutcome;
|
||||
typedef std::future<GetAlbumsByNamesOutcome> GetAlbumsByNamesOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetAlbumsByNamesRequest&, const GetAlbumsByNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAlbumsByNamesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPublicAccessUrlsResult> GetPublicAccessUrlsOutcome;
|
||||
typedef std::future<GetPublicAccessUrlsOutcome> GetPublicAccessUrlsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::GetPublicAccessUrlsResult> GetPublicAccessUrlsOutcome;
|
||||
typedef std::future<GetPublicAccessUrlsOutcome> GetPublicAccessUrlsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::GetPublicAccessUrlsRequest&, const GetPublicAccessUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPublicAccessUrlsAsyncHandler;
|
||||
typedef Outcome<Error, Model::EditPhotosResult> EditPhotosOutcome;
|
||||
typedef std::future<EditPhotosOutcome> EditPhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::EditPhotosResult> EditPhotosOutcome;
|
||||
typedef std::future<EditPhotosOutcome> EditPhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::EditPhotosRequest&, const EditPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPhotosAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetAlbumCoverResult> SetAlbumCoverOutcome;
|
||||
typedef std::future<SetAlbumCoverOutcome> SetAlbumCoverOutcomeCallable;
|
||||
typedef Outcome<Error, Model::SetAlbumCoverResult> SetAlbumCoverOutcome;
|
||||
typedef std::future<SetAlbumCoverOutcome> SetAlbumCoverOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::SetAlbumCoverRequest&, const SetAlbumCoverOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetAlbumCoverAsyncHandler;
|
||||
typedef Outcome<Error, Model::RenameFaceResult> RenameFaceOutcome;
|
||||
typedef std::future<RenameFaceOutcome> RenameFaceOutcomeCallable;
|
||||
typedef Outcome<Error, Model::RenameFaceResult> RenameFaceOutcome;
|
||||
typedef std::future<RenameFaceOutcome> RenameFaceOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::RenameFaceRequest&, const RenameFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RenameFaceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListMomentsResult> ListMomentsOutcome;
|
||||
typedef std::future<ListMomentsOutcome> ListMomentsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListMomentsResult> ListMomentsOutcome;
|
||||
typedef std::future<ListMomentsOutcome> ListMomentsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListMomentsRequest&, const ListMomentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListMomentsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
|
||||
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListTagsResult> ListTagsOutcome;
|
||||
typedef std::future<ListTagsOutcome> ListTagsOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListTagsRequest&, const ListTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListFacePhotosResult> ListFacePhotosOutcome;
|
||||
typedef std::future<ListFacePhotosOutcome> ListFacePhotosOutcomeCallable;
|
||||
typedef Outcome<Error, Model::ListFacePhotosResult> ListFacePhotosOutcome;
|
||||
typedef std::future<ListFacePhotosOutcome> ListFacePhotosOutcomeCallable;
|
||||
typedef std::function<void(const CloudPhotoClient*, const Model::ListFacePhotosRequest&, const ListFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListFacePhotosAsyncHandler;
|
||||
|
||||
CloudPhotoClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CloudPhotoClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CloudPhotoClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CloudPhotoClient();
|
||||
RemoveFacePhotosOutcome removeFacePhotos(const Model::RemoveFacePhotosRequest &request)const;
|
||||
void removeFacePhotosAsync(const Model::RemoveFacePhotosRequest& request, const RemoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveFacePhotosOutcomeCallable removeFacePhotosCallable(const Model::RemoveFacePhotosRequest& request) const;
|
||||
ReactivatePhotosOutcome reactivatePhotos(const Model::ReactivatePhotosRequest &request)const;
|
||||
void reactivatePhotosAsync(const Model::ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReactivatePhotosOutcomeCallable reactivatePhotosCallable(const Model::ReactivatePhotosRequest& request) const;
|
||||
GetQuotaOutcome getQuota(const Model::GetQuotaRequest &request)const;
|
||||
void getQuotaAsync(const Model::GetQuotaRequest& request, const GetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetQuotaOutcomeCallable getQuotaCallable(const Model::GetQuotaRequest& request) const;
|
||||
GetThumbnailsOutcome getThumbnails(const Model::GetThumbnailsRequest &request)const;
|
||||
void getThumbnailsAsync(const Model::GetThumbnailsRequest& request, const GetThumbnailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThumbnailsOutcomeCallable getThumbnailsCallable(const Model::GetThumbnailsRequest& request) const;
|
||||
DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const;
|
||||
void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const;
|
||||
AddAlbumPhotosOutcome addAlbumPhotos(const Model::AddAlbumPhotosRequest &request)const;
|
||||
void addAlbumPhotosAsync(const Model::AddAlbumPhotosRequest& request, const AddAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddAlbumPhotosOutcomeCallable addAlbumPhotosCallable(const Model::AddAlbumPhotosRequest& request) const;
|
||||
ListFacesOutcome listFaces(const Model::ListFacesRequest &request)const;
|
||||
void listFacesAsync(const Model::ListFacesRequest& request, const ListFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFacesOutcomeCallable listFacesCallable(const Model::ListFacesRequest& request) const;
|
||||
MoveFacePhotosOutcome moveFacePhotos(const Model::MoveFacePhotosRequest &request)const;
|
||||
void moveFacePhotosAsync(const Model::MoveFacePhotosRequest& request, const MoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveFacePhotosOutcomeCallable moveFacePhotosCallable(const Model::MoveFacePhotosRequest& request) const;
|
||||
DeleteEventOutcome deleteEvent(const Model::DeleteEventRequest &request)const;
|
||||
void deleteEventAsync(const Model::DeleteEventRequest& request, const DeleteEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEventOutcomeCallable deleteEventCallable(const Model::DeleteEventRequest& request) const;
|
||||
ListPhotosOutcome listPhotos(const Model::ListPhotosRequest &request)const;
|
||||
void listPhotosAsync(const Model::ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotosOutcomeCallable listPhotosCallable(const Model::ListPhotosRequest& request) const;
|
||||
RegisterTagOutcome registerTag(const Model::RegisterTagRequest &request)const;
|
||||
void registerTagAsync(const Model::RegisterTagRequest& request, const RegisterTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterTagOutcomeCallable registerTagCallable(const Model::RegisterTagRequest& request) const;
|
||||
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
|
||||
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
|
||||
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
|
||||
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
|
||||
MergeFacesOutcome mergeFaces(const Model::MergeFacesRequest &request)const;
|
||||
void mergeFacesAsync(const Model::MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MergeFacesOutcomeCallable mergeFacesCallable(const Model::MergeFacesRequest& request) const;
|
||||
GetPhotosByMd5sOutcome getPhotosByMd5s(const Model::GetPhotosByMd5sRequest &request)const;
|
||||
void getPhotosByMd5sAsync(const Model::GetPhotosByMd5sRequest& request, const GetPhotosByMd5sAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhotosByMd5sOutcomeCallable getPhotosByMd5sCallable(const Model::GetPhotosByMd5sRequest& request) const;
|
||||
CreateTransactionOutcome createTransaction(const Model::CreateTransactionRequest &request)const;
|
||||
void createTransactionAsync(const Model::CreateTransactionRequest& request, const CreateTransactionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransactionOutcomeCallable createTransactionCallable(const Model::CreateTransactionRequest& request) const;
|
||||
InactivatePhotosOutcome inactivatePhotos(const Model::InactivatePhotosRequest &request)const;
|
||||
void inactivatePhotosAsync(const Model::InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InactivatePhotosOutcomeCallable inactivatePhotosCallable(const Model::InactivatePhotosRequest& request) const;
|
||||
CreatePhotoStoreOutcome createPhotoStore(const Model::CreatePhotoStoreRequest &request)const;
|
||||
void createPhotoStoreAsync(const Model::CreatePhotoStoreRequest& request, const CreatePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePhotoStoreOutcomeCallable createPhotoStoreCallable(const Model::CreatePhotoStoreRequest& request) const;
|
||||
TagPhotoOutcome tagPhoto(const Model::TagPhotoRequest &request)const;
|
||||
void tagPhotoAsync(const Model::TagPhotoRequest& request, const TagPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagPhotoOutcomeCallable tagPhotoCallable(const Model::TagPhotoRequest& request) const;
|
||||
GetLibraryOutcome getLibrary(const Model::GetLibraryRequest &request)const;
|
||||
void getLibraryAsync(const Model::GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLibraryOutcomeCallable getLibraryCallable(const Model::GetLibraryRequest& request) const;
|
||||
SetQuotaOutcome setQuota(const Model::SetQuotaRequest &request)const;
|
||||
void setQuotaAsync(const Model::SetQuotaRequest& request, const SetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetQuotaOutcomeCallable setQuotaCallable(const Model::SetQuotaRequest& request) const;
|
||||
ListAlbumPhotosOutcome listAlbumPhotos(const Model::ListAlbumPhotosRequest &request)const;
|
||||
void listAlbumPhotosAsync(const Model::ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlbumPhotosOutcomeCallable listAlbumPhotosCallable(const Model::ListAlbumPhotosRequest& request) const;
|
||||
RemoveAlbumPhotosOutcome removeAlbumPhotos(const Model::RemoveAlbumPhotosRequest &request)const;
|
||||
void removeAlbumPhotosAsync(const Model::RemoveAlbumPhotosRequest& request, const RemoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveAlbumPhotosOutcomeCallable removeAlbumPhotosCallable(const Model::RemoveAlbumPhotosRequest& request) const;
|
||||
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
|
||||
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
|
||||
ListPhotoFacesOutcome listPhotoFaces(const Model::ListPhotoFacesRequest &request)const;
|
||||
void listPhotoFacesAsync(const Model::ListPhotoFacesRequest& request, const ListPhotoFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotoFacesOutcomeCallable listPhotoFacesCallable(const Model::ListPhotoFacesRequest& request) const;
|
||||
RenameAlbumOutcome renameAlbum(const Model::RenameAlbumRequest &request)const;
|
||||
void renameAlbumAsync(const Model::RenameAlbumRequest& request, const RenameAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameAlbumOutcomeCallable renameAlbumCallable(const Model::RenameAlbumRequest& request) const;
|
||||
ActivatePhotosOutcome activatePhotos(const Model::ActivatePhotosRequest &request)const;
|
||||
void activatePhotosAsync(const Model::ActivatePhotosRequest& request, const ActivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActivatePhotosOutcomeCallable activatePhotosCallable(const Model::ActivatePhotosRequest& request) const;
|
||||
GetPrivateAccessUrlsOutcome getPrivateAccessUrls(const Model::GetPrivateAccessUrlsRequest &request)const;
|
||||
void getPrivateAccessUrlsAsync(const Model::GetPrivateAccessUrlsRequest& request, const GetPrivateAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPrivateAccessUrlsOutcomeCallable getPrivateAccessUrlsCallable(const Model::GetPrivateAccessUrlsRequest& request) const;
|
||||
GetSimilarPhotosOutcome getSimilarPhotos(const Model::GetSimilarPhotosRequest &request)const;
|
||||
void getSimilarPhotosAsync(const Model::GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSimilarPhotosOutcomeCallable getSimilarPhotosCallable(const Model::GetSimilarPhotosRequest& request) const;
|
||||
ListEventsOutcome listEvents(const Model::ListEventsRequest &request)const;
|
||||
void listEventsAsync(const Model::ListEventsRequest& request, const ListEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEventsOutcomeCallable listEventsCallable(const Model::ListEventsRequest& request) const;
|
||||
GetVideoCoverOutcome getVideoCover(const Model::GetVideoCoverRequest &request)const;
|
||||
void getVideoCoverAsync(const Model::GetVideoCoverRequest& request, const GetVideoCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVideoCoverOutcomeCallable getVideoCoverCallable(const Model::GetVideoCoverRequest& request) const;
|
||||
GetFramedPhotoUrlsOutcome getFramedPhotoUrls(const Model::GetFramedPhotoUrlsRequest &request)const;
|
||||
void getFramedPhotoUrlsAsync(const Model::GetFramedPhotoUrlsRequest& request, const GetFramedPhotoUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetFramedPhotoUrlsOutcomeCallable getFramedPhotoUrlsCallable(const Model::GetFramedPhotoUrlsRequest& request) const;
|
||||
GetEventOutcome getEvent(const Model::GetEventRequest &request)const;
|
||||
void getEventAsync(const Model::GetEventRequest& request, const GetEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEventOutcomeCallable getEventCallable(const Model::GetEventRequest& request) const;
|
||||
SetMeOutcome setMe(const Model::SetMeRequest &request)const;
|
||||
void setMeAsync(const Model::SetMeRequest& request, const SetMeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetMeOutcomeCallable setMeCallable(const Model::SetMeRequest& request) const;
|
||||
ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const;
|
||||
void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const;
|
||||
DeleteAlbumsOutcome deleteAlbums(const Model::DeleteAlbumsRequest &request)const;
|
||||
void deleteAlbumsAsync(const Model::DeleteAlbumsRequest& request, const DeleteAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlbumsOutcomeCallable deleteAlbumsCallable(const Model::DeleteAlbumsRequest& request) const;
|
||||
GetDownloadUrlsOutcome getDownloadUrls(const Model::GetDownloadUrlsRequest &request)const;
|
||||
void getDownloadUrlsAsync(const Model::GetDownloadUrlsRequest& request, const GetDownloadUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDownloadUrlsOutcomeCallable getDownloadUrlsCallable(const Model::GetDownloadUrlsRequest& request) const;
|
||||
GetPhotosOutcome getPhotos(const Model::GetPhotosRequest &request)const;
|
||||
void getPhotosAsync(const Model::GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhotosOutcomeCallable getPhotosCallable(const Model::GetPhotosRequest& request) const;
|
||||
RegisterPhotoOutcome registerPhoto(const Model::RegisterPhotoRequest &request)const;
|
||||
void registerPhotoAsync(const Model::RegisterPhotoRequest& request, const RegisterPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterPhotoOutcomeCallable registerPhotoCallable(const Model::RegisterPhotoRequest& request) const;
|
||||
EditPhotoStoreOutcome editPhotoStore(const Model::EditPhotoStoreRequest &request)const;
|
||||
void editPhotoStoreAsync(const Model::EditPhotoStoreRequest& request, const EditPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditPhotoStoreOutcomeCallable editPhotoStoreCallable(const Model::EditPhotoStoreRequest& request) const;
|
||||
ListTimeLinesOutcome listTimeLines(const Model::ListTimeLinesRequest &request)const;
|
||||
void listTimeLinesAsync(const Model::ListTimeLinesRequest& request, const ListTimeLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTimeLinesOutcomeCallable listTimeLinesCallable(const Model::ListTimeLinesRequest& request) const;
|
||||
SearchPhotosOutcome searchPhotos(const Model::SearchPhotosRequest &request)const;
|
||||
void searchPhotosAsync(const Model::SearchPhotosRequest& request, const SearchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchPhotosOutcomeCallable searchPhotosCallable(const Model::SearchPhotosRequest& request) const;
|
||||
ToggleFeaturesOutcome toggleFeatures(const Model::ToggleFeaturesRequest &request)const;
|
||||
void toggleFeaturesAsync(const Model::ToggleFeaturesRequest& request, const ToggleFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ToggleFeaturesOutcomeCallable toggleFeaturesCallable(const Model::ToggleFeaturesRequest& request) const;
|
||||
ListRegisteredTagsOutcome listRegisteredTags(const Model::ListRegisteredTagsRequest &request)const;
|
||||
void listRegisteredTagsAsync(const Model::ListRegisteredTagsRequest& request, const ListRegisteredTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRegisteredTagsOutcomeCallable listRegisteredTagsCallable(const Model::ListRegisteredTagsRequest& request) const;
|
||||
DeletePhotoStoreOutcome deletePhotoStore(const Model::DeletePhotoStoreRequest &request)const;
|
||||
void deletePhotoStoreAsync(const Model::DeletePhotoStoreRequest& request, const DeletePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePhotoStoreOutcomeCallable deletePhotoStoreCallable(const Model::DeletePhotoStoreRequest& request) const;
|
||||
CreateEventOutcome createEvent(const Model::CreateEventRequest &request)const;
|
||||
void createEventAsync(const Model::CreateEventRequest& request, const CreateEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEventOutcomeCallable createEventCallable(const Model::CreateEventRequest& request) const;
|
||||
GetPhotoStoreOutcome getPhotoStore(const Model::GetPhotoStoreRequest &request)const;
|
||||
void getPhotoStoreAsync(const Model::GetPhotoStoreRequest& request, const GetPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhotoStoreOutcomeCallable getPhotoStoreCallable(const Model::GetPhotoStoreRequest& request) const;
|
||||
ListMomentPhotosOutcome listMomentPhotos(const Model::ListMomentPhotosRequest &request)const;
|
||||
void listMomentPhotosAsync(const Model::ListMomentPhotosRequest& request, const ListMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMomentPhotosOutcomeCallable listMomentPhotosCallable(const Model::ListMomentPhotosRequest& request) const;
|
||||
GetThumbnailOutcome getThumbnail(const Model::GetThumbnailRequest &request)const;
|
||||
void getThumbnailAsync(const Model::GetThumbnailRequest& request, const GetThumbnailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThumbnailOutcomeCallable getThumbnailCallable(const Model::GetThumbnailRequest& request) const;
|
||||
SetFaceCoverOutcome setFaceCover(const Model::SetFaceCoverRequest &request)const;
|
||||
void setFaceCoverAsync(const Model::SetFaceCoverRequest& request, const SetFaceCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetFaceCoverOutcomeCallable setFaceCoverCallable(const Model::SetFaceCoverRequest& request) const;
|
||||
CreatePhotoOutcome createPhoto(const Model::CreatePhotoRequest &request)const;
|
||||
void createPhotoAsync(const Model::CreatePhotoRequest& request, const CreatePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePhotoOutcomeCallable createPhotoCallable(const Model::CreatePhotoRequest& request) const;
|
||||
MoveAlbumPhotosOutcome moveAlbumPhotos(const Model::MoveAlbumPhotosRequest &request)const;
|
||||
void moveAlbumPhotosAsync(const Model::MoveAlbumPhotosRequest& request, const MoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveAlbumPhotosOutcomeCallable moveAlbumPhotosCallable(const Model::MoveAlbumPhotosRequest& request) const;
|
||||
EditEventOutcome editEvent(const Model::EditEventRequest &request)const;
|
||||
void editEventAsync(const Model::EditEventRequest& request, const EditEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditEventOutcomeCallable editEventCallable(const Model::EditEventRequest& request) const;
|
||||
GetDownloadUrlOutcome getDownloadUrl(const Model::GetDownloadUrlRequest &request)const;
|
||||
void getDownloadUrlAsync(const Model::GetDownloadUrlRequest& request, const GetDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDownloadUrlOutcomeCallable getDownloadUrlCallable(const Model::GetDownloadUrlRequest& request) const;
|
||||
CreateAlbumOutcome createAlbum(const Model::CreateAlbumRequest &request)const;
|
||||
void createAlbumAsync(const Model::CreateAlbumRequest& request, const CreateAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAlbumOutcomeCallable createAlbumCallable(const Model::CreateAlbumRequest& request) const;
|
||||
ListPhotoTagsOutcome listPhotoTags(const Model::ListPhotoTagsRequest &request)const;
|
||||
void listPhotoTagsAsync(const Model::ListPhotoTagsRequest& request, const ListPhotoTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotoTagsOutcomeCallable listPhotoTagsCallable(const Model::ListPhotoTagsRequest& request) const;
|
||||
LikePhotoOutcome likePhoto(const Model::LikePhotoRequest &request)const;
|
||||
void likePhotoAsync(const Model::LikePhotoRequest& request, const LikePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LikePhotoOutcomeCallable likePhotoCallable(const Model::LikePhotoRequest& request) const;
|
||||
ListPhotoStoresOutcome listPhotoStores(const Model::ListPhotoStoresRequest &request)const;
|
||||
void listPhotoStoresAsync(const Model::ListPhotoStoresRequest& request, const ListPhotoStoresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotoStoresOutcomeCallable listPhotoStoresCallable(const Model::ListPhotoStoresRequest& request) const;
|
||||
GetAlbumsByNamesOutcome getAlbumsByNames(const Model::GetAlbumsByNamesRequest &request)const;
|
||||
void getAlbumsByNamesAsync(const Model::GetAlbumsByNamesRequest& request, const GetAlbumsByNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAlbumsByNamesOutcomeCallable getAlbumsByNamesCallable(const Model::GetAlbumsByNamesRequest& request) const;
|
||||
GetPublicAccessUrlsOutcome getPublicAccessUrls(const Model::GetPublicAccessUrlsRequest &request)const;
|
||||
void getPublicAccessUrlsAsync(const Model::GetPublicAccessUrlsRequest& request, const GetPublicAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPublicAccessUrlsOutcomeCallable getPublicAccessUrlsCallable(const Model::GetPublicAccessUrlsRequest& request) const;
|
||||
EditPhotosOutcome editPhotos(const Model::EditPhotosRequest &request)const;
|
||||
void editPhotosAsync(const Model::EditPhotosRequest& request, const EditPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditPhotosOutcomeCallable editPhotosCallable(const Model::EditPhotosRequest& request) const;
|
||||
SetAlbumCoverOutcome setAlbumCover(const Model::SetAlbumCoverRequest &request)const;
|
||||
void setAlbumCoverAsync(const Model::SetAlbumCoverRequest& request, const SetAlbumCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetAlbumCoverOutcomeCallable setAlbumCoverCallable(const Model::SetAlbumCoverRequest& request) const;
|
||||
RenameFaceOutcome renameFace(const Model::RenameFaceRequest &request)const;
|
||||
void renameFaceAsync(const Model::RenameFaceRequest& request, const RenameFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameFaceOutcomeCallable renameFaceCallable(const Model::RenameFaceRequest& request) const;
|
||||
ListMomentsOutcome listMoments(const Model::ListMomentsRequest &request)const;
|
||||
void listMomentsAsync(const Model::ListMomentsRequest& request, const ListMomentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMomentsOutcomeCallable listMomentsCallable(const Model::ListMomentsRequest& request) const;
|
||||
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
|
||||
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
|
||||
ListFacePhotosOutcome listFacePhotos(const Model::ListFacePhotosRequest &request)const;
|
||||
void listFacePhotosAsync(const Model::ListFacePhotosRequest& request, const ListFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFacePhotosOutcomeCallable listFacePhotosCallable(const Model::ListFacePhotosRequest& request) const;
|
||||
RemoveFacePhotosOutcome removeFacePhotos(const Model::RemoveFacePhotosRequest &request)const;
|
||||
void removeFacePhotosAsync(const Model::RemoveFacePhotosRequest& request, const RemoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveFacePhotosOutcomeCallable removeFacePhotosCallable(const Model::RemoveFacePhotosRequest& request) const;
|
||||
ReactivatePhotosOutcome reactivatePhotos(const Model::ReactivatePhotosRequest &request)const;
|
||||
void reactivatePhotosAsync(const Model::ReactivatePhotosRequest& request, const ReactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReactivatePhotosOutcomeCallable reactivatePhotosCallable(const Model::ReactivatePhotosRequest& request) const;
|
||||
GetQuotaOutcome getQuota(const Model::GetQuotaRequest &request)const;
|
||||
void getQuotaAsync(const Model::GetQuotaRequest& request, const GetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetQuotaOutcomeCallable getQuotaCallable(const Model::GetQuotaRequest& request) const;
|
||||
GetThumbnailsOutcome getThumbnails(const Model::GetThumbnailsRequest &request)const;
|
||||
void getThumbnailsAsync(const Model::GetThumbnailsRequest& request, const GetThumbnailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThumbnailsOutcomeCallable getThumbnailsCallable(const Model::GetThumbnailsRequest& request) const;
|
||||
DeleteFacesOutcome deleteFaces(const Model::DeleteFacesRequest &request)const;
|
||||
void deleteFacesAsync(const Model::DeleteFacesRequest& request, const DeleteFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteFacesOutcomeCallable deleteFacesCallable(const Model::DeleteFacesRequest& request) const;
|
||||
AddAlbumPhotosOutcome addAlbumPhotos(const Model::AddAlbumPhotosRequest &request)const;
|
||||
void addAlbumPhotosAsync(const Model::AddAlbumPhotosRequest& request, const AddAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddAlbumPhotosOutcomeCallable addAlbumPhotosCallable(const Model::AddAlbumPhotosRequest& request) const;
|
||||
ListFacesOutcome listFaces(const Model::ListFacesRequest &request)const;
|
||||
void listFacesAsync(const Model::ListFacesRequest& request, const ListFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFacesOutcomeCallable listFacesCallable(const Model::ListFacesRequest& request) const;
|
||||
MoveFacePhotosOutcome moveFacePhotos(const Model::MoveFacePhotosRequest &request)const;
|
||||
void moveFacePhotosAsync(const Model::MoveFacePhotosRequest& request, const MoveFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveFacePhotosOutcomeCallable moveFacePhotosCallable(const Model::MoveFacePhotosRequest& request) const;
|
||||
DeleteEventOutcome deleteEvent(const Model::DeleteEventRequest &request)const;
|
||||
void deleteEventAsync(const Model::DeleteEventRequest& request, const DeleteEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteEventOutcomeCallable deleteEventCallable(const Model::DeleteEventRequest& request) const;
|
||||
ListPhotosOutcome listPhotos(const Model::ListPhotosRequest &request)const;
|
||||
void listPhotosAsync(const Model::ListPhotosRequest& request, const ListPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotosOutcomeCallable listPhotosCallable(const Model::ListPhotosRequest& request) const;
|
||||
RegisterTagOutcome registerTag(const Model::RegisterTagRequest &request)const;
|
||||
void registerTagAsync(const Model::RegisterTagRequest& request, const RegisterTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterTagOutcomeCallable registerTagCallable(const Model::RegisterTagRequest& request) const;
|
||||
ListTimeLinePhotosOutcome listTimeLinePhotos(const Model::ListTimeLinePhotosRequest &request)const;
|
||||
void listTimeLinePhotosAsync(const Model::ListTimeLinePhotosRequest& request, const ListTimeLinePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTimeLinePhotosOutcomeCallable listTimeLinePhotosCallable(const Model::ListTimeLinePhotosRequest& request) const;
|
||||
DeletePhotosOutcome deletePhotos(const Model::DeletePhotosRequest &request)const;
|
||||
void deletePhotosAsync(const Model::DeletePhotosRequest& request, const DeletePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePhotosOutcomeCallable deletePhotosCallable(const Model::DeletePhotosRequest& request) const;
|
||||
MergeFacesOutcome mergeFaces(const Model::MergeFacesRequest &request)const;
|
||||
void mergeFacesAsync(const Model::MergeFacesRequest& request, const MergeFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MergeFacesOutcomeCallable mergeFacesCallable(const Model::MergeFacesRequest& request) const;
|
||||
GetPhotosByMd5sOutcome getPhotosByMd5s(const Model::GetPhotosByMd5sRequest &request)const;
|
||||
void getPhotosByMd5sAsync(const Model::GetPhotosByMd5sRequest& request, const GetPhotosByMd5sAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhotosByMd5sOutcomeCallable getPhotosByMd5sCallable(const Model::GetPhotosByMd5sRequest& request) const;
|
||||
FetchAlbumTagPhotosOutcome fetchAlbumTagPhotos(const Model::FetchAlbumTagPhotosRequest &request)const;
|
||||
void fetchAlbumTagPhotosAsync(const Model::FetchAlbumTagPhotosRequest& request, const FetchAlbumTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FetchAlbumTagPhotosOutcomeCallable fetchAlbumTagPhotosCallable(const Model::FetchAlbumTagPhotosRequest& request) const;
|
||||
CreateTransactionOutcome createTransaction(const Model::CreateTransactionRequest &request)const;
|
||||
void createTransactionAsync(const Model::CreateTransactionRequest& request, const CreateTransactionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateTransactionOutcomeCallable createTransactionCallable(const Model::CreateTransactionRequest& request) const;
|
||||
InactivatePhotosOutcome inactivatePhotos(const Model::InactivatePhotosRequest &request)const;
|
||||
void inactivatePhotosAsync(const Model::InactivatePhotosRequest& request, const InactivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
InactivatePhotosOutcomeCallable inactivatePhotosCallable(const Model::InactivatePhotosRequest& request) const;
|
||||
CreatePhotoStoreOutcome createPhotoStore(const Model::CreatePhotoStoreRequest &request)const;
|
||||
void createPhotoStoreAsync(const Model::CreatePhotoStoreRequest& request, const CreatePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePhotoStoreOutcomeCallable createPhotoStoreCallable(const Model::CreatePhotoStoreRequest& request) const;
|
||||
TagPhotoOutcome tagPhoto(const Model::TagPhotoRequest &request)const;
|
||||
void tagPhotoAsync(const Model::TagPhotoRequest& request, const TagPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagPhotoOutcomeCallable tagPhotoCallable(const Model::TagPhotoRequest& request) const;
|
||||
GetLibraryOutcome getLibrary(const Model::GetLibraryRequest &request)const;
|
||||
void getLibraryAsync(const Model::GetLibraryRequest& request, const GetLibraryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetLibraryOutcomeCallable getLibraryCallable(const Model::GetLibraryRequest& request) const;
|
||||
SetQuotaOutcome setQuota(const Model::SetQuotaRequest &request)const;
|
||||
void setQuotaAsync(const Model::SetQuotaRequest& request, const SetQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetQuotaOutcomeCallable setQuotaCallable(const Model::SetQuotaRequest& request) const;
|
||||
ListAlbumPhotosOutcome listAlbumPhotos(const Model::ListAlbumPhotosRequest &request)const;
|
||||
void listAlbumPhotosAsync(const Model::ListAlbumPhotosRequest& request, const ListAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlbumPhotosOutcomeCallable listAlbumPhotosCallable(const Model::ListAlbumPhotosRequest& request) const;
|
||||
RemoveAlbumPhotosOutcome removeAlbumPhotos(const Model::RemoveAlbumPhotosRequest &request)const;
|
||||
void removeAlbumPhotosAsync(const Model::RemoveAlbumPhotosRequest& request, const RemoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveAlbumPhotosOutcomeCallable removeAlbumPhotosCallable(const Model::RemoveAlbumPhotosRequest& request) const;
|
||||
ListAlbumsOutcome listAlbums(const Model::ListAlbumsRequest &request)const;
|
||||
void listAlbumsAsync(const Model::ListAlbumsRequest& request, const ListAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAlbumsOutcomeCallable listAlbumsCallable(const Model::ListAlbumsRequest& request) const;
|
||||
ListPhotoFacesOutcome listPhotoFaces(const Model::ListPhotoFacesRequest &request)const;
|
||||
void listPhotoFacesAsync(const Model::ListPhotoFacesRequest& request, const ListPhotoFacesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotoFacesOutcomeCallable listPhotoFacesCallable(const Model::ListPhotoFacesRequest& request) const;
|
||||
RenameAlbumOutcome renameAlbum(const Model::RenameAlbumRequest &request)const;
|
||||
void renameAlbumAsync(const Model::RenameAlbumRequest& request, const RenameAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameAlbumOutcomeCallable renameAlbumCallable(const Model::RenameAlbumRequest& request) const;
|
||||
ActivatePhotosOutcome activatePhotos(const Model::ActivatePhotosRequest &request)const;
|
||||
void activatePhotosAsync(const Model::ActivatePhotosRequest& request, const ActivatePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ActivatePhotosOutcomeCallable activatePhotosCallable(const Model::ActivatePhotosRequest& request) const;
|
||||
GetPrivateAccessUrlsOutcome getPrivateAccessUrls(const Model::GetPrivateAccessUrlsRequest &request)const;
|
||||
void getPrivateAccessUrlsAsync(const Model::GetPrivateAccessUrlsRequest& request, const GetPrivateAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPrivateAccessUrlsOutcomeCallable getPrivateAccessUrlsCallable(const Model::GetPrivateAccessUrlsRequest& request) const;
|
||||
GetSimilarPhotosOutcome getSimilarPhotos(const Model::GetSimilarPhotosRequest &request)const;
|
||||
void getSimilarPhotosAsync(const Model::GetSimilarPhotosRequest& request, const GetSimilarPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSimilarPhotosOutcomeCallable getSimilarPhotosCallable(const Model::GetSimilarPhotosRequest& request) const;
|
||||
ListEventsOutcome listEvents(const Model::ListEventsRequest &request)const;
|
||||
void listEventsAsync(const Model::ListEventsRequest& request, const ListEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListEventsOutcomeCallable listEventsCallable(const Model::ListEventsRequest& request) const;
|
||||
GetVideoCoverOutcome getVideoCover(const Model::GetVideoCoverRequest &request)const;
|
||||
void getVideoCoverAsync(const Model::GetVideoCoverRequest& request, const GetVideoCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVideoCoverOutcomeCallable getVideoCoverCallable(const Model::GetVideoCoverRequest& request) const;
|
||||
GetFramedPhotoUrlsOutcome getFramedPhotoUrls(const Model::GetFramedPhotoUrlsRequest &request)const;
|
||||
void getFramedPhotoUrlsAsync(const Model::GetFramedPhotoUrlsRequest& request, const GetFramedPhotoUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetFramedPhotoUrlsOutcomeCallable getFramedPhotoUrlsCallable(const Model::GetFramedPhotoUrlsRequest& request) const;
|
||||
GetEventOutcome getEvent(const Model::GetEventRequest &request)const;
|
||||
void getEventAsync(const Model::GetEventRequest& request, const GetEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEventOutcomeCallable getEventCallable(const Model::GetEventRequest& request) const;
|
||||
SetMeOutcome setMe(const Model::SetMeRequest &request)const;
|
||||
void setMeAsync(const Model::SetMeRequest& request, const SetMeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetMeOutcomeCallable setMeCallable(const Model::SetMeRequest& request) const;
|
||||
ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const;
|
||||
void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const;
|
||||
DeleteAlbumsOutcome deleteAlbums(const Model::DeleteAlbumsRequest &request)const;
|
||||
void deleteAlbumsAsync(const Model::DeleteAlbumsRequest& request, const DeleteAlbumsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAlbumsOutcomeCallable deleteAlbumsCallable(const Model::DeleteAlbumsRequest& request) const;
|
||||
GetDownloadUrlsOutcome getDownloadUrls(const Model::GetDownloadUrlsRequest &request)const;
|
||||
void getDownloadUrlsAsync(const Model::GetDownloadUrlsRequest& request, const GetDownloadUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDownloadUrlsOutcomeCallable getDownloadUrlsCallable(const Model::GetDownloadUrlsRequest& request) const;
|
||||
GetPhotosOutcome getPhotos(const Model::GetPhotosRequest &request)const;
|
||||
void getPhotosAsync(const Model::GetPhotosRequest& request, const GetPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhotosOutcomeCallable getPhotosCallable(const Model::GetPhotosRequest& request) const;
|
||||
RegisterPhotoOutcome registerPhoto(const Model::RegisterPhotoRequest &request)const;
|
||||
void registerPhotoAsync(const Model::RegisterPhotoRequest& request, const RegisterPhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RegisterPhotoOutcomeCallable registerPhotoCallable(const Model::RegisterPhotoRequest& request) const;
|
||||
EditPhotoStoreOutcome editPhotoStore(const Model::EditPhotoStoreRequest &request)const;
|
||||
void editPhotoStoreAsync(const Model::EditPhotoStoreRequest& request, const EditPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditPhotoStoreOutcomeCallable editPhotoStoreCallable(const Model::EditPhotoStoreRequest& request) const;
|
||||
ListTimeLinesOutcome listTimeLines(const Model::ListTimeLinesRequest &request)const;
|
||||
void listTimeLinesAsync(const Model::ListTimeLinesRequest& request, const ListTimeLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTimeLinesOutcomeCallable listTimeLinesCallable(const Model::ListTimeLinesRequest& request) const;
|
||||
SearchPhotosOutcome searchPhotos(const Model::SearchPhotosRequest &request)const;
|
||||
void searchPhotosAsync(const Model::SearchPhotosRequest& request, const SearchPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SearchPhotosOutcomeCallable searchPhotosCallable(const Model::SearchPhotosRequest& request) const;
|
||||
ToggleFeaturesOutcome toggleFeatures(const Model::ToggleFeaturesRequest &request)const;
|
||||
void toggleFeaturesAsync(const Model::ToggleFeaturesRequest& request, const ToggleFeaturesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ToggleFeaturesOutcomeCallable toggleFeaturesCallable(const Model::ToggleFeaturesRequest& request) const;
|
||||
ListRegisteredTagsOutcome listRegisteredTags(const Model::ListRegisteredTagsRequest &request)const;
|
||||
void listRegisteredTagsAsync(const Model::ListRegisteredTagsRequest& request, const ListRegisteredTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRegisteredTagsOutcomeCallable listRegisteredTagsCallable(const Model::ListRegisteredTagsRequest& request) const;
|
||||
DeletePhotoStoreOutcome deletePhotoStore(const Model::DeletePhotoStoreRequest &request)const;
|
||||
void deletePhotoStoreAsync(const Model::DeletePhotoStoreRequest& request, const DeletePhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeletePhotoStoreOutcomeCallable deletePhotoStoreCallable(const Model::DeletePhotoStoreRequest& request) const;
|
||||
CreateEventOutcome createEvent(const Model::CreateEventRequest &request)const;
|
||||
void createEventAsync(const Model::CreateEventRequest& request, const CreateEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateEventOutcomeCallable createEventCallable(const Model::CreateEventRequest& request) const;
|
||||
GetPhotoStoreOutcome getPhotoStore(const Model::GetPhotoStoreRequest &request)const;
|
||||
void getPhotoStoreAsync(const Model::GetPhotoStoreRequest& request, const GetPhotoStoreAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPhotoStoreOutcomeCallable getPhotoStoreCallable(const Model::GetPhotoStoreRequest& request) const;
|
||||
ListMomentPhotosOutcome listMomentPhotos(const Model::ListMomentPhotosRequest &request)const;
|
||||
void listMomentPhotosAsync(const Model::ListMomentPhotosRequest& request, const ListMomentPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMomentPhotosOutcomeCallable listMomentPhotosCallable(const Model::ListMomentPhotosRequest& request) const;
|
||||
GetThumbnailOutcome getThumbnail(const Model::GetThumbnailRequest &request)const;
|
||||
void getThumbnailAsync(const Model::GetThumbnailRequest& request, const GetThumbnailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetThumbnailOutcomeCallable getThumbnailCallable(const Model::GetThumbnailRequest& request) const;
|
||||
SetFaceCoverOutcome setFaceCover(const Model::SetFaceCoverRequest &request)const;
|
||||
void setFaceCoverAsync(const Model::SetFaceCoverRequest& request, const SetFaceCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetFaceCoverOutcomeCallable setFaceCoverCallable(const Model::SetFaceCoverRequest& request) const;
|
||||
CreatePhotoOutcome createPhoto(const Model::CreatePhotoRequest &request)const;
|
||||
void createPhotoAsync(const Model::CreatePhotoRequest& request, const CreatePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePhotoOutcomeCallable createPhotoCallable(const Model::CreatePhotoRequest& request) const;
|
||||
MoveAlbumPhotosOutcome moveAlbumPhotos(const Model::MoveAlbumPhotosRequest &request)const;
|
||||
void moveAlbumPhotosAsync(const Model::MoveAlbumPhotosRequest& request, const MoveAlbumPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MoveAlbumPhotosOutcomeCallable moveAlbumPhotosCallable(const Model::MoveAlbumPhotosRequest& request) const;
|
||||
EditEventOutcome editEvent(const Model::EditEventRequest &request)const;
|
||||
void editEventAsync(const Model::EditEventRequest& request, const EditEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditEventOutcomeCallable editEventCallable(const Model::EditEventRequest& request) const;
|
||||
GetDownloadUrlOutcome getDownloadUrl(const Model::GetDownloadUrlRequest &request)const;
|
||||
void getDownloadUrlAsync(const Model::GetDownloadUrlRequest& request, const GetDownloadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDownloadUrlOutcomeCallable getDownloadUrlCallable(const Model::GetDownloadUrlRequest& request) const;
|
||||
CreateAlbumOutcome createAlbum(const Model::CreateAlbumRequest &request)const;
|
||||
void createAlbumAsync(const Model::CreateAlbumRequest& request, const CreateAlbumAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAlbumOutcomeCallable createAlbumCallable(const Model::CreateAlbumRequest& request) const;
|
||||
ListPhotoTagsOutcome listPhotoTags(const Model::ListPhotoTagsRequest &request)const;
|
||||
void listPhotoTagsAsync(const Model::ListPhotoTagsRequest& request, const ListPhotoTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotoTagsOutcomeCallable listPhotoTagsCallable(const Model::ListPhotoTagsRequest& request) const;
|
||||
LikePhotoOutcome likePhoto(const Model::LikePhotoRequest &request)const;
|
||||
void likePhotoAsync(const Model::LikePhotoRequest& request, const LikePhotoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
LikePhotoOutcomeCallable likePhotoCallable(const Model::LikePhotoRequest& request) const;
|
||||
ListPhotoStoresOutcome listPhotoStores(const Model::ListPhotoStoresRequest &request)const;
|
||||
void listPhotoStoresAsync(const Model::ListPhotoStoresRequest& request, const ListPhotoStoresAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhotoStoresOutcomeCallable listPhotoStoresCallable(const Model::ListPhotoStoresRequest& request) const;
|
||||
GetAlbumsByNamesOutcome getAlbumsByNames(const Model::GetAlbumsByNamesRequest &request)const;
|
||||
void getAlbumsByNamesAsync(const Model::GetAlbumsByNamesRequest& request, const GetAlbumsByNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAlbumsByNamesOutcomeCallable getAlbumsByNamesCallable(const Model::GetAlbumsByNamesRequest& request) const;
|
||||
GetPublicAccessUrlsOutcome getPublicAccessUrls(const Model::GetPublicAccessUrlsRequest &request)const;
|
||||
void getPublicAccessUrlsAsync(const Model::GetPublicAccessUrlsRequest& request, const GetPublicAccessUrlsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPublicAccessUrlsOutcomeCallable getPublicAccessUrlsCallable(const Model::GetPublicAccessUrlsRequest& request) const;
|
||||
EditPhotosOutcome editPhotos(const Model::EditPhotosRequest &request)const;
|
||||
void editPhotosAsync(const Model::EditPhotosRequest& request, const EditPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EditPhotosOutcomeCallable editPhotosCallable(const Model::EditPhotosRequest& request) const;
|
||||
SetAlbumCoverOutcome setAlbumCover(const Model::SetAlbumCoverRequest &request)const;
|
||||
void setAlbumCoverAsync(const Model::SetAlbumCoverRequest& request, const SetAlbumCoverAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetAlbumCoverOutcomeCallable setAlbumCoverCallable(const Model::SetAlbumCoverRequest& request) const;
|
||||
RenameFaceOutcome renameFace(const Model::RenameFaceRequest &request)const;
|
||||
void renameFaceAsync(const Model::RenameFaceRequest& request, const RenameFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RenameFaceOutcomeCallable renameFaceCallable(const Model::RenameFaceRequest& request) const;
|
||||
ListMomentsOutcome listMoments(const Model::ListMomentsRequest &request)const;
|
||||
void listMomentsAsync(const Model::ListMomentsRequest& request, const ListMomentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListMomentsOutcomeCallable listMomentsCallable(const Model::ListMomentsRequest& request) const;
|
||||
ListTagsOutcome listTags(const Model::ListTagsRequest &request)const;
|
||||
void listTagsAsync(const Model::ListTagsRequest& request, const ListTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagsOutcomeCallable listTagsCallable(const Model::ListTagsRequest& request) const;
|
||||
ListFacePhotosOutcome listFacePhotos(const Model::ListFacePhotosRequest &request)const;
|
||||
void listFacePhotosAsync(const Model::ListFacePhotosRequest& request, const ListFacePhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListFacePhotosOutcomeCallable listFacePhotosCallable(const Model::ListFacePhotosRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ActivatePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
ActivatePhotosResult();
|
||||
explicit ActivatePhotosResult(const std::string &payload);
|
||||
~ActivatePhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT AddAlbumPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
AddAlbumPhotosResult();
|
||||
explicit AddAlbumPhotosResult(const std::string &payload);
|
||||
~AddAlbumPhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,50 +32,50 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateAlbumResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Album
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
std::vector<Cover> cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
struct Album
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
Cover cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
CreateAlbumResult();
|
||||
explicit CreateAlbumResult(const std::string &payload);
|
||||
~CreateAlbumResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Album> getAlbum()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Album getAlbum()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Album> album_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Album album_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
|
||||
|
||||
CreateEventResult();
|
||||
explicit CreateEventResult(const std::string &payload);
|
||||
~CreateEventResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Event> getEvent()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Event getEvent()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Event> event_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Event event_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
CreatePhotoRequest();
|
||||
~CreatePhotoRequest();
|
||||
|
||||
long getTakenAt()const;
|
||||
void setTakenAt(long takenAt);
|
||||
std::string getPhotoTitle()const;
|
||||
void setPhotoTitle(const std::string& photoTitle);
|
||||
std::string getLibraryId()const;
|
||||
@@ -55,6 +57,7 @@ namespace AlibabaCloud
|
||||
void setFileId(const std::string& fileId);
|
||||
|
||||
private:
|
||||
long takenAt_;
|
||||
std::string photoTitle_;
|
||||
std::string libraryId_;
|
||||
long shareExpireTime_;
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreatePhotoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
CreatePhotoResult();
|
||||
explicit CreatePhotoResult(const std::string &payload);
|
||||
~CreatePhotoResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Photo> getPhoto()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Photo getPhoto()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Photo> photo_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Photo photo_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
CreatePhotoStoreResult();
|
||||
explicit CreatePhotoStoreResult(const std::string &payload);
|
||||
~CreatePhotoStoreResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,38 +32,38 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateTransactionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Transaction
|
||||
{
|
||||
struct Upload
|
||||
{
|
||||
std::string stsToken;
|
||||
std::string ossEndpoint;
|
||||
std::string bucket;
|
||||
std::string accessKeyId;
|
||||
std::string accessKeySecret;
|
||||
std::string objectKey;
|
||||
std::string fileId;
|
||||
std::string sessionId;
|
||||
};
|
||||
std::vector<Upload> upload;
|
||||
};
|
||||
struct Transaction
|
||||
{
|
||||
struct Upload
|
||||
{
|
||||
std::string stsToken;
|
||||
std::string ossEndpoint;
|
||||
std::string bucket;
|
||||
std::string accessKeyId;
|
||||
std::string accessKeySecret;
|
||||
std::string objectKey;
|
||||
std::string fileId;
|
||||
std::string sessionId;
|
||||
};
|
||||
Upload upload;
|
||||
};
|
||||
|
||||
|
||||
CreateTransactionResult();
|
||||
explicit CreateTransactionResult(const std::string &payload);
|
||||
~CreateTransactionResult();
|
||||
std::string getAction()const;
|
||||
std::vector<Transaction> getTransaction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
Transaction getTransaction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::vector<Transaction> transaction_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
Transaction transaction_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteAlbumsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
DeleteAlbumsResult();
|
||||
explicit DeleteAlbumsResult(const std::string &payload);
|
||||
~DeleteAlbumsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
DeleteEventResult();
|
||||
explicit DeleteEventResult(const std::string &payload);
|
||||
~DeleteEventResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteFacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
DeleteFacesResult();
|
||||
explicit DeleteFacesResult(const std::string &payload);
|
||||
~DeleteFacesResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
DeletePhotoStoreResult();
|
||||
explicit DeletePhotoStoreResult(const std::string &payload);
|
||||
~DeletePhotoStoreResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeletePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
DeletePhotosResult();
|
||||
explicit DeletePhotosResult(const std::string &payload);
|
||||
~DeletePhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
|
||||
|
||||
EditEventResult();
|
||||
explicit EditEventResult(const std::string &payload);
|
||||
~EditEventResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Event> getEvent()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Event getEvent()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Event> event_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Event event_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
EditPhotoStoreResult();
|
||||
explicit EditPhotoStoreResult(const std::string &payload);
|
||||
~EditPhotoStoreResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
EditPhotosResult();
|
||||
explicit EditPhotosResult(const std::string &payload);
|
||||
~EditPhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CloudPhoto
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchAlbumTagPhotosRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
FetchAlbumTagPhotosRequest();
|
||||
~FetchAlbumTagPhotosRequest();
|
||||
|
||||
int getSize()const;
|
||||
void setSize(int size);
|
||||
long getTagId()const;
|
||||
void setTagId(long tagId);
|
||||
std::string getLibraryId()const;
|
||||
void setLibraryId(const std::string& libraryId);
|
||||
long getAlbumId()const;
|
||||
void setAlbumId(long albumId);
|
||||
std::string getStoreName()const;
|
||||
void setStoreName(const std::string& storeName);
|
||||
int getPage()const;
|
||||
void setPage(int page);
|
||||
|
||||
private:
|
||||
int size_;
|
||||
long tagId_;
|
||||
std::string libraryId_;
|
||||
long albumId_;
|
||||
std::string storeName_;
|
||||
int page_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSREQUEST_H_
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudphoto/CloudPhotoExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CloudPhoto
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT FetchAlbumTagPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
long mtime;
|
||||
};
|
||||
|
||||
|
||||
FetchAlbumTagPhotosResult();
|
||||
explicit FetchAlbumTagPhotosResult(const std::string &payload);
|
||||
~FetchAlbumTagPhotosResult();
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_FETCHALBUMTAGPHOTOSRESULT_H_
|
||||
@@ -32,49 +32,49 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetAlbumsByNamesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Album
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
std::vector<Cover> cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct Album
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
Cover cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetAlbumsByNamesResult();
|
||||
explicit GetAlbumsByNamesResult(const std::string &payload);
|
||||
~GetAlbumsByNamesResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Album> getAlbums()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Album> getAlbums()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Album> albums_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Album> albums_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
GetDownloadUrlResult();
|
||||
explicit GetDownloadUrlResult(const std::string &payload);
|
||||
~GetDownloadUrlResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getDownloadUrl()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getDownloadUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string downloadUrl_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string downloadUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetDownloadUrlsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string code;
|
||||
std::string downloadUrl;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string code;
|
||||
std::string downloadUrl;
|
||||
};
|
||||
|
||||
|
||||
GetDownloadUrlsResult();
|
||||
explicit GetDownloadUrlsResult(const std::string &payload);
|
||||
~GetDownloadUrlsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetEventResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
|
||||
|
||||
GetEventResult();
|
||||
explicit GetEventResult(const std::string &payload);
|
||||
~GetEventResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Event> getEvent()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Event getEvent()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Event> event_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Event event_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetFramedPhotoUrlsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string code;
|
||||
std::string framedPhotoUrl;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string code;
|
||||
std::string framedPhotoUrl;
|
||||
};
|
||||
|
||||
|
||||
GetFramedPhotoUrlsResult();
|
||||
explicit GetFramedPhotoUrlsResult(const std::string &payload);
|
||||
~GetFramedPhotoUrlsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,44 +32,44 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetLibraryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Library
|
||||
{
|
||||
struct Quota
|
||||
{
|
||||
long activeSize;
|
||||
long totalQuota;
|
||||
int facesCount;
|
||||
int photosCount;
|
||||
long totalTrashQuota;
|
||||
long inactiveSize;
|
||||
long usedQuota;
|
||||
int videosCount;
|
||||
};
|
||||
struct AutoCleanConfig
|
||||
{
|
||||
int autoCleanDays;
|
||||
bool autoCleanEnabled;
|
||||
};
|
||||
std::vector<Quota> quota;
|
||||
std::vector<AutoCleanConfig> autoCleanConfig;
|
||||
};
|
||||
struct Library
|
||||
{
|
||||
struct Quota
|
||||
{
|
||||
long activeSize;
|
||||
long totalQuota;
|
||||
int facesCount;
|
||||
int photosCount;
|
||||
long totalTrashQuota;
|
||||
long inactiveSize;
|
||||
long usedQuota;
|
||||
int videosCount;
|
||||
};
|
||||
struct AutoCleanConfig
|
||||
{
|
||||
int autoCleanDays;
|
||||
bool autoCleanEnabled;
|
||||
};
|
||||
Quota quota;
|
||||
AutoCleanConfig autoCleanConfig;
|
||||
};
|
||||
|
||||
|
||||
GetLibraryResult();
|
||||
explicit GetLibraryResult(const std::string &payload);
|
||||
~GetLibraryResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Library> getLibrary()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Library getLibrary()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Library> library_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Library library_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,44 +32,44 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotoStoreResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhotoStore
|
||||
{
|
||||
struct Bucket
|
||||
{
|
||||
std::string state;
|
||||
std::string region;
|
||||
std::string acl;
|
||||
std::string name;
|
||||
};
|
||||
int autoCleanDays;
|
||||
long defaultQuota;
|
||||
std::string idStr;
|
||||
long ctime;
|
||||
long mtime;
|
||||
long defaultTrashQuota;
|
||||
long id;
|
||||
bool autoCleanEnabled;
|
||||
std::vector<Bucket> buckets;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
struct PhotoStore
|
||||
{
|
||||
struct Bucket
|
||||
{
|
||||
std::string state;
|
||||
std::string region;
|
||||
std::string acl;
|
||||
std::string name;
|
||||
};
|
||||
int autoCleanDays;
|
||||
long defaultQuota;
|
||||
std::string idStr;
|
||||
long ctime;
|
||||
long mtime;
|
||||
long defaultTrashQuota;
|
||||
long id;
|
||||
bool autoCleanEnabled;
|
||||
std::vector<Bucket> buckets;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
GetPhotoStoreResult();
|
||||
explicit GetPhotoStoreResult(const std::string &payload);
|
||||
~GetPhotoStoreResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<PhotoStore> getPhotoStore()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
PhotoStore getPhotoStore()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<PhotoStore> photoStore_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
PhotoStore photoStore_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotosByMd5sResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
GetPhotosByMd5sResult();
|
||||
explicit GetPhotosByMd5sResult(const std::string &payload);
|
||||
~GetPhotosByMd5sResult();
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Photo> photos_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Photo> photos_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,44 +32,44 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long inactiveTime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long inactiveTime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
GetPhotosResult();
|
||||
explicit GetPhotosResult(const std::string &payload);
|
||||
~GetPhotosResult();
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Photo> photos_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Photo> photos_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPrivateAccessUrlsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string accessUrl;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string accessUrl;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
GetPrivateAccessUrlsResult();
|
||||
explicit GetPrivateAccessUrlsResult(const std::string &payload);
|
||||
~GetPrivateAccessUrlsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPublicAccessUrlsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string accessUrl;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string photoIdStr;
|
||||
std::string accessUrl;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
GetPublicAccessUrlsResult();
|
||||
explicit GetPublicAccessUrlsResult(const std::string &payload);
|
||||
~GetPublicAccessUrlsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetQuotaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Quota
|
||||
{
|
||||
long totalQuota;
|
||||
int facesCount;
|
||||
int photosCount;
|
||||
long usedQuota;
|
||||
int videosCount;
|
||||
};
|
||||
struct Quota
|
||||
{
|
||||
long totalQuota;
|
||||
int facesCount;
|
||||
int photosCount;
|
||||
long usedQuota;
|
||||
int videosCount;
|
||||
};
|
||||
|
||||
|
||||
GetQuotaResult();
|
||||
explicit GetQuotaResult(const std::string &payload);
|
||||
~GetQuotaResult();
|
||||
std::string getAction()const;
|
||||
std::vector<Quota> getQuota()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
Quota getQuota()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::vector<Quota> quota_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
Quota quota_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,44 +32,44 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetSimilarPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long inactiveTime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long inactiveTime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
GetSimilarPhotosResult();
|
||||
explicit GetSimilarPhotosResult(const std::string &payload);
|
||||
~GetSimilarPhotosResult();
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Photo> photos_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Photo> photos_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
GetThumbnailResult();
|
||||
explicit GetThumbnailResult(const std::string &payload);
|
||||
~GetThumbnailResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getThumbnailUrl()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getThumbnailUrl()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string thumbnailUrl_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string thumbnailUrl_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetThumbnailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string thumbnailUrl;
|
||||
std::string photoIdStr;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string message;
|
||||
std::string thumbnailUrl;
|
||||
std::string photoIdStr;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
GetThumbnailsResult();
|
||||
explicit GetThumbnailsResult(const std::string &payload);
|
||||
~GetThumbnailsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
GetVideoCoverResult();
|
||||
explicit GetVideoCoverResult(const std::string &payload);
|
||||
~GetVideoCoverResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getVideoCoverUrl()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getVideoCoverUrl()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string videoCoverUrl_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string videoCoverUrl_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT InactivatePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
InactivatePhotosResult();
|
||||
explicit InactivatePhotosResult(const std::string &payload);
|
||||
~InactivatePhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
LikePhotoResult();
|
||||
explicit LikePhotoResult(const std::string &payload);
|
||||
~LikePhotoResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListAlbumPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
long mtime;
|
||||
};
|
||||
|
||||
|
||||
ListAlbumPhotosResult();
|
||||
explicit ListAlbumPhotosResult(const std::string &payload);
|
||||
~ListAlbumPhotosResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,53 +32,53 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListAlbumsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Album
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
std::vector<Cover> cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct Album
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
Cover cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListAlbumsResult();
|
||||
explicit ListAlbumsResult(const std::string &payload);
|
||||
~ListAlbumsResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Album> getAlbums()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Album> getAlbums()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Album> albums_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Album> albums_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,46 +32,46 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListEventsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
struct Event
|
||||
{
|
||||
std::string idStr1;
|
||||
std::string watermarkPhotoId;
|
||||
std::string idStr;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string bannerPhotoId;
|
||||
std::string splashPhotoId;
|
||||
long endAt;
|
||||
std::string libraryId;
|
||||
std::string weixinTitle;
|
||||
std::string state;
|
||||
long startAt;
|
||||
long ctime;
|
||||
long viewsCount;
|
||||
long id;
|
||||
std::string identity;
|
||||
};
|
||||
|
||||
|
||||
ListEventsResult();
|
||||
explicit ListEventsResult(const std::string &payload);
|
||||
~ListEventsResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Event> getEvents()const;
|
||||
std::string getCode()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Event> getEvents()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Event> events_;
|
||||
std::string code_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Event> events_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,34 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListFacePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
long mtime;
|
||||
};
|
||||
|
||||
|
||||
ListFacePhotosResult();
|
||||
explicit ListFacePhotosResult(const std::string &payload);
|
||||
~ListFacePhotosResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,55 +32,55 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListFacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Face
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
bool isMe;
|
||||
std::vector<Cover> cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
int photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::vector<std::string> axis;
|
||||
std::string name;
|
||||
};
|
||||
struct Face
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
bool isMe;
|
||||
Cover cover;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
int photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
std::vector<std::string> axis;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListFacesResult();
|
||||
explicit ListFacesResult(const std::string &payload);
|
||||
~ListFacesResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Face> getFaces()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Face> getFaces()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Face> faces_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Face> faces_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListMomentPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
};
|
||||
|
||||
|
||||
ListMomentPhotosResult();
|
||||
explicit ListMomentPhotosResult(const std::string &payload);
|
||||
~ListMomentPhotosResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,38 +32,38 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListMomentsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Moment
|
||||
{
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
int photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
long takenAt;
|
||||
std::string locationName;
|
||||
};
|
||||
struct Moment
|
||||
{
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
int photosCount;
|
||||
long mtime;
|
||||
long id;
|
||||
long takenAt;
|
||||
std::string locationName;
|
||||
};
|
||||
|
||||
|
||||
ListMomentsResult();
|
||||
explicit ListMomentsResult(const std::string &payload);
|
||||
~ListMomentsResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Moment> getMoments()const;
|
||||
std::string getCode()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Moment> getMoments()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Moment> moments_;
|
||||
std::string code_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Moment> moments_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoFacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Face
|
||||
{
|
||||
long faceId;
|
||||
std::string faceIdStr;
|
||||
std::string faceName;
|
||||
std::vector<std::string> axis;
|
||||
};
|
||||
struct Face
|
||||
{
|
||||
long faceId;
|
||||
std::string faceIdStr;
|
||||
std::string faceName;
|
||||
std::vector<std::string> axis;
|
||||
};
|
||||
|
||||
|
||||
ListPhotoFacesResult();
|
||||
explicit ListPhotoFacesResult(const std::string &payload);
|
||||
~ListPhotoFacesResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Face> getFaces()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Face> getFaces()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Face> faces_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Face> faces_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoStoresResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhotoStore
|
||||
{
|
||||
struct Bucket
|
||||
{
|
||||
std::string state;
|
||||
std::string region;
|
||||
std::string name;
|
||||
};
|
||||
int autoCleanDays;
|
||||
long defaultQuota;
|
||||
std::string idStr;
|
||||
long ctime;
|
||||
long mtime;
|
||||
long id;
|
||||
bool autoCleanEnabled;
|
||||
std::vector<PhotoStore::Bucket> buckets;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
struct PhotoStore
|
||||
{
|
||||
struct Bucket
|
||||
{
|
||||
std::string state;
|
||||
std::string region;
|
||||
std::string name;
|
||||
};
|
||||
int autoCleanDays;
|
||||
long defaultQuota;
|
||||
std::string idStr;
|
||||
long ctime;
|
||||
long mtime;
|
||||
long id;
|
||||
bool autoCleanEnabled;
|
||||
std::vector<PhotoStore::Bucket> buckets;
|
||||
std::string name;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
ListPhotoStoresResult();
|
||||
explicit ListPhotoStoresResult(const std::string &payload);
|
||||
~ListPhotoStoresResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<PhotoStore> getPhotoStores()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<PhotoStore> getPhotoStores()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<PhotoStore> photoStores_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<PhotoStore> photoStores_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,31 +32,31 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string idStr;
|
||||
bool isSubTag;
|
||||
std::string parentTag;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
std::string idStr;
|
||||
bool isSubTag;
|
||||
std::string parentTag;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListPhotoTagsResult();
|
||||
explicit ListPhotoTagsResult(const std::string &payload);
|
||||
~ListPhotoTagsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Tag> tags_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,47 +32,47 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long inactiveTime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
long inactiveTime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
ListPhotosResult();
|
||||
explicit ListPhotosResult(const std::string &payload);
|
||||
~ListPhotosResult();
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Photo> getPhotos()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Photo> photos_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Photo> photos_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListRegisteredTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RegisteredTag
|
||||
{
|
||||
struct TagValue
|
||||
{
|
||||
std::string lang;
|
||||
std::string text;
|
||||
};
|
||||
std::string tagKey;
|
||||
std::vector<RegisteredTag::TagValue> tagValues;
|
||||
};
|
||||
struct RegisteredTag
|
||||
{
|
||||
struct TagValue
|
||||
{
|
||||
std::string lang;
|
||||
std::string text;
|
||||
};
|
||||
std::string tagKey;
|
||||
std::vector<RegisteredTag::TagValue> tagValues;
|
||||
};
|
||||
|
||||
|
||||
ListRegisteredTagsResult();
|
||||
explicit ListRegisteredTagsResult(const std::string &payload);
|
||||
~ListRegisteredTagsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<RegisteredTag> getRegisteredTags()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<RegisteredTag> getRegisteredTags()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<RegisteredTag> registeredTags_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<RegisteredTag> registeredTags_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,33 +32,33 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTagPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
long photoId;
|
||||
std::string state;
|
||||
std::string photoIdStr;
|
||||
};
|
||||
|
||||
|
||||
ListTagPhotosResult();
|
||||
explicit ListTagPhotosResult(const std::string &payload);
|
||||
~ListTagPhotosResult();
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getNextCursor()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string nextCursor_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,47 +32,47 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
std::vector<Cover> cover;
|
||||
std::string idStr;
|
||||
bool isSubTag;
|
||||
std::string parentTag;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
struct Tag
|
||||
{
|
||||
struct Cover
|
||||
{
|
||||
bool isVideo;
|
||||
std::string idStr;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
std::string md5;
|
||||
std::string remark;
|
||||
};
|
||||
Cover cover;
|
||||
std::string idStr;
|
||||
bool isSubTag;
|
||||
std::string parentTag;
|
||||
long id;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ListTagsResult();
|
||||
explicit ListTagsResult(const std::string &payload);
|
||||
~ListTagsResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Tag> getTags()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Tag> tags_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Tag> tags_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,45 +32,45 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTimeLinePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
ListTimeLinePhotosResult();
|
||||
explicit ListTimeLinePhotosResult(const std::string &payload);
|
||||
~ListTimeLinePhotosResult();
|
||||
std::vector<Photo> getPhotos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Photo> getPhotos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Photo> photos_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Photo> photos_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,53 +32,53 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTimeLinesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TimeLine
|
||||
{
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
std::vector<TimeLine::Photo> photos;
|
||||
int totalCount;
|
||||
long endTime;
|
||||
long startTime;
|
||||
int photosCount;
|
||||
};
|
||||
struct TimeLine
|
||||
{
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
long like;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
std::vector<TimeLine::Photo> photos;
|
||||
int totalCount;
|
||||
long endTime;
|
||||
long startTime;
|
||||
int photosCount;
|
||||
};
|
||||
|
||||
|
||||
ListTimeLinesResult();
|
||||
explicit ListTimeLinesResult(const std::string &payload);
|
||||
~ListTimeLinesResult();
|
||||
std::vector<TimeLine> getTimeLines()const;
|
||||
int getNextCursor()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<TimeLine> getTimeLines()const;
|
||||
int getNextCursor()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<TimeLine> timeLines_;
|
||||
int nextCursor_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<TimeLine> timeLines_;
|
||||
int nextCursor_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MergeFacesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
MergeFacesResult();
|
||||
explicit MergeFacesResult(const std::string &payload);
|
||||
~MergeFacesResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MoveAlbumPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
MoveAlbumPhotosResult();
|
||||
explicit MoveAlbumPhotosResult(const std::string &payload);
|
||||
~MoveAlbumPhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MoveFacePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
MoveFacePhotosResult();
|
||||
explicit MoveFacePhotosResult(const std::string &payload);
|
||||
~MoveFacePhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ReactivatePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
ReactivatePhotosResult();
|
||||
explicit ReactivatePhotosResult(const std::string &payload);
|
||||
~ReactivatePhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,42 +32,42 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT RegisterPhotoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string remark;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
RegisterPhotoResult();
|
||||
explicit RegisterPhotoResult(const std::string &payload);
|
||||
~RegisterPhotoResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Photo> getPhoto()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
Photo getPhoto()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Photo> photo_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
Photo photo_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
RegisterTagResult();
|
||||
explicit RegisterTagResult(const std::string &payload);
|
||||
~RegisterTagResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT RemoveAlbumPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
RemoveAlbumPhotosResult();
|
||||
explicit RemoveAlbumPhotosResult(const std::string &payload);
|
||||
~RemoveAlbumPhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,30 +32,30 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT RemoveFacePhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
struct Result
|
||||
{
|
||||
std::string message;
|
||||
std::string idStr;
|
||||
long id;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
|
||||
RemoveFacePhotosResult();
|
||||
explicit RemoveFacePhotosResult(const std::string &payload);
|
||||
~RemoveFacePhotosResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::vector<Result> getResults()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::vector<Result> results_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
RenameAlbumResult();
|
||||
explicit RenameAlbumResult(const std::string &payload);
|
||||
~RenameAlbumResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
RenameFaceResult();
|
||||
explicit RenameFaceResult(const std::string &payload);
|
||||
~RenameFaceResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,43 +32,43 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CLOUDPHOTO_EXPORT SearchPhotosResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
struct Photo
|
||||
{
|
||||
bool isVideo;
|
||||
long shareExpireTime;
|
||||
std::string idStr;
|
||||
long size;
|
||||
std::string title;
|
||||
long mtime;
|
||||
std::string state;
|
||||
long ctime;
|
||||
std::string fileId;
|
||||
long height;
|
||||
long id;
|
||||
long width;
|
||||
long takenAt;
|
||||
std::string location;
|
||||
std::string md5;
|
||||
};
|
||||
|
||||
|
||||
SearchPhotosResult();
|
||||
explicit SearchPhotosResult(const std::string &payload);
|
||||
~SearchPhotosResult();
|
||||
std::vector<Photo> getPhotos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::vector<Photo> getPhotos()const;
|
||||
int getTotalCount()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Photo> photos_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::vector<Photo> photos_;
|
||||
int totalCount_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
SetAlbumCoverResult();
|
||||
explicit SetAlbumCoverResult(const std::string &payload);
|
||||
~SetAlbumCoverResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
SetFaceCoverResult();
|
||||
explicit SetFaceCoverResult(const std::string &payload);
|
||||
~SetFaceCoverResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
SetMeResult();
|
||||
explicit SetMeResult(const std::string &payload);
|
||||
~SetMeResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
SetQuotaResult();
|
||||
explicit SetQuotaResult(const std::string &payload);
|
||||
~SetQuotaResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
TagPhotoResult();
|
||||
explicit TagPhotoResult(const std::string &payload);
|
||||
~TagPhotoResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,16 +37,16 @@ namespace AlibabaCloud
|
||||
ToggleFeaturesResult();
|
||||
explicit ToggleFeaturesResult(const std::string &payload);
|
||||
~ToggleFeaturesResult();
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getAction()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string action_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ using namespace AlibabaCloud::CloudPhoto::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "CloudPhoto";
|
||||
const std::string SERVICE_NAME = "CloudPhoto";
|
||||
}
|
||||
|
||||
CloudPhotoClient::CloudPhotoClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
@@ -86,7 +86,7 @@ CloudPhotoClient::RemoveFacePhotosOutcomeCallable CloudPhotoClient::removeFacePh
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ReactivatePhotosOutcome CloudPhotoClient::reactivatePhotos(const ReactivatePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -122,7 +122,7 @@ CloudPhotoClient::ReactivatePhotosOutcomeCallable CloudPhotoClient::reactivatePh
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetQuotaOutcome CloudPhotoClient::getQuota(const GetQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -158,7 +158,7 @@ CloudPhotoClient::GetQuotaOutcomeCallable CloudPhotoClient::getQuotaCallable(con
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetThumbnailsOutcome CloudPhotoClient::getThumbnails(const GetThumbnailsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -194,7 +194,7 @@ CloudPhotoClient::GetThumbnailsOutcomeCallable CloudPhotoClient::getThumbnailsCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::DeleteFacesOutcome CloudPhotoClient::deleteFaces(const DeleteFacesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -230,7 +230,7 @@ CloudPhotoClient::DeleteFacesOutcomeCallable CloudPhotoClient::deleteFacesCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::AddAlbumPhotosOutcome CloudPhotoClient::addAlbumPhotos(const AddAlbumPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -266,7 +266,7 @@ CloudPhotoClient::AddAlbumPhotosOutcomeCallable CloudPhotoClient::addAlbumPhotos
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListFacesOutcome CloudPhotoClient::listFaces(const ListFacesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -302,7 +302,7 @@ CloudPhotoClient::ListFacesOutcomeCallable CloudPhotoClient::listFacesCallable(c
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::MoveFacePhotosOutcome CloudPhotoClient::moveFacePhotos(const MoveFacePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -338,7 +338,7 @@ CloudPhotoClient::MoveFacePhotosOutcomeCallable CloudPhotoClient::moveFacePhotos
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::DeleteEventOutcome CloudPhotoClient::deleteEvent(const DeleteEventRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -374,7 +374,7 @@ CloudPhotoClient::DeleteEventOutcomeCallable CloudPhotoClient::deleteEventCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListPhotosOutcome CloudPhotoClient::listPhotos(const ListPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -410,7 +410,7 @@ CloudPhotoClient::ListPhotosOutcomeCallable CloudPhotoClient::listPhotosCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::RegisterTagOutcome CloudPhotoClient::registerTag(const RegisterTagRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -446,7 +446,7 @@ CloudPhotoClient::RegisterTagOutcomeCallable CloudPhotoClient::registerTagCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListTimeLinePhotosOutcome CloudPhotoClient::listTimeLinePhotos(const ListTimeLinePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -482,7 +482,7 @@ CloudPhotoClient::ListTimeLinePhotosOutcomeCallable CloudPhotoClient::listTimeLi
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::DeletePhotosOutcome CloudPhotoClient::deletePhotos(const DeletePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -518,7 +518,7 @@ CloudPhotoClient::DeletePhotosOutcomeCallable CloudPhotoClient::deletePhotosCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::MergeFacesOutcome CloudPhotoClient::mergeFaces(const MergeFacesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -554,7 +554,7 @@ CloudPhotoClient::MergeFacesOutcomeCallable CloudPhotoClient::mergeFacesCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetPhotosByMd5sOutcome CloudPhotoClient::getPhotosByMd5s(const GetPhotosByMd5sRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -590,7 +590,43 @@ CloudPhotoClient::GetPhotosByMd5sOutcomeCallable CloudPhotoClient::getPhotosByMd
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudPhotoClient::FetchAlbumTagPhotosOutcome CloudPhotoClient::fetchAlbumTagPhotos(const FetchAlbumTagPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return FetchAlbumTagPhotosOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return FetchAlbumTagPhotosOutcome(FetchAlbumTagPhotosResult(outcome.result()));
|
||||
else
|
||||
return FetchAlbumTagPhotosOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CloudPhotoClient::fetchAlbumTagPhotosAsync(const FetchAlbumTagPhotosRequest& request, const FetchAlbumTagPhotosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, fetchAlbumTagPhotos(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CloudPhotoClient::FetchAlbumTagPhotosOutcomeCallable CloudPhotoClient::fetchAlbumTagPhotosCallable(const FetchAlbumTagPhotosRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<FetchAlbumTagPhotosOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->fetchAlbumTagPhotos(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CloudPhotoClient::CreateTransactionOutcome CloudPhotoClient::createTransaction(const CreateTransactionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -626,7 +662,7 @@ CloudPhotoClient::CreateTransactionOutcomeCallable CloudPhotoClient::createTrans
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::InactivatePhotosOutcome CloudPhotoClient::inactivatePhotos(const InactivatePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -662,7 +698,7 @@ CloudPhotoClient::InactivatePhotosOutcomeCallable CloudPhotoClient::inactivatePh
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::CreatePhotoStoreOutcome CloudPhotoClient::createPhotoStore(const CreatePhotoStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -698,7 +734,7 @@ CloudPhotoClient::CreatePhotoStoreOutcomeCallable CloudPhotoClient::createPhotoS
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::TagPhotoOutcome CloudPhotoClient::tagPhoto(const TagPhotoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -734,7 +770,7 @@ CloudPhotoClient::TagPhotoOutcomeCallable CloudPhotoClient::tagPhotoCallable(con
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetLibraryOutcome CloudPhotoClient::getLibrary(const GetLibraryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -770,7 +806,7 @@ CloudPhotoClient::GetLibraryOutcomeCallable CloudPhotoClient::getLibraryCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::SetQuotaOutcome CloudPhotoClient::setQuota(const SetQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -806,7 +842,7 @@ CloudPhotoClient::SetQuotaOutcomeCallable CloudPhotoClient::setQuotaCallable(con
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListAlbumPhotosOutcome CloudPhotoClient::listAlbumPhotos(const ListAlbumPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -842,7 +878,7 @@ CloudPhotoClient::ListAlbumPhotosOutcomeCallable CloudPhotoClient::listAlbumPhot
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::RemoveAlbumPhotosOutcome CloudPhotoClient::removeAlbumPhotos(const RemoveAlbumPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -878,7 +914,7 @@ CloudPhotoClient::RemoveAlbumPhotosOutcomeCallable CloudPhotoClient::removeAlbum
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListAlbumsOutcome CloudPhotoClient::listAlbums(const ListAlbumsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -914,7 +950,7 @@ CloudPhotoClient::ListAlbumsOutcomeCallable CloudPhotoClient::listAlbumsCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListPhotoFacesOutcome CloudPhotoClient::listPhotoFaces(const ListPhotoFacesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -950,7 +986,7 @@ CloudPhotoClient::ListPhotoFacesOutcomeCallable CloudPhotoClient::listPhotoFaces
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::RenameAlbumOutcome CloudPhotoClient::renameAlbum(const RenameAlbumRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -986,7 +1022,7 @@ CloudPhotoClient::RenameAlbumOutcomeCallable CloudPhotoClient::renameAlbumCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ActivatePhotosOutcome CloudPhotoClient::activatePhotos(const ActivatePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1022,7 +1058,7 @@ CloudPhotoClient::ActivatePhotosOutcomeCallable CloudPhotoClient::activatePhotos
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetPrivateAccessUrlsOutcome CloudPhotoClient::getPrivateAccessUrls(const GetPrivateAccessUrlsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1058,7 +1094,7 @@ CloudPhotoClient::GetPrivateAccessUrlsOutcomeCallable CloudPhotoClient::getPriva
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetSimilarPhotosOutcome CloudPhotoClient::getSimilarPhotos(const GetSimilarPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1094,7 +1130,7 @@ CloudPhotoClient::GetSimilarPhotosOutcomeCallable CloudPhotoClient::getSimilarPh
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListEventsOutcome CloudPhotoClient::listEvents(const ListEventsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1130,7 +1166,7 @@ CloudPhotoClient::ListEventsOutcomeCallable CloudPhotoClient::listEventsCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetVideoCoverOutcome CloudPhotoClient::getVideoCover(const GetVideoCoverRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1166,7 +1202,7 @@ CloudPhotoClient::GetVideoCoverOutcomeCallable CloudPhotoClient::getVideoCoverCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetFramedPhotoUrlsOutcome CloudPhotoClient::getFramedPhotoUrls(const GetFramedPhotoUrlsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1202,7 +1238,7 @@ CloudPhotoClient::GetFramedPhotoUrlsOutcomeCallable CloudPhotoClient::getFramedP
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetEventOutcome CloudPhotoClient::getEvent(const GetEventRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1238,7 +1274,7 @@ CloudPhotoClient::GetEventOutcomeCallable CloudPhotoClient::getEventCallable(con
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::SetMeOutcome CloudPhotoClient::setMe(const SetMeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1274,7 +1310,7 @@ CloudPhotoClient::SetMeOutcomeCallable CloudPhotoClient::setMeCallable(const Set
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListTagPhotosOutcome CloudPhotoClient::listTagPhotos(const ListTagPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1310,7 +1346,7 @@ CloudPhotoClient::ListTagPhotosOutcomeCallable CloudPhotoClient::listTagPhotosCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::DeleteAlbumsOutcome CloudPhotoClient::deleteAlbums(const DeleteAlbumsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1346,7 +1382,7 @@ CloudPhotoClient::DeleteAlbumsOutcomeCallable CloudPhotoClient::deleteAlbumsCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetDownloadUrlsOutcome CloudPhotoClient::getDownloadUrls(const GetDownloadUrlsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1382,7 +1418,7 @@ CloudPhotoClient::GetDownloadUrlsOutcomeCallable CloudPhotoClient::getDownloadUr
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetPhotosOutcome CloudPhotoClient::getPhotos(const GetPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1418,7 +1454,7 @@ CloudPhotoClient::GetPhotosOutcomeCallable CloudPhotoClient::getPhotosCallable(c
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::RegisterPhotoOutcome CloudPhotoClient::registerPhoto(const RegisterPhotoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1454,7 +1490,7 @@ CloudPhotoClient::RegisterPhotoOutcomeCallable CloudPhotoClient::registerPhotoCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::EditPhotoStoreOutcome CloudPhotoClient::editPhotoStore(const EditPhotoStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1490,7 +1526,7 @@ CloudPhotoClient::EditPhotoStoreOutcomeCallable CloudPhotoClient::editPhotoStore
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListTimeLinesOutcome CloudPhotoClient::listTimeLines(const ListTimeLinesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1526,7 +1562,7 @@ CloudPhotoClient::ListTimeLinesOutcomeCallable CloudPhotoClient::listTimeLinesCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::SearchPhotosOutcome CloudPhotoClient::searchPhotos(const SearchPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1562,7 +1598,7 @@ CloudPhotoClient::SearchPhotosOutcomeCallable CloudPhotoClient::searchPhotosCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ToggleFeaturesOutcome CloudPhotoClient::toggleFeatures(const ToggleFeaturesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1598,7 +1634,7 @@ CloudPhotoClient::ToggleFeaturesOutcomeCallable CloudPhotoClient::toggleFeatures
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListRegisteredTagsOutcome CloudPhotoClient::listRegisteredTags(const ListRegisteredTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1634,7 +1670,7 @@ CloudPhotoClient::ListRegisteredTagsOutcomeCallable CloudPhotoClient::listRegist
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::DeletePhotoStoreOutcome CloudPhotoClient::deletePhotoStore(const DeletePhotoStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1670,7 +1706,7 @@ CloudPhotoClient::DeletePhotoStoreOutcomeCallable CloudPhotoClient::deletePhotoS
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::CreateEventOutcome CloudPhotoClient::createEvent(const CreateEventRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1706,7 +1742,7 @@ CloudPhotoClient::CreateEventOutcomeCallable CloudPhotoClient::createEventCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetPhotoStoreOutcome CloudPhotoClient::getPhotoStore(const GetPhotoStoreRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1742,7 +1778,7 @@ CloudPhotoClient::GetPhotoStoreOutcomeCallable CloudPhotoClient::getPhotoStoreCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListMomentPhotosOutcome CloudPhotoClient::listMomentPhotos(const ListMomentPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1778,7 +1814,7 @@ CloudPhotoClient::ListMomentPhotosOutcomeCallable CloudPhotoClient::listMomentPh
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetThumbnailOutcome CloudPhotoClient::getThumbnail(const GetThumbnailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1814,7 +1850,7 @@ CloudPhotoClient::GetThumbnailOutcomeCallable CloudPhotoClient::getThumbnailCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::SetFaceCoverOutcome CloudPhotoClient::setFaceCover(const SetFaceCoverRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1850,7 +1886,7 @@ CloudPhotoClient::SetFaceCoverOutcomeCallable CloudPhotoClient::setFaceCoverCall
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::CreatePhotoOutcome CloudPhotoClient::createPhoto(const CreatePhotoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1886,7 +1922,7 @@ CloudPhotoClient::CreatePhotoOutcomeCallable CloudPhotoClient::createPhotoCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::MoveAlbumPhotosOutcome CloudPhotoClient::moveAlbumPhotos(const MoveAlbumPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1922,7 +1958,7 @@ CloudPhotoClient::MoveAlbumPhotosOutcomeCallable CloudPhotoClient::moveAlbumPhot
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::EditEventOutcome CloudPhotoClient::editEvent(const EditEventRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1958,7 +1994,7 @@ CloudPhotoClient::EditEventOutcomeCallable CloudPhotoClient::editEventCallable(c
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetDownloadUrlOutcome CloudPhotoClient::getDownloadUrl(const GetDownloadUrlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1994,7 +2030,7 @@ CloudPhotoClient::GetDownloadUrlOutcomeCallable CloudPhotoClient::getDownloadUrl
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::CreateAlbumOutcome CloudPhotoClient::createAlbum(const CreateAlbumRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2030,7 +2066,7 @@ CloudPhotoClient::CreateAlbumOutcomeCallable CloudPhotoClient::createAlbumCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListPhotoTagsOutcome CloudPhotoClient::listPhotoTags(const ListPhotoTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2066,7 +2102,7 @@ CloudPhotoClient::ListPhotoTagsOutcomeCallable CloudPhotoClient::listPhotoTagsCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::LikePhotoOutcome CloudPhotoClient::likePhoto(const LikePhotoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2102,7 +2138,7 @@ CloudPhotoClient::LikePhotoOutcomeCallable CloudPhotoClient::likePhotoCallable(c
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListPhotoStoresOutcome CloudPhotoClient::listPhotoStores(const ListPhotoStoresRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2138,7 +2174,7 @@ CloudPhotoClient::ListPhotoStoresOutcomeCallable CloudPhotoClient::listPhotoStor
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetAlbumsByNamesOutcome CloudPhotoClient::getAlbumsByNames(const GetAlbumsByNamesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2174,7 +2210,7 @@ CloudPhotoClient::GetAlbumsByNamesOutcomeCallable CloudPhotoClient::getAlbumsByN
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::GetPublicAccessUrlsOutcome CloudPhotoClient::getPublicAccessUrls(const GetPublicAccessUrlsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2210,7 +2246,7 @@ CloudPhotoClient::GetPublicAccessUrlsOutcomeCallable CloudPhotoClient::getPublic
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::EditPhotosOutcome CloudPhotoClient::editPhotos(const EditPhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2246,7 +2282,7 @@ CloudPhotoClient::EditPhotosOutcomeCallable CloudPhotoClient::editPhotosCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::SetAlbumCoverOutcome CloudPhotoClient::setAlbumCover(const SetAlbumCoverRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2282,7 +2318,7 @@ CloudPhotoClient::SetAlbumCoverOutcomeCallable CloudPhotoClient::setAlbumCoverCa
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::RenameFaceOutcome CloudPhotoClient::renameFace(const RenameFaceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2318,7 +2354,7 @@ CloudPhotoClient::RenameFaceOutcomeCallable CloudPhotoClient::renameFaceCallable
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListMomentsOutcome CloudPhotoClient::listMoments(const ListMomentsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2354,7 +2390,7 @@ CloudPhotoClient::ListMomentsOutcomeCallable CloudPhotoClient::listMomentsCallab
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListTagsOutcome CloudPhotoClient::listTags(const ListTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2390,7 +2426,7 @@ CloudPhotoClient::ListTagsOutcomeCallable CloudPhotoClient::listTagsCallable(con
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
CloudPhotoClient::ListFacePhotosOutcome CloudPhotoClient::listFacePhotos(const ListFacePhotosRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2426,4 +2462,4 @@ CloudPhotoClient::ListFacePhotosOutcomeCallable CloudPhotoClient::listFacePhotos
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -40,46 +40,46 @@ void ActivatePhotosResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ActivatePhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string ActivatePhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ActivatePhotosResult::Result> ActivatePhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string ActivatePhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string ActivatePhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string ActivatePhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ActivatePhotosResult::Result> ActivatePhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string ActivatePhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,46 +40,46 @@ void AddAlbumPhotosResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<AddAlbumPhotosResult::Result> AddAlbumPhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<AddAlbumPhotosResult::Result> AddAlbumPhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string AddAlbumPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,84 +40,74 @@ void CreateAlbumResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAlbum = value["Album"];
|
||||
for (auto value : allAlbum)
|
||||
{
|
||||
Album albumObject;
|
||||
if(!value["Id"].isNull())
|
||||
albumObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
albumObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
albumObject.name = value["Name"].asString();
|
||||
if(!value["State"].isNull())
|
||||
albumObject.state = value["State"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
albumObject.remark = value["Remark"].asString();
|
||||
if(!value["PhotosCount"].isNull())
|
||||
albumObject.photosCount = std::stol(value["PhotosCount"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
albumObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
albumObject.mtime = std::stol(value["Mtime"].asString());
|
||||
auto allCover = value["Cover"];
|
||||
for (auto value : allCover)
|
||||
{
|
||||
Album::Cover coverObject;
|
||||
if(!value["Id"].isNull())
|
||||
coverObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
coverObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
coverObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
coverObject.fileId = value["FileId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
coverObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
coverObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
coverObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Width"].isNull())
|
||||
coverObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
coverObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
coverObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
coverObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["Remark"].isNull())
|
||||
coverObject.remark = value["Remark"].asString();
|
||||
albumObject.cover.push_back(coverObject);
|
||||
}
|
||||
album_.push_back(albumObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto albumNode = value["Album"];
|
||||
if(!albumNode["Id"].isNull())
|
||||
album_.id = std::stol(albumNode["Id"].asString());
|
||||
if(!albumNode["IdStr"].isNull())
|
||||
album_.idStr = albumNode["IdStr"].asString();
|
||||
if(!albumNode["Name"].isNull())
|
||||
album_.name = albumNode["Name"].asString();
|
||||
if(!albumNode["State"].isNull())
|
||||
album_.state = albumNode["State"].asString();
|
||||
if(!albumNode["Remark"].isNull())
|
||||
album_.remark = albumNode["Remark"].asString();
|
||||
if(!albumNode["PhotosCount"].isNull())
|
||||
album_.photosCount = std::stol(albumNode["PhotosCount"].asString());
|
||||
if(!albumNode["Ctime"].isNull())
|
||||
album_.ctime = std::stol(albumNode["Ctime"].asString());
|
||||
if(!albumNode["Mtime"].isNull())
|
||||
album_.mtime = std::stol(albumNode["Mtime"].asString());
|
||||
auto coverNode = albumNode["Cover"];
|
||||
if(!coverNode["Id"].isNull())
|
||||
album_.cover.id = std::stol(coverNode["Id"].asString());
|
||||
if(!coverNode["IdStr"].isNull())
|
||||
album_.cover.idStr = coverNode["IdStr"].asString();
|
||||
if(!coverNode["Title"].isNull())
|
||||
album_.cover.title = coverNode["Title"].asString();
|
||||
if(!coverNode["FileId"].isNull())
|
||||
album_.cover.fileId = coverNode["FileId"].asString();
|
||||
if(!coverNode["State"].isNull())
|
||||
album_.cover.state = coverNode["State"].asString();
|
||||
if(!coverNode["Md5"].isNull())
|
||||
album_.cover.md5 = coverNode["Md5"].asString();
|
||||
if(!coverNode["IsVideo"].isNull())
|
||||
album_.cover.isVideo = coverNode["IsVideo"].asString() == "true";
|
||||
if(!coverNode["Width"].isNull())
|
||||
album_.cover.width = std::stol(coverNode["Width"].asString());
|
||||
if(!coverNode["Height"].isNull())
|
||||
album_.cover.height = std::stol(coverNode["Height"].asString());
|
||||
if(!coverNode["Ctime"].isNull())
|
||||
album_.cover.ctime = std::stol(coverNode["Ctime"].asString());
|
||||
if(!coverNode["Mtime"].isNull())
|
||||
album_.cover.mtime = std::stol(coverNode["Mtime"].asString());
|
||||
if(!coverNode["Remark"].isNull())
|
||||
album_.cover.remark = coverNode["Remark"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateAlbumResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreateAlbumResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<CreateAlbumResult::Album> CreateAlbumResult::getAlbum()const
|
||||
{
|
||||
return album_;
|
||||
}
|
||||
|
||||
std::string CreateAlbumResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string CreateAlbumResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreateAlbumResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
CreateAlbumResult::Album CreateAlbumResult::getAlbum()const
|
||||
{
|
||||
return album_;
|
||||
}
|
||||
|
||||
std::string CreateAlbumResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,70 +40,65 @@ void CreateEventResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEvent = value["Event"];
|
||||
for (auto value : allEvent)
|
||||
{
|
||||
Event eventObject;
|
||||
if(!value["Id"].isNull())
|
||||
eventObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
eventObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
eventObject.title = value["Title"].asString();
|
||||
if(!value["BannerPhotoId"].isNull())
|
||||
eventObject.bannerPhotoId = value["BannerPhotoId"].asString();
|
||||
if(!value["Identity"].isNull())
|
||||
eventObject.identity = value["Identity"].asString();
|
||||
if(!value["SplashPhotoId"].isNull())
|
||||
eventObject.splashPhotoId = value["SplashPhotoId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
eventObject.state = value["State"].asString();
|
||||
if(!value["WeixinTitle"].isNull())
|
||||
eventObject.weixinTitle = value["WeixinTitle"].asString();
|
||||
if(!value["WatermarkPhotoId"].isNull())
|
||||
eventObject.watermarkPhotoId = value["WatermarkPhotoId"].asString();
|
||||
if(!value["StartAt"].isNull())
|
||||
eventObject.startAt = std::stol(value["StartAt"].asString());
|
||||
if(!value["EndAt"].isNull())
|
||||
eventObject.endAt = std::stol(value["EndAt"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
eventObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
eventObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["ViewsCount"].isNull())
|
||||
eventObject.viewsCount = std::stol(value["ViewsCount"].asString());
|
||||
if(!value["LibraryId"].isNull())
|
||||
eventObject.libraryId = value["LibraryId"].asString();
|
||||
if(!value["IdStr"].isNull())
|
||||
eventObject.idStr1 = value["IdStr"].asString();
|
||||
event_.push_back(eventObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto eventNode = value["Event"];
|
||||
if(!eventNode["Id"].isNull())
|
||||
event_.id = std::stol(eventNode["Id"].asString());
|
||||
if(!eventNode["IdStr"].isNull())
|
||||
event_.idStr = eventNode["IdStr"].asString();
|
||||
if(!eventNode["Title"].isNull())
|
||||
event_.title = eventNode["Title"].asString();
|
||||
if(!eventNode["BannerPhotoId"].isNull())
|
||||
event_.bannerPhotoId = eventNode["BannerPhotoId"].asString();
|
||||
if(!eventNode["Identity"].isNull())
|
||||
event_.identity = eventNode["Identity"].asString();
|
||||
if(!eventNode["SplashPhotoId"].isNull())
|
||||
event_.splashPhotoId = eventNode["SplashPhotoId"].asString();
|
||||
if(!eventNode["State"].isNull())
|
||||
event_.state = eventNode["State"].asString();
|
||||
if(!eventNode["WeixinTitle"].isNull())
|
||||
event_.weixinTitle = eventNode["WeixinTitle"].asString();
|
||||
if(!eventNode["WatermarkPhotoId"].isNull())
|
||||
event_.watermarkPhotoId = eventNode["WatermarkPhotoId"].asString();
|
||||
if(!eventNode["StartAt"].isNull())
|
||||
event_.startAt = std::stol(eventNode["StartAt"].asString());
|
||||
if(!eventNode["EndAt"].isNull())
|
||||
event_.endAt = std::stol(eventNode["EndAt"].asString());
|
||||
if(!eventNode["Ctime"].isNull())
|
||||
event_.ctime = std::stol(eventNode["Ctime"].asString());
|
||||
if(!eventNode["Mtime"].isNull())
|
||||
event_.mtime = std::stol(eventNode["Mtime"].asString());
|
||||
if(!eventNode["ViewsCount"].isNull())
|
||||
event_.viewsCount = std::stol(eventNode["ViewsCount"].asString());
|
||||
if(!eventNode["LibraryId"].isNull())
|
||||
event_.libraryId = eventNode["LibraryId"].asString();
|
||||
if(!eventNode["IdStr"].isNull())
|
||||
event_.idStr1 = eventNode["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreateEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<CreateEventResult::Event> CreateEventResult::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
std::string CreateEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string CreateEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreateEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
CreateEventResult::Event CreateEventResult::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
std::string CreateEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,17 @@ CreatePhotoRequest::CreatePhotoRequest() :
|
||||
CreatePhotoRequest::~CreatePhotoRequest()
|
||||
{}
|
||||
|
||||
long CreatePhotoRequest::getTakenAt()const
|
||||
{
|
||||
return takenAt_;
|
||||
}
|
||||
|
||||
void CreatePhotoRequest::setTakenAt(long takenAt)
|
||||
{
|
||||
takenAt_ = takenAt;
|
||||
setParameter("TakenAt", std::to_string(takenAt));
|
||||
}
|
||||
|
||||
std::string CreatePhotoRequest::getPhotoTitle()const
|
||||
{
|
||||
return photoTitle_;
|
||||
|
||||
@@ -40,70 +40,65 @@ void CreatePhotoResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPhoto = value["Photo"];
|
||||
for (auto value : allPhoto)
|
||||
{
|
||||
Photo photoObject;
|
||||
if(!value["Id"].isNull())
|
||||
photoObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
photoObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
photoObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
photoObject.fileId = value["FileId"].asString();
|
||||
if(!value["Location"].isNull())
|
||||
photoObject.location = value["Location"].asString();
|
||||
if(!value["State"].isNull())
|
||||
photoObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
photoObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
photoObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Size"].isNull())
|
||||
photoObject.size = std::stol(value["Size"].asString());
|
||||
if(!value["Remark"].isNull())
|
||||
photoObject.remark = value["Remark"].asString();
|
||||
if(!value["Width"].isNull())
|
||||
photoObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
photoObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
photoObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
photoObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["TakenAt"].isNull())
|
||||
photoObject.takenAt = std::stol(value["TakenAt"].asString());
|
||||
if(!value["ShareExpireTime"].isNull())
|
||||
photoObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
|
||||
photo_.push_back(photoObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto photoNode = value["Photo"];
|
||||
if(!photoNode["Id"].isNull())
|
||||
photo_.id = std::stol(photoNode["Id"].asString());
|
||||
if(!photoNode["IdStr"].isNull())
|
||||
photo_.idStr = photoNode["IdStr"].asString();
|
||||
if(!photoNode["Title"].isNull())
|
||||
photo_.title = photoNode["Title"].asString();
|
||||
if(!photoNode["FileId"].isNull())
|
||||
photo_.fileId = photoNode["FileId"].asString();
|
||||
if(!photoNode["Location"].isNull())
|
||||
photo_.location = photoNode["Location"].asString();
|
||||
if(!photoNode["State"].isNull())
|
||||
photo_.state = photoNode["State"].asString();
|
||||
if(!photoNode["Md5"].isNull())
|
||||
photo_.md5 = photoNode["Md5"].asString();
|
||||
if(!photoNode["IsVideo"].isNull())
|
||||
photo_.isVideo = photoNode["IsVideo"].asString() == "true";
|
||||
if(!photoNode["Size"].isNull())
|
||||
photo_.size = std::stol(photoNode["Size"].asString());
|
||||
if(!photoNode["Remark"].isNull())
|
||||
photo_.remark = photoNode["Remark"].asString();
|
||||
if(!photoNode["Width"].isNull())
|
||||
photo_.width = std::stol(photoNode["Width"].asString());
|
||||
if(!photoNode["Height"].isNull())
|
||||
photo_.height = std::stol(photoNode["Height"].asString());
|
||||
if(!photoNode["Ctime"].isNull())
|
||||
photo_.ctime = std::stol(photoNode["Ctime"].asString());
|
||||
if(!photoNode["Mtime"].isNull())
|
||||
photo_.mtime = std::stol(photoNode["Mtime"].asString());
|
||||
if(!photoNode["TakenAt"].isNull())
|
||||
photo_.takenAt = std::stol(photoNode["TakenAt"].asString());
|
||||
if(!photoNode["ShareExpireTime"].isNull())
|
||||
photo_.shareExpireTime = std::stol(photoNode["ShareExpireTime"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreatePhotoResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<CreatePhotoResult::Photo> CreatePhotoResult::getPhoto()const
|
||||
{
|
||||
return photo_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
CreatePhotoResult::Photo CreatePhotoResult::getPhoto()const
|
||||
{
|
||||
return photo_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,27 +40,27 @@ void CreatePhotoStoreResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreatePhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,60 +40,50 @@ void CreateTransactionResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTransaction = value["Transaction"];
|
||||
for (auto value : allTransaction)
|
||||
{
|
||||
Transaction transactionObject;
|
||||
auto allUpload = value["Upload"];
|
||||
for (auto value : allUpload)
|
||||
{
|
||||
Transaction::Upload uploadObject;
|
||||
if(!value["Bucket"].isNull())
|
||||
uploadObject.bucket = value["Bucket"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
uploadObject.fileId = value["FileId"].asString();
|
||||
if(!value["OssEndpoint"].isNull())
|
||||
uploadObject.ossEndpoint = value["OssEndpoint"].asString();
|
||||
if(!value["ObjectKey"].isNull())
|
||||
uploadObject.objectKey = value["ObjectKey"].asString();
|
||||
if(!value["SessionId"].isNull())
|
||||
uploadObject.sessionId = value["SessionId"].asString();
|
||||
if(!value["AccessKeyId"].isNull())
|
||||
uploadObject.accessKeyId = value["AccessKeyId"].asString();
|
||||
if(!value["AccessKeySecret"].isNull())
|
||||
uploadObject.accessKeySecret = value["AccessKeySecret"].asString();
|
||||
if(!value["StsToken"].isNull())
|
||||
uploadObject.stsToken = value["StsToken"].asString();
|
||||
transactionObject.upload.push_back(uploadObject);
|
||||
}
|
||||
transaction_.push_back(transactionObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto transactionNode = value["Transaction"];
|
||||
auto uploadNode = transactionNode["Upload"];
|
||||
if(!uploadNode["Bucket"].isNull())
|
||||
transaction_.upload.bucket = uploadNode["Bucket"].asString();
|
||||
if(!uploadNode["FileId"].isNull())
|
||||
transaction_.upload.fileId = uploadNode["FileId"].asString();
|
||||
if(!uploadNode["OssEndpoint"].isNull())
|
||||
transaction_.upload.ossEndpoint = uploadNode["OssEndpoint"].asString();
|
||||
if(!uploadNode["ObjectKey"].isNull())
|
||||
transaction_.upload.objectKey = uploadNode["ObjectKey"].asString();
|
||||
if(!uploadNode["SessionId"].isNull())
|
||||
transaction_.upload.sessionId = uploadNode["SessionId"].asString();
|
||||
if(!uploadNode["AccessKeyId"].isNull())
|
||||
transaction_.upload.accessKeyId = uploadNode["AccessKeyId"].asString();
|
||||
if(!uploadNode["AccessKeySecret"].isNull())
|
||||
transaction_.upload.accessKeySecret = uploadNode["AccessKeySecret"].asString();
|
||||
if(!uploadNode["StsToken"].isNull())
|
||||
transaction_.upload.stsToken = uploadNode["StsToken"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateTransactionResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::vector<CreateTransactionResult::Transaction> CreateTransactionResult::getTransaction()const
|
||||
{
|
||||
return transaction_;
|
||||
}
|
||||
|
||||
std::string CreateTransactionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateTransactionResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string CreateTransactionResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
CreateTransactionResult::Transaction CreateTransactionResult::getTransaction()const
|
||||
{
|
||||
return transaction_;
|
||||
}
|
||||
|
||||
std::string CreateTransactionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateTransactionResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,46 +40,46 @@ void DeleteAlbumsResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DeleteAlbumsResult::Result> DeleteAlbumsResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DeleteAlbumsResult::Result> DeleteAlbumsResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string DeleteAlbumsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,27 +40,27 @@ void DeleteEventResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeleteEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DeleteEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeleteEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeleteEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,46 +40,46 @@ void DeleteFacesResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteFacesResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeleteFacesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DeleteFacesResult::Result> DeleteFacesResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string DeleteFacesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DeleteFacesResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeleteFacesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DeleteFacesResult::Result> DeleteFacesResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string DeleteFacesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,27 +40,27 @@ void DeletePhotoStoreResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeletePhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeletePhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeletePhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DeletePhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeletePhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string DeletePhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,46 +40,46 @@ void DeletePhotosResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeletePhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeletePhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DeletePhotosResult::Result> DeletePhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string DeletePhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string DeletePhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string DeletePhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<DeletePhotosResult::Result> DeletePhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string DeletePhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,70 +40,65 @@ void EditEventResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEvent = value["Event"];
|
||||
for (auto value : allEvent)
|
||||
{
|
||||
Event eventObject;
|
||||
if(!value["Id"].isNull())
|
||||
eventObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
eventObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
eventObject.title = value["Title"].asString();
|
||||
if(!value["BannerPhotoId"].isNull())
|
||||
eventObject.bannerPhotoId = value["BannerPhotoId"].asString();
|
||||
if(!value["Identity"].isNull())
|
||||
eventObject.identity = value["Identity"].asString();
|
||||
if(!value["SplashPhotoId"].isNull())
|
||||
eventObject.splashPhotoId = value["SplashPhotoId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
eventObject.state = value["State"].asString();
|
||||
if(!value["WeixinTitle"].isNull())
|
||||
eventObject.weixinTitle = value["WeixinTitle"].asString();
|
||||
if(!value["WatermarkPhotoId"].isNull())
|
||||
eventObject.watermarkPhotoId = value["WatermarkPhotoId"].asString();
|
||||
if(!value["StartAt"].isNull())
|
||||
eventObject.startAt = std::stol(value["StartAt"].asString());
|
||||
if(!value["EndAt"].isNull())
|
||||
eventObject.endAt = std::stol(value["EndAt"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
eventObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
eventObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["ViewsCount"].isNull())
|
||||
eventObject.viewsCount = std::stol(value["ViewsCount"].asString());
|
||||
if(!value["LibraryId"].isNull())
|
||||
eventObject.libraryId = value["LibraryId"].asString();
|
||||
if(!value["IdStr"].isNull())
|
||||
eventObject.idStr1 = value["IdStr"].asString();
|
||||
event_.push_back(eventObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto eventNode = value["Event"];
|
||||
if(!eventNode["Id"].isNull())
|
||||
event_.id = std::stol(eventNode["Id"].asString());
|
||||
if(!eventNode["IdStr"].isNull())
|
||||
event_.idStr = eventNode["IdStr"].asString();
|
||||
if(!eventNode["Title"].isNull())
|
||||
event_.title = eventNode["Title"].asString();
|
||||
if(!eventNode["BannerPhotoId"].isNull())
|
||||
event_.bannerPhotoId = eventNode["BannerPhotoId"].asString();
|
||||
if(!eventNode["Identity"].isNull())
|
||||
event_.identity = eventNode["Identity"].asString();
|
||||
if(!eventNode["SplashPhotoId"].isNull())
|
||||
event_.splashPhotoId = eventNode["SplashPhotoId"].asString();
|
||||
if(!eventNode["State"].isNull())
|
||||
event_.state = eventNode["State"].asString();
|
||||
if(!eventNode["WeixinTitle"].isNull())
|
||||
event_.weixinTitle = eventNode["WeixinTitle"].asString();
|
||||
if(!eventNode["WatermarkPhotoId"].isNull())
|
||||
event_.watermarkPhotoId = eventNode["WatermarkPhotoId"].asString();
|
||||
if(!eventNode["StartAt"].isNull())
|
||||
event_.startAt = std::stol(eventNode["StartAt"].asString());
|
||||
if(!eventNode["EndAt"].isNull())
|
||||
event_.endAt = std::stol(eventNode["EndAt"].asString());
|
||||
if(!eventNode["Ctime"].isNull())
|
||||
event_.ctime = std::stol(eventNode["Ctime"].asString());
|
||||
if(!eventNode["Mtime"].isNull())
|
||||
event_.mtime = std::stol(eventNode["Mtime"].asString());
|
||||
if(!eventNode["ViewsCount"].isNull())
|
||||
event_.viewsCount = std::stol(eventNode["ViewsCount"].asString());
|
||||
if(!eventNode["LibraryId"].isNull())
|
||||
event_.libraryId = eventNode["LibraryId"].asString();
|
||||
if(!eventNode["IdStr"].isNull())
|
||||
event_.idStr1 = eventNode["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string EditEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string EditEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<EditEventResult::Event> EditEventResult::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
std::string EditEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string EditEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string EditEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
EditEventResult::Event EditEventResult::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
std::string EditEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,27 +40,27 @@ void EditPhotoStoreResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string EditPhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,46 +40,46 @@ void EditPhotosResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Id"].isNull())
|
||||
resultsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
resultsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string EditPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string EditPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<EditPhotosResult::Result> EditPhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string EditPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string EditPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string EditPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<EditPhotosResult::Result> EditPhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string EditPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
93
cloudphoto/src/model/FetchAlbumTagPhotosRequest.cc
Normal file
93
cloudphoto/src/model/FetchAlbumTagPhotosRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudphoto/model/FetchAlbumTagPhotosRequest.h>
|
||||
|
||||
using AlibabaCloud::CloudPhoto::Model::FetchAlbumTagPhotosRequest;
|
||||
|
||||
FetchAlbumTagPhotosRequest::FetchAlbumTagPhotosRequest() :
|
||||
RpcServiceRequest("cloudphoto", "2017-07-11", "FetchAlbumTagPhotos")
|
||||
{}
|
||||
|
||||
FetchAlbumTagPhotosRequest::~FetchAlbumTagPhotosRequest()
|
||||
{}
|
||||
|
||||
int FetchAlbumTagPhotosRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void FetchAlbumTagPhotosRequest::setSize(int size)
|
||||
{
|
||||
size_ = size;
|
||||
setParameter("Size", std::to_string(size));
|
||||
}
|
||||
|
||||
long FetchAlbumTagPhotosRequest::getTagId()const
|
||||
{
|
||||
return tagId_;
|
||||
}
|
||||
|
||||
void FetchAlbumTagPhotosRequest::setTagId(long tagId)
|
||||
{
|
||||
tagId_ = tagId;
|
||||
setParameter("TagId", std::to_string(tagId));
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosRequest::getLibraryId()const
|
||||
{
|
||||
return libraryId_;
|
||||
}
|
||||
|
||||
void FetchAlbumTagPhotosRequest::setLibraryId(const std::string& libraryId)
|
||||
{
|
||||
libraryId_ = libraryId;
|
||||
setParameter("LibraryId", libraryId);
|
||||
}
|
||||
|
||||
long FetchAlbumTagPhotosRequest::getAlbumId()const
|
||||
{
|
||||
return albumId_;
|
||||
}
|
||||
|
||||
void FetchAlbumTagPhotosRequest::setAlbumId(long albumId)
|
||||
{
|
||||
albumId_ = albumId;
|
||||
setParameter("AlbumId", std::to_string(albumId));
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosRequest::getStoreName()const
|
||||
{
|
||||
return storeName_;
|
||||
}
|
||||
|
||||
void FetchAlbumTagPhotosRequest::setStoreName(const std::string& storeName)
|
||||
{
|
||||
storeName_ = storeName;
|
||||
setParameter("StoreName", storeName);
|
||||
}
|
||||
|
||||
int FetchAlbumTagPhotosRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
}
|
||||
|
||||
void FetchAlbumTagPhotosRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
}
|
||||
|
||||
92
cloudphoto/src/model/FetchAlbumTagPhotosResult.cc
Normal file
92
cloudphoto/src/model/FetchAlbumTagPhotosResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cloudphoto/model/FetchAlbumTagPhotosResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CloudPhoto;
|
||||
using namespace AlibabaCloud::CloudPhoto::Model;
|
||||
|
||||
FetchAlbumTagPhotosResult::FetchAlbumTagPhotosResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
FetchAlbumTagPhotosResult::FetchAlbumTagPhotosResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
FetchAlbumTagPhotosResult::~FetchAlbumTagPhotosResult()
|
||||
{}
|
||||
|
||||
void FetchAlbumTagPhotosResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["PhotoId"].isNull())
|
||||
resultsObject.photoId = std::stol(value["PhotoId"].asString());
|
||||
if(!value["PhotoIdStr"].isNull())
|
||||
resultsObject.photoIdStr = value["PhotoIdStr"].asString();
|
||||
if(!value["Mtime"].isNull())
|
||||
resultsObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["State"].isNull())
|
||||
resultsObject.state = value["State"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
int FetchAlbumTagPhotosResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<FetchAlbumTagPhotosResult::Result> FetchAlbumTagPhotosResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string FetchAlbumTagPhotosResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -40,82 +40,77 @@ void GetAlbumsByNamesResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAlbums = value["Albums"]["Album"];
|
||||
for (auto value : allAlbums)
|
||||
{
|
||||
Album albumsObject;
|
||||
if(!value["Id"].isNull())
|
||||
albumsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
albumsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
albumsObject.name = value["Name"].asString();
|
||||
if(!value["State"].isNull())
|
||||
albumsObject.state = value["State"].asString();
|
||||
if(!value["PhotosCount"].isNull())
|
||||
albumsObject.photosCount = std::stol(value["PhotosCount"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
albumsObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
albumsObject.mtime = std::stol(value["Mtime"].asString());
|
||||
auto allCover = value["Cover"];
|
||||
for (auto value : allCover)
|
||||
{
|
||||
Album::Cover coverObject;
|
||||
if(!value["Id"].isNull())
|
||||
coverObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
coverObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
coverObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
coverObject.fileId = value["FileId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
coverObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
coverObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
coverObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Remark"].isNull())
|
||||
coverObject.remark = value["Remark"].asString();
|
||||
if(!value["Width"].isNull())
|
||||
coverObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
coverObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
coverObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
coverObject.mtime = std::stol(value["Mtime"].asString());
|
||||
albumsObject.cover.push_back(coverObject);
|
||||
}
|
||||
albums_.push_back(albumsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allAlbums = value["Albums"]["Album"];
|
||||
for (auto value : allAlbums)
|
||||
{
|
||||
Album albumsObject;
|
||||
if(!value["Id"].isNull())
|
||||
albumsObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
albumsObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
albumsObject.name = value["Name"].asString();
|
||||
if(!value["State"].isNull())
|
||||
albumsObject.state = value["State"].asString();
|
||||
if(!value["PhotosCount"].isNull())
|
||||
albumsObject.photosCount = std::stol(value["PhotosCount"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
albumsObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
albumsObject.mtime = std::stol(value["Mtime"].asString());
|
||||
auto coverNode = value["Cover"];
|
||||
if(!coverNode["Id"].isNull())
|
||||
albumsObject.cover.id = std::stol(coverNode["Id"].asString());
|
||||
if(!coverNode["IdStr"].isNull())
|
||||
albumsObject.cover.idStr = coverNode["IdStr"].asString();
|
||||
if(!coverNode["Title"].isNull())
|
||||
albumsObject.cover.title = coverNode["Title"].asString();
|
||||
if(!coverNode["FileId"].isNull())
|
||||
albumsObject.cover.fileId = coverNode["FileId"].asString();
|
||||
if(!coverNode["State"].isNull())
|
||||
albumsObject.cover.state = coverNode["State"].asString();
|
||||
if(!coverNode["Md5"].isNull())
|
||||
albumsObject.cover.md5 = coverNode["Md5"].asString();
|
||||
if(!coverNode["IsVideo"].isNull())
|
||||
albumsObject.cover.isVideo = coverNode["IsVideo"].asString() == "true";
|
||||
if(!coverNode["Remark"].isNull())
|
||||
albumsObject.cover.remark = coverNode["Remark"].asString();
|
||||
if(!coverNode["Width"].isNull())
|
||||
albumsObject.cover.width = std::stol(coverNode["Width"].asString());
|
||||
if(!coverNode["Height"].isNull())
|
||||
albumsObject.cover.height = std::stol(coverNode["Height"].asString());
|
||||
if(!coverNode["Ctime"].isNull())
|
||||
albumsObject.cover.ctime = std::stol(coverNode["Ctime"].asString());
|
||||
if(!coverNode["Mtime"].isNull())
|
||||
albumsObject.cover.mtime = std::stol(coverNode["Mtime"].asString());
|
||||
albums_.push_back(albumsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::vector<GetAlbumsByNamesResult::Album> GetAlbumsByNamesResult::getAlbums()const
|
||||
{
|
||||
return albums_;
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetAlbumsByNamesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::vector<GetAlbumsByNamesResult::Album> GetAlbumsByNamesResult::getAlbums()const
|
||||
{
|
||||
return albums_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,34 +40,34 @@ void GetDownloadUrlResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
downloadUrl_ = value["DownloadUrl"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
downloadUrl_ = value["DownloadUrl"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getDownloadUrl()const
|
||||
{
|
||||
return downloadUrl_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlResult::getDownloadUrl()const
|
||||
{
|
||||
return downloadUrl_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,48 +40,48 @@ void GetDownloadUrlsResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
if(!value["PhotoId"].isNull())
|
||||
resultsObject.photoId = std::stol(value["PhotoId"].asString());
|
||||
if(!value["PhotoIdStr"].isNull())
|
||||
resultsObject.photoIdStr = value["PhotoIdStr"].asString();
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
resultsObject.downloadUrl = value["DownloadUrl"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
if(!value["PhotoId"].isNull())
|
||||
resultsObject.photoId = std::stol(value["PhotoId"].asString());
|
||||
if(!value["PhotoIdStr"].isNull())
|
||||
resultsObject.photoIdStr = value["PhotoIdStr"].asString();
|
||||
if(!value["DownloadUrl"].isNull())
|
||||
resultsObject.downloadUrl = value["DownloadUrl"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetDownloadUrlsResult::Result> GetDownloadUrlsResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetDownloadUrlsResult::Result> GetDownloadUrlsResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string GetDownloadUrlsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,70 +40,65 @@ void GetEventResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEvent = value["Event"];
|
||||
for (auto value : allEvent)
|
||||
{
|
||||
Event eventObject;
|
||||
if(!value["Id"].isNull())
|
||||
eventObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
eventObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
eventObject.title = value["Title"].asString();
|
||||
if(!value["BannerPhotoId"].isNull())
|
||||
eventObject.bannerPhotoId = value["BannerPhotoId"].asString();
|
||||
if(!value["Identity"].isNull())
|
||||
eventObject.identity = value["Identity"].asString();
|
||||
if(!value["SplashPhotoId"].isNull())
|
||||
eventObject.splashPhotoId = value["SplashPhotoId"].asString();
|
||||
if(!value["State"].isNull())
|
||||
eventObject.state = value["State"].asString();
|
||||
if(!value["WeixinTitle"].isNull())
|
||||
eventObject.weixinTitle = value["WeixinTitle"].asString();
|
||||
if(!value["WatermarkPhotoId"].isNull())
|
||||
eventObject.watermarkPhotoId = value["WatermarkPhotoId"].asString();
|
||||
if(!value["StartAt"].isNull())
|
||||
eventObject.startAt = std::stol(value["StartAt"].asString());
|
||||
if(!value["EndAt"].isNull())
|
||||
eventObject.endAt = std::stol(value["EndAt"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
eventObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
eventObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["ViewsCount"].isNull())
|
||||
eventObject.viewsCount = std::stol(value["ViewsCount"].asString());
|
||||
if(!value["LibraryId"].isNull())
|
||||
eventObject.libraryId = value["LibraryId"].asString();
|
||||
if(!value["IdStr"].isNull())
|
||||
eventObject.idStr1 = value["IdStr"].asString();
|
||||
event_.push_back(eventObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto eventNode = value["Event"];
|
||||
if(!eventNode["Id"].isNull())
|
||||
event_.id = std::stol(eventNode["Id"].asString());
|
||||
if(!eventNode["IdStr"].isNull())
|
||||
event_.idStr = eventNode["IdStr"].asString();
|
||||
if(!eventNode["Title"].isNull())
|
||||
event_.title = eventNode["Title"].asString();
|
||||
if(!eventNode["BannerPhotoId"].isNull())
|
||||
event_.bannerPhotoId = eventNode["BannerPhotoId"].asString();
|
||||
if(!eventNode["Identity"].isNull())
|
||||
event_.identity = eventNode["Identity"].asString();
|
||||
if(!eventNode["SplashPhotoId"].isNull())
|
||||
event_.splashPhotoId = eventNode["SplashPhotoId"].asString();
|
||||
if(!eventNode["State"].isNull())
|
||||
event_.state = eventNode["State"].asString();
|
||||
if(!eventNode["WeixinTitle"].isNull())
|
||||
event_.weixinTitle = eventNode["WeixinTitle"].asString();
|
||||
if(!eventNode["WatermarkPhotoId"].isNull())
|
||||
event_.watermarkPhotoId = eventNode["WatermarkPhotoId"].asString();
|
||||
if(!eventNode["StartAt"].isNull())
|
||||
event_.startAt = std::stol(eventNode["StartAt"].asString());
|
||||
if(!eventNode["EndAt"].isNull())
|
||||
event_.endAt = std::stol(eventNode["EndAt"].asString());
|
||||
if(!eventNode["Ctime"].isNull())
|
||||
event_.ctime = std::stol(eventNode["Ctime"].asString());
|
||||
if(!eventNode["Mtime"].isNull())
|
||||
event_.mtime = std::stol(eventNode["Mtime"].asString());
|
||||
if(!eventNode["ViewsCount"].isNull())
|
||||
event_.viewsCount = std::stol(eventNode["ViewsCount"].asString());
|
||||
if(!eventNode["LibraryId"].isNull())
|
||||
event_.libraryId = eventNode["LibraryId"].asString();
|
||||
if(!eventNode["IdStr"].isNull())
|
||||
event_.idStr1 = eventNode["IdStr"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetEventResult::Event> GetEventResult::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
std::string GetEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetEventResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetEventResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetEventResult::Event GetEventResult::getEvent()const
|
||||
{
|
||||
return event_;
|
||||
}
|
||||
|
||||
std::string GetEventResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,48 +40,48 @@ void GetFramedPhotoUrlsResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
if(!value["PhotoId"].isNull())
|
||||
resultsObject.photoId = std::stol(value["PhotoId"].asString());
|
||||
if(!value["PhotoIdStr"].isNull())
|
||||
resultsObject.photoIdStr = value["PhotoIdStr"].asString();
|
||||
if(!value["FramedPhotoUrl"].isNull())
|
||||
resultsObject.framedPhotoUrl = value["FramedPhotoUrl"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allResults = value["Results"]["Result"];
|
||||
for (auto value : allResults)
|
||||
{
|
||||
Result resultsObject;
|
||||
if(!value["Code"].isNull())
|
||||
resultsObject.code = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
resultsObject.message = value["Message"].asString();
|
||||
if(!value["PhotoId"].isNull())
|
||||
resultsObject.photoId = std::stol(value["PhotoId"].asString());
|
||||
if(!value["PhotoIdStr"].isNull())
|
||||
resultsObject.photoIdStr = value["PhotoIdStr"].asString();
|
||||
if(!value["FramedPhotoUrl"].isNull())
|
||||
resultsObject.framedPhotoUrl = value["FramedPhotoUrl"].asString();
|
||||
results_.push_back(resultsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetFramedPhotoUrlsResult::Result> GetFramedPhotoUrlsResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetFramedPhotoUrlsResult::Result> GetFramedPhotoUrlsResult::getResults()const
|
||||
{
|
||||
return results_;
|
||||
}
|
||||
|
||||
std::string GetFramedPhotoUrlsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,70 +40,55 @@ void GetLibraryResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allLibrary = value["Library"];
|
||||
for (auto value : allLibrary)
|
||||
{
|
||||
Library libraryObject;
|
||||
auto allQuota = value["Quota"];
|
||||
for (auto value : allQuota)
|
||||
{
|
||||
Library::Quota quotaObject;
|
||||
if(!value["TotalQuota"].isNull())
|
||||
quotaObject.totalQuota = std::stol(value["TotalQuota"].asString());
|
||||
if(!value["TotalTrashQuota"].isNull())
|
||||
quotaObject.totalTrashQuota = std::stol(value["TotalTrashQuota"].asString());
|
||||
if(!value["FacesCount"].isNull())
|
||||
quotaObject.facesCount = std::stoi(value["FacesCount"].asString());
|
||||
if(!value["PhotosCount"].isNull())
|
||||
quotaObject.photosCount = std::stoi(value["PhotosCount"].asString());
|
||||
if(!value["UsedQuota"].isNull())
|
||||
quotaObject.usedQuota = std::stol(value["UsedQuota"].asString());
|
||||
if(!value["VideosCount"].isNull())
|
||||
quotaObject.videosCount = std::stoi(value["VideosCount"].asString());
|
||||
if(!value["ActiveSize"].isNull())
|
||||
quotaObject.activeSize = std::stol(value["ActiveSize"].asString());
|
||||
if(!value["InactiveSize"].isNull())
|
||||
quotaObject.inactiveSize = std::stol(value["InactiveSize"].asString());
|
||||
libraryObject.quota.push_back(quotaObject);
|
||||
}
|
||||
auto allAutoCleanConfig = value["AutoCleanConfig"];
|
||||
for (auto value : allAutoCleanConfig)
|
||||
{
|
||||
Library::AutoCleanConfig autoCleanConfigObject;
|
||||
if(!value["AutoCleanEnabled"].isNull())
|
||||
autoCleanConfigObject.autoCleanEnabled = value["AutoCleanEnabled"].asString() == "true";
|
||||
if(!value["AutoCleanDays"].isNull())
|
||||
autoCleanConfigObject.autoCleanDays = std::stoi(value["AutoCleanDays"].asString());
|
||||
libraryObject.autoCleanConfig.push_back(autoCleanConfigObject);
|
||||
}
|
||||
library_.push_back(libraryObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto libraryNode = value["Library"];
|
||||
auto quotaNode = libraryNode["Quota"];
|
||||
if(!quotaNode["TotalQuota"].isNull())
|
||||
library_.quota.totalQuota = std::stol(quotaNode["TotalQuota"].asString());
|
||||
if(!quotaNode["TotalTrashQuota"].isNull())
|
||||
library_.quota.totalTrashQuota = std::stol(quotaNode["TotalTrashQuota"].asString());
|
||||
if(!quotaNode["FacesCount"].isNull())
|
||||
library_.quota.facesCount = std::stoi(quotaNode["FacesCount"].asString());
|
||||
if(!quotaNode["PhotosCount"].isNull())
|
||||
library_.quota.photosCount = std::stoi(quotaNode["PhotosCount"].asString());
|
||||
if(!quotaNode["UsedQuota"].isNull())
|
||||
library_.quota.usedQuota = std::stol(quotaNode["UsedQuota"].asString());
|
||||
if(!quotaNode["VideosCount"].isNull())
|
||||
library_.quota.videosCount = std::stoi(quotaNode["VideosCount"].asString());
|
||||
if(!quotaNode["ActiveSize"].isNull())
|
||||
library_.quota.activeSize = std::stol(quotaNode["ActiveSize"].asString());
|
||||
if(!quotaNode["InactiveSize"].isNull())
|
||||
library_.quota.inactiveSize = std::stol(quotaNode["InactiveSize"].asString());
|
||||
auto autoCleanConfigNode = libraryNode["AutoCleanConfig"];
|
||||
if(!autoCleanConfigNode["AutoCleanEnabled"].isNull())
|
||||
library_.autoCleanConfig.autoCleanEnabled = autoCleanConfigNode["AutoCleanEnabled"].asString() == "true";
|
||||
if(!autoCleanConfigNode["AutoCleanDays"].isNull())
|
||||
library_.autoCleanConfig.autoCleanDays = std::stoi(autoCleanConfigNode["AutoCleanDays"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetLibraryResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetLibraryResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetLibraryResult::Library> GetLibraryResult::getLibrary()const
|
||||
{
|
||||
return library_;
|
||||
}
|
||||
|
||||
std::string GetLibraryResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetLibraryResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetLibraryResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetLibraryResult::Library GetLibraryResult::getLibrary()const
|
||||
{
|
||||
return library_;
|
||||
}
|
||||
|
||||
std::string GetLibraryResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,72 +40,67 @@ void GetPhotoStoreResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPhotoStore = value["PhotoStore"];
|
||||
for (auto value : allPhotoStore)
|
||||
{
|
||||
PhotoStore photoStoreObject;
|
||||
if(!value["Id"].isNull())
|
||||
photoStoreObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
photoStoreObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Name"].isNull())
|
||||
photoStoreObject.name = value["Name"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
photoStoreObject.remark = value["Remark"].asString();
|
||||
if(!value["AutoCleanEnabled"].isNull())
|
||||
photoStoreObject.autoCleanEnabled = value["AutoCleanEnabled"].asString() == "true";
|
||||
if(!value["AutoCleanDays"].isNull())
|
||||
photoStoreObject.autoCleanDays = std::stoi(value["AutoCleanDays"].asString());
|
||||
if(!value["DefaultQuota"].isNull())
|
||||
photoStoreObject.defaultQuota = std::stol(value["DefaultQuota"].asString());
|
||||
if(!value["DefaultTrashQuota"].isNull())
|
||||
photoStoreObject.defaultTrashQuota = std::stol(value["DefaultTrashQuota"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
photoStoreObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
photoStoreObject.mtime = std::stol(value["Mtime"].asString());
|
||||
auto allBuckets = value["Buckets"]["Bucket"];
|
||||
for (auto value : allBuckets)
|
||||
{
|
||||
PhotoStore::Bucket bucketObject;
|
||||
if(!value["Name"].isNull())
|
||||
bucketObject.name = value["Name"].asString();
|
||||
if(!value["Region"].isNull())
|
||||
bucketObject.region = value["Region"].asString();
|
||||
if(!value["State"].isNull())
|
||||
bucketObject.state = value["State"].asString();
|
||||
if(!value["Acl"].isNull())
|
||||
bucketObject.acl = value["Acl"].asString();
|
||||
photoStoreObject.buckets.push_back(bucketObject);
|
||||
}
|
||||
photoStore_.push_back(photoStoreObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto photoStoreNode = value["PhotoStore"];
|
||||
if(!photoStoreNode["Id"].isNull())
|
||||
photoStore_.id = std::stol(photoStoreNode["Id"].asString());
|
||||
if(!photoStoreNode["IdStr"].isNull())
|
||||
photoStore_.idStr = photoStoreNode["IdStr"].asString();
|
||||
if(!photoStoreNode["Name"].isNull())
|
||||
photoStore_.name = photoStoreNode["Name"].asString();
|
||||
if(!photoStoreNode["Remark"].isNull())
|
||||
photoStore_.remark = photoStoreNode["Remark"].asString();
|
||||
if(!photoStoreNode["AutoCleanEnabled"].isNull())
|
||||
photoStore_.autoCleanEnabled = photoStoreNode["AutoCleanEnabled"].asString() == "true";
|
||||
if(!photoStoreNode["AutoCleanDays"].isNull())
|
||||
photoStore_.autoCleanDays = std::stoi(photoStoreNode["AutoCleanDays"].asString());
|
||||
if(!photoStoreNode["DefaultQuota"].isNull())
|
||||
photoStore_.defaultQuota = std::stol(photoStoreNode["DefaultQuota"].asString());
|
||||
if(!photoStoreNode["DefaultTrashQuota"].isNull())
|
||||
photoStore_.defaultTrashQuota = std::stol(photoStoreNode["DefaultTrashQuota"].asString());
|
||||
if(!photoStoreNode["Ctime"].isNull())
|
||||
photoStore_.ctime = std::stol(photoStoreNode["Ctime"].asString());
|
||||
if(!photoStoreNode["Mtime"].isNull())
|
||||
photoStore_.mtime = std::stol(photoStoreNode["Mtime"].asString());
|
||||
auto allBuckets = value["Buckets"]["Bucket"];
|
||||
for (auto value : allBuckets)
|
||||
{
|
||||
PhotoStore::Bucket bucketObject;
|
||||
if(!value["Name"].isNull())
|
||||
bucketObject.name = value["Name"].asString();
|
||||
if(!value["Region"].isNull())
|
||||
bucketObject.region = value["Region"].asString();
|
||||
if(!value["State"].isNull())
|
||||
bucketObject.state = value["State"].asString();
|
||||
if(!value["Acl"].isNull())
|
||||
bucketObject.acl = value["Acl"].asString();
|
||||
photoStore_.buckets.push_back(bucketObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetPhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetPhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<GetPhotoStoreResult::PhotoStore> GetPhotoStoreResult::getPhotoStore()const
|
||||
{
|
||||
return photoStore_;
|
||||
}
|
||||
|
||||
std::string GetPhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetPhotoStoreResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetPhotoStoreResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetPhotoStoreResult::PhotoStore GetPhotoStoreResult::getPhotoStore()const
|
||||
{
|
||||
return photoStore_;
|
||||
}
|
||||
|
||||
std::string GetPhotoStoreResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,70 +40,70 @@ void GetPhotosByMd5sResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPhotos = value["Photos"]["Photo"];
|
||||
for (auto value : allPhotos)
|
||||
{
|
||||
Photo photosObject;
|
||||
if(!value["Id"].isNull())
|
||||
photosObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
photosObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
photosObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
photosObject.fileId = value["FileId"].asString();
|
||||
if(!value["Location"].isNull())
|
||||
photosObject.location = value["Location"].asString();
|
||||
if(!value["State"].isNull())
|
||||
photosObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
photosObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
photosObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Remark"].isNull())
|
||||
photosObject.remark = value["Remark"].asString();
|
||||
if(!value["Size"].isNull())
|
||||
photosObject.size = std::stol(value["Size"].asString());
|
||||
if(!value["Width"].isNull())
|
||||
photosObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
photosObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
photosObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
photosObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["TakenAt"].isNull())
|
||||
photosObject.takenAt = std::stol(value["TakenAt"].asString());
|
||||
if(!value["ShareExpireTime"].isNull())
|
||||
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
|
||||
photos_.push_back(photosObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
auto allPhotos = value["Photos"]["Photo"];
|
||||
for (auto value : allPhotos)
|
||||
{
|
||||
Photo photosObject;
|
||||
if(!value["Id"].isNull())
|
||||
photosObject.id = std::stol(value["Id"].asString());
|
||||
if(!value["IdStr"].isNull())
|
||||
photosObject.idStr = value["IdStr"].asString();
|
||||
if(!value["Title"].isNull())
|
||||
photosObject.title = value["Title"].asString();
|
||||
if(!value["FileId"].isNull())
|
||||
photosObject.fileId = value["FileId"].asString();
|
||||
if(!value["Location"].isNull())
|
||||
photosObject.location = value["Location"].asString();
|
||||
if(!value["State"].isNull())
|
||||
photosObject.state = value["State"].asString();
|
||||
if(!value["Md5"].isNull())
|
||||
photosObject.md5 = value["Md5"].asString();
|
||||
if(!value["IsVideo"].isNull())
|
||||
photosObject.isVideo = value["IsVideo"].asString() == "true";
|
||||
if(!value["Remark"].isNull())
|
||||
photosObject.remark = value["Remark"].asString();
|
||||
if(!value["Size"].isNull())
|
||||
photosObject.size = std::stol(value["Size"].asString());
|
||||
if(!value["Width"].isNull())
|
||||
photosObject.width = std::stol(value["Width"].asString());
|
||||
if(!value["Height"].isNull())
|
||||
photosObject.height = std::stol(value["Height"].asString());
|
||||
if(!value["Ctime"].isNull())
|
||||
photosObject.ctime = std::stol(value["Ctime"].asString());
|
||||
if(!value["Mtime"].isNull())
|
||||
photosObject.mtime = std::stol(value["Mtime"].asString());
|
||||
if(!value["TakenAt"].isNull())
|
||||
photosObject.takenAt = std::stol(value["TakenAt"].asString());
|
||||
if(!value["ShareExpireTime"].isNull())
|
||||
photosObject.shareExpireTime = std::stol(value["ShareExpireTime"].asString());
|
||||
photos_.push_back(photosObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Action"].isNull())
|
||||
action_ = value["Action"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<GetPhotosByMd5sResult::Photo> GetPhotosByMd5sResult::getPhotos()const
|
||||
{
|
||||
return photos_;
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::vector<GetPhotosByMd5sResult::Photo> GetPhotosByMd5sResult::getPhotos()const
|
||||
{
|
||||
return photos_;
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sResult::getAction()const
|
||||
{
|
||||
return action_;
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetPhotosByMd5sResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user