由廷诚发起的CLOUDPHOTO SDK自动发布, BUILD_ID=346, 版本号:1.0.4

发布日志:
1, replace photo tag 2000 upgrade to 5000
2, add TrashQuota
This commit is contained in:
haowei.yao
2018-01-11 14:41:00 +08:00
parent beeaa75f44
commit cb6587a9c9
249 changed files with 21028 additions and 2 deletions

View File

@@ -54,4 +54,5 @@ add_subdirectory(ecs)
add_subdirectory(slb)
add_subdirectory(vpc)
add_subdirectory(cdn)
add_subdirectory(rds)
add_subdirectory(rds)
add_subdirectory(cloudphoto)

View File

@@ -1 +1 @@
1.0.3
1.0.4

318
cloudphoto/CMakeLists.txt Normal file
View File

@@ -0,0 +1,318 @@
#
# 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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(cloudphoto_public_header
include/alibabacloud/cloudphoto/model/RemoveFacePhotosRequest.h
include/alibabacloud/cloudphoto/model/RemoveFacePhotosResult.h
include/alibabacloud/cloudphoto/model/ReactivatePhotosRequest.h
include/alibabacloud/cloudphoto/model/ReactivatePhotosResult.h
include/alibabacloud/cloudphoto/model/GetQuotaRequest.h
include/alibabacloud/cloudphoto/model/GetQuotaResult.h
include/alibabacloud/cloudphoto/model/GetThumbnailsRequest.h
include/alibabacloud/cloudphoto/model/GetThumbnailsResult.h
include/alibabacloud/cloudphoto/model/DeleteFacesRequest.h
include/alibabacloud/cloudphoto/model/DeleteFacesResult.h
include/alibabacloud/cloudphoto/model/AddAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/AddAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListFacesRequest.h
include/alibabacloud/cloudphoto/model/ListFacesResult.h
include/alibabacloud/cloudphoto/model/MoveFacePhotosRequest.h
include/alibabacloud/cloudphoto/model/MoveFacePhotosResult.h
include/alibabacloud/cloudphoto/model/ListPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListPhotosResult.h
include/alibabacloud/cloudphoto/model/RegisterTagRequest.h
include/alibabacloud/cloudphoto/model/RegisterTagResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinePhotosResult.h
include/alibabacloud/cloudphoto/model/DeletePhotosRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotosResult.h
include/alibabacloud/cloudphoto/model/MergeFacesRequest.h
include/alibabacloud/cloudphoto/model/MergeFacesResult.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosByMd5sResult.h
include/alibabacloud/cloudphoto/model/CreateTransactionRequest.h
include/alibabacloud/cloudphoto/model/CreateTransactionResult.h
include/alibabacloud/cloudphoto/model/InactivatePhotosRequest.h
include/alibabacloud/cloudphoto/model/InactivatePhotosResult.h
include/alibabacloud/cloudphoto/model/CreatePhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/CreatePhotoStoreResult.h
include/alibabacloud/cloudphoto/model/TagPhotoRequest.h
include/alibabacloud/cloudphoto/model/TagPhotoResult.h
include/alibabacloud/cloudphoto/model/GetLibraryRequest.h
include/alibabacloud/cloudphoto/model/GetLibraryResult.h
include/alibabacloud/cloudphoto/model/SetQuotaRequest.h
include/alibabacloud/cloudphoto/model/SetQuotaResult.h
include/alibabacloud/cloudphoto/model/ListAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/RemoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/ListAlbumsRequest.h
include/alibabacloud/cloudphoto/model/ListAlbumsResult.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoFacesResult.h
include/alibabacloud/cloudphoto/model/RenameAlbumRequest.h
include/alibabacloud/cloudphoto/model/RenameAlbumResult.h
include/alibabacloud/cloudphoto/model/ActivatePhotosRequest.h
include/alibabacloud/cloudphoto/model/ActivatePhotosResult.h
include/alibabacloud/cloudphoto/model/GetPrivateAccessUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetPrivateAccessUrlsResult.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetSimilarPhotosResult.h
include/alibabacloud/cloudphoto/model/GetVideoCoverRequest.h
include/alibabacloud/cloudphoto/model/GetVideoCoverResult.h
include/alibabacloud/cloudphoto/model/GetFramedPhotoUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetFramedPhotoUrlsResult.h
include/alibabacloud/cloudphoto/model/SetMeRequest.h
include/alibabacloud/cloudphoto/model/SetMeResult.h
include/alibabacloud/cloudphoto/model/ListTagPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListTagPhotosResult.h
include/alibabacloud/cloudphoto/model/DeleteAlbumsRequest.h
include/alibabacloud/cloudphoto/model/DeleteAlbumsResult.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlsResult.h
include/alibabacloud/cloudphoto/model/GetPhotosRequest.h
include/alibabacloud/cloudphoto/model/GetPhotosResult.h
include/alibabacloud/cloudphoto/model/RegisterPhotoRequest.h
include/alibabacloud/cloudphoto/model/RegisterPhotoResult.h
include/alibabacloud/cloudphoto/model/EditPhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/EditPhotoStoreResult.h
include/alibabacloud/cloudphoto/model/ListTimeLinesRequest.h
include/alibabacloud/cloudphoto/model/ListTimeLinesResult.h
include/alibabacloud/cloudphoto/model/SearchPhotosRequest.h
include/alibabacloud/cloudphoto/model/SearchPhotosResult.h
include/alibabacloud/cloudphoto/model/ToggleFeaturesRequest.h
include/alibabacloud/cloudphoto/model/ToggleFeaturesResult.h
include/alibabacloud/cloudphoto/model/ListRegisteredTagsRequest.h
include/alibabacloud/cloudphoto/model/ListRegisteredTagsResult.h
include/alibabacloud/cloudphoto/model/DeletePhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/DeletePhotoStoreResult.h
include/alibabacloud/cloudphoto/model/GetPhotoStoreRequest.h
include/alibabacloud/cloudphoto/model/GetPhotoStoreResult.h
include/alibabacloud/cloudphoto/model/ListMomentPhotosRequest.h
include/alibabacloud/cloudphoto/model/ListMomentPhotosResult.h
include/alibabacloud/cloudphoto/model/GetThumbnailRequest.h
include/alibabacloud/cloudphoto/model/GetThumbnailResult.h
include/alibabacloud/cloudphoto/model/SetFaceCoverRequest.h
include/alibabacloud/cloudphoto/model/SetFaceCoverResult.h
include/alibabacloud/cloudphoto/model/CreatePhotoRequest.h
include/alibabacloud/cloudphoto/model/CreatePhotoResult.h
include/alibabacloud/cloudphoto/model/MoveAlbumPhotosRequest.h
include/alibabacloud/cloudphoto/model/MoveAlbumPhotosResult.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlRequest.h
include/alibabacloud/cloudphoto/model/GetDownloadUrlResult.h
include/alibabacloud/cloudphoto/model/CreateAlbumRequest.h
include/alibabacloud/cloudphoto/model/CreateAlbumResult.h
include/alibabacloud/cloudphoto/model/ListPhotoTagsRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoTagsResult.h
include/alibabacloud/cloudphoto/model/LikePhotoRequest.h
include/alibabacloud/cloudphoto/model/LikePhotoResult.h
include/alibabacloud/cloudphoto/model/ListPhotoStoresRequest.h
include/alibabacloud/cloudphoto/model/ListPhotoStoresResult.h
include/alibabacloud/cloudphoto/model/GetPublicAccessUrlsRequest.h
include/alibabacloud/cloudphoto/model/GetPublicAccessUrlsResult.h
include/alibabacloud/cloudphoto/model/EditPhotosRequest.h
include/alibabacloud/cloudphoto/model/EditPhotosResult.h
include/alibabacloud/cloudphoto/model/SetAlbumCoverRequest.h
include/alibabacloud/cloudphoto/model/SetAlbumCoverResult.h
include/alibabacloud/cloudphoto/model/RenameFaceRequest.h
include/alibabacloud/cloudphoto/model/RenameFaceResult.h
include/alibabacloud/cloudphoto/model/ListMomentsRequest.h
include/alibabacloud/cloudphoto/model/ListMomentsResult.h
include/alibabacloud/cloudphoto/model/ListTagsRequest.h
include/alibabacloud/cloudphoto/model/ListTagsResult.h
include/alibabacloud/cloudphoto/model/ListFacePhotosRequest.h
include/alibabacloud/cloudphoto/model/ListFacePhotosResult.h
include/alibabacloud/cloudphoto/CloudPhotoClient.h
include/alibabacloud/cloudphoto/CloudPhotoExport.h
include/alibabacloud/cloudphoto/CloudPhotoRequest.h
)
set(cloudphoto_src
src/model/RemoveFacePhotosRequest.cc
src/model/RemoveFacePhotosResult.cc
src/model/ReactivatePhotosRequest.cc
src/model/ReactivatePhotosResult.cc
src/model/GetQuotaRequest.cc
src/model/GetQuotaResult.cc
src/model/GetThumbnailsRequest.cc
src/model/GetThumbnailsResult.cc
src/model/DeleteFacesRequest.cc
src/model/DeleteFacesResult.cc
src/model/AddAlbumPhotosRequest.cc
src/model/AddAlbumPhotosResult.cc
src/model/ListFacesRequest.cc
src/model/ListFacesResult.cc
src/model/MoveFacePhotosRequest.cc
src/model/MoveFacePhotosResult.cc
src/model/ListPhotosRequest.cc
src/model/ListPhotosResult.cc
src/model/RegisterTagRequest.cc
src/model/RegisterTagResult.cc
src/model/ListTimeLinePhotosRequest.cc
src/model/ListTimeLinePhotosResult.cc
src/model/DeletePhotosRequest.cc
src/model/DeletePhotosResult.cc
src/model/MergeFacesRequest.cc
src/model/MergeFacesResult.cc
src/model/GetPhotosByMd5sRequest.cc
src/model/GetPhotosByMd5sResult.cc
src/model/CreateTransactionRequest.cc
src/model/CreateTransactionResult.cc
src/model/InactivatePhotosRequest.cc
src/model/InactivatePhotosResult.cc
src/model/CreatePhotoStoreRequest.cc
src/model/CreatePhotoStoreResult.cc
src/model/TagPhotoRequest.cc
src/model/TagPhotoResult.cc
src/model/GetLibraryRequest.cc
src/model/GetLibraryResult.cc
src/model/SetQuotaRequest.cc
src/model/SetQuotaResult.cc
src/model/ListAlbumPhotosRequest.cc
src/model/ListAlbumPhotosResult.cc
src/model/RemoveAlbumPhotosRequest.cc
src/model/RemoveAlbumPhotosResult.cc
src/model/ListAlbumsRequest.cc
src/model/ListAlbumsResult.cc
src/model/ListPhotoFacesRequest.cc
src/model/ListPhotoFacesResult.cc
src/model/RenameAlbumRequest.cc
src/model/RenameAlbumResult.cc
src/model/ActivatePhotosRequest.cc
src/model/ActivatePhotosResult.cc
src/model/GetPrivateAccessUrlsRequest.cc
src/model/GetPrivateAccessUrlsResult.cc
src/model/GetSimilarPhotosRequest.cc
src/model/GetSimilarPhotosResult.cc
src/model/GetVideoCoverRequest.cc
src/model/GetVideoCoverResult.cc
src/model/GetFramedPhotoUrlsRequest.cc
src/model/GetFramedPhotoUrlsResult.cc
src/model/SetMeRequest.cc
src/model/SetMeResult.cc
src/model/ListTagPhotosRequest.cc
src/model/ListTagPhotosResult.cc
src/model/DeleteAlbumsRequest.cc
src/model/DeleteAlbumsResult.cc
src/model/GetDownloadUrlsRequest.cc
src/model/GetDownloadUrlsResult.cc
src/model/GetPhotosRequest.cc
src/model/GetPhotosResult.cc
src/model/RegisterPhotoRequest.cc
src/model/RegisterPhotoResult.cc
src/model/EditPhotoStoreRequest.cc
src/model/EditPhotoStoreResult.cc
src/model/ListTimeLinesRequest.cc
src/model/ListTimeLinesResult.cc
src/model/SearchPhotosRequest.cc
src/model/SearchPhotosResult.cc
src/model/ToggleFeaturesRequest.cc
src/model/ToggleFeaturesResult.cc
src/model/ListRegisteredTagsRequest.cc
src/model/ListRegisteredTagsResult.cc
src/model/DeletePhotoStoreRequest.cc
src/model/DeletePhotoStoreResult.cc
src/model/GetPhotoStoreRequest.cc
src/model/GetPhotoStoreResult.cc
src/model/ListMomentPhotosRequest.cc
src/model/ListMomentPhotosResult.cc
src/model/GetThumbnailRequest.cc
src/model/GetThumbnailResult.cc
src/model/SetFaceCoverRequest.cc
src/model/SetFaceCoverResult.cc
src/model/CreatePhotoRequest.cc
src/model/CreatePhotoResult.cc
src/model/MoveAlbumPhotosRequest.cc
src/model/MoveAlbumPhotosResult.cc
src/model/GetDownloadUrlRequest.cc
src/model/GetDownloadUrlResult.cc
src/model/CreateAlbumRequest.cc
src/model/CreateAlbumResult.cc
src/model/ListPhotoTagsRequest.cc
src/model/ListPhotoTagsResult.cc
src/model/LikePhotoRequest.cc
src/model/LikePhotoResult.cc
src/model/ListPhotoStoresRequest.cc
src/model/ListPhotoStoresResult.cc
src/model/GetPublicAccessUrlsRequest.cc
src/model/GetPublicAccessUrlsResult.cc
src/model/EditPhotosRequest.cc
src/model/EditPhotosResult.cc
src/model/SetAlbumCoverRequest.cc
src/model/SetAlbumCoverResult.cc
src/model/RenameFaceRequest.cc
src/model/RenameFaceResult.cc
src/model/ListMomentsRequest.cc
src/model/ListMomentsResult.cc
src/model/ListTagsRequest.cc
src/model/ListTagsResult.cc
src/model/ListFacePhotosRequest.cc
src/model/ListFacePhotosResult.cc
src/CloudPhotoClient.cc
src/CloudPhotoRequest.cc
)
add_library(cloudphoto ${LIB_TYPE} ${cloudphoto_public_header} ${cloudphoto_src})
set_target_properties(cloudphoto
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}cloudphoto
PUBLIC_HEADER "${cloudphoto_public_header}"
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(cloudphoto
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_CLOUDPHOTO_LIBRARY)
endif()
target_include_directories(cloudphoto
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(cloudphoto
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(cloudphoto
jsoncpp)
target_include_directories(cloudphoto
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(cloudphoto
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(cloudphoto
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(cloudphoto
PRIVATE /usr/include/jsoncpp)
target_link_libraries(cloudphoto
jsoncpp)
endif()
install(TARGETS cloudphoto
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cloudphoto
)

4
cloudphoto/ChangeLog.txt Normal file
View File

@@ -0,0 +1,4 @@
2018-01-11 Version: 1.0.4
1, replace photo tag 2000 upgrade to 5000
2, add TrashQuota

View File

@@ -0,0 +1,529 @@
/*
* 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_CLOUDPHOTOCLIENT_H_
#define ALIBABACLOUD_CLOUDPHOTO_CLOUDPHOTOCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "CloudPhotoExport.h"
#include "model/RemoveFacePhotosRequest.h"
#include "model/RemoveFacePhotosResult.h"
#include "model/ReactivatePhotosRequest.h"
#include "model/ReactivatePhotosResult.h"
#include "model/GetQuotaRequest.h"
#include "model/GetQuotaResult.h"
#include "model/GetThumbnailsRequest.h"
#include "model/GetThumbnailsResult.h"
#include "model/DeleteFacesRequest.h"
#include "model/DeleteFacesResult.h"
#include "model/AddAlbumPhotosRequest.h"
#include "model/AddAlbumPhotosResult.h"
#include "model/ListFacesRequest.h"
#include "model/ListFacesResult.h"
#include "model/MoveFacePhotosRequest.h"
#include "model/MoveFacePhotosResult.h"
#include "model/ListPhotosRequest.h"
#include "model/ListPhotosResult.h"
#include "model/RegisterTagRequest.h"
#include "model/RegisterTagResult.h"
#include "model/ListTimeLinePhotosRequest.h"
#include "model/ListTimeLinePhotosResult.h"
#include "model/DeletePhotosRequest.h"
#include "model/DeletePhotosResult.h"
#include "model/MergeFacesRequest.h"
#include "model/MergeFacesResult.h"
#include "model/GetPhotosByMd5sRequest.h"
#include "model/GetPhotosByMd5sResult.h"
#include "model/CreateTransactionRequest.h"
#include "model/CreateTransactionResult.h"
#include "model/InactivatePhotosRequest.h"
#include "model/InactivatePhotosResult.h"
#include "model/CreatePhotoStoreRequest.h"
#include "model/CreatePhotoStoreResult.h"
#include "model/TagPhotoRequest.h"
#include "model/TagPhotoResult.h"
#include "model/GetLibraryRequest.h"
#include "model/GetLibraryResult.h"
#include "model/SetQuotaRequest.h"
#include "model/SetQuotaResult.h"
#include "model/ListAlbumPhotosRequest.h"
#include "model/ListAlbumPhotosResult.h"
#include "model/RemoveAlbumPhotosRequest.h"
#include "model/RemoveAlbumPhotosResult.h"
#include "model/ListAlbumsRequest.h"
#include "model/ListAlbumsResult.h"
#include "model/ListPhotoFacesRequest.h"
#include "model/ListPhotoFacesResult.h"
#include "model/RenameAlbumRequest.h"
#include "model/RenameAlbumResult.h"
#include "model/ActivatePhotosRequest.h"
#include "model/ActivatePhotosResult.h"
#include "model/GetPrivateAccessUrlsRequest.h"
#include "model/GetPrivateAccessUrlsResult.h"
#include "model/GetSimilarPhotosRequest.h"
#include "model/GetSimilarPhotosResult.h"
#include "model/GetVideoCoverRequest.h"
#include "model/GetVideoCoverResult.h"
#include "model/GetFramedPhotoUrlsRequest.h"
#include "model/GetFramedPhotoUrlsResult.h"
#include "model/SetMeRequest.h"
#include "model/SetMeResult.h"
#include "model/ListTagPhotosRequest.h"
#include "model/ListTagPhotosResult.h"
#include "model/DeleteAlbumsRequest.h"
#include "model/DeleteAlbumsResult.h"
#include "model/GetDownloadUrlsRequest.h"
#include "model/GetDownloadUrlsResult.h"
#include "model/GetPhotosRequest.h"
#include "model/GetPhotosResult.h"
#include "model/RegisterPhotoRequest.h"
#include "model/RegisterPhotoResult.h"
#include "model/EditPhotoStoreRequest.h"
#include "model/EditPhotoStoreResult.h"
#include "model/ListTimeLinesRequest.h"
#include "model/ListTimeLinesResult.h"
#include "model/SearchPhotosRequest.h"
#include "model/SearchPhotosResult.h"
#include "model/ToggleFeaturesRequest.h"
#include "model/ToggleFeaturesResult.h"
#include "model/ListRegisteredTagsRequest.h"
#include "model/ListRegisteredTagsResult.h"
#include "model/DeletePhotoStoreRequest.h"
#include "model/DeletePhotoStoreResult.h"
#include "model/GetPhotoStoreRequest.h"
#include "model/GetPhotoStoreResult.h"
#include "model/ListMomentPhotosRequest.h"
#include "model/ListMomentPhotosResult.h"
#include "model/GetThumbnailRequest.h"
#include "model/GetThumbnailResult.h"
#include "model/SetFaceCoverRequest.h"
#include "model/SetFaceCoverResult.h"
#include "model/CreatePhotoRequest.h"
#include "model/CreatePhotoResult.h"
#include "model/MoveAlbumPhotosRequest.h"
#include "model/MoveAlbumPhotosResult.h"
#include "model/GetDownloadUrlRequest.h"
#include "model/GetDownloadUrlResult.h"
#include "model/CreateAlbumRequest.h"
#include "model/CreateAlbumResult.h"
#include "model/ListPhotoTagsRequest.h"
#include "model/ListPhotoTagsResult.h"
#include "model/LikePhotoRequest.h"
#include "model/LikePhotoResult.h"
#include "model/ListPhotoStoresRequest.h"
#include "model/ListPhotoStoresResult.h"
#include "model/GetPublicAccessUrlsRequest.h"
#include "model/GetPublicAccessUrlsResult.h"
#include "model/EditPhotosRequest.h"
#include "model/EditPhotosResult.h"
#include "model/SetAlbumCoverRequest.h"
#include "model/SetAlbumCoverResult.h"
#include "model/RenameFaceRequest.h"
#include "model/RenameFaceResult.h"
#include "model/ListMomentsRequest.h"
#include "model/ListMomentsResult.h"
#include "model/ListTagsRequest.h"
#include "model/ListTagsResult.h"
#include "model/ListFacePhotosRequest.h"
#include "model/ListFacePhotosResult.h"
namespace AlibabaCloud
{
namespace CloudPhoto
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CloudPhotoClient : public RpcServiceClient
{
public:
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 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 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 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 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 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 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 std::function<void(const CloudPhotoClient*, const Model::MoveFacePhotosRequest&, const MoveFacePhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveFacePhotosAsyncHandler;
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 std::function<void(const CloudPhotoClient*, const Model::GetSimilarPhotosRequest&, const GetSimilarPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSimilarPhotosAsyncHandler;
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 std::function<void(const CloudPhotoClient*, const Model::GetFramedPhotoUrlsRequest&, const GetFramedPhotoUrlsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetFramedPhotoUrlsAsyncHandler;
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 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 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 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 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 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 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 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 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 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 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 std::function<void(const CloudPhotoClient*, const Model::DeletePhotoStoreRequest&, const DeletePhotoStoreOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeletePhotoStoreAsyncHandler;
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 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 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 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 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 std::function<void(const CloudPhotoClient*, const Model::MoveAlbumPhotosRequest&, const MoveAlbumPhotosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MoveAlbumPhotosAsyncHandler;
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 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 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 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 std::function<void(const CloudPhotoClient*, const Model::ListPhotoStoresRequest&, const ListPhotoStoresOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhotoStoresAsyncHandler;
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 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 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 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 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 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 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;
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;
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;
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;
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;
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;
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:
virtual EndpointOutcome endpoint()const override;
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_CLOUDPHOTOCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* 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_CLOUDPHOTOEXPORT_H_
#define ALIBABACLOUD_CLOUDPHOTO_CLOUDPHOTOEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_CLOUDPHOTO_LIBRARY)
# define ALIBABACLOUD_CLOUDPHOTO_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_CLOUDPHOTO_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_CLOUDPHOTO_EXPORT
#endif
#endif // !ALIBABACLOUD_CLOUDPHOTO_CLOUDPHOTOEXPORT_H_

View File

@@ -0,0 +1,39 @@
/*
* 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_CLOUDPHOTOREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_CLOUDPHOTOREQUEST_H_
#include <alibabacloud/core/RpcServiceRequest.h>
#include "CloudPhotoExport.h"
namespace AlibabaCloud
{
namespace CloudPhoto
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CloudPhotoRequest : public RpcServiceRequest
{
public:
explicit CloudPhotoRequest(const std::string & action);
virtual ~CloudPhotoRequest();
private:
};
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_CLOUDPHOTOREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_ACTIVATEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_ACTIVATEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ActivatePhotosRequest : public CloudPhotoRequest
{
public:
ActivatePhotosRequest();
~ActivatePhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_ACTIVATEPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_ACTIVATEPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_ACTIVATEPHOTOSRESULT_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 ActivatePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
ActivatePhotosResult();
explicit ActivatePhotosResult(const std::string &payload);
~ActivatePhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_ACTIVATEPHOTOSRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_ADDALBUMPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_ADDALBUMPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT AddAlbumPhotosRequest : public CloudPhotoRequest
{
public:
AddAlbumPhotosRequest();
~AddAlbumPhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getAlbumId()const;
void setAlbumId(long albumId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
long albumId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_ADDALBUMPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_ADDALBUMPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_ADDALBUMPHOTOSRESULT_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 AddAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
AddAlbumPhotosResult();
explicit AddAlbumPhotosResult(const std::string &payload);
~AddAlbumPhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_ADDALBUMPHOTOSRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_CREATEALBUMREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEALBUMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateAlbumRequest : public CloudPhotoRequest
{
public:
CreateAlbumRequest();
~CreateAlbumRequest();
std::string getAlbumName()const;
void setAlbumName(const std::string& albumName);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getRemark()const;
void setRemark(const std::string& remark);
private:
std::string albumName_;
std::string libraryId_;
std::string storeName_;
std::string remark_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEALBUMREQUEST_H_

View File

@@ -0,0 +1,86 @@
/*
* 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_CREATEALBUMRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEALBUMRESULT_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 CreateAlbumResult : public ServiceResult
{
public:
struct Album
{
struct Cover
{
bool isVideo;
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 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;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Album> getAlbum()const;
void setAlbum(const std::vector<Album>& album);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Album> album_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEALBUMRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_CREATEPHOTOREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreatePhotoRequest : public CloudPhotoRequest
{
public:
CreatePhotoRequest();
~CreatePhotoRequest();
std::string getPhotoTitle()const;
void setPhotoTitle(const std::string& photoTitle);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getShareExpireTime()const;
void setShareExpireTime(long shareExpireTime);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getUploadType()const;
void setUploadType(const std::string& uploadType);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getSessionId()const;
void setSessionId(const std::string& sessionId);
std::string getStaging()const;
void setStaging(const std::string& staging);
std::string getFileId()const;
void setFileId(const std::string& fileId);
private:
std::string photoTitle_;
std::string libraryId_;
long shareExpireTime_;
std::string storeName_;
std::string uploadType_;
std::string remark_;
std::string sessionId_;
std::string staging_;
std::string fileId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTOREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* 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_CREATEPHOTORESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTORESULT_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 CreatePhotoResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Photo> getPhoto()const;
void setPhoto(const std::vector<Photo>& photo);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Photo> photo_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTORESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_CREATEPHOTOSTOREREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTOSTOREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreatePhotoStoreRequest : public CloudPhotoRequest
{
public:
CreatePhotoStoreRequest();
~CreatePhotoStoreRequest();
std::string getBucketName()const;
void setBucketName(const std::string& bucketName);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getRemark()const;
void setRemark(const std::string& remark);
long getDefaultQuota()const;
void setDefaultQuota(long defaultQuota);
private:
std::string bucketName_;
std::string storeName_;
std::string remark_;
long defaultQuota_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTOSTOREREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_CREATEPHOTOSTORERESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTOSTORERESULT_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 CreatePhotoStoreResult : public ServiceResult
{
public:
CreatePhotoStoreResult();
explicit CreatePhotoStoreResult(const std::string &payload);
~CreatePhotoStoreResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATEPHOTOSTORERESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_CREATETRANSACTIONREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATETRANSACTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT CreateTransactionRequest : public CloudPhotoRequest
{
public:
CreateTransactionRequest();
~CreateTransactionRequest();
std::string getExt()const;
void setExt(const std::string& ext);
long getSize()const;
void setSize(long size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getForce()const;
void setForce(const std::string& force);
std::string getMd5()const;
void setMd5(const std::string& md5);
private:
std::string ext_;
long size_;
std::string libraryId_;
std::string storeName_;
std::string force_;
std::string md5_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATETRANSACTIONREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* 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_CREATETRANSACTIONRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATETRANSACTIONRESULT_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 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;
};
CreateTransactionResult();
explicit CreateTransactionResult(const std::string &payload);
~CreateTransactionResult();
std::string getAction()const;
void setAction(const std::string& action);
std::vector<Transaction> getTransaction()const;
void setTransaction(const std::vector<Transaction>& transaction);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::vector<Transaction> transaction_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_CREATETRANSACTIONRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_DELETEALBUMSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEALBUMSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteAlbumsRequest : public CloudPhotoRequest
{
public:
DeleteAlbumsRequest();
~DeleteAlbumsRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getAlbumId()const;
void setAlbumId(const std::vector<long>& albumId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<long> albumId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEALBUMSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_DELETEALBUMSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEALBUMSRESULT_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 DeleteAlbumsResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
DeleteAlbumsResult();
explicit DeleteAlbumsResult(const std::string &payload);
~DeleteAlbumsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEALBUMSRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_DELETEFACESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeleteFacesRequest : public CloudPhotoRequest
{
public:
DeleteFacesRequest();
~DeleteFacesRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::vector<long> getFaceId()const;
void setFaceId(const std::vector<long>& faceId);
private:
std::string libraryId_;
std::string storeName_;
std::vector<long> faceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEFACESREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_DELETEFACESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEFACESRESULT_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 DeleteFacesResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
DeleteFacesResult();
explicit DeleteFacesResult(const std::string &payload);
~DeleteFacesResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEFACESRESULT_H_

View File

@@ -0,0 +1,47 @@
/*
* 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_DELETEPHOTOSTOREREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSTOREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeletePhotoStoreRequest : public CloudPhotoRequest
{
public:
DeletePhotoStoreRequest();
~DeletePhotoStoreRequest();
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSTOREREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_DELETEPHOTOSTORERESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSTORERESULT_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 DeletePhotoStoreResult : public ServiceResult
{
public:
DeletePhotoStoreResult();
explicit DeletePhotoStoreResult(const std::string &payload);
~DeletePhotoStoreResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSTORERESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_DELETEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT DeletePhotosRequest : public CloudPhotoRequest
{
public:
DeletePhotosRequest();
~DeletePhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_DELETEPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSRESULT_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 DeletePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
DeletePhotosResult();
explicit DeletePhotosResult(const std::string &payload);
~DeletePhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_DELETEPHOTOSRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_EDITPHOTOSTOREREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSTOREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditPhotoStoreRequest : public CloudPhotoRequest
{
public:
EditPhotoStoreRequest();
~EditPhotoStoreRequest();
std::string getAutoCleanEnabled()const;
void setAutoCleanEnabled(const std::string& autoCleanEnabled);
long getDefaultTrashQuota()const;
void setDefaultTrashQuota(long defaultTrashQuota);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getRemark()const;
void setRemark(const std::string& remark);
long getDefaultQuota()const;
void setDefaultQuota(long defaultQuota);
int getAutoCleanDays()const;
void setAutoCleanDays(int autoCleanDays);
private:
std::string autoCleanEnabled_;
long defaultTrashQuota_;
std::string storeName_;
std::string remark_;
long defaultQuota_;
int autoCleanDays_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSTOREREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_EDITPHOTOSTORERESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSTORERESULT_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 EditPhotoStoreResult : public ServiceResult
{
public:
EditPhotoStoreResult();
explicit EditPhotoStoreResult(const std::string &payload);
~EditPhotoStoreResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSTORERESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_EDITPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT EditPhotosRequest : public CloudPhotoRequest
{
public:
EditPhotosRequest();
~EditPhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getShareExpireTime()const;
void setShareExpireTime(long shareExpireTime);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getRemark()const;
void setRemark(const std::string& remark);
std::string getTitle()const;
void setTitle(const std::string& title);
private:
std::string libraryId_;
long shareExpireTime_;
std::vector<long> photoId_;
std::string storeName_;
std::string remark_;
std::string title_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_EDITPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSRESULT_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 EditPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
EditPhotosResult();
explicit EditPhotosResult(const std::string &payload);
~EditPhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_EDITPHOTOSRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_GETDOWNLOADURLREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetDownloadUrlRequest : public CloudPhotoRequest
{
public:
GetDownloadUrlRequest();
~GetDownloadUrlRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_GETDOWNLOADURLRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLRESULT_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 GetDownloadUrlResult : public ServiceResult
{
public:
GetDownloadUrlResult();
explicit GetDownloadUrlResult(const std::string &payload);
~GetDownloadUrlResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
std::string getDownloadUrl()const;
void setDownloadUrl(const std::string& downloadUrl);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::string downloadUrl_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_GETDOWNLOADURLSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetDownloadUrlsRequest : public CloudPhotoRequest
{
public:
GetDownloadUrlsRequest();
~GetDownloadUrlsRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_GETDOWNLOADURLSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLSRESULT_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 GetDownloadUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string code;
std::string downloadUrl;
};
GetDownloadUrlsResult();
explicit GetDownloadUrlsResult(const std::string &payload);
~GetDownloadUrlsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETDOWNLOADURLSRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_GETFRAMEDPHOTOURLSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETFRAMEDPHOTOURLSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetFramedPhotoUrlsRequest : public CloudPhotoRequest
{
public:
GetFramedPhotoUrlsRequest();
~GetFramedPhotoUrlsRequest();
std::string getFrameId()const;
void setFrameId(const std::string& frameId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string frameId_;
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETFRAMEDPHOTOURLSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_GETFRAMEDPHOTOURLSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETFRAMEDPHOTOURLSRESULT_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 GetFramedPhotoUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string code;
std::string framedPhotoUrl;
};
GetFramedPhotoUrlsResult();
explicit GetFramedPhotoUrlsResult(const std::string &payload);
~GetFramedPhotoUrlsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETFRAMEDPHOTOURLSRESULT_H_

View File

@@ -0,0 +1,50 @@
/*
* 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_GETLIBRARYREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETLIBRARYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetLibraryRequest : public CloudPhotoRequest
{
public:
GetLibraryRequest();
~GetLibraryRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETLIBRARYREQUEST_H_

View File

@@ -0,0 +1,82 @@
/*
* 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_GETLIBRARYRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETLIBRARYRESULT_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 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;
};
GetLibraryResult();
explicit GetLibraryResult(const std::string &payload);
~GetLibraryResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Library> getLibrary()const;
void setLibrary(const std::vector<Library>& library);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Library> library_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETLIBRARYRESULT_H_

View File

@@ -0,0 +1,47 @@
/*
* 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_GETPHOTOSTOREREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSTOREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotoStoreRequest : public CloudPhotoRequest
{
public:
GetPhotoStoreRequest();
~GetPhotoStoreRequest();
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSTOREREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* 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_GETPHOTOSTORERESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSTORERESULT_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 GetPhotoStoreResult : public ServiceResult
{
public:
struct PhotoStore
{
struct Bucket
{
std::string state;
std::string region;
std::string acl;
std::string name;
};
int autoCleanDays;
long defaultQuota;
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;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<PhotoStore> getPhotoStore()const;
void setPhotoStore(const std::vector<PhotoStore>& photoStore);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<PhotoStore> photoStore_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSTORERESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_GETPHOTOSBYMD5SREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSBYMD5SREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotosByMd5sRequest : public CloudPhotoRequest
{
public:
GetPhotosByMd5sRequest();
~GetPhotosByMd5sRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::vector<std::string> getMd5()const;
void setMd5(const std::vector<std::string>& md5);
private:
std::string libraryId_;
std::string storeName_;
std::string state_;
std::vector<std::string> md5_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSBYMD5SREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* 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_GETPHOTOSBYMD5SRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSBYMD5SRESULT_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 GetPhotosByMd5sResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setPhotos(const std::vector<Photo>& photos);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSBYMD5SRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_GETPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPhotosRequest : public CloudPhotoRequest
{
public:
GetPhotosRequest();
~GetPhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* 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_GETPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSRESULT_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 GetPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setPhotos(const std::vector<Photo>& photos);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPHOTOSRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_GETPRIVATEACCESSURLSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPRIVATEACCESSURLSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPrivateAccessUrlsRequest : public CloudPhotoRequest
{
public:
GetPrivateAccessUrlsRequest();
~GetPrivateAccessUrlsRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getZoomType()const;
void setZoomType(const std::string& zoomType);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
std::string zoomType_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPRIVATEACCESSURLSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_GETPRIVATEACCESSURLSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPRIVATEACCESSURLSRESULT_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 GetPrivateAccessUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string accessUrl;
std::string code;
};
GetPrivateAccessUrlsResult();
explicit GetPrivateAccessUrlsResult(const std::string &payload);
~GetPrivateAccessUrlsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPRIVATEACCESSURLSRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_GETPUBLICACCESSURLSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPUBLICACCESSURLSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetPublicAccessUrlsRequest : public CloudPhotoRequest
{
public:
GetPublicAccessUrlsRequest();
~GetPublicAccessUrlsRequest();
std::string getDomainType()const;
void setDomainType(const std::string& domainType);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getZoomType()const;
void setZoomType(const std::string& zoomType);
private:
std::string domainType_;
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
std::string zoomType_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPUBLICACCESSURLSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_GETPUBLICACCESSURLSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPUBLICACCESSURLSRESULT_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 GetPublicAccessUrlsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string accessUrl;
std::string code;
};
GetPublicAccessUrlsResult();
explicit GetPublicAccessUrlsResult(const std::string &payload);
~GetPublicAccessUrlsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETPUBLICACCESSURLSRESULT_H_

View File

@@ -0,0 +1,50 @@
/*
* 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_GETQUOTAREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETQUOTAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetQuotaRequest : public CloudPhotoRequest
{
public:
GetQuotaRequest();
~GetQuotaRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETQUOTAREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_GETQUOTARESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETQUOTARESULT_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 GetQuotaResult : public ServiceResult
{
public:
struct Quota
{
long totalQuota;
int facesCount;
int photosCount;
long usedQuota;
int videosCount;
};
GetQuotaResult();
explicit GetQuotaResult(const std::string &payload);
~GetQuotaResult();
std::string getAction()const;
void setAction(const std::string& action);
std::vector<Quota> getQuota()const;
void setQuota(const std::vector<Quota>& quota);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::vector<Quota> quota_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETQUOTARESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_GETSIMILARPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETSIMILARPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetSimilarPhotosRequest : public CloudPhotoRequest
{
public:
GetSimilarPhotosRequest();
~GetSimilarPhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETSIMILARPHOTOSREQUEST_H_

View File

@@ -0,0 +1,81 @@
/*
* 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_GETSIMILARPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETSIMILARPHOTOSRESULT_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 GetSimilarPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setPhotos(const std::vector<Photo>& photos);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETSIMILARPHOTOSRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_GETTHUMBNAILREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetThumbnailRequest : public CloudPhotoRequest
{
public:
GetThumbnailRequest();
~GetThumbnailRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getZoomType()const;
void setZoomType(const std::string& zoomType);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
std::string zoomType_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_GETTHUMBNAILRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILRESULT_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 GetThumbnailResult : public ServiceResult
{
public:
GetThumbnailResult();
explicit GetThumbnailResult(const std::string &payload);
~GetThumbnailResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getThumbnailUrl()const;
void setThumbnailUrl(const std::string& thumbnailUrl);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string thumbnailUrl_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_GETTHUMBNAILSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetThumbnailsRequest : public CloudPhotoRequest
{
public:
GetThumbnailsRequest();
~GetThumbnailsRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getZoomType()const;
void setZoomType(const std::string& zoomType);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
std::string zoomType_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_GETTHUMBNAILSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILSRESULT_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 GetThumbnailsResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string message;
std::string thumbnailUrl;
std::string code;
};
GetThumbnailsResult();
explicit GetThumbnailsResult(const std::string &payload);
~GetThumbnailsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETTHUMBNAILSRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_GETVIDEOCOVERREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETVIDEOCOVERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT GetVideoCoverRequest : public CloudPhotoRequest
{
public:
GetVideoCoverRequest();
~GetVideoCoverRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getZoomType()const;
void setZoomType(const std::string& zoomType);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
std::string zoomType_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETVIDEOCOVERREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_GETVIDEOCOVERRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_GETVIDEOCOVERRESULT_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 GetVideoCoverResult : public ServiceResult
{
public:
GetVideoCoverResult();
explicit GetVideoCoverResult(const std::string &payload);
~GetVideoCoverResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getVideoCoverUrl()const;
void setVideoCoverUrl(const std::string& videoCoverUrl);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string videoCoverUrl_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_GETVIDEOCOVERRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_INACTIVATEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_INACTIVATEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT InactivatePhotosRequest : public CloudPhotoRequest
{
public:
InactivatePhotosRequest();
~InactivatePhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
long getInactiveTime()const;
void setInactiveTime(long inactiveTime);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
long inactiveTime_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_INACTIVATEPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_INACTIVATEPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_INACTIVATEPHOTOSRESULT_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 InactivatePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
InactivatePhotosResult();
explicit InactivatePhotosResult(const std::string &payload);
~InactivatePhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_INACTIVATEPHOTOSRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_LIKEPHOTOREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LIKEPHOTOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT LikePhotoRequest : public CloudPhotoRequest
{
public:
LikePhotoRequest();
~LikePhotoRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LIKEPHOTOREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* 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_LIKEPHOTORESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LIKEPHOTORESULT_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 LikePhotoResult : public ServiceResult
{
public:
LikePhotoResult();
explicit LikePhotoResult(const std::string &payload);
~LikePhotoResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LIKEPHOTORESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTALBUMPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListAlbumPhotosRequest : public CloudPhotoRequest
{
public:
ListAlbumPhotosRequest();
~ListAlbumPhotosRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
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);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string libraryId_;
long albumId_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMPHOTOSREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_LISTALBUMPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMPHOTOSRESULT_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 ListAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
ListAlbumPhotosResult();
explicit ListAlbumPhotosResult(const std::string &payload);
~ListAlbumPhotosResult();
std::string getNextCursor()const;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMPHOTOSRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_LISTALBUMSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListAlbumsRequest : public CloudPhotoRequest
{
public:
ListAlbumsRequest();
~ListAlbumsRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string libraryId_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMSREQUEST_H_

View File

@@ -0,0 +1,91 @@
/*
* 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_LISTALBUMSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMSRESULT_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 ListAlbumsResult : public ServiceResult
{
public:
struct Album
{
struct Cover
{
bool isVideo;
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 state;
long ctime;
long photosCount;
long mtime;
long id;
std::string name;
};
ListAlbumsResult();
explicit ListAlbumsResult(const std::string &payload);
~ListAlbumsResult();
std::string getNextCursor()const;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
std::vector<Album> getAlbums()const;
void setAlbums(const std::vector<Album>& albums);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTALBUMSRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTFACEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListFacePhotosRequest : public CloudPhotoRequest
{
public:
ListFacePhotosRequest();
~ListFacePhotosRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
long getFaceId()const;
void setFaceId(long faceId);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string libraryId_;
std::string storeName_;
long faceId_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACEPHOTOSREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_LISTFACEPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACEPHOTOSRESULT_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 ListFacePhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
ListFacePhotosResult();
explicit ListFacePhotosResult(const std::string &payload);
~ListFacePhotosResult();
std::string getNextCursor()const;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACEPHOTOSRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTFACESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListFacesRequest : public CloudPhotoRequest
{
public:
ListFacesRequest();
~ListFacesRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
std::string getHasFaceName()const;
void setHasFaceName(const std::string& hasFaceName);
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
std::string hasFaceName_;
int size_;
std::string libraryId_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACESREQUEST_H_

View 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.
*/
#ifndef ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACESRESULT_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 ListFacesResult : public ServiceResult
{
public:
struct Face
{
struct Cover
{
bool isVideo;
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 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;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
std::vector<Face> getFaces()const;
void setFaces(const std::vector<Face>& faces);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTFACESRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTMOMENTPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListMomentPhotosRequest : public CloudPhotoRequest
{
public:
ListMomentPhotosRequest();
~ListMomentPhotosRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
long getMomentId()const;
void setMomentId(long momentId);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string libraryId_;
std::string storeName_;
std::string state_;
long momentId_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTPHOTOSREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_LISTMOMENTPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTPHOTOSRESULT_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 ListMomentPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
ListMomentPhotosResult();
explicit ListMomentPhotosResult(const std::string &payload);
~ListMomentPhotosResult();
std::string getNextCursor()const;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTPHOTOSRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_LISTMOMENTSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListMomentsRequest : public CloudPhotoRequest
{
public:
ListMomentsRequest();
~ListMomentsRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string libraryId_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTSREQUEST_H_

View File

@@ -0,0 +1,77 @@
/*
* 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_LISTMOMENTSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTSRESULT_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 ListMomentsResult : public ServiceResult
{
public:
struct Moment
{
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;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Moment> getMoments()const;
void setMoments(const std::vector<Moment>& moments);
std::string getCode()const;
void setCode(const std::string& code);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTMOMENTSRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_LISTPHOTOFACESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoFacesRequest : public CloudPhotoRequest
{
public:
ListPhotoFacesRequest();
~ListPhotoFacesRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOFACESREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_LISTPHOTOFACESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOFACESRESULT_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 ListPhotoFacesResult : public ServiceResult
{
public:
struct Face
{
long faceId;
std::string faceName;
std::vector<std::string> axis;
};
ListPhotoFacesResult();
explicit ListPhotoFacesResult(const std::string &payload);
~ListPhotoFacesResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
std::vector<Face> getFaces()const;
void setFaces(const std::vector<Face>& faces);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Face> faces_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOFACESRESULT_H_

View File

@@ -0,0 +1,44 @@
/*
* 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_LISTPHOTOSTORESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSTORESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoStoresRequest : public CloudPhotoRequest
{
public:
ListPhotoStoresRequest();
~ListPhotoStoresRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSTORESREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* 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_LISTPHOTOSTORESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSTORESRESULT_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 ListPhotoStoresResult : public ServiceResult
{
public:
struct PhotoStore
{
struct Bucket
{
std::string state;
std::string region;
std::string name;
};
int autoCleanDays;
long defaultQuota;
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;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<PhotoStore> getPhotoStores()const;
void setPhotoStores(const std::vector<PhotoStore>& photoStores);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<PhotoStore> photoStores_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSTORESRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_LISTPHOTOTAGSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotoTagsRequest : public CloudPhotoRequest
{
public:
ListPhotoTagsRequest();
~ListPhotoTagsRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getPhotoId()const;
void setPhotoId(long photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string libraryId_;
long photoId_;
std::string storeName_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOTAGSREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_LISTPHOTOTAGSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOTAGSRESULT_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 ListPhotoTagsResult : public ServiceResult
{
public:
struct Tag
{
bool isSubTag;
std::string parentTag;
long id;
std::string name;
};
ListPhotoTagsResult();
explicit ListPhotoTagsResult(const std::string &payload);
~ListPhotoTagsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
std::vector<Tag> getTags()const;
void setTags(const std::vector<Tag>& tags);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Tag> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOTAGSRESULT_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_LISTPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListPhotosRequest : public CloudPhotoRequest
{
public:
ListPhotosRequest();
~ListPhotosRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
std::string libraryId_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSREQUEST_H_

View File

@@ -0,0 +1,86 @@
/*
* 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_LISTPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSRESULT_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 ListPhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setPhotos(const std::vector<Photo>& photos);
std::string getNextCursor()const;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTPHOTOSRESULT_H_

View File

@@ -0,0 +1,50 @@
/*
* 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_LISTREGISTEREDTAGSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTREGISTEREDTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListRegisteredTagsRequest : public CloudPhotoRequest
{
public:
ListRegisteredTagsRequest();
~ListRegisteredTagsRequest();
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::vector<std::string> getLang()const;
void setLang(const std::vector<std::string>& lang);
private:
std::string storeName_;
std::vector<std::string> lang_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTREGISTEREDTAGSREQUEST_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_LISTREGISTEREDTAGSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTREGISTEREDTAGSRESULT_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 ListRegisteredTagsResult : public ServiceResult
{
public:
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;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<RegisteredTag> getRegisteredTags()const;
void setRegisteredTags(const std::vector<RegisteredTag>& registeredTags);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<RegisteredTag> registeredTags_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTREGISTEREDTAGSRESULT_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_LISTTAGPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTagPhotosRequest : public CloudPhotoRequest
{
public:
ListTagPhotosRequest();
~ListTagPhotosRequest();
std::string getCursor()const;
void setCursor(const std::string& cursor);
int getSize()const;
void setSize(int size);
long getTagId()const;
void setTagId(long tagId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getState()const;
void setState(const std::string& state);
std::string getDirection()const;
void setDirection(const std::string& direction);
private:
std::string cursor_;
int size_;
long tagId_;
std::string libraryId_;
std::string storeName_;
std::string state_;
std::string direction_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGPHOTOSREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* 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_LISTTAGPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGPHOTOSRESULT_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 ListTagPhotosResult : public ServiceResult
{
public:
struct Result
{
long photoId;
std::string state;
};
ListTagPhotosResult();
explicit ListTagPhotosResult(const std::string &payload);
~ListTagPhotosResult();
std::string getNextCursor()const;
void setNextCursor(const std::string& nextCursor);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
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_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGPHOTOSRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_LISTTAGSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTagsRequest : public CloudPhotoRequest
{
public:
ListTagsRequest();
~ListTagsRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string libraryId_;
std::string storeName_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGSREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* 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_LISTTAGSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGSRESULT_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 ListTagsResult : public ServiceResult
{
public:
struct Tag
{
struct Cover
{
bool isVideo;
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;
bool isSubTag;
std::string parentTag;
long id;
std::string name;
};
ListTagsResult();
explicit ListTagsResult(const std::string &payload);
~ListTagsResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
std::vector<Tag> getTags()const;
void setTags(const std::vector<Tag>& tags);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::string code_;
std::vector<Tag> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTAGSRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_LISTTIMELINEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTimeLinePhotosRequest : public CloudPhotoRequest
{
public:
ListTimeLinePhotosRequest();
~ListTimeLinePhotosRequest();
int getSize()const;
void setSize(int size);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
int getPage()const;
void setPage(int page);
long getStartTime()const;
void setStartTime(long startTime);
std::string getFilterBy()const;
void setFilterBy(const std::string& filterBy);
std::string getDirection()const;
void setDirection(const std::string& direction);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
int size_;
std::string libraryId_;
long endTime_;
std::string storeName_;
int page_;
long startTime_;
std::string filterBy_;
std::string direction_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINEPHOTOSREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* 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_LISTTIMELINEPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINEPHOTOSRESULT_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 ListTimeLinePhotosResult : public ServiceResult
{
public:
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setPhotos(const std::vector<Photo>& photos);
int getTotalCount()const;
void setTotalCount(int totalCount);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::vector<Photo> photos_;
int totalCount_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINEPHOTOSRESULT_H_

View File

@@ -0,0 +1,71 @@
/*
* 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_LISTTIMELINESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ListTimeLinesRequest : public CloudPhotoRequest
{
public:
ListTimeLinesRequest();
~ListTimeLinesRequest();
long getCursor()const;
void setCursor(long cursor);
int getPhotoSize()const;
void setPhotoSize(int photoSize);
int getTimeLineCount()const;
void setTimeLineCount(int timeLineCount);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::string getTimeLineUnit()const;
void setTimeLineUnit(const std::string& timeLineUnit);
std::string getFilterBy()const;
void setFilterBy(const std::string& filterBy);
std::string getDirection()const;
void setDirection(const std::string& direction);
std::string getOrder()const;
void setOrder(const std::string& order);
private:
long cursor_;
int photoSize_;
int timeLineCount_;
std::string libraryId_;
std::string storeName_;
std::string timeLineUnit_;
std::string filterBy_;
std::string direction_;
std::string order_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINESREQUEST_H_

View File

@@ -0,0 +1,91 @@
/*
* 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_LISTTIMELINESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINESRESULT_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 ListTimeLinesResult : public ServiceResult
{
public:
struct TimeLine
{
struct Photo
{
bool isVideo;
long shareExpireTime;
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;
void setTimeLines(const std::vector<TimeLine>& timeLines);
int getNextCursor()const;
void setNextCursor(int nextCursor);
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::vector<TimeLine> timeLines_;
int nextCursor_;
std::string action_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_LISTTIMELINESRESULT_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_MERGEFACESREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_MERGEFACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MergeFacesRequest : public CloudPhotoRequest
{
public:
MergeFacesRequest();
~MergeFacesRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getTargetFaceId()const;
void setTargetFaceId(long targetFaceId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
std::vector<long> getFaceId()const;
void setFaceId(const std::vector<long>& faceId);
private:
std::string libraryId_;
long targetFaceId_;
std::string storeName_;
std::vector<long> faceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_MERGEFACESREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_MERGEFACESRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_MERGEFACESRESULT_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 MergeFacesResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
MergeFacesResult();
explicit MergeFacesResult(const std::string &payload);
~MergeFacesResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_MERGEFACESRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_MOVEALBUMPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEALBUMPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MoveAlbumPhotosRequest : public CloudPhotoRequest
{
public:
MoveAlbumPhotosRequest();
~MoveAlbumPhotosRequest();
long getSourceAlbumId()const;
void setSourceAlbumId(long sourceAlbumId);
long getTargetAlbumId()const;
void setTargetAlbumId(long targetAlbumId);
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
long sourceAlbumId_;
long targetAlbumId_;
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEALBUMPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_MOVEALBUMPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEALBUMPHOTOSRESULT_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 MoveAlbumPhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
MoveAlbumPhotosResult();
explicit MoveAlbumPhotosResult(const std::string &payload);
~MoveAlbumPhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEALBUMPHOTOSRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_MOVEFACEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEFACEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT MoveFacePhotosRequest : public CloudPhotoRequest
{
public:
MoveFacePhotosRequest();
~MoveFacePhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
long getTargetFaceId()const;
void setTargetFaceId(long targetFaceId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
long getSourceFaceId()const;
void setSourceFaceId(long sourceFaceId);
private:
std::string libraryId_;
long targetFaceId_;
std::vector<long> photoId_;
std::string storeName_;
long sourceFaceId_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEFACEPHOTOSREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_MOVEFACEPHOTOSRESULT_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEFACEPHOTOSRESULT_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 MoveFacePhotosResult : public ServiceResult
{
public:
struct Result
{
std::string message;
long id;
std::string code;
};
MoveFacePhotosResult();
explicit MoveFacePhotosResult(const std::string &payload);
~MoveFacePhotosResult();
std::string getAction()const;
void setAction(const std::string& action);
std::string getMessage()const;
void setMessage(const std::string& message);
std::vector<Result> getResults()const;
void setResults(const std::vector<Result>& results);
std::string getCode()const;
void setCode(const std::string& code);
protected:
void parse(const std::string &payload);
private:
std::string action_;
std::string message_;
std::vector<Result> results_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_MOVEFACEPHOTOSRESULT_H_

View File

@@ -0,0 +1,53 @@
/*
* 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_REACTIVATEPHOTOSREQUEST_H_
#define ALIBABACLOUD_CLOUDPHOTO_MODEL_REACTIVATEPHOTOSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/cloudphoto/CloudPhotoRequest.h>
namespace AlibabaCloud
{
namespace CloudPhoto
{
namespace Model
{
class ALIBABACLOUD_CLOUDPHOTO_EXPORT ReactivatePhotosRequest : public CloudPhotoRequest
{
public:
ReactivatePhotosRequest();
~ReactivatePhotosRequest();
std::string getLibraryId()const;
void setLibraryId(const std::string& libraryId);
std::vector<long> getPhotoId()const;
void setPhotoId(const std::vector<long>& photoId);
std::string getStoreName()const;
void setStoreName(const std::string& storeName);
private:
std::string libraryId_;
std::vector<long> photoId_;
std::string storeName_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDPHOTO_MODEL_REACTIVATEPHOTOSREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More