diff --git a/CHANGELOG b/CHANGELOG index 235b62433..23a4395de 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-05-27 Version: 1.36.34 +1, Support video transcode. + 2019-05-27 Version: 1.36.33 1, Initial release of api, including data management api, rule configuration api and system configuration api. diff --git a/VERSION b/VERSION index 2c26b6f89..4c78f68ca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.33 \ No newline at end of file +1.36.34 \ No newline at end of file diff --git a/imm/CMakeLists.txt b/imm/CMakeLists.txt index 9e2f6c605..8643bee6e 100644 --- a/imm/CMakeLists.txt +++ b/imm/CMakeLists.txt @@ -1,82 +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. -# - -set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) - +# +# 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(imm_public_header include/alibabacloud/imm/ImmClient.h - include/alibabacloud/imm/ImmExport.h ) - -set(imm_public_header_model ) - + include/alibabacloud/imm/ImmExport.h ) + +set(imm_public_header_model ) + set(imm_src - src/ImmClient.cc ) - -add_library(imm ${LIB_TYPE} - ${imm_public_header} - ${imm_public_header_model} - ${imm_src}) - -set_target_properties(imm - 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}imm - ) - -if(${LIB_TYPE} STREQUAL "SHARED") - set_target_properties(imm - PROPERTIES - DEFINE_SYMBOL ALIBABACLOUD_IMM_LIBRARY) -endif() - -target_include_directories(imm - PRIVATE include - ${CMAKE_SOURCE_DIR}/core/include - ) -target_link_libraries(imm - core) - -if(CMAKE_HOST_WIN32) - ExternalProject_Get_Property(jsoncpp INSTALL_DIR) - set(jsoncpp_install_dir ${INSTALL_DIR}) - add_dependencies(imm - jsoncpp) - target_include_directories(imm - PRIVATE ${jsoncpp_install_dir}/include) - target_link_libraries(imm - ${jsoncpp_install_dir}/lib/jsoncpp.lib) - set_target_properties(imm - PROPERTIES - COMPILE_OPTIONS "/bigobj") -else() - target_include_directories(imm - PRIVATE /usr/include/jsoncpp) - target_link_libraries(imm - jsoncpp) -endif() - -install(FILES ${imm_public_header} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/imm) -install(FILES ${imm_public_header_model} - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/imm/model) -install(TARGETS imm - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + src/ImmClient.cc ) + +add_library(imm ${LIB_TYPE} + ${imm_public_header} + ${imm_public_header_model} + ${imm_src}) + +set_target_properties(imm + 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}imm + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(imm + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_IMM_LIBRARY) +endif() + +target_include_directories(imm + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(imm + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(imm + jsoncpp) + target_include_directories(imm + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(imm + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(imm + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(imm + PRIVATE /usr/include/jsoncpp) + target_link_libraries(imm + jsoncpp) +endif() + +install(FILES ${imm_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/imm) +install(FILES ${imm_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/imm/model) +install(TARGETS imm + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/ImmClient.h b/imm/include/alibabacloud/imm/ImmClient.h index e559ac6eb..c88f476ea 100644 --- a/imm/include/alibabacloud/imm/ImmClient.h +++ b/imm/include/alibabacloud/imm/ImmClient.h @@ -1,27 +1,27 @@ -/* - * 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_IMM_IMMCLIENT_H_ -#define ALIBABACLOUD_IMM_IMMCLIENT_H_ - -#include -#include -#include -#include -#include "ImmExport.h" +/* + * 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_IMM_IMMCLIENT_H_ +#define ALIBABACLOUD_IMM_IMMCLIENT_H_ + +#include +#include +#include +#include +#include "ImmExport.h" #include "model/ListPornBatchDetectJobsRequest.h" #include "model/ListPornBatchDetectJobsResult.h" #include "model/DetectImageFacesRequest.h" @@ -202,6 +202,8 @@ #include "model/UpdateImageResult.h" #include "model/ListVideoTasksRequest.h" #include "model/ListVideoTasksResult.h" +#include "model/CreateVideoCompressTaskRequest.h" +#include "model/CreateVideoCompressTaskResult.h" #include "model/UpdateProjectRequest.h" #include "model/UpdateProjectResult.h" #include "model/DeleteVideoRequest.h" @@ -212,595 +214,601 @@ #include "model/UpdateSetResult.h" #include "model/ListFaceGroupsRequest.h" #include "model/ListFaceGroupsResult.h" - - -namespace AlibabaCloud -{ - namespace Imm - { - class ALIBABACLOUD_IMM_EXPORT ImmClient : public RpcServiceClient - { - public: - typedef Outcome ListPornBatchDetectJobsOutcome; - typedef std::future ListPornBatchDetectJobsOutcomeCallable; + + +namespace AlibabaCloud +{ + namespace Imm + { + class ALIBABACLOUD_IMM_EXPORT ImmClient : public RpcServiceClient + { + public: + typedef Outcome ListPornBatchDetectJobsOutcome; + typedef std::future ListPornBatchDetectJobsOutcomeCallable; typedef std::function&)> ListPornBatchDetectJobsAsyncHandler; - typedef Outcome DetectImageFacesOutcome; - typedef std::future DetectImageFacesOutcomeCallable; + typedef Outcome DetectImageFacesOutcome; + typedef std::future DetectImageFacesOutcomeCallable; typedef std::function&)> DetectImageFacesAsyncHandler; - typedef Outcome DetectImageTagsOutcome; - typedef std::future DetectImageTagsOutcomeCallable; + typedef Outcome DetectImageTagsOutcome; + typedef std::future DetectImageTagsOutcomeCallable; typedef std::function&)> DetectImageTagsAsyncHandler; - typedef Outcome DeleteImageOutcome; - typedef std::future DeleteImageOutcomeCallable; + typedef Outcome DeleteImageOutcome; + typedef std::future DeleteImageOutcomeCallable; typedef std::function&)> DeleteImageAsyncHandler; - typedef Outcome CreateTagJobOutcome; - typedef std::future CreateTagJobOutcomeCallable; + typedef Outcome CreateTagJobOutcome; + typedef std::future CreateTagJobOutcomeCallable; typedef std::function&)> CreateTagJobAsyncHandler; - typedef Outcome IndexTagOutcome; - typedef std::future IndexTagOutcomeCallable; + typedef Outcome IndexTagOutcome; + typedef std::future IndexTagOutcomeCallable; typedef std::function&)> IndexTagAsyncHandler; - typedef Outcome ListProjectsOutcome; - typedef std::future ListProjectsOutcomeCallable; + typedef Outcome ListProjectsOutcome; + typedef std::future ListProjectsOutcomeCallable; typedef std::function&)> ListProjectsAsyncHandler; - typedef Outcome DeleteSetOutcome; - typedef std::future DeleteSetOutcomeCallable; + typedef Outcome DeleteSetOutcome; + typedef std::future DeleteSetOutcomeCallable; typedef std::function&)> DeleteSetAsyncHandler; - typedef Outcome GetFaceSearchImageOutcome; - typedef std::future GetFaceSearchImageOutcomeCallable; + typedef Outcome GetFaceSearchImageOutcome; + typedef std::future GetFaceSearchImageOutcomeCallable; typedef std::function&)> GetFaceSearchImageAsyncHandler; - typedef Outcome CreateVideoAnalyseTaskOutcome; - typedef std::future CreateVideoAnalyseTaskOutcomeCallable; + typedef Outcome CreateVideoAnalyseTaskOutcome; + typedef std::future CreateVideoAnalyseTaskOutcomeCallable; typedef std::function&)> CreateVideoAnalyseTaskAsyncHandler; - typedef Outcome CompareFaceOutcome; - typedef std::future CompareFaceOutcomeCallable; + typedef Outcome CompareFaceOutcome; + typedef std::future CompareFaceOutcomeCallable; typedef std::function&)> CompareFaceAsyncHandler; - typedef Outcome DetectTagOutcome; - typedef std::future DetectTagOutcomeCallable; + typedef Outcome DetectTagOutcome; + typedef std::future DetectTagOutcomeCallable; typedef std::function&)> DetectTagAsyncHandler; - typedef Outcome ListFaceSearchGroupUsersOutcome; - typedef std::future ListFaceSearchGroupUsersOutcomeCallable; + typedef Outcome ListFaceSearchGroupUsersOutcome; + typedef std::future ListFaceSearchGroupUsersOutcomeCallable; typedef std::function&)> ListFaceSearchGroupUsersAsyncHandler; - typedef Outcome ListFaceSearchGroupImagesOutcome; - typedef std::future ListFaceSearchGroupImagesOutcomeCallable; + typedef Outcome ListFaceSearchGroupImagesOutcome; + typedef std::future ListFaceSearchGroupImagesOutcomeCallable; typedef std::function&)> ListFaceSearchGroupImagesAsyncHandler; - typedef Outcome CreateCADConversionTaskOutcome; - typedef std::future CreateCADConversionTaskOutcomeCallable; + typedef Outcome CreateCADConversionTaskOutcome; + typedef std::future CreateCADConversionTaskOutcomeCallable; typedef std::function&)> CreateCADConversionTaskAsyncHandler; - typedef Outcome GetTagJobOutcome; - typedef std::future GetTagJobOutcomeCallable; + typedef Outcome GetTagJobOutcome; + typedef std::future GetTagJobOutcomeCallable; typedef std::function&)> GetTagJobAsyncHandler; - typedef Outcome DeleteFaceJobOutcome; - typedef std::future DeleteFaceJobOutcomeCallable; + typedef Outcome DeleteFaceJobOutcome; + typedef std::future DeleteFaceJobOutcomeCallable; typedef std::function&)> DeleteFaceJobAsyncHandler; - typedef Outcome CreateDocIndexTaskOutcome; - typedef std::future CreateDocIndexTaskOutcomeCallable; + typedef Outcome CreateDocIndexTaskOutcome; + typedef std::future CreateDocIndexTaskOutcomeCallable; typedef std::function&)> CreateDocIndexTaskAsyncHandler; - typedef Outcome PutProjectOutcome; - typedef std::future PutProjectOutcomeCallable; + typedef Outcome PutProjectOutcome; + typedef std::future PutProjectOutcomeCallable; typedef std::function&)> PutProjectAsyncHandler; - typedef Outcome GetSetOutcome; - typedef std::future GetSetOutcomeCallable; + typedef Outcome GetSetOutcome; + typedef std::future GetSetOutcomeCallable; typedef std::function&)> GetSetAsyncHandler; - typedef Outcome GetVideoTaskOutcome; - typedef std::future GetVideoTaskOutcomeCallable; + typedef Outcome GetVideoTaskOutcome; + typedef std::future GetVideoTaskOutcomeCallable; typedef std::function&)> GetVideoTaskAsyncHandler; - typedef Outcome ListSetsOutcome; - typedef std::future ListSetsOutcomeCallable; + typedef Outcome ListSetsOutcome; + typedef std::future ListSetsOutcomeCallable; typedef std::function&)> ListSetsAsyncHandler; - typedef Outcome SearchDocIndexOutcome; - typedef std::future SearchDocIndexOutcomeCallable; + typedef Outcome SearchDocIndexOutcome; + typedef std::future SearchDocIndexOutcomeCallable; typedef std::function&)> SearchDocIndexAsyncHandler; - typedef Outcome ListPhotoProcessTasksOutcome; - typedef std::future ListPhotoProcessTasksOutcomeCallable; + typedef Outcome ListPhotoProcessTasksOutcome; + typedef std::future ListPhotoProcessTasksOutcomeCallable; typedef std::function&)> ListPhotoProcessTasksAsyncHandler; - typedef Outcome ListVideosOutcome; - typedef std::future ListVideosOutcomeCallable; + typedef Outcome ListVideosOutcome; + typedef std::future ListVideosOutcomeCallable; typedef std::function&)> ListVideosAsyncHandler; - typedef Outcome CreatePornBatchDetectJobOutcome; - typedef std::future CreatePornBatchDetectJobOutcomeCallable; + typedef Outcome CreatePornBatchDetectJobOutcome; + typedef std::future CreatePornBatchDetectJobOutcomeCallable; typedef std::function&)> CreatePornBatchDetectJobAsyncHandler; - typedef Outcome FindImagesOutcome; - typedef std::future FindImagesOutcomeCallable; + typedef Outcome FindImagesOutcome; + typedef std::future FindImagesOutcomeCallable; typedef std::function&)> FindImagesAsyncHandler; - typedef Outcome DeleteTagByNameOutcome; - typedef std::future DeleteTagByNameOutcomeCallable; + typedef Outcome DeleteTagByNameOutcome; + typedef std::future DeleteTagByNameOutcomeCallable; typedef std::function&)> DeleteTagByNameAsyncHandler; - typedef Outcome DetectImageLogosOutcome; - typedef std::future DetectImageLogosOutcomeCallable; + typedef Outcome DetectImageLogosOutcome; + typedef std::future DetectImageLogosOutcomeCallable; typedef std::function&)> DetectImageLogosAsyncHandler; - typedef Outcome GetProjectOutcome; - typedef std::future GetProjectOutcomeCallable; + typedef Outcome GetProjectOutcome; + typedef std::future GetProjectOutcomeCallable; typedef std::function&)> GetProjectAsyncHandler; - typedef Outcome DeletePhotoProcessTaskOutcome; - typedef std::future DeletePhotoProcessTaskOutcomeCallable; + typedef Outcome DeletePhotoProcessTaskOutcome; + typedef std::future DeletePhotoProcessTaskOutcomeCallable; typedef std::function&)> DeletePhotoProcessTaskAsyncHandler; - typedef Outcome ListSetTagsOutcome; - typedef std::future ListSetTagsOutcomeCallable; + typedef Outcome ListSetTagsOutcome; + typedef std::future ListSetTagsOutcomeCallable; typedef std::function&)> ListSetTagsAsyncHandler; - typedef Outcome DeleteVideoTaskOutcome; - typedef std::future DeleteVideoTaskOutcomeCallable; + typedef Outcome DeleteVideoTaskOutcome; + typedef std::future DeleteVideoTaskOutcomeCallable; typedef std::function&)> DeleteVideoTaskAsyncHandler; - typedef Outcome FindImagesByTagNamesOutcome; - typedef std::future FindImagesByTagNamesOutcomeCallable; + typedef Outcome FindImagesByTagNamesOutcome; + typedef std::future FindImagesByTagNamesOutcomeCallable; typedef std::function&)> FindImagesByTagNamesAsyncHandler; - typedef Outcome DeleteTagSetOutcome; - typedef std::future DeleteTagSetOutcomeCallable; + typedef Outcome DeleteTagSetOutcome; + typedef std::future DeleteTagSetOutcomeCallable; typedef std::function&)> DeleteTagSetAsyncHandler; - typedef Outcome DeleteProjectOutcome; - typedef std::future DeleteProjectOutcomeCallable; + typedef Outcome DeleteProjectOutcome; + typedef std::future DeleteProjectOutcomeCallable; typedef std::function&)> DeleteProjectAsyncHandler; - typedef Outcome UpdateDocIndexMetaOutcome; - typedef std::future UpdateDocIndexMetaOutcomeCallable; + typedef Outcome UpdateDocIndexMetaOutcome; + typedef std::future UpdateDocIndexMetaOutcomeCallable; typedef std::function&)> UpdateDocIndexMetaAsyncHandler; - typedef Outcome SearchFaceOutcome; - typedef std::future SearchFaceOutcomeCallable; + typedef Outcome SearchFaceOutcome; + typedef std::future SearchFaceOutcomeCallable; typedef std::function&)> SearchFaceAsyncHandler; - typedef Outcome GetImageOutcome; - typedef std::future GetImageOutcomeCallable; + typedef Outcome GetImageOutcome; + typedef std::future GetImageOutcomeCallable; typedef std::function&)> GetImageAsyncHandler; - typedef Outcome DetectImageCelebrityOutcome; - typedef std::future DetectImageCelebrityOutcomeCallable; + typedef Outcome DetectImageCelebrityOutcome; + typedef std::future DetectImageCelebrityOutcomeCallable; typedef std::function&)> DetectImageCelebrityAsyncHandler; - typedef Outcome CreateSetOutcome; - typedef std::future CreateSetOutcomeCallable; + typedef Outcome CreateSetOutcome; + typedef std::future CreateSetOutcomeCallable; typedef std::function&)> CreateSetAsyncHandler; - typedef Outcome DeletePornBatchDetectJobOutcome; - typedef std::future DeletePornBatchDetectJobOutcomeCallable; + typedef Outcome DeletePornBatchDetectJobOutcome; + typedef std::future DeletePornBatchDetectJobOutcomeCallable; typedef std::function&)> DeletePornBatchDetectJobAsyncHandler; - typedef Outcome ListFaceSearchGroupsOutcome; - typedef std::future ListFaceSearchGroupsOutcomeCallable; + typedef Outcome ListFaceSearchGroupsOutcome; + typedef std::future ListFaceSearchGroupsOutcomeCallable; typedef std::function&)> ListFaceSearchGroupsAsyncHandler; - typedef Outcome GetTagSetOutcome; - typedef std::future GetTagSetOutcomeCallable; + typedef Outcome GetTagSetOutcome; + typedef std::future GetTagSetOutcomeCallable; typedef std::function&)> GetTagSetAsyncHandler; - typedef Outcome ConvertOfficeFormatOutcome; - typedef std::future ConvertOfficeFormatOutcomeCallable; + typedef Outcome ConvertOfficeFormatOutcome; + typedef std::future ConvertOfficeFormatOutcomeCallable; typedef std::function&)> ConvertOfficeFormatAsyncHandler; - typedef Outcome UpdateFaceGroupOutcome; - typedef std::future UpdateFaceGroupOutcomeCallable; + typedef Outcome UpdateFaceGroupOutcome; + typedef std::future UpdateFaceGroupOutcomeCallable; typedef std::function&)> UpdateFaceGroupAsyncHandler; - typedef Outcome ListTagPhotosOutcome; - typedef std::future ListTagPhotosOutcomeCallable; + typedef Outcome ListTagPhotosOutcome; + typedef std::future ListTagPhotosOutcomeCallable; typedef std::function&)> ListTagPhotosAsyncHandler; - typedef Outcome DetectImageBodiesOutcome; - typedef std::future DetectImageBodiesOutcomeCallable; + typedef Outcome DetectImageBodiesOutcome; + typedef std::future DetectImageBodiesOutcomeCallable; typedef std::function&)> DetectImageBodiesAsyncHandler; - typedef Outcome DeleteFaceSearchImageByIdOutcome; - typedef std::future DeleteFaceSearchImageByIdOutcomeCallable; + typedef Outcome DeleteFaceSearchImageByIdOutcome; + typedef std::future DeleteFaceSearchImageByIdOutcomeCallable; typedef std::function&)> DeleteFaceSearchImageByIdAsyncHandler; - typedef Outcome IndexVideoOutcome; - typedef std::future IndexVideoOutcomeCallable; + typedef Outcome IndexVideoOutcome; + typedef std::future IndexVideoOutcomeCallable; typedef std::function&)> IndexVideoAsyncHandler; - typedef Outcome DeleteDocIndexOutcome; - typedef std::future DeleteDocIndexOutcomeCallable; + typedef Outcome DeleteDocIndexOutcome; + typedef std::future DeleteDocIndexOutcomeCallable; typedef std::function&)> DeleteDocIndexAsyncHandler; - typedef Outcome GetDocIndexTaskOutcome; - typedef std::future GetDocIndexTaskOutcomeCallable; + typedef Outcome GetDocIndexTaskOutcome; + typedef std::future GetDocIndexTaskOutcomeCallable; typedef std::function&)> GetDocIndexTaskAsyncHandler; - typedef Outcome GetImageJobOutcome; - typedef std::future GetImageJobOutcomeCallable; + typedef Outcome GetImageJobOutcome; + typedef std::future GetImageJobOutcomeCallable; typedef std::function&)> GetImageJobAsyncHandler; - typedef Outcome ListVideoAudiosOutcome; - typedef std::future ListVideoAudiosOutcomeCallable; + typedef Outcome ListVideoAudiosOutcome; + typedef std::future ListVideoAudiosOutcomeCallable; typedef std::function&)> ListVideoAudiosAsyncHandler; - typedef Outcome CreateMergeFaceGroupsJobOutcome; - typedef std::future CreateMergeFaceGroupsJobOutcomeCallable; + typedef Outcome CreateMergeFaceGroupsJobOutcome; + typedef std::future CreateMergeFaceGroupsJobOutcomeCallable; typedef std::function&)> CreateMergeFaceGroupsJobAsyncHandler; - typedef Outcome DeleteTagByUrlOutcome; - typedef std::future DeleteTagByUrlOutcomeCallable; + typedef Outcome DeleteTagByUrlOutcome; + typedef std::future DeleteTagByUrlOutcomeCallable; typedef std::function&)> DeleteTagByUrlAsyncHandler; - typedef Outcome ListTagSetsOutcome; - typedef std::future ListTagSetsOutcomeCallable; + typedef Outcome ListTagSetsOutcome; + typedef std::future ListTagSetsOutcomeCallable; typedef std::function&)> ListTagSetsAsyncHandler; - typedef Outcome ListTagNamesOutcome; - typedef std::future ListTagNamesOutcomeCallable; + typedef Outcome ListTagNamesOutcome; + typedef std::future ListTagNamesOutcomeCallable; typedef std::function&)> ListTagNamesAsyncHandler; - typedef Outcome CreateOfficeConversionTaskOutcome; - typedef std::future CreateOfficeConversionTaskOutcomeCallable; + typedef Outcome CreateOfficeConversionTaskOutcome; + typedef std::future CreateOfficeConversionTaskOutcomeCallable; typedef std::function&)> CreateOfficeConversionTaskAsyncHandler; - typedef Outcome DetectQRCodesOutcome; - typedef std::future DetectQRCodesOutcomeCallable; + typedef Outcome DetectQRCodesOutcome; + typedef std::future DetectQRCodesOutcomeCallable; typedef std::function&)> DetectQRCodesAsyncHandler; - typedef Outcome GetFaceSearchGroupOutcome; - typedef std::future GetFaceSearchGroupOutcomeCallable; + typedef Outcome GetFaceSearchGroupOutcome; + typedef std::future GetFaceSearchGroupOutcomeCallable; typedef std::function&)> GetFaceSearchGroupAsyncHandler; - typedef Outcome GetVideoOutcome; - typedef std::future GetVideoOutcomeCallable; + typedef Outcome GetVideoOutcome; + typedef std::future GetVideoOutcomeCallable; typedef std::function&)> GetVideoAsyncHandler; - typedef Outcome ListImagesOutcome; - typedef std::future ListImagesOutcomeCallable; + typedef Outcome ListImagesOutcome; + typedef std::future ListImagesOutcomeCallable; typedef std::function&)> ListImagesAsyncHandler; - typedef Outcome CompareImageFacesOutcome; - typedef std::future CompareImageFacesOutcomeCallable; + typedef Outcome CompareImageFacesOutcome; + typedef std::future CompareImageFacesOutcomeCallable; typedef std::function&)> CompareImageFacesAsyncHandler; - typedef Outcome DeleteTagJobOutcome; - typedef std::future DeleteTagJobOutcomeCallable; + typedef Outcome DeleteTagJobOutcome; + typedef std::future DeleteTagJobOutcomeCallable; typedef std::function&)> DeleteTagJobAsyncHandler; - typedef Outcome DeleteOfficeConversionTaskOutcome; - typedef std::future DeleteOfficeConversionTaskOutcomeCallable; + typedef Outcome DeleteOfficeConversionTaskOutcome; + typedef std::future DeleteOfficeConversionTaskOutcomeCallable; typedef std::function&)> DeleteOfficeConversionTaskAsyncHandler; - typedef Outcome PhotoProcessOutcome; - typedef std::future PhotoProcessOutcomeCallable; + typedef Outcome PhotoProcessOutcome; + typedef std::future PhotoProcessOutcomeCallable; typedef std::function&)> PhotoProcessAsyncHandler; - typedef Outcome GetPhotoProcessTaskOutcome; - typedef std::future GetPhotoProcessTaskOutcomeCallable; + typedef Outcome GetPhotoProcessTaskOutcome; + typedef std::future GetPhotoProcessTaskOutcomeCallable; typedef std::function&)> GetPhotoProcessTaskAsyncHandler; - typedef Outcome ListVideoFramesOutcome; - typedef std::future ListVideoFramesOutcomeCallable; + typedef Outcome ListVideoFramesOutcome; + typedef std::future ListVideoFramesOutcomeCallable; typedef std::function&)> ListVideoFramesAsyncHandler; - typedef Outcome GetPornBatchDetectJobOutcome; - typedef std::future GetPornBatchDetectJobOutcomeCallable; + typedef Outcome GetPornBatchDetectJobOutcome; + typedef std::future GetPornBatchDetectJobOutcomeCallable; typedef std::function&)> GetPornBatchDetectJobAsyncHandler; - typedef Outcome DetectLogoOutcome; - typedef std::future DetectLogoOutcomeCallable; + typedef Outcome DetectLogoOutcome; + typedef std::future DetectLogoOutcomeCallable; typedef std::function&)> DetectLogoAsyncHandler; - typedef Outcome DetectClothesOutcome; - typedef std::future DetectClothesOutcomeCallable; + typedef Outcome DetectClothesOutcome; + typedef std::future DetectClothesOutcomeCallable; typedef std::function&)> DetectClothesAsyncHandler; - typedef Outcome ListTagJobsOutcome; - typedef std::future ListTagJobsOutcomeCallable; + typedef Outcome ListTagJobsOutcome; + typedef std::future ListTagJobsOutcomeCallable; typedef std::function&)> ListTagJobsAsyncHandler; - typedef Outcome DescribeRegionsOutcome; - typedef std::future DescribeRegionsOutcomeCallable; + typedef Outcome DescribeRegionsOutcome; + typedef std::future DescribeRegionsOutcomeCallable; typedef std::function&)> DescribeRegionsAsyncHandler; - typedef Outcome DeleteFaceSearchUserOutcome; - typedef std::future DeleteFaceSearchUserOutcomeCallable; + typedef Outcome DeleteFaceSearchUserOutcome; + typedef std::future DeleteFaceSearchUserOutcomeCallable; typedef std::function&)> DeleteFaceSearchUserAsyncHandler; - typedef Outcome GetOfficeConversionTaskOutcome; - typedef std::future GetOfficeConversionTaskOutcomeCallable; + typedef Outcome GetOfficeConversionTaskOutcome; + typedef std::future GetOfficeConversionTaskOutcomeCallable; typedef std::function&)> GetOfficeConversionTaskAsyncHandler; - typedef Outcome CreateTagSetOutcome; - typedef std::future CreateTagSetOutcomeCallable; + typedef Outcome CreateTagSetOutcome; + typedef std::future CreateTagSetOutcomeCallable; typedef std::function&)> CreateTagSetAsyncHandler; - typedef Outcome RegistFaceOutcome; - typedef std::future RegistFaceOutcomeCallable; + typedef Outcome RegistFaceOutcome; + typedef std::future RegistFaceOutcomeCallable; typedef std::function&)> RegistFaceAsyncHandler; - typedef Outcome FindSimilarFacesOutcome; - typedef std::future FindSimilarFacesOutcomeCallable; + typedef Outcome FindSimilarFacesOutcome; + typedef std::future FindSimilarFacesOutcomeCallable; typedef std::function&)> FindSimilarFacesAsyncHandler; - typedef Outcome GetFaceSearchUserOutcome; - typedef std::future GetFaceSearchUserOutcomeCallable; + typedef Outcome GetFaceSearchUserOutcome; + typedef std::future GetFaceSearchUserOutcomeCallable; typedef std::function&)> GetFaceSearchUserAsyncHandler; - typedef Outcome DeleteImageJobOutcome; - typedef std::future DeleteImageJobOutcomeCallable; + typedef Outcome DeleteImageJobOutcome; + typedef std::future DeleteImageJobOutcomeCallable; typedef std::function&)> DeleteImageJobAsyncHandler; - typedef Outcome CreateFaceSetOutcome; - typedef std::future CreateFaceSetOutcomeCallable; + typedef Outcome CreateFaceSetOutcome; + typedef std::future CreateFaceSetOutcomeCallable; typedef std::function&)> CreateFaceSetAsyncHandler; - typedef Outcome DeleteFaceSearchGroupOutcome; - typedef std::future DeleteFaceSearchGroupOutcomeCallable; + typedef Outcome DeleteFaceSearchGroupOutcome; + typedef std::future DeleteFaceSearchGroupOutcomeCallable; typedef std::function&)> DeleteFaceSearchGroupAsyncHandler; - typedef Outcome GetDocIndexOutcome; - typedef std::future GetDocIndexOutcomeCallable; + typedef Outcome GetDocIndexOutcome; + typedef std::future GetDocIndexOutcomeCallable; typedef std::function&)> GetDocIndexAsyncHandler; - typedef Outcome IndexImageOutcome; - typedef std::future IndexImageOutcomeCallable; + typedef Outcome IndexImageOutcome; + typedef std::future IndexImageOutcomeCallable; typedef std::function&)> IndexImageAsyncHandler; - typedef Outcome DetectImageTextsOutcome; - typedef std::future DetectImageTextsOutcomeCallable; + typedef Outcome DetectImageTextsOutcome; + typedef std::future DetectImageTextsOutcomeCallable; typedef std::function&)> DetectImageTextsAsyncHandler; - typedef Outcome ListImageJobsOutcome; - typedef std::future ListImageJobsOutcomeCallable; + typedef Outcome ListImageJobsOutcome; + typedef std::future ListImageJobsOutcomeCallable; typedef std::function&)> ListImageJobsAsyncHandler; - typedef Outcome CreateGroupFacesJobOutcome; - typedef std::future CreateGroupFacesJobOutcomeCallable; + typedef Outcome CreateGroupFacesJobOutcome; + typedef std::future CreateGroupFacesJobOutcomeCallable; typedef std::function&)> CreateGroupFacesJobAsyncHandler; - typedef Outcome UpdateImageOutcome; - typedef std::future UpdateImageOutcomeCallable; + typedef Outcome UpdateImageOutcome; + typedef std::future UpdateImageOutcomeCallable; typedef std::function&)> UpdateImageAsyncHandler; - typedef Outcome ListVideoTasksOutcome; - typedef std::future ListVideoTasksOutcomeCallable; + typedef Outcome ListVideoTasksOutcome; + typedef std::future ListVideoTasksOutcomeCallable; typedef std::function&)> ListVideoTasksAsyncHandler; - typedef Outcome UpdateProjectOutcome; - typedef std::future UpdateProjectOutcomeCallable; + typedef Outcome CreateVideoCompressTaskOutcome; + typedef std::future CreateVideoCompressTaskOutcomeCallable; + typedef std::function&)> CreateVideoCompressTaskAsyncHandler; + typedef Outcome UpdateProjectOutcome; + typedef std::future UpdateProjectOutcomeCallable; typedef std::function&)> UpdateProjectAsyncHandler; - typedef Outcome DeleteVideoOutcome; - typedef std::future DeleteVideoOutcomeCallable; + typedef Outcome DeleteVideoOutcome; + typedef std::future DeleteVideoOutcomeCallable; typedef std::function&)> DeleteVideoAsyncHandler; - typedef Outcome ListOfficeConversionTaskOutcome; - typedef std::future ListOfficeConversionTaskOutcomeCallable; + typedef Outcome ListOfficeConversionTaskOutcome; + typedef std::future ListOfficeConversionTaskOutcomeCallable; typedef std::function&)> ListOfficeConversionTaskAsyncHandler; - typedef Outcome UpdateSetOutcome; - typedef std::future UpdateSetOutcomeCallable; + typedef Outcome UpdateSetOutcome; + typedef std::future UpdateSetOutcomeCallable; typedef std::function&)> UpdateSetAsyncHandler; - typedef Outcome ListFaceGroupsOutcome; - typedef std::future ListFaceGroupsOutcomeCallable; + typedef Outcome ListFaceGroupsOutcome; + typedef std::future ListFaceGroupsOutcomeCallable; typedef std::function&)> ListFaceGroupsAsyncHandler; - - ImmClient(const Credentials &credentials, const ClientConfiguration &configuration); - ImmClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); - ImmClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); - ~ImmClient(); - ListPornBatchDetectJobsOutcome listPornBatchDetectJobs(const Model::ListPornBatchDetectJobsRequest &request)const; - void listPornBatchDetectJobsAsync(const Model::ListPornBatchDetectJobsRequest& request, const ListPornBatchDetectJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + + ImmClient(const Credentials &credentials, const ClientConfiguration &configuration); + ImmClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + ImmClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~ImmClient(); + ListPornBatchDetectJobsOutcome listPornBatchDetectJobs(const Model::ListPornBatchDetectJobsRequest &request)const; + void listPornBatchDetectJobsAsync(const Model::ListPornBatchDetectJobsRequest& request, const ListPornBatchDetectJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListPornBatchDetectJobsOutcomeCallable listPornBatchDetectJobsCallable(const Model::ListPornBatchDetectJobsRequest& request) const; - DetectImageFacesOutcome detectImageFaces(const Model::DetectImageFacesRequest &request)const; - void detectImageFacesAsync(const Model::DetectImageFacesRequest& request, const DetectImageFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectImageFacesOutcome detectImageFaces(const Model::DetectImageFacesRequest &request)const; + void detectImageFacesAsync(const Model::DetectImageFacesRequest& request, const DetectImageFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectImageFacesOutcomeCallable detectImageFacesCallable(const Model::DetectImageFacesRequest& request) const; - DetectImageTagsOutcome detectImageTags(const Model::DetectImageTagsRequest &request)const; - void detectImageTagsAsync(const Model::DetectImageTagsRequest& request, const DetectImageTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectImageTagsOutcome detectImageTags(const Model::DetectImageTagsRequest &request)const; + void detectImageTagsAsync(const Model::DetectImageTagsRequest& request, const DetectImageTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectImageTagsOutcomeCallable detectImageTagsCallable(const Model::DetectImageTagsRequest& request) const; - DeleteImageOutcome deleteImage(const Model::DeleteImageRequest &request)const; - void deleteImageAsync(const Model::DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteImageOutcome deleteImage(const Model::DeleteImageRequest &request)const; + void deleteImageAsync(const Model::DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteImageOutcomeCallable deleteImageCallable(const Model::DeleteImageRequest& request) const; - CreateTagJobOutcome createTagJob(const Model::CreateTagJobRequest &request)const; - void createTagJobAsync(const Model::CreateTagJobRequest& request, const CreateTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTagJobOutcome createTagJob(const Model::CreateTagJobRequest &request)const; + void createTagJobAsync(const Model::CreateTagJobRequest& request, const CreateTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateTagJobOutcomeCallable createTagJobCallable(const Model::CreateTagJobRequest& request) const; - IndexTagOutcome indexTag(const Model::IndexTagRequest &request)const; - void indexTagAsync(const Model::IndexTagRequest& request, const IndexTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + IndexTagOutcome indexTag(const Model::IndexTagRequest &request)const; + void indexTagAsync(const Model::IndexTagRequest& request, const IndexTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; IndexTagOutcomeCallable indexTagCallable(const Model::IndexTagRequest& request) const; - ListProjectsOutcome listProjects(const Model::ListProjectsRequest &request)const; - void listProjectsAsync(const Model::ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListProjectsOutcome listProjects(const Model::ListProjectsRequest &request)const; + void listProjectsAsync(const Model::ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListProjectsOutcomeCallable listProjectsCallable(const Model::ListProjectsRequest& request) const; - DeleteSetOutcome deleteSet(const Model::DeleteSetRequest &request)const; - void deleteSetAsync(const Model::DeleteSetRequest& request, const DeleteSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteSetOutcome deleteSet(const Model::DeleteSetRequest &request)const; + void deleteSetAsync(const Model::DeleteSetRequest& request, const DeleteSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSetOutcomeCallable deleteSetCallable(const Model::DeleteSetRequest& request) const; - GetFaceSearchImageOutcome getFaceSearchImage(const Model::GetFaceSearchImageRequest &request)const; - void getFaceSearchImageAsync(const Model::GetFaceSearchImageRequest& request, const GetFaceSearchImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFaceSearchImageOutcome getFaceSearchImage(const Model::GetFaceSearchImageRequest &request)const; + void getFaceSearchImageAsync(const Model::GetFaceSearchImageRequest& request, const GetFaceSearchImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetFaceSearchImageOutcomeCallable getFaceSearchImageCallable(const Model::GetFaceSearchImageRequest& request) const; - CreateVideoAnalyseTaskOutcome createVideoAnalyseTask(const Model::CreateVideoAnalyseTaskRequest &request)const; - void createVideoAnalyseTaskAsync(const Model::CreateVideoAnalyseTaskRequest& request, const CreateVideoAnalyseTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVideoAnalyseTaskOutcome createVideoAnalyseTask(const Model::CreateVideoAnalyseTaskRequest &request)const; + void createVideoAnalyseTaskAsync(const Model::CreateVideoAnalyseTaskRequest& request, const CreateVideoAnalyseTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateVideoAnalyseTaskOutcomeCallable createVideoAnalyseTaskCallable(const Model::CreateVideoAnalyseTaskRequest& request) const; - CompareFaceOutcome compareFace(const Model::CompareFaceRequest &request)const; - void compareFaceAsync(const Model::CompareFaceRequest& request, const CompareFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CompareFaceOutcome compareFace(const Model::CompareFaceRequest &request)const; + void compareFaceAsync(const Model::CompareFaceRequest& request, const CompareFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CompareFaceOutcomeCallable compareFaceCallable(const Model::CompareFaceRequest& request) const; - DetectTagOutcome detectTag(const Model::DetectTagRequest &request)const; - void detectTagAsync(const Model::DetectTagRequest& request, const DetectTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectTagOutcome detectTag(const Model::DetectTagRequest &request)const; + void detectTagAsync(const Model::DetectTagRequest& request, const DetectTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectTagOutcomeCallable detectTagCallable(const Model::DetectTagRequest& request) const; - ListFaceSearchGroupUsersOutcome listFaceSearchGroupUsers(const Model::ListFaceSearchGroupUsersRequest &request)const; - void listFaceSearchGroupUsersAsync(const Model::ListFaceSearchGroupUsersRequest& request, const ListFaceSearchGroupUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFaceSearchGroupUsersOutcome listFaceSearchGroupUsers(const Model::ListFaceSearchGroupUsersRequest &request)const; + void listFaceSearchGroupUsersAsync(const Model::ListFaceSearchGroupUsersRequest& request, const ListFaceSearchGroupUsersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFaceSearchGroupUsersOutcomeCallable listFaceSearchGroupUsersCallable(const Model::ListFaceSearchGroupUsersRequest& request) const; - ListFaceSearchGroupImagesOutcome listFaceSearchGroupImages(const Model::ListFaceSearchGroupImagesRequest &request)const; - void listFaceSearchGroupImagesAsync(const Model::ListFaceSearchGroupImagesRequest& request, const ListFaceSearchGroupImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFaceSearchGroupImagesOutcome listFaceSearchGroupImages(const Model::ListFaceSearchGroupImagesRequest &request)const; + void listFaceSearchGroupImagesAsync(const Model::ListFaceSearchGroupImagesRequest& request, const ListFaceSearchGroupImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFaceSearchGroupImagesOutcomeCallable listFaceSearchGroupImagesCallable(const Model::ListFaceSearchGroupImagesRequest& request) const; - CreateCADConversionTaskOutcome createCADConversionTask(const Model::CreateCADConversionTaskRequest &request)const; - void createCADConversionTaskAsync(const Model::CreateCADConversionTaskRequest& request, const CreateCADConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCADConversionTaskOutcome createCADConversionTask(const Model::CreateCADConversionTaskRequest &request)const; + void createCADConversionTaskAsync(const Model::CreateCADConversionTaskRequest& request, const CreateCADConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateCADConversionTaskOutcomeCallable createCADConversionTaskCallable(const Model::CreateCADConversionTaskRequest& request) const; - GetTagJobOutcome getTagJob(const Model::GetTagJobRequest &request)const; - void getTagJobAsync(const Model::GetTagJobRequest& request, const GetTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTagJobOutcome getTagJob(const Model::GetTagJobRequest &request)const; + void getTagJobAsync(const Model::GetTagJobRequest& request, const GetTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTagJobOutcomeCallable getTagJobCallable(const Model::GetTagJobRequest& request) const; - DeleteFaceJobOutcome deleteFaceJob(const Model::DeleteFaceJobRequest &request)const; - void deleteFaceJobAsync(const Model::DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFaceJobOutcome deleteFaceJob(const Model::DeleteFaceJobRequest &request)const; + void deleteFaceJobAsync(const Model::DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFaceJobOutcomeCallable deleteFaceJobCallable(const Model::DeleteFaceJobRequest& request) const; - CreateDocIndexTaskOutcome createDocIndexTask(const Model::CreateDocIndexTaskRequest &request)const; - void createDocIndexTaskAsync(const Model::CreateDocIndexTaskRequest& request, const CreateDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDocIndexTaskOutcome createDocIndexTask(const Model::CreateDocIndexTaskRequest &request)const; + void createDocIndexTaskAsync(const Model::CreateDocIndexTaskRequest& request, const CreateDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateDocIndexTaskOutcomeCallable createDocIndexTaskCallable(const Model::CreateDocIndexTaskRequest& request) const; - PutProjectOutcome putProject(const Model::PutProjectRequest &request)const; - void putProjectAsync(const Model::PutProjectRequest& request, const PutProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PutProjectOutcome putProject(const Model::PutProjectRequest &request)const; + void putProjectAsync(const Model::PutProjectRequest& request, const PutProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PutProjectOutcomeCallable putProjectCallable(const Model::PutProjectRequest& request) const; - GetSetOutcome getSet(const Model::GetSetRequest &request)const; - void getSetAsync(const Model::GetSetRequest& request, const GetSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSetOutcome getSet(const Model::GetSetRequest &request)const; + void getSetAsync(const Model::GetSetRequest& request, const GetSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetSetOutcomeCallable getSetCallable(const Model::GetSetRequest& request) const; - GetVideoTaskOutcome getVideoTask(const Model::GetVideoTaskRequest &request)const; - void getVideoTaskAsync(const Model::GetVideoTaskRequest& request, const GetVideoTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVideoTaskOutcome getVideoTask(const Model::GetVideoTaskRequest &request)const; + void getVideoTaskAsync(const Model::GetVideoTaskRequest& request, const GetVideoTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetVideoTaskOutcomeCallable getVideoTaskCallable(const Model::GetVideoTaskRequest& request) const; - ListSetsOutcome listSets(const Model::ListSetsRequest &request)const; - void listSetsAsync(const Model::ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSetsOutcome listSets(const Model::ListSetsRequest &request)const; + void listSetsAsync(const Model::ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSetsOutcomeCallable listSetsCallable(const Model::ListSetsRequest& request) const; - SearchDocIndexOutcome searchDocIndex(const Model::SearchDocIndexRequest &request)const; - void searchDocIndexAsync(const Model::SearchDocIndexRequest& request, const SearchDocIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SearchDocIndexOutcome searchDocIndex(const Model::SearchDocIndexRequest &request)const; + void searchDocIndexAsync(const Model::SearchDocIndexRequest& request, const SearchDocIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SearchDocIndexOutcomeCallable searchDocIndexCallable(const Model::SearchDocIndexRequest& request) const; - ListPhotoProcessTasksOutcome listPhotoProcessTasks(const Model::ListPhotoProcessTasksRequest &request)const; - void listPhotoProcessTasksAsync(const Model::ListPhotoProcessTasksRequest& request, const ListPhotoProcessTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListPhotoProcessTasksOutcome listPhotoProcessTasks(const Model::ListPhotoProcessTasksRequest &request)const; + void listPhotoProcessTasksAsync(const Model::ListPhotoProcessTasksRequest& request, const ListPhotoProcessTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListPhotoProcessTasksOutcomeCallable listPhotoProcessTasksCallable(const Model::ListPhotoProcessTasksRequest& request) const; - ListVideosOutcome listVideos(const Model::ListVideosRequest &request)const; - void listVideosAsync(const Model::ListVideosRequest& request, const ListVideosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVideosOutcome listVideos(const Model::ListVideosRequest &request)const; + void listVideosAsync(const Model::ListVideosRequest& request, const ListVideosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListVideosOutcomeCallable listVideosCallable(const Model::ListVideosRequest& request) const; - CreatePornBatchDetectJobOutcome createPornBatchDetectJob(const Model::CreatePornBatchDetectJobRequest &request)const; - void createPornBatchDetectJobAsync(const Model::CreatePornBatchDetectJobRequest& request, const CreatePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreatePornBatchDetectJobOutcome createPornBatchDetectJob(const Model::CreatePornBatchDetectJobRequest &request)const; + void createPornBatchDetectJobAsync(const Model::CreatePornBatchDetectJobRequest& request, const CreatePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreatePornBatchDetectJobOutcomeCallable createPornBatchDetectJobCallable(const Model::CreatePornBatchDetectJobRequest& request) const; - FindImagesOutcome findImages(const Model::FindImagesRequest &request)const; - void findImagesAsync(const Model::FindImagesRequest& request, const FindImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FindImagesOutcome findImages(const Model::FindImagesRequest &request)const; + void findImagesAsync(const Model::FindImagesRequest& request, const FindImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; FindImagesOutcomeCallable findImagesCallable(const Model::FindImagesRequest& request) const; - DeleteTagByNameOutcome deleteTagByName(const Model::DeleteTagByNameRequest &request)const; - void deleteTagByNameAsync(const Model::DeleteTagByNameRequest& request, const DeleteTagByNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTagByNameOutcome deleteTagByName(const Model::DeleteTagByNameRequest &request)const; + void deleteTagByNameAsync(const Model::DeleteTagByNameRequest& request, const DeleteTagByNameAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTagByNameOutcomeCallable deleteTagByNameCallable(const Model::DeleteTagByNameRequest& request) const; - DetectImageLogosOutcome detectImageLogos(const Model::DetectImageLogosRequest &request)const; - void detectImageLogosAsync(const Model::DetectImageLogosRequest& request, const DetectImageLogosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectImageLogosOutcome detectImageLogos(const Model::DetectImageLogosRequest &request)const; + void detectImageLogosAsync(const Model::DetectImageLogosRequest& request, const DetectImageLogosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectImageLogosOutcomeCallable detectImageLogosCallable(const Model::DetectImageLogosRequest& request) const; - GetProjectOutcome getProject(const Model::GetProjectRequest &request)const; - void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetProjectOutcome getProject(const Model::GetProjectRequest &request)const; + void getProjectAsync(const Model::GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetProjectOutcomeCallable getProjectCallable(const Model::GetProjectRequest& request) const; - DeletePhotoProcessTaskOutcome deletePhotoProcessTask(const Model::DeletePhotoProcessTaskRequest &request)const; - void deletePhotoProcessTaskAsync(const Model::DeletePhotoProcessTaskRequest& request, const DeletePhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePhotoProcessTaskOutcome deletePhotoProcessTask(const Model::DeletePhotoProcessTaskRequest &request)const; + void deletePhotoProcessTaskAsync(const Model::DeletePhotoProcessTaskRequest& request, const DeletePhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeletePhotoProcessTaskOutcomeCallable deletePhotoProcessTaskCallable(const Model::DeletePhotoProcessTaskRequest& request) const; - ListSetTagsOutcome listSetTags(const Model::ListSetTagsRequest &request)const; - void listSetTagsAsync(const Model::ListSetTagsRequest& request, const ListSetTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSetTagsOutcome listSetTags(const Model::ListSetTagsRequest &request)const; + void listSetTagsAsync(const Model::ListSetTagsRequest& request, const ListSetTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSetTagsOutcomeCallable listSetTagsCallable(const Model::ListSetTagsRequest& request) const; - DeleteVideoTaskOutcome deleteVideoTask(const Model::DeleteVideoTaskRequest &request)const; - void deleteVideoTaskAsync(const Model::DeleteVideoTaskRequest& request, const DeleteVideoTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVideoTaskOutcome deleteVideoTask(const Model::DeleteVideoTaskRequest &request)const; + void deleteVideoTaskAsync(const Model::DeleteVideoTaskRequest& request, const DeleteVideoTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteVideoTaskOutcomeCallable deleteVideoTaskCallable(const Model::DeleteVideoTaskRequest& request) const; - FindImagesByTagNamesOutcome findImagesByTagNames(const Model::FindImagesByTagNamesRequest &request)const; - void findImagesByTagNamesAsync(const Model::FindImagesByTagNamesRequest& request, const FindImagesByTagNamesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FindImagesByTagNamesOutcome findImagesByTagNames(const Model::FindImagesByTagNamesRequest &request)const; + void findImagesByTagNamesAsync(const Model::FindImagesByTagNamesRequest& request, const FindImagesByTagNamesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; FindImagesByTagNamesOutcomeCallable findImagesByTagNamesCallable(const Model::FindImagesByTagNamesRequest& request) const; - DeleteTagSetOutcome deleteTagSet(const Model::DeleteTagSetRequest &request)const; - void deleteTagSetAsync(const Model::DeleteTagSetRequest& request, const DeleteTagSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTagSetOutcome deleteTagSet(const Model::DeleteTagSetRequest &request)const; + void deleteTagSetAsync(const Model::DeleteTagSetRequest& request, const DeleteTagSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTagSetOutcomeCallable deleteTagSetCallable(const Model::DeleteTagSetRequest& request) const; - DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const; - void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteProjectOutcome deleteProject(const Model::DeleteProjectRequest &request)const; + void deleteProjectAsync(const Model::DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteProjectOutcomeCallable deleteProjectCallable(const Model::DeleteProjectRequest& request) const; - UpdateDocIndexMetaOutcome updateDocIndexMeta(const Model::UpdateDocIndexMetaRequest &request)const; - void updateDocIndexMetaAsync(const Model::UpdateDocIndexMetaRequest& request, const UpdateDocIndexMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateDocIndexMetaOutcome updateDocIndexMeta(const Model::UpdateDocIndexMetaRequest &request)const; + void updateDocIndexMetaAsync(const Model::UpdateDocIndexMetaRequest& request, const UpdateDocIndexMetaAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateDocIndexMetaOutcomeCallable updateDocIndexMetaCallable(const Model::UpdateDocIndexMetaRequest& request) const; - SearchFaceOutcome searchFace(const Model::SearchFaceRequest &request)const; - void searchFaceAsync(const Model::SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SearchFaceOutcome searchFace(const Model::SearchFaceRequest &request)const; + void searchFaceAsync(const Model::SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; SearchFaceOutcomeCallable searchFaceCallable(const Model::SearchFaceRequest& request) const; - GetImageOutcome getImage(const Model::GetImageRequest &request)const; - void getImageAsync(const Model::GetImageRequest& request, const GetImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetImageOutcome getImage(const Model::GetImageRequest &request)const; + void getImageAsync(const Model::GetImageRequest& request, const GetImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetImageOutcomeCallable getImageCallable(const Model::GetImageRequest& request) const; - DetectImageCelebrityOutcome detectImageCelebrity(const Model::DetectImageCelebrityRequest &request)const; - void detectImageCelebrityAsync(const Model::DetectImageCelebrityRequest& request, const DetectImageCelebrityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectImageCelebrityOutcome detectImageCelebrity(const Model::DetectImageCelebrityRequest &request)const; + void detectImageCelebrityAsync(const Model::DetectImageCelebrityRequest& request, const DetectImageCelebrityAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectImageCelebrityOutcomeCallable detectImageCelebrityCallable(const Model::DetectImageCelebrityRequest& request) const; - CreateSetOutcome createSet(const Model::CreateSetRequest &request)const; - void createSetAsync(const Model::CreateSetRequest& request, const CreateSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateSetOutcome createSet(const Model::CreateSetRequest &request)const; + void createSetAsync(const Model::CreateSetRequest& request, const CreateSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateSetOutcomeCallable createSetCallable(const Model::CreateSetRequest& request) const; - DeletePornBatchDetectJobOutcome deletePornBatchDetectJob(const Model::DeletePornBatchDetectJobRequest &request)const; - void deletePornBatchDetectJobAsync(const Model::DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePornBatchDetectJobOutcome deletePornBatchDetectJob(const Model::DeletePornBatchDetectJobRequest &request)const; + void deletePornBatchDetectJobAsync(const Model::DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeletePornBatchDetectJobOutcomeCallable deletePornBatchDetectJobCallable(const Model::DeletePornBatchDetectJobRequest& request) const; - ListFaceSearchGroupsOutcome listFaceSearchGroups(const Model::ListFaceSearchGroupsRequest &request)const; - void listFaceSearchGroupsAsync(const Model::ListFaceSearchGroupsRequest& request, const ListFaceSearchGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFaceSearchGroupsOutcome listFaceSearchGroups(const Model::ListFaceSearchGroupsRequest &request)const; + void listFaceSearchGroupsAsync(const Model::ListFaceSearchGroupsRequest& request, const ListFaceSearchGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFaceSearchGroupsOutcomeCallable listFaceSearchGroupsCallable(const Model::ListFaceSearchGroupsRequest& request) const; - GetTagSetOutcome getTagSet(const Model::GetTagSetRequest &request)const; - void getTagSetAsync(const Model::GetTagSetRequest& request, const GetTagSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetTagSetOutcome getTagSet(const Model::GetTagSetRequest &request)const; + void getTagSetAsync(const Model::GetTagSetRequest& request, const GetTagSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTagSetOutcomeCallable getTagSetCallable(const Model::GetTagSetRequest& request) const; - ConvertOfficeFormatOutcome convertOfficeFormat(const Model::ConvertOfficeFormatRequest &request)const; - void convertOfficeFormatAsync(const Model::ConvertOfficeFormatRequest& request, const ConvertOfficeFormatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ConvertOfficeFormatOutcome convertOfficeFormat(const Model::ConvertOfficeFormatRequest &request)const; + void convertOfficeFormatAsync(const Model::ConvertOfficeFormatRequest& request, const ConvertOfficeFormatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ConvertOfficeFormatOutcomeCallable convertOfficeFormatCallable(const Model::ConvertOfficeFormatRequest& request) const; - UpdateFaceGroupOutcome updateFaceGroup(const Model::UpdateFaceGroupRequest &request)const; - void updateFaceGroupAsync(const Model::UpdateFaceGroupRequest& request, const UpdateFaceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateFaceGroupOutcome updateFaceGroup(const Model::UpdateFaceGroupRequest &request)const; + void updateFaceGroupAsync(const Model::UpdateFaceGroupRequest& request, const UpdateFaceGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateFaceGroupOutcomeCallable updateFaceGroupCallable(const Model::UpdateFaceGroupRequest& request) const; - ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const; - void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTagPhotosOutcome listTagPhotos(const Model::ListTagPhotosRequest &request)const; + void listTagPhotosAsync(const Model::ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagPhotosOutcomeCallable listTagPhotosCallable(const Model::ListTagPhotosRequest& request) const; - DetectImageBodiesOutcome detectImageBodies(const Model::DetectImageBodiesRequest &request)const; - void detectImageBodiesAsync(const Model::DetectImageBodiesRequest& request, const DetectImageBodiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectImageBodiesOutcome detectImageBodies(const Model::DetectImageBodiesRequest &request)const; + void detectImageBodiesAsync(const Model::DetectImageBodiesRequest& request, const DetectImageBodiesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectImageBodiesOutcomeCallable detectImageBodiesCallable(const Model::DetectImageBodiesRequest& request) const; - DeleteFaceSearchImageByIdOutcome deleteFaceSearchImageById(const Model::DeleteFaceSearchImageByIdRequest &request)const; - void deleteFaceSearchImageByIdAsync(const Model::DeleteFaceSearchImageByIdRequest& request, const DeleteFaceSearchImageByIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFaceSearchImageByIdOutcome deleteFaceSearchImageById(const Model::DeleteFaceSearchImageByIdRequest &request)const; + void deleteFaceSearchImageByIdAsync(const Model::DeleteFaceSearchImageByIdRequest& request, const DeleteFaceSearchImageByIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFaceSearchImageByIdOutcomeCallable deleteFaceSearchImageByIdCallable(const Model::DeleteFaceSearchImageByIdRequest& request) const; - IndexVideoOutcome indexVideo(const Model::IndexVideoRequest &request)const; - void indexVideoAsync(const Model::IndexVideoRequest& request, const IndexVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + IndexVideoOutcome indexVideo(const Model::IndexVideoRequest &request)const; + void indexVideoAsync(const Model::IndexVideoRequest& request, const IndexVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; IndexVideoOutcomeCallable indexVideoCallable(const Model::IndexVideoRequest& request) const; - DeleteDocIndexOutcome deleteDocIndex(const Model::DeleteDocIndexRequest &request)const; - void deleteDocIndexAsync(const Model::DeleteDocIndexRequest& request, const DeleteDocIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDocIndexOutcome deleteDocIndex(const Model::DeleteDocIndexRequest &request)const; + void deleteDocIndexAsync(const Model::DeleteDocIndexRequest& request, const DeleteDocIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteDocIndexOutcomeCallable deleteDocIndexCallable(const Model::DeleteDocIndexRequest& request) const; - GetDocIndexTaskOutcome getDocIndexTask(const Model::GetDocIndexTaskRequest &request)const; - void getDocIndexTaskAsync(const Model::GetDocIndexTaskRequest& request, const GetDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDocIndexTaskOutcome getDocIndexTask(const Model::GetDocIndexTaskRequest &request)const; + void getDocIndexTaskAsync(const Model::GetDocIndexTaskRequest& request, const GetDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetDocIndexTaskOutcomeCallable getDocIndexTaskCallable(const Model::GetDocIndexTaskRequest& request) const; - GetImageJobOutcome getImageJob(const Model::GetImageJobRequest &request)const; - void getImageJobAsync(const Model::GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetImageJobOutcome getImageJob(const Model::GetImageJobRequest &request)const; + void getImageJobAsync(const Model::GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetImageJobOutcomeCallable getImageJobCallable(const Model::GetImageJobRequest& request) const; - ListVideoAudiosOutcome listVideoAudios(const Model::ListVideoAudiosRequest &request)const; - void listVideoAudiosAsync(const Model::ListVideoAudiosRequest& request, const ListVideoAudiosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVideoAudiosOutcome listVideoAudios(const Model::ListVideoAudiosRequest &request)const; + void listVideoAudiosAsync(const Model::ListVideoAudiosRequest& request, const ListVideoAudiosAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListVideoAudiosOutcomeCallable listVideoAudiosCallable(const Model::ListVideoAudiosRequest& request) const; - CreateMergeFaceGroupsJobOutcome createMergeFaceGroupsJob(const Model::CreateMergeFaceGroupsJobRequest &request)const; - void createMergeFaceGroupsJobAsync(const Model::CreateMergeFaceGroupsJobRequest& request, const CreateMergeFaceGroupsJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateMergeFaceGroupsJobOutcome createMergeFaceGroupsJob(const Model::CreateMergeFaceGroupsJobRequest &request)const; + void createMergeFaceGroupsJobAsync(const Model::CreateMergeFaceGroupsJobRequest& request, const CreateMergeFaceGroupsJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateMergeFaceGroupsJobOutcomeCallable createMergeFaceGroupsJobCallable(const Model::CreateMergeFaceGroupsJobRequest& request) const; - DeleteTagByUrlOutcome deleteTagByUrl(const Model::DeleteTagByUrlRequest &request)const; - void deleteTagByUrlAsync(const Model::DeleteTagByUrlRequest& request, const DeleteTagByUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTagByUrlOutcome deleteTagByUrl(const Model::DeleteTagByUrlRequest &request)const; + void deleteTagByUrlAsync(const Model::DeleteTagByUrlRequest& request, const DeleteTagByUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTagByUrlOutcomeCallable deleteTagByUrlCallable(const Model::DeleteTagByUrlRequest& request) const; - ListTagSetsOutcome listTagSets(const Model::ListTagSetsRequest &request)const; - void listTagSetsAsync(const Model::ListTagSetsRequest& request, const ListTagSetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTagSetsOutcome listTagSets(const Model::ListTagSetsRequest &request)const; + void listTagSetsAsync(const Model::ListTagSetsRequest& request, const ListTagSetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagSetsOutcomeCallable listTagSetsCallable(const Model::ListTagSetsRequest& request) const; - ListTagNamesOutcome listTagNames(const Model::ListTagNamesRequest &request)const; - void listTagNamesAsync(const Model::ListTagNamesRequest& request, const ListTagNamesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTagNamesOutcome listTagNames(const Model::ListTagNamesRequest &request)const; + void listTagNamesAsync(const Model::ListTagNamesRequest& request, const ListTagNamesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagNamesOutcomeCallable listTagNamesCallable(const Model::ListTagNamesRequest& request) const; - CreateOfficeConversionTaskOutcome createOfficeConversionTask(const Model::CreateOfficeConversionTaskRequest &request)const; - void createOfficeConversionTaskAsync(const Model::CreateOfficeConversionTaskRequest& request, const CreateOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateOfficeConversionTaskOutcome createOfficeConversionTask(const Model::CreateOfficeConversionTaskRequest &request)const; + void createOfficeConversionTaskAsync(const Model::CreateOfficeConversionTaskRequest& request, const CreateOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateOfficeConversionTaskOutcomeCallable createOfficeConversionTaskCallable(const Model::CreateOfficeConversionTaskRequest& request) const; - DetectQRCodesOutcome detectQRCodes(const Model::DetectQRCodesRequest &request)const; - void detectQRCodesAsync(const Model::DetectQRCodesRequest& request, const DetectQRCodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectQRCodesOutcome detectQRCodes(const Model::DetectQRCodesRequest &request)const; + void detectQRCodesAsync(const Model::DetectQRCodesRequest& request, const DetectQRCodesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectQRCodesOutcomeCallable detectQRCodesCallable(const Model::DetectQRCodesRequest& request) const; - GetFaceSearchGroupOutcome getFaceSearchGroup(const Model::GetFaceSearchGroupRequest &request)const; - void getFaceSearchGroupAsync(const Model::GetFaceSearchGroupRequest& request, const GetFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFaceSearchGroupOutcome getFaceSearchGroup(const Model::GetFaceSearchGroupRequest &request)const; + void getFaceSearchGroupAsync(const Model::GetFaceSearchGroupRequest& request, const GetFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetFaceSearchGroupOutcomeCallable getFaceSearchGroupCallable(const Model::GetFaceSearchGroupRequest& request) const; - GetVideoOutcome getVideo(const Model::GetVideoRequest &request)const; - void getVideoAsync(const Model::GetVideoRequest& request, const GetVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetVideoOutcome getVideo(const Model::GetVideoRequest &request)const; + void getVideoAsync(const Model::GetVideoRequest& request, const GetVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetVideoOutcomeCallable getVideoCallable(const Model::GetVideoRequest& request) const; - ListImagesOutcome listImages(const Model::ListImagesRequest &request)const; - void listImagesAsync(const Model::ListImagesRequest& request, const ListImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListImagesOutcome listImages(const Model::ListImagesRequest &request)const; + void listImagesAsync(const Model::ListImagesRequest& request, const ListImagesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListImagesOutcomeCallable listImagesCallable(const Model::ListImagesRequest& request) const; - CompareImageFacesOutcome compareImageFaces(const Model::CompareImageFacesRequest &request)const; - void compareImageFacesAsync(const Model::CompareImageFacesRequest& request, const CompareImageFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CompareImageFacesOutcome compareImageFaces(const Model::CompareImageFacesRequest &request)const; + void compareImageFacesAsync(const Model::CompareImageFacesRequest& request, const CompareImageFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CompareImageFacesOutcomeCallable compareImageFacesCallable(const Model::CompareImageFacesRequest& request) const; - DeleteTagJobOutcome deleteTagJob(const Model::DeleteTagJobRequest &request)const; - void deleteTagJobAsync(const Model::DeleteTagJobRequest& request, const DeleteTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTagJobOutcome deleteTagJob(const Model::DeleteTagJobRequest &request)const; + void deleteTagJobAsync(const Model::DeleteTagJobRequest& request, const DeleteTagJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteTagJobOutcomeCallable deleteTagJobCallable(const Model::DeleteTagJobRequest& request) const; - DeleteOfficeConversionTaskOutcome deleteOfficeConversionTask(const Model::DeleteOfficeConversionTaskRequest &request)const; - void deleteOfficeConversionTaskAsync(const Model::DeleteOfficeConversionTaskRequest& request, const DeleteOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteOfficeConversionTaskOutcome deleteOfficeConversionTask(const Model::DeleteOfficeConversionTaskRequest &request)const; + void deleteOfficeConversionTaskAsync(const Model::DeleteOfficeConversionTaskRequest& request, const DeleteOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteOfficeConversionTaskOutcomeCallable deleteOfficeConversionTaskCallable(const Model::DeleteOfficeConversionTaskRequest& request) const; - PhotoProcessOutcome photoProcess(const Model::PhotoProcessRequest &request)const; - void photoProcessAsync(const Model::PhotoProcessRequest& request, const PhotoProcessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + PhotoProcessOutcome photoProcess(const Model::PhotoProcessRequest &request)const; + void photoProcessAsync(const Model::PhotoProcessRequest& request, const PhotoProcessAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; PhotoProcessOutcomeCallable photoProcessCallable(const Model::PhotoProcessRequest& request) const; - GetPhotoProcessTaskOutcome getPhotoProcessTask(const Model::GetPhotoProcessTaskRequest &request)const; - void getPhotoProcessTaskAsync(const Model::GetPhotoProcessTaskRequest& request, const GetPhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetPhotoProcessTaskOutcome getPhotoProcessTask(const Model::GetPhotoProcessTaskRequest &request)const; + void getPhotoProcessTaskAsync(const Model::GetPhotoProcessTaskRequest& request, const GetPhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetPhotoProcessTaskOutcomeCallable getPhotoProcessTaskCallable(const Model::GetPhotoProcessTaskRequest& request) const; - ListVideoFramesOutcome listVideoFrames(const Model::ListVideoFramesRequest &request)const; - void listVideoFramesAsync(const Model::ListVideoFramesRequest& request, const ListVideoFramesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVideoFramesOutcome listVideoFrames(const Model::ListVideoFramesRequest &request)const; + void listVideoFramesAsync(const Model::ListVideoFramesRequest& request, const ListVideoFramesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListVideoFramesOutcomeCallable listVideoFramesCallable(const Model::ListVideoFramesRequest& request) const; - GetPornBatchDetectJobOutcome getPornBatchDetectJob(const Model::GetPornBatchDetectJobRequest &request)const; - void getPornBatchDetectJobAsync(const Model::GetPornBatchDetectJobRequest& request, const GetPornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetPornBatchDetectJobOutcome getPornBatchDetectJob(const Model::GetPornBatchDetectJobRequest &request)const; + void getPornBatchDetectJobAsync(const Model::GetPornBatchDetectJobRequest& request, const GetPornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetPornBatchDetectJobOutcomeCallable getPornBatchDetectJobCallable(const Model::GetPornBatchDetectJobRequest& request) const; - DetectLogoOutcome detectLogo(const Model::DetectLogoRequest &request)const; - void detectLogoAsync(const Model::DetectLogoRequest& request, const DetectLogoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectLogoOutcome detectLogo(const Model::DetectLogoRequest &request)const; + void detectLogoAsync(const Model::DetectLogoRequest& request, const DetectLogoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectLogoOutcomeCallable detectLogoCallable(const Model::DetectLogoRequest& request) const; - DetectClothesOutcome detectClothes(const Model::DetectClothesRequest &request)const; - void detectClothesAsync(const Model::DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectClothesOutcome detectClothes(const Model::DetectClothesRequest &request)const; + void detectClothesAsync(const Model::DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectClothesOutcomeCallable detectClothesCallable(const Model::DetectClothesRequest& request) const; - ListTagJobsOutcome listTagJobs(const Model::ListTagJobsRequest &request)const; - void listTagJobsAsync(const Model::ListTagJobsRequest& request, const ListTagJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListTagJobsOutcome listTagJobs(const Model::ListTagJobsRequest &request)const; + void listTagJobsAsync(const Model::ListTagJobsRequest& request, const ListTagJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListTagJobsOutcomeCallable listTagJobsCallable(const Model::ListTagJobsRequest& request) const; - DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; - void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const; + void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const; - DeleteFaceSearchUserOutcome deleteFaceSearchUser(const Model::DeleteFaceSearchUserRequest &request)const; - void deleteFaceSearchUserAsync(const Model::DeleteFaceSearchUserRequest& request, const DeleteFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFaceSearchUserOutcome deleteFaceSearchUser(const Model::DeleteFaceSearchUserRequest &request)const; + void deleteFaceSearchUserAsync(const Model::DeleteFaceSearchUserRequest& request, const DeleteFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFaceSearchUserOutcomeCallable deleteFaceSearchUserCallable(const Model::DeleteFaceSearchUserRequest& request) const; - GetOfficeConversionTaskOutcome getOfficeConversionTask(const Model::GetOfficeConversionTaskRequest &request)const; - void getOfficeConversionTaskAsync(const Model::GetOfficeConversionTaskRequest& request, const GetOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOfficeConversionTaskOutcome getOfficeConversionTask(const Model::GetOfficeConversionTaskRequest &request)const; + void getOfficeConversionTaskAsync(const Model::GetOfficeConversionTaskRequest& request, const GetOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetOfficeConversionTaskOutcomeCallable getOfficeConversionTaskCallable(const Model::GetOfficeConversionTaskRequest& request) const; - CreateTagSetOutcome createTagSet(const Model::CreateTagSetRequest &request)const; - void createTagSetAsync(const Model::CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTagSetOutcome createTagSet(const Model::CreateTagSetRequest &request)const; + void createTagSetAsync(const Model::CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateTagSetOutcomeCallable createTagSetCallable(const Model::CreateTagSetRequest& request) const; - RegistFaceOutcome registFace(const Model::RegistFaceRequest &request)const; - void registFaceAsync(const Model::RegistFaceRequest& request, const RegistFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RegistFaceOutcome registFace(const Model::RegistFaceRequest &request)const; + void registFaceAsync(const Model::RegistFaceRequest& request, const RegistFaceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RegistFaceOutcomeCallable registFaceCallable(const Model::RegistFaceRequest& request) const; - FindSimilarFacesOutcome findSimilarFaces(const Model::FindSimilarFacesRequest &request)const; - void findSimilarFacesAsync(const Model::FindSimilarFacesRequest& request, const FindSimilarFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + FindSimilarFacesOutcome findSimilarFaces(const Model::FindSimilarFacesRequest &request)const; + void findSimilarFacesAsync(const Model::FindSimilarFacesRequest& request, const FindSimilarFacesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; FindSimilarFacesOutcomeCallable findSimilarFacesCallable(const Model::FindSimilarFacesRequest& request) const; - GetFaceSearchUserOutcome getFaceSearchUser(const Model::GetFaceSearchUserRequest &request)const; - void getFaceSearchUserAsync(const Model::GetFaceSearchUserRequest& request, const GetFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetFaceSearchUserOutcome getFaceSearchUser(const Model::GetFaceSearchUserRequest &request)const; + void getFaceSearchUserAsync(const Model::GetFaceSearchUserRequest& request, const GetFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetFaceSearchUserOutcomeCallable getFaceSearchUserCallable(const Model::GetFaceSearchUserRequest& request) const; - DeleteImageJobOutcome deleteImageJob(const Model::DeleteImageJobRequest &request)const; - void deleteImageJobAsync(const Model::DeleteImageJobRequest& request, const DeleteImageJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteImageJobOutcome deleteImageJob(const Model::DeleteImageJobRequest &request)const; + void deleteImageJobAsync(const Model::DeleteImageJobRequest& request, const DeleteImageJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteImageJobOutcomeCallable deleteImageJobCallable(const Model::DeleteImageJobRequest& request) const; - CreateFaceSetOutcome createFaceSet(const Model::CreateFaceSetRequest &request)const; - void createFaceSetAsync(const Model::CreateFaceSetRequest& request, const CreateFaceSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateFaceSetOutcome createFaceSet(const Model::CreateFaceSetRequest &request)const; + void createFaceSetAsync(const Model::CreateFaceSetRequest& request, const CreateFaceSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateFaceSetOutcomeCallable createFaceSetCallable(const Model::CreateFaceSetRequest& request) const; - DeleteFaceSearchGroupOutcome deleteFaceSearchGroup(const Model::DeleteFaceSearchGroupRequest &request)const; - void deleteFaceSearchGroupAsync(const Model::DeleteFaceSearchGroupRequest& request, const DeleteFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteFaceSearchGroupOutcome deleteFaceSearchGroup(const Model::DeleteFaceSearchGroupRequest &request)const; + void deleteFaceSearchGroupAsync(const Model::DeleteFaceSearchGroupRequest& request, const DeleteFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteFaceSearchGroupOutcomeCallable deleteFaceSearchGroupCallable(const Model::DeleteFaceSearchGroupRequest& request) const; - GetDocIndexOutcome getDocIndex(const Model::GetDocIndexRequest &request)const; - void getDocIndexAsync(const Model::GetDocIndexRequest& request, const GetDocIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDocIndexOutcome getDocIndex(const Model::GetDocIndexRequest &request)const; + void getDocIndexAsync(const Model::GetDocIndexRequest& request, const GetDocIndexAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetDocIndexOutcomeCallable getDocIndexCallable(const Model::GetDocIndexRequest& request) const; - IndexImageOutcome indexImage(const Model::IndexImageRequest &request)const; - void indexImageAsync(const Model::IndexImageRequest& request, const IndexImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + IndexImageOutcome indexImage(const Model::IndexImageRequest &request)const; + void indexImageAsync(const Model::IndexImageRequest& request, const IndexImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; IndexImageOutcomeCallable indexImageCallable(const Model::IndexImageRequest& request) const; - DetectImageTextsOutcome detectImageTexts(const Model::DetectImageTextsRequest &request)const; - void detectImageTextsAsync(const Model::DetectImageTextsRequest& request, const DetectImageTextsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DetectImageTextsOutcome detectImageTexts(const Model::DetectImageTextsRequest &request)const; + void detectImageTextsAsync(const Model::DetectImageTextsRequest& request, const DetectImageTextsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DetectImageTextsOutcomeCallable detectImageTextsCallable(const Model::DetectImageTextsRequest& request) const; - ListImageJobsOutcome listImageJobs(const Model::ListImageJobsRequest &request)const; - void listImageJobsAsync(const Model::ListImageJobsRequest& request, const ListImageJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListImageJobsOutcome listImageJobs(const Model::ListImageJobsRequest &request)const; + void listImageJobsAsync(const Model::ListImageJobsRequest& request, const ListImageJobsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListImageJobsOutcomeCallable listImageJobsCallable(const Model::ListImageJobsRequest& request) const; - CreateGroupFacesJobOutcome createGroupFacesJob(const Model::CreateGroupFacesJobRequest &request)const; - void createGroupFacesJobAsync(const Model::CreateGroupFacesJobRequest& request, const CreateGroupFacesJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateGroupFacesJobOutcome createGroupFacesJob(const Model::CreateGroupFacesJobRequest &request)const; + void createGroupFacesJobAsync(const Model::CreateGroupFacesJobRequest& request, const CreateGroupFacesJobAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateGroupFacesJobOutcomeCallable createGroupFacesJobCallable(const Model::CreateGroupFacesJobRequest& request) const; - UpdateImageOutcome updateImage(const Model::UpdateImageRequest &request)const; - void updateImageAsync(const Model::UpdateImageRequest& request, const UpdateImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateImageOutcome updateImage(const Model::UpdateImageRequest &request)const; + void updateImageAsync(const Model::UpdateImageRequest& request, const UpdateImageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateImageOutcomeCallable updateImageCallable(const Model::UpdateImageRequest& request) const; - ListVideoTasksOutcome listVideoTasks(const Model::ListVideoTasksRequest &request)const; - void listVideoTasksAsync(const Model::ListVideoTasksRequest& request, const ListVideoTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListVideoTasksOutcome listVideoTasks(const Model::ListVideoTasksRequest &request)const; + void listVideoTasksAsync(const Model::ListVideoTasksRequest& request, const ListVideoTasksAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListVideoTasksOutcomeCallable listVideoTasksCallable(const Model::ListVideoTasksRequest& request) const; - UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const; - void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVideoCompressTaskOutcome createVideoCompressTask(const Model::CreateVideoCompressTaskRequest &request)const; + void createVideoCompressTaskAsync(const Model::CreateVideoCompressTaskRequest& request, const CreateVideoCompressTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateVideoCompressTaskOutcomeCallable createVideoCompressTaskCallable(const Model::CreateVideoCompressTaskRequest& request) const; + UpdateProjectOutcome updateProject(const Model::UpdateProjectRequest &request)const; + void updateProjectAsync(const Model::UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateProjectOutcomeCallable updateProjectCallable(const Model::UpdateProjectRequest& request) const; - DeleteVideoOutcome deleteVideo(const Model::DeleteVideoRequest &request)const; - void deleteVideoAsync(const Model::DeleteVideoRequest& request, const DeleteVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVideoOutcome deleteVideo(const Model::DeleteVideoRequest &request)const; + void deleteVideoAsync(const Model::DeleteVideoRequest& request, const DeleteVideoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteVideoOutcomeCallable deleteVideoCallable(const Model::DeleteVideoRequest& request) const; - ListOfficeConversionTaskOutcome listOfficeConversionTask(const Model::ListOfficeConversionTaskRequest &request)const; - void listOfficeConversionTaskAsync(const Model::ListOfficeConversionTaskRequest& request, const ListOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListOfficeConversionTaskOutcome listOfficeConversionTask(const Model::ListOfficeConversionTaskRequest &request)const; + void listOfficeConversionTaskAsync(const Model::ListOfficeConversionTaskRequest& request, const ListOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListOfficeConversionTaskOutcomeCallable listOfficeConversionTaskCallable(const Model::ListOfficeConversionTaskRequest& request) const; - UpdateSetOutcome updateSet(const Model::UpdateSetRequest &request)const; - void updateSetAsync(const Model::UpdateSetRequest& request, const UpdateSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateSetOutcome updateSet(const Model::UpdateSetRequest &request)const; + void updateSetAsync(const Model::UpdateSetRequest& request, const UpdateSetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateSetOutcomeCallable updateSetCallable(const Model::UpdateSetRequest& request) const; - ListFaceGroupsOutcome listFaceGroups(const Model::ListFaceGroupsRequest &request)const; - void listFaceGroupsAsync(const Model::ListFaceGroupsRequest& request, const ListFaceGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListFaceGroupsOutcome listFaceGroups(const Model::ListFaceGroupsRequest &request)const; + void listFaceGroupsAsync(const Model::ListFaceGroupsRequest& request, const ListFaceGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListFaceGroupsOutcomeCallable listFaceGroupsCallable(const Model::ListFaceGroupsRequest& request) const; - - private: - std::shared_ptr endpointProvider_; - }; - } -} - -#endif // !ALIBABACLOUD_IMM_IMMCLIENT_H_ + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_IMM_IMMCLIENT_H_ diff --git a/imm/include/alibabacloud/imm/ImmExport.h b/imm/include/alibabacloud/imm/ImmExport.h index 5dcb8a34b..c6bd5e9e9 100644 --- a/imm/include/alibabacloud/imm/ImmExport.h +++ b/imm/include/alibabacloud/imm/ImmExport.h @@ -1,32 +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_IMM_IMMEXPORT_H_ -#define ALIBABACLOUD_IMM_IMMEXPORT_H_ - -#include - -#if defined(ALIBABACLOUD_SHARED) -# if defined(ALIBABACLOUD_IMM_LIBRARY) -# define ALIBABACLOUD_IMM_EXPORT ALIBABACLOUD_DECL_EXPORT -# else -# define ALIBABACLOUD_IMM_EXPORT ALIBABACLOUD_DECL_IMPORT -# endif -#else -# define ALIBABACLOUD_IMM_EXPORT -#endif - +/* + * 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_IMM_IMMEXPORT_H_ +#define ALIBABACLOUD_IMM_IMMEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_IMM_LIBRARY) +# define ALIBABACLOUD_IMM_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_IMM_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_IMM_EXPORT +#endif + #endif // !ALIBABACLOUD_IMM_IMMEXPORT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CompareFaceRequest.h b/imm/include/alibabacloud/imm/model/CompareFaceRequest.h index 99c58e484..df760a961 100644 --- a/imm/include/alibabacloud/imm/model/CompareFaceRequest.h +++ b/imm/include/alibabacloud/imm/model/CompareFaceRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_COMPAREFACEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_COMPAREFACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CompareFaceRequest : public RpcServiceRequest - { - - public: - CompareFaceRequest(); - ~CompareFaceRequest(); - +/* + * 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_IMM_MODEL_COMPAREFACEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_COMPAREFACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CompareFaceRequest : public RpcServiceRequest + { + + public: + CompareFaceRequest(); + ~CompareFaceRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getSrcUriB()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string srcUriB_; std::string srcUriA_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_COMPAREFACEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CompareFaceResult.h b/imm/include/alibabacloud/imm/model/CompareFaceResult.h index 872af5473..7d1ee3148 100644 --- a/imm/include/alibabacloud/imm/model/CompareFaceResult.h +++ b/imm/include/alibabacloud/imm/model/CompareFaceResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_COMPAREFACERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_COMPAREFACERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CompareFaceResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_COMPAREFACERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_COMPAREFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CompareFaceResult : public ServiceResult + { + public: struct CompareResultItem { struct FaceA @@ -48,20 +48,20 @@ namespace AlibabaCloud FaceA faceA; FaceB faceB; }; - - - CompareFaceResult(); - explicit CompareFaceResult(const std::string &payload); - ~CompareFaceResult(); + + + CompareFaceResult(); + explicit CompareFaceResult(const std::string &payload); + ~CompareFaceResult(); std::vector getCompareResult()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector compareResult_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_COMPAREFACERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CompareImageFacesRequest.h b/imm/include/alibabacloud/imm/model/CompareImageFacesRequest.h index c7ec75067..54f1e0c25 100644 --- a/imm/include/alibabacloud/imm/model/CompareImageFacesRequest.h +++ b/imm/include/alibabacloud/imm/model/CompareImageFacesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_COMPAREIMAGEFACESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_COMPAREIMAGEFACESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CompareImageFacesRequest : public RpcServiceRequest - { - - public: - CompareImageFacesRequest(); - ~CompareImageFacesRequest(); - +/* + * 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_IMM_MODEL_COMPAREIMAGEFACESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_COMPAREIMAGEFACESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CompareImageFacesRequest : public RpcServiceRequest + { + + public: + CompareImageFacesRequest(); + ~CompareImageFacesRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getImageUriB()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setFaceIdB(const std::string& faceIdB); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string imageUriB_; std::string imageUriA_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string faceIdA_; std::string faceIdB_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_COMPAREIMAGEFACESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CompareImageFacesResult.h b/imm/include/alibabacloud/imm/model/CompareImageFacesResult.h index e22f72f91..bc74e6dde 100644 --- a/imm/include/alibabacloud/imm/model/CompareImageFacesResult.h +++ b/imm/include/alibabacloud/imm/model/CompareImageFacesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_COMPAREIMAGEFACESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_COMPAREIMAGEFACESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CompareImageFacesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_COMPAREIMAGEFACESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_COMPAREIMAGEFACESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CompareImageFacesResult : public ServiceResult + { + public: struct FaceA { struct FaceAttributes @@ -64,26 +64,26 @@ namespace AlibabaCloud std::string faceId; FaceAttributes1 faceAttributes1; }; - - - CompareImageFacesResult(); - explicit CompareImageFacesResult(const std::string &payload); - ~CompareImageFacesResult(); + + + CompareImageFacesResult(); + explicit CompareImageFacesResult(const std::string &payload); + ~CompareImageFacesResult(); float getSimilarity()const; FaceA getFaceA()const; std::string getSetId()const; FaceB getFaceB()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: float similarity_; FaceA faceA_; std::string setId_; FaceB faceB_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_COMPAREIMAGEFACESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ConvertOfficeFormatRequest.h b/imm/include/alibabacloud/imm/model/ConvertOfficeFormatRequest.h index f5a0ab269..dc48e985c 100644 --- a/imm/include/alibabacloud/imm/model/ConvertOfficeFormatRequest.h +++ b/imm/include/alibabacloud/imm/model/ConvertOfficeFormatRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CONVERTOFFICEFORMATREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ConvertOfficeFormatRequest : public RpcServiceRequest - { - - public: - ConvertOfficeFormatRequest(); - ~ConvertOfficeFormatRequest(); - +/* + * 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_IMM_MODEL_CONVERTOFFICEFORMATREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ConvertOfficeFormatRequest : public RpcServiceRequest + { + + public: + ConvertOfficeFormatRequest(); + ~ConvertOfficeFormatRequest(); + std::string getSrcType()const; void setSrcType(const std::string& srcType); std::string getModelId()const; @@ -79,8 +79,8 @@ namespace AlibabaCloud void setTgtFilePages(const std::string& tgtFilePages); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string srcType_; std::string modelId_; std::string project_; @@ -103,9 +103,9 @@ namespace AlibabaCloud std::string srcUri_; std::string tgtFilePages_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ConvertOfficeFormatResult.h b/imm/include/alibabacloud/imm/model/ConvertOfficeFormatResult.h index aac5d2587..095998d0a 100644 --- a/imm/include/alibabacloud/imm/model/ConvertOfficeFormatResult.h +++ b/imm/include/alibabacloud/imm/model/ConvertOfficeFormatResult.h @@ -1,51 +1,51 @@ -/* - * 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_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ConvertOfficeFormatResult : public ServiceResult - { - public: - - - ConvertOfficeFormatResult(); - explicit ConvertOfficeFormatResult(const std::string &payload); - ~ConvertOfficeFormatResult(); +/* + * 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_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ConvertOfficeFormatResult : public ServiceResult + { + public: + + + ConvertOfficeFormatResult(); + explicit ConvertOfficeFormatResult(const std::string &payload); + ~ConvertOfficeFormatResult(); int getPageCount()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: int pageCount_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateCADConversionTaskRequest.h b/imm/include/alibabacloud/imm/model/CreateCADConversionTaskRequest.h index 8b210f81d..07c6f1d11 100644 --- a/imm/include/alibabacloud/imm/model/CreateCADConversionTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateCADConversionTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATECADCONVERSIONTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATECADCONVERSIONTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateCADConversionTaskRequest : public RpcServiceRequest - { - - public: - CreateCADConversionTaskRequest(); - ~CreateCADConversionTaskRequest(); - +/* + * 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_IMM_MODEL_CREATECADCONVERSIONTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATECADCONVERSIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateCADConversionTaskRequest : public RpcServiceRequest + { + + public: + CreateCADConversionTaskRequest(); + ~CreateCADConversionTaskRequest(); + std::string getSrcType()const; void setSrcType(const std::string& srcType); int getBaseCol()const; @@ -69,8 +69,8 @@ namespace AlibabaCloud void setThumbnails(bool thumbnails); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string srcType_; int baseCol_; std::string notifyTopicName_; @@ -88,9 +88,9 @@ namespace AlibabaCloud std::string srcUri_; bool thumbnails_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATECADCONVERSIONTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateCADConversionTaskResult.h b/imm/include/alibabacloud/imm/model/CreateCADConversionTaskResult.h index 2ee281162..dcaa3f95a 100644 --- a/imm/include/alibabacloud/imm/model/CreateCADConversionTaskResult.h +++ b/imm/include/alibabacloud/imm/model/CreateCADConversionTaskResult.h @@ -1,59 +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_IMM_MODEL_CREATECADCONVERSIONTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATECADCONVERSIONTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateCADConversionTaskResult : public ServiceResult - { - public: - - - CreateCADConversionTaskResult(); - explicit CreateCADConversionTaskResult(const std::string &payload); - ~CreateCADConversionTaskResult(); +/* + * 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_IMM_MODEL_CREATECADCONVERSIONTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATECADCONVERSIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateCADConversionTaskResult : public ServiceResult + { + public: + + + CreateCADConversionTaskResult(); + explicit CreateCADConversionTaskResult(const std::string &payload); + ~CreateCADConversionTaskResult(); std::string getStatus()const; std::string getTaskId()const; int getPercent()const; std::string getTgtLoc()const; std::string getCreateTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string taskId_; int percent_; std::string tgtLoc_; std::string createTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATECADCONVERSIONTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateDocIndexTaskRequest.h b/imm/include/alibabacloud/imm/model/CreateDocIndexTaskRequest.h index eb400ce23..10bbf6656 100644 --- a/imm/include/alibabacloud/imm/model/CreateDocIndexTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateDocIndexTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATEDOCINDEXTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEDOCINDEXTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateDocIndexTaskRequest : public RpcServiceRequest - { - - public: - CreateDocIndexTaskRequest(); - ~CreateDocIndexTaskRequest(); - +/* + * 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_IMM_MODEL_CREATEDOCINDEXTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEDOCINDEXTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateDocIndexTaskRequest : public RpcServiceRequest + { + + public: + CreateDocIndexTaskRequest(); + ~CreateDocIndexTaskRequest(); + std::string getCustomKey1()const; void setCustomKey1(const std::string& customKey1); std::string getSet()const; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setSrcUri(const std::string& srcUri); std::string getUniqueId()const; void setUniqueId(const std::string& uniqueId); - - private: + + private: std::string customKey1_; std::string set_; std::string customKey5_; @@ -76,9 +76,9 @@ namespace AlibabaCloud std::string name_; std::string srcUri_; std::string uniqueId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEDOCINDEXTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateDocIndexTaskResult.h b/imm/include/alibabacloud/imm/model/CreateDocIndexTaskResult.h index 50350130d..ed7748a62 100644 --- a/imm/include/alibabacloud/imm/model/CreateDocIndexTaskResult.h +++ b/imm/include/alibabacloud/imm/model/CreateDocIndexTaskResult.h @@ -1,55 +1,55 @@ -/* - * 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_IMM_MODEL_CREATEDOCINDEXTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEDOCINDEXTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateDocIndexTaskResult : public ServiceResult - { - public: - - - CreateDocIndexTaskResult(); - explicit CreateDocIndexTaskResult(const std::string &payload); - ~CreateDocIndexTaskResult(); +/* + * 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_IMM_MODEL_CREATEDOCINDEXTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEDOCINDEXTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateDocIndexTaskResult : public ServiceResult + { + public: + + + CreateDocIndexTaskResult(); + explicit CreateDocIndexTaskResult(const std::string &payload); + ~CreateDocIndexTaskResult(); std::string getStatus()const; std::string getTaskId()const; std::string getCreateTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string taskId_; std::string createTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEDOCINDEXTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateFaceSetRequest.h b/imm/include/alibabacloud/imm/model/CreateFaceSetRequest.h index 6ab1d8b0d..9f3379f9a 100644 --- a/imm/include/alibabacloud/imm/model/CreateFaceSetRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateFaceSetRequest.h @@ -1,54 +1,54 @@ -/* - * 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_IMM_MODEL_CREATEFACESETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEFACESETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateFaceSetRequest : public RpcServiceRequest - { - - public: - CreateFaceSetRequest(); - ~CreateFaceSetRequest(); - +/* + * 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_IMM_MODEL_CREATEFACESETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEFACESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateFaceSetRequest : public RpcServiceRequest + { + + public: + CreateFaceSetRequest(); + ~CreateFaceSetRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEFACESETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateFaceSetResult.h b/imm/include/alibabacloud/imm/model/CreateFaceSetResult.h index e781a2ae1..0d346c87f 100644 --- a/imm/include/alibabacloud/imm/model/CreateFaceSetResult.h +++ b/imm/include/alibabacloud/imm/model/CreateFaceSetResult.h @@ -1,61 +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_IMM_MODEL_CREATEFACESETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEFACESETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateFaceSetResult : public ServiceResult - { - public: - - - CreateFaceSetResult(); - explicit CreateFaceSetResult(const std::string &payload); - ~CreateFaceSetResult(); +/* + * 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_IMM_MODEL_CREATEFACESETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEFACESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateFaceSetResult : public ServiceResult + { + public: + + + CreateFaceSetResult(); + explicit CreateFaceSetResult(const std::string &payload); + ~CreateFaceSetResult(); std::string getStatus()const; long getPhotos()const; std::string getModifyTime()const; std::string getCreateTime()const; std::string getSetId()const; long getFaces()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; long photos_; std::string modifyTime_; std::string createTime_; std::string setId_; long faces_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEFACESETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateGroupFacesJobRequest.h b/imm/include/alibabacloud/imm/model/CreateGroupFacesJobRequest.h index 214ea6983..12ec43182 100644 --- a/imm/include/alibabacloud/imm/model/CreateGroupFacesJobRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateGroupFacesJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATEGROUPFACESJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateGroupFacesJobRequest : public RpcServiceRequest - { - - public: - CreateGroupFacesJobRequest(); - ~CreateGroupFacesJobRequest(); - +/* + * 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_IMM_MODEL_CREATEGROUPFACESJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateGroupFacesJobRequest : public RpcServiceRequest + { + + public: + CreateGroupFacesJobRequest(); + ~CreateGroupFacesJobRequest(); + std::string getNotifyTopicName()const; void setNotifyTopicName(const std::string& notifyTopicName); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string notifyTopicName_; std::string regionId_; std::string notifyEndpoint_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateGroupFacesJobResult.h b/imm/include/alibabacloud/imm/model/CreateGroupFacesJobResult.h index 5afeac895..e8b4a32dc 100644 --- a/imm/include/alibabacloud/imm/model/CreateGroupFacesJobResult.h +++ b/imm/include/alibabacloud/imm/model/CreateGroupFacesJobResult.h @@ -1,55 +1,55 @@ -/* - * 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_IMM_MODEL_CREATEGROUPFACESJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateGroupFacesJobResult : public ServiceResult - { - public: - - - CreateGroupFacesJobResult(); - explicit CreateGroupFacesJobResult(const std::string &payload); - ~CreateGroupFacesJobResult(); +/* + * 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_IMM_MODEL_CREATEGROUPFACESJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateGroupFacesJobResult : public ServiceResult + { + public: + + + CreateGroupFacesJobResult(); + explicit CreateGroupFacesJobResult(const std::string &payload); + ~CreateGroupFacesJobResult(); std::string getJobType()const; std::string getSetId()const; std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string jobType_; std::string setId_; std::string jobId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobRequest.h b/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobRequest.h index 729cd107f..8330d8f10 100644 --- a/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATEMERGEFACEGROUPSJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateMergeFaceGroupsJobRequest : public RpcServiceRequest - { - - public: - CreateMergeFaceGroupsJobRequest(); - ~CreateMergeFaceGroupsJobRequest(); - +/* + * 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_IMM_MODEL_CREATEMERGEFACEGROUPSJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateMergeFaceGroupsJobRequest : public RpcServiceRequest + { + + public: + CreateMergeFaceGroupsJobRequest(); + ~CreateMergeFaceGroupsJobRequest(); + std::string getGroupIdFrom()const; void setGroupIdFrom(const std::string& groupIdFrom); std::string getGroupIdTo()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string groupIdFrom_; std::string groupIdTo_; std::string notifyTopicName_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobResult.h b/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobResult.h index 1a8a57a2b..3bf69a65c 100644 --- a/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobResult.h +++ b/imm/include/alibabacloud/imm/model/CreateMergeFaceGroupsJobResult.h @@ -1,59 +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_IMM_MODEL_CREATEMERGEFACEGROUPSJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateMergeFaceGroupsJobResult : public ServiceResult - { - public: - - - CreateMergeFaceGroupsJobResult(); - explicit CreateMergeFaceGroupsJobResult(const std::string &payload); - ~CreateMergeFaceGroupsJobResult(); +/* + * 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_IMM_MODEL_CREATEMERGEFACEGROUPSJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateMergeFaceGroupsJobResult : public ServiceResult + { + public: + + + CreateMergeFaceGroupsJobResult(); + explicit CreateMergeFaceGroupsJobResult(const std::string &payload); + ~CreateMergeFaceGroupsJobResult(); std::string getGroupIdFrom()const; std::string getJobType()const; std::string getSetId()const; std::string getGroupIdTo()const; std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupIdFrom_; std::string jobType_; std::string setId_; std::string groupIdTo_; std::string jobId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h b/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h index ee3bce161..ff098d105 100644 --- a/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATEOFFICECONVERSIONTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEOFFICECONVERSIONTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateOfficeConversionTaskRequest : public RpcServiceRequest - { - - public: - CreateOfficeConversionTaskRequest(); - ~CreateOfficeConversionTaskRequest(); - +/* + * 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_IMM_MODEL_CREATEOFFICECONVERSIONTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEOFFICECONVERSIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateOfficeConversionTaskRequest : public RpcServiceRequest + { + + public: + CreateOfficeConversionTaskRequest(); + ~CreateOfficeConversionTaskRequest(); + std::string getSrcType()const; void setSrcType(const std::string& srcType); std::string getProject()const; @@ -87,8 +87,8 @@ namespace AlibabaCloud void setTgtFilePages(const std::string& tgtFilePages); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string srcType_; std::string project_; std::string idempotentToken_; @@ -115,9 +115,9 @@ namespace AlibabaCloud std::string srcUri_; std::string tgtFilePages_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEOFFICECONVERSIONTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskResult.h b/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskResult.h index 147a20397..08ed5e2bb 100644 --- a/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskResult.h +++ b/imm/include/alibabacloud/imm/model/CreateOfficeConversionTaskResult.h @@ -1,59 +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_IMM_MODEL_CREATEOFFICECONVERSIONTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEOFFICECONVERSIONTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateOfficeConversionTaskResult : public ServiceResult - { - public: - - - CreateOfficeConversionTaskResult(); - explicit CreateOfficeConversionTaskResult(const std::string &payload); - ~CreateOfficeConversionTaskResult(); +/* + * 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_IMM_MODEL_CREATEOFFICECONVERSIONTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEOFFICECONVERSIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateOfficeConversionTaskResult : public ServiceResult + { + public: + + + CreateOfficeConversionTaskResult(); + explicit CreateOfficeConversionTaskResult(const std::string &payload); + ~CreateOfficeConversionTaskResult(); std::string getStatus()const; std::string getTaskId()const; int getPercent()const; std::string getTgtLoc()const; std::string getCreateTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string taskId_; int percent_; std::string tgtLoc_; std::string createTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEOFFICECONVERSIONTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobRequest.h b/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobRequest.h index 19d3dd6f7..af4ab318e 100644 --- a/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobRequest.h +++ b/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreatePornBatchDetectJobRequest : public RpcServiceRequest - { - - public: - CreatePornBatchDetectJobRequest(); - ~CreatePornBatchDetectJobRequest(); - +/* + * 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_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreatePornBatchDetectJobRequest : public RpcServiceRequest + { + + public: + CreatePornBatchDetectJobRequest(); + ~CreatePornBatchDetectJobRequest(); + std::string getNotifyTopicName()const; void setNotifyTopicName(const std::string& notifyTopicName); std::string getRegionId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string notifyTopicName_; std::string regionId_; std::string notifyEndpoint_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string srcUri_; std::string accessKeyId_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobResult.h b/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobResult.h index 53509428c..9f76d852b 100644 --- a/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobResult.h +++ b/imm/include/alibabacloud/imm/model/CreatePornBatchDetectJobResult.h @@ -1,59 +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_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreatePornBatchDetectJobResult : public ServiceResult - { - public: - - - CreatePornBatchDetectJobResult(); - explicit CreatePornBatchDetectJobResult(const std::string &payload); - ~CreatePornBatchDetectJobResult(); +/* + * 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_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreatePornBatchDetectJobResult : public ServiceResult + { + public: + + + CreatePornBatchDetectJobResult(); + explicit CreatePornBatchDetectJobResult(const std::string &payload); + ~CreatePornBatchDetectJobResult(); std::string getStatus()const; int getPercent()const; std::string getTgtLoc()const; std::string getCreateTime()const; std::string getJobId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; int percent_; std::string tgtLoc_; std::string createTime_; std::string jobId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEPORNBATCHDETECTJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateSetRequest.h b/imm/include/alibabacloud/imm/model/CreateSetRequest.h index 387318768..03f44ce4b 100644 --- a/imm/include/alibabacloud/imm/model/CreateSetRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateSetRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATESETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATESETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateSetRequest : public RpcServiceRequest - { - - public: - CreateSetRequest(); - ~CreateSetRequest(); - +/* + * 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_IMM_MODEL_CREATESETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateSetRequest : public RpcServiceRequest + { + + public: + CreateSetRequest(); + ~CreateSetRequest(); + std::string getSetName()const; void setSetName(const std::string& setName); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string setName_; std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATESETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateSetResult.h b/imm/include/alibabacloud/imm/model/CreateSetResult.h index f3053d66a..1ab4fa4d9 100644 --- a/imm/include/alibabacloud/imm/model/CreateSetResult.h +++ b/imm/include/alibabacloud/imm/model/CreateSetResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_CREATESETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATESETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateSetResult : public ServiceResult - { - public: - - - CreateSetResult(); - explicit CreateSetResult(const std::string &payload); - ~CreateSetResult(); +/* + * 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_IMM_MODEL_CREATESETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateSetResult : public ServiceResult + { + public: + + + CreateSetResult(); + explicit CreateSetResult(const std::string &payload); + ~CreateSetResult(); std::string getModifyTime()const; int getImageCount()const; int getVideoCount()const; @@ -45,10 +45,10 @@ namespace AlibabaCloud std::string getSetId()const; int getFaceCount()const; int getVideoLength()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; int imageCount_; int videoCount_; @@ -57,9 +57,9 @@ namespace AlibabaCloud std::string setId_; int faceCount_; int videoLength_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATESETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateTagJobRequest.h b/imm/include/alibabacloud/imm/model/CreateTagJobRequest.h index e014ed6ba..cffac98d8 100644 --- a/imm/include/alibabacloud/imm/model/CreateTagJobRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateTagJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATETAGJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATETAGJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateTagJobRequest : public RpcServiceRequest - { - - public: - CreateTagJobRequest(); - ~CreateTagJobRequest(); - +/* + * 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_IMM_MODEL_CREATETAGJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATETAGJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateTagJobRequest : public RpcServiceRequest + { + + public: + CreateTagJobRequest(); + ~CreateTagJobRequest(); + std::string getNotifyTopicName()const; void setNotifyTopicName(const std::string& notifyTopicName); std::string getRegionId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setSrcUri(const std::string& srcUri); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string notifyTopicName_; std::string regionId_; std::string notifyEndpoint_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string externalID_; std::string srcUri_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateTagJobResult.h b/imm/include/alibabacloud/imm/model/CreateTagJobResult.h index fea8728bb..dd7aa654d 100644 --- a/imm/include/alibabacloud/imm/model/CreateTagJobResult.h +++ b/imm/include/alibabacloud/imm/model/CreateTagJobResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_CREATETAGJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATETAGJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateTagJobResult : public ServiceResult - { - public: - - - CreateTagJobResult(); - explicit CreateTagJobResult(const std::string &payload); - ~CreateTagJobResult(); +/* + * 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_IMM_MODEL_CREATETAGJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATETAGJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateTagJobResult : public ServiceResult + { + public: + + + CreateTagJobResult(); + explicit CreateTagJobResult(const std::string &payload); + ~CreateTagJobResult(); std::string getStatus()const; std::string getFinishTime()const; int getPercent()const; @@ -44,10 +44,10 @@ namespace AlibabaCloud std::string getSetId()const; std::string getJobId()const; std::string getSrcUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string finishTime_; int percent_; @@ -55,9 +55,9 @@ namespace AlibabaCloud std::string setId_; std::string jobId_; std::string srcUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateTagSetRequest.h b/imm/include/alibabacloud/imm/model/CreateTagSetRequest.h index a89f03784..61b14a5d7 100644 --- a/imm/include/alibabacloud/imm/model/CreateTagSetRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateTagSetRequest.h @@ -1,54 +1,54 @@ -/* - * 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_IMM_MODEL_CREATETAGSETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATETAGSETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateTagSetRequest : public RpcServiceRequest - { - - public: - CreateTagSetRequest(); - ~CreateTagSetRequest(); - +/* + * 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_IMM_MODEL_CREATETAGSETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATETAGSETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateTagSetRequest : public RpcServiceRequest + { + + public: + CreateTagSetRequest(); + ~CreateTagSetRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGSETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateTagSetResult.h b/imm/include/alibabacloud/imm/model/CreateTagSetResult.h index 250bcb20c..d5f646c0f 100644 --- a/imm/include/alibabacloud/imm/model/CreateTagSetResult.h +++ b/imm/include/alibabacloud/imm/model/CreateTagSetResult.h @@ -1,59 +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_IMM_MODEL_CREATETAGSETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATETAGSETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateTagSetResult : public ServiceResult - { - public: - - - CreateTagSetResult(); - explicit CreateTagSetResult(const std::string &payload); - ~CreateTagSetResult(); +/* + * 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_IMM_MODEL_CREATETAGSETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATETAGSETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateTagSetResult : public ServiceResult + { + public: + + + CreateTagSetResult(); + explicit CreateTagSetResult(const std::string &payload); + ~CreateTagSetResult(); std::string getStatus()const; long getPhotos()const; std::string getModifyTime()const; std::string getCreateTime()const; std::string getSetId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; long photos_; std::string modifyTime_; std::string createTime_; std::string setId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATETAGSETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskRequest.h b/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskRequest.h index fa0e5c24b..a3029a9e8 100644 --- a/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_CREATEVIDEOANALYSETASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOANALYSETASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateVideoAnalyseTaskRequest : public RpcServiceRequest - { - - public: - CreateVideoAnalyseTaskRequest(); - ~CreateVideoAnalyseTaskRequest(); - +/* + * 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_IMM_MODEL_CREATEVIDEOANALYSETASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOANALYSETASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateVideoAnalyseTaskRequest : public RpcServiceRequest + { + + public: + CreateVideoAnalyseTaskRequest(); + ~CreateVideoAnalyseTaskRequest(); + std::string getNotifyTopicName()const; void setNotifyTopicName(const std::string& notifyTopicName); std::string getGrabType()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setInterval(const std::string& interval); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string notifyTopicName_; std::string grabType_; std::string project_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string notifyEndpoint_; std::string interval_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOANALYSETASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskResult.h b/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskResult.h index 4c935934d..a834f6a18 100644 --- a/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskResult.h +++ b/imm/include/alibabacloud/imm/model/CreateVideoAnalyseTaskResult.h @@ -1,53 +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_IMM_MODEL_CREATEVIDEOANALYSETASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOANALYSETASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT CreateVideoAnalyseTaskResult : public ServiceResult - { - public: - - - CreateVideoAnalyseTaskResult(); - explicit CreateVideoAnalyseTaskResult(const std::string &payload); - ~CreateVideoAnalyseTaskResult(); +/* + * 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_IMM_MODEL_CREATEVIDEOANALYSETASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOANALYSETASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateVideoAnalyseTaskResult : public ServiceResult + { + public: + + + CreateVideoAnalyseTaskResult(); + explicit CreateVideoAnalyseTaskResult(const std::string &payload); + ~CreateVideoAnalyseTaskResult(); std::string getTaskId()const; std::string getTaskType()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string taskId_; std::string taskType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOANALYSETASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateVideoCompressTaskRequest.h b/imm/include/alibabacloud/imm/model/CreateVideoCompressTaskRequest.h new file mode 100644 index 000000000..df818cdf4 --- /dev/null +++ b/imm/include/alibabacloud/imm/model/CreateVideoCompressTaskRequest.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateVideoCompressTaskRequest : public RpcServiceRequest + { + + public: + CreateVideoCompressTaskRequest(); + ~CreateVideoCompressTaskRequest(); + + std::string getVideoUri()const; + void setVideoUri(const std::string& videoUri); + std::string getNotifyTopicName()const; + void setNotifyTopicName(const std::string& notifyTopicName); + std::string getTargetList()const; + void setTargetList(const std::string& targetList); + std::string getRegionId()const; + void setRegionId(const std::string& regionId); + std::string getNotifyEndpoint()const; + void setNotifyEndpoint(const std::string& notifyEndpoint); + std::string getProject()const; + void setProject(const std::string& project); + std::string getAccessKeyId()const; + void setAccessKeyId(const std::string& accessKeyId); + + private: + std::string videoUri_; + std::string notifyTopicName_; + std::string targetList_; + std::string regionId_; + std::string notifyEndpoint_; + std::string project_; + std::string accessKeyId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/CreateVideoCompressTaskResult.h b/imm/include/alibabacloud/imm/model/CreateVideoCompressTaskResult.h new file mode 100644 index 000000000..bbbf0318d --- /dev/null +++ b/imm/include/alibabacloud/imm/model/CreateVideoCompressTaskResult.h @@ -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_IMM_MODEL_CREATEVIDEOCOMPRESSTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT CreateVideoCompressTaskResult : public ServiceResult + { + public: + + + CreateVideoCompressTaskResult(); + explicit CreateVideoCompressTaskResult(const std::string &payload); + ~CreateVideoCompressTaskResult(); + std::string getTaskId()const; + std::string getTaskType()const; + + protected: + void parse(const std::string &payload); + private: + std::string taskId_; + std::string taskType_; + + }; + } + } +} +#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteDocIndexRequest.h b/imm/include/alibabacloud/imm/model/DeleteDocIndexRequest.h index 9e9bef017..175a1e93d 100644 --- a/imm/include/alibabacloud/imm/model/DeleteDocIndexRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteDocIndexRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEDOCINDEXREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEDOCINDEXREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteDocIndexRequest : public RpcServiceRequest - { - - public: - DeleteDocIndexRequest(); - ~DeleteDocIndexRequest(); - +/* + * 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_IMM_MODEL_DELETEDOCINDEXREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEDOCINDEXREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteDocIndexRequest : public RpcServiceRequest + { + + public: + DeleteDocIndexRequest(); + ~DeleteDocIndexRequest(); + std::string getSet()const; void setSet(const std::string& set); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setUniqueId(const std::string& uniqueId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string set_; std::string regionId_; std::string project_; std::string uniqueId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEDOCINDEXREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteDocIndexResult.h b/imm/include/alibabacloud/imm/model/DeleteDocIndexResult.h index 067b2ba43..8e0ec99fa 100644 --- a/imm/include/alibabacloud/imm/model/DeleteDocIndexResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteDocIndexResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEDOCINDEXRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEDOCINDEXRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteDocIndexResult : public ServiceResult - { - public: - - - DeleteDocIndexResult(); - explicit DeleteDocIndexResult(const std::string &payload); - ~DeleteDocIndexResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEDOCINDEXRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEDOCINDEXRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteDocIndexResult : public ServiceResult + { + public: + + + DeleteDocIndexResult(); + explicit DeleteDocIndexResult(const std::string &payload); + ~DeleteDocIndexResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEDOCINDEXRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceJobRequest.h b/imm/include/alibabacloud/imm/model/DeleteFaceJobRequest.h index 7b3c8a2cf..8d6e5b6ec 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceJobRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEFACEJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceJobRequest : public RpcServiceRequest - { - - public: - DeleteFaceJobRequest(); - ~DeleteFaceJobRequest(); - +/* + * 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_IMM_MODEL_DELETEFACEJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceJobRequest : public RpcServiceRequest + { + + public: + DeleteFaceJobRequest(); + ~DeleteFaceJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setClearIndexData(const std::string& clearIndexData); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string clearIndexData_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceJobResult.h b/imm/include/alibabacloud/imm/model/DeleteFaceJobResult.h index 02081186d..5c92efc73 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceJobResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceJobResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEFACEJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceJobResult : public ServiceResult - { - public: - - - DeleteFaceJobResult(); - explicit DeleteFaceJobResult(const std::string &payload); - ~DeleteFaceJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEFACEJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceJobResult : public ServiceResult + { + public: + + + DeleteFaceJobResult(); + explicit DeleteFaceJobResult(const std::string &payload); + ~DeleteFaceJobResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACEJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupRequest.h b/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupRequest.h index df3dab375..058cf1877 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchGroupRequest : public RpcServiceRequest - { - - public: - DeleteFaceSearchGroupRequest(); - ~DeleteFaceSearchGroupRequest(); - +/* + * 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_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchGroupRequest : public RpcServiceRequest + { + + public: + DeleteFaceSearchGroupRequest(); + ~DeleteFaceSearchGroupRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setGroupName(const std::string& groupName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string groupName_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupResult.h b/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupResult.h index 66277ffcb..ebffeada0 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceSearchGroupResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEFACESEARCHGROUPRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchGroupResult : public ServiceResult - { - public: - - - DeleteFaceSearchGroupResult(); - explicit DeleteFaceSearchGroupResult(const std::string &payload); - ~DeleteFaceSearchGroupResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEFACESEARCHGROUPRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchGroupResult : public ServiceResult + { + public: + + + DeleteFaceSearchGroupResult(); + explicit DeleteFaceSearchGroupResult(const std::string &payload); + ~DeleteFaceSearchGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHGROUPRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdRequest.h b/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdRequest.h index 738de6cbf..a08f0f37a 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchImageByIdRequest : public RpcServiceRequest - { - - public: - DeleteFaceSearchImageByIdRequest(); - ~DeleteFaceSearchImageByIdRequest(); - +/* + * 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_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchImageByIdRequest : public RpcServiceRequest + { + + public: + DeleteFaceSearchImageByIdRequest(); + ~DeleteFaceSearchImageByIdRequest(); + std::string getImageId()const; void setImageId(const std::string& imageId); std::string getRegionId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setUser(const std::string& user); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageId_; std::string regionId_; std::string project_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string groupName_; std::string user_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdResult.h b/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdResult.h index 941195218..cb7d8d3b6 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceSearchImageByIdResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchImageByIdResult : public ServiceResult - { - public: - - - DeleteFaceSearchImageByIdResult(); - explicit DeleteFaceSearchImageByIdResult(const std::string &payload); - ~DeleteFaceSearchImageByIdResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchImageByIdResult : public ServiceResult + { + public: + + + DeleteFaceSearchImageByIdResult(); + explicit DeleteFaceSearchImageByIdResult(const std::string &payload); + ~DeleteFaceSearchImageByIdResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHIMAGEBYIDRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserRequest.h b/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserRequest.h index 33a8ea61a..bf55effa6 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchUserRequest : public RpcServiceRequest - { - - public: - DeleteFaceSearchUserRequest(); - ~DeleteFaceSearchUserRequest(); - +/* + * 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_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchUserRequest : public RpcServiceRequest + { + + public: + DeleteFaceSearchUserRequest(); + ~DeleteFaceSearchUserRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setUser(const std::string& user); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string groupName_; std::string user_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserResult.h b/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserResult.h index aac4cd93b..33ac8983d 100644 --- a/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteFaceSearchUserResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEFACESEARCHUSERRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchUserResult : public ServiceResult - { - public: - - - DeleteFaceSearchUserResult(); - explicit DeleteFaceSearchUserResult(const std::string &payload); - ~DeleteFaceSearchUserResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEFACESEARCHUSERRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteFaceSearchUserResult : public ServiceResult + { + public: + + + DeleteFaceSearchUserResult(); + explicit DeleteFaceSearchUserResult(const std::string &payload); + ~DeleteFaceSearchUserResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEFACESEARCHUSERRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteImageJobRequest.h b/imm/include/alibabacloud/imm/model/DeleteImageJobRequest.h index 7df1d5a2f..54d4cacfd 100644 --- a/imm/include/alibabacloud/imm/model/DeleteImageJobRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteImageJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEIMAGEJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteImageJobRequest : public RpcServiceRequest - { - - public: - DeleteImageJobRequest(); - ~DeleteImageJobRequest(); - +/* + * 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_IMM_MODEL_DELETEIMAGEJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGEJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteImageJobRequest : public RpcServiceRequest + { + + public: + DeleteImageJobRequest(); + ~DeleteImageJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setJobType(const std::string& jobType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string jobType_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEIMAGEJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteImageJobResult.h b/imm/include/alibabacloud/imm/model/DeleteImageJobResult.h index a00564224..908ac8f7d 100644 --- a/imm/include/alibabacloud/imm/model/DeleteImageJobResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteImageJobResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEIMAGEJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteImageJobResult : public ServiceResult - { - public: - - - DeleteImageJobResult(); - explicit DeleteImageJobResult(const std::string &payload); - ~DeleteImageJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEIMAGEJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteImageJobResult : public ServiceResult + { + public: + + + DeleteImageJobResult(); + explicit DeleteImageJobResult(const std::string &payload); + ~DeleteImageJobResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEIMAGEJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteImageRequest.h b/imm/include/alibabacloud/imm/model/DeleteImageRequest.h index 070bbe438..d52aa3208 100644 --- a/imm/include/alibabacloud/imm/model/DeleteImageRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteImageRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEIMAGEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteImageRequest : public RpcServiceRequest - { - - public: - DeleteImageRequest(); - ~DeleteImageRequest(); - +/* + * 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_IMM_MODEL_DELETEIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteImageRequest : public RpcServiceRequest + { + + public: + DeleteImageRequest(); + ~DeleteImageRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEIMAGEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteImageResult.h b/imm/include/alibabacloud/imm/model/DeleteImageResult.h index 9052196c2..2ed6c7db7 100644 --- a/imm/include/alibabacloud/imm/model/DeleteImageResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteImageResult.h @@ -1,53 +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_IMM_MODEL_DELETEIMAGERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteImageResult : public ServiceResult - { - public: - - - DeleteImageResult(); - explicit DeleteImageResult(const std::string &payload); - ~DeleteImageResult(); +/* + * 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_IMM_MODEL_DELETEIMAGERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEIMAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteImageResult : public ServiceResult + { + public: + + + DeleteImageResult(); + explicit DeleteImageResult(const std::string &payload); + ~DeleteImageResult(); std::string getSetId()const; std::string getImageUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string setId_; std::string imageUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEIMAGERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskRequest.h b/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskRequest.h index 02c7dcc5b..b6a3aaac8 100644 --- a/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEOFFICECONVERSIONTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteOfficeConversionTaskRequest : public RpcServiceRequest - { - - public: - DeleteOfficeConversionTaskRequest(); - ~DeleteOfficeConversionTaskRequest(); - +/* + * 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_IMM_MODEL_DELETEOFFICECONVERSIONTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteOfficeConversionTaskRequest : public RpcServiceRequest + { + + public: + DeleteOfficeConversionTaskRequest(); + ~DeleteOfficeConversionTaskRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskResult.h b/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskResult.h index f3aba9cde..d7147b6ae 100644 --- a/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteOfficeConversionTaskResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteOfficeConversionTaskResult : public ServiceResult - { - public: - - - DeleteOfficeConversionTaskResult(); - explicit DeleteOfficeConversionTaskResult(const std::string &payload); - ~DeleteOfficeConversionTaskResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteOfficeConversionTaskResult : public ServiceResult + { + public: + + + DeleteOfficeConversionTaskResult(); + explicit DeleteOfficeConversionTaskResult(const std::string &payload); + ~DeleteOfficeConversionTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskRequest.h b/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskRequest.h index 348f30b8a..d6ec795e5 100644 --- a/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEPHOTOPROCESSTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEPHOTOPROCESSTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeletePhotoProcessTaskRequest : public RpcServiceRequest - { - - public: - DeletePhotoProcessTaskRequest(); - ~DeletePhotoProcessTaskRequest(); - +/* + * 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_IMM_MODEL_DELETEPHOTOPROCESSTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEPHOTOPROCESSTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeletePhotoProcessTaskRequest : public RpcServiceRequest + { + + public: + DeletePhotoProcessTaskRequest(); + ~DeletePhotoProcessTaskRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEPHOTOPROCESSTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskResult.h b/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskResult.h index 65e30f86b..6727e3809 100644 --- a/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskResult.h +++ b/imm/include/alibabacloud/imm/model/DeletePhotoProcessTaskResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEPHOTOPROCESSTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEPHOTOPROCESSTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeletePhotoProcessTaskResult : public ServiceResult - { - public: - - - DeletePhotoProcessTaskResult(); - explicit DeletePhotoProcessTaskResult(const std::string &payload); - ~DeletePhotoProcessTaskResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEPHOTOPROCESSTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEPHOTOPROCESSTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeletePhotoProcessTaskResult : public ServiceResult + { + public: + + + DeletePhotoProcessTaskResult(); + explicit DeletePhotoProcessTaskResult(const std::string &payload); + ~DeletePhotoProcessTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEPHOTOPROCESSTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h b/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h index c51718c08..90ca6b362 100644 --- a/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h +++ b/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeletePornBatchDetectJobRequest : public RpcServiceRequest - { - - public: - DeletePornBatchDetectJobRequest(); - ~DeletePornBatchDetectJobRequest(); - +/* + * 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_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeletePornBatchDetectJobRequest : public RpcServiceRequest + { + + public: + DeletePornBatchDetectJobRequest(); + ~DeletePornBatchDetectJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h b/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h index 4359ce5f5..7c1fa71c5 100644 --- a/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h +++ b/imm/include/alibabacloud/imm/model/DeletePornBatchDetectJobResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEPORNBATCHDETECTJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeletePornBatchDetectJobResult : public ServiceResult - { - public: - - - DeletePornBatchDetectJobResult(); - explicit DeletePornBatchDetectJobResult(const std::string &payload); - ~DeletePornBatchDetectJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEPORNBATCHDETECTJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeletePornBatchDetectJobResult : public ServiceResult + { + public: + + + DeletePornBatchDetectJobResult(); + explicit DeletePornBatchDetectJobResult(const std::string &payload); + ~DeletePornBatchDetectJobResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEPORNBATCHDETECTJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteProjectRequest.h b/imm/include/alibabacloud/imm/model/DeleteProjectRequest.h index efbc16621..3be6056b0 100644 --- a/imm/include/alibabacloud/imm/model/DeleteProjectRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteProjectRequest.h @@ -1,54 +1,54 @@ -/* - * 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_IMM_MODEL_DELETEPROJECTREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteProjectRequest : public RpcServiceRequest - { - - public: - DeleteProjectRequest(); - ~DeleteProjectRequest(); - +/* + * 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_IMM_MODEL_DELETEPROJECTREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteProjectRequest : public RpcServiceRequest + { + + public: + DeleteProjectRequest(); + ~DeleteProjectRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEPROJECTREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteProjectResult.h b/imm/include/alibabacloud/imm/model/DeleteProjectResult.h index 05f009852..fd41c31ae 100644 --- a/imm/include/alibabacloud/imm/model/DeleteProjectResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteProjectResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEPROJECTRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEPROJECTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteProjectResult : public ServiceResult - { - public: - - - DeleteProjectResult(); - explicit DeleteProjectResult(const std::string &payload); - ~DeleteProjectResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEPROJECTRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteProjectResult : public ServiceResult + { + public: + + + DeleteProjectResult(); + explicit DeleteProjectResult(const std::string &payload); + ~DeleteProjectResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEPROJECTRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteSetRequest.h b/imm/include/alibabacloud/imm/model/DeleteSetRequest.h index 7263e8574..58c8b03e0 100644 --- a/imm/include/alibabacloud/imm/model/DeleteSetRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteSetRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETESETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETESETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteSetRequest : public RpcServiceRequest - { - - public: - DeleteSetRequest(); - ~DeleteSetRequest(); - +/* + * 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_IMM_MODEL_DELETESETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteSetRequest : public RpcServiceRequest + { + + public: + DeleteSetRequest(); + ~DeleteSetRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETESETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteSetResult.h b/imm/include/alibabacloud/imm/model/DeleteSetResult.h index 9273b1661..28a7a8046 100644 --- a/imm/include/alibabacloud/imm/model/DeleteSetResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteSetResult.h @@ -1,51 +1,51 @@ -/* - * 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_IMM_MODEL_DELETESETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETESETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteSetResult : public ServiceResult - { - public: - - - DeleteSetResult(); - explicit DeleteSetResult(const std::string &payload); - ~DeleteSetResult(); +/* + * 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_IMM_MODEL_DELETESETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteSetResult : public ServiceResult + { + public: + + + DeleteSetResult(); + explicit DeleteSetResult(const std::string &payload); + ~DeleteSetResult(); std::string getSetId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string setId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETESETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagByNameRequest.h b/imm/include/alibabacloud/imm/model/DeleteTagByNameRequest.h index ef541f85c..5743d5ca9 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagByNameRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagByNameRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagByNameRequest : public RpcServiceRequest - { - - public: - DeleteTagByNameRequest(); - ~DeleteTagByNameRequest(); - +/* + * 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_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagByNameRequest : public RpcServiceRequest + { + + public: + DeleteTagByNameRequest(); + ~DeleteTagByNameRequest(); + std::string getTagName()const; void setTagName(const std::string& tagName); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setSrcUri(const std::string& srcUri); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string tagName_; std::string regionId_; std::string project_; std::string setId_; std::string srcUri_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagByNameResult.h b/imm/include/alibabacloud/imm/model/DeleteTagByNameResult.h index 55d335c50..f6ac0bff5 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagByNameResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagByNameResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETETAGBYNAMERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagByNameResult : public ServiceResult - { - public: - - - DeleteTagByNameResult(); - explicit DeleteTagByNameResult(const std::string &payload); - ~DeleteTagByNameResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETETAGBYNAMERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagByNameResult : public ServiceResult + { + public: + + + DeleteTagByNameResult(); + explicit DeleteTagByNameResult(const std::string &payload); + ~DeleteTagByNameResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGBYNAMERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagByUrlRequest.h b/imm/include/alibabacloud/imm/model/DeleteTagByUrlRequest.h index eebf919db..cd5963c05 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagByUrlRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagByUrlRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETETAGBYURLREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagByUrlRequest : public RpcServiceRequest - { - - public: - DeleteTagByUrlRequest(); - ~DeleteTagByUrlRequest(); - +/* + * 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_IMM_MODEL_DELETETAGBYURLREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagByUrlRequest : public RpcServiceRequest + { + + public: + DeleteTagByUrlRequest(); + ~DeleteTagByUrlRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSrcUri(const std::string& srcUri); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string setId_; std::string srcUri_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagByUrlResult.h b/imm/include/alibabacloud/imm/model/DeleteTagByUrlResult.h index 6c931cf5c..c16bc7883 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagByUrlResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagByUrlResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETETAGBYURLRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagByUrlResult : public ServiceResult - { - public: - - - DeleteTagByUrlResult(); - explicit DeleteTagByUrlResult(const std::string &payload); - ~DeleteTagByUrlResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETETAGBYURLRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagByUrlResult : public ServiceResult + { + public: + + + DeleteTagByUrlResult(); + explicit DeleteTagByUrlResult(const std::string &payload); + ~DeleteTagByUrlResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGBYURLRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagJobRequest.h b/imm/include/alibabacloud/imm/model/DeleteTagJobRequest.h index 8c6832a4e..2fd16eb70 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagJobRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETETAGJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagJobRequest : public RpcServiceRequest - { - - public: - DeleteTagJobRequest(); - ~DeleteTagJobRequest(); - +/* + * 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_IMM_MODEL_DELETETAGJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagJobRequest : public RpcServiceRequest + { + + public: + DeleteTagJobRequest(); + ~DeleteTagJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setClearIndexData(const std::string& clearIndexData); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string clearIndexData_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagJobResult.h b/imm/include/alibabacloud/imm/model/DeleteTagJobResult.h index d99e871e1..0a77d6bba 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagJobResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagJobResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETETAGJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagJobResult : public ServiceResult - { - public: - - - DeleteTagJobResult(); - explicit DeleteTagJobResult(const std::string &payload); - ~DeleteTagJobResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETETAGJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagJobResult : public ServiceResult + { + public: + + + DeleteTagJobResult(); + explicit DeleteTagJobResult(const std::string &payload); + ~DeleteTagJobResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagSetRequest.h b/imm/include/alibabacloud/imm/model/DeleteTagSetRequest.h index 8c09d8a4d..65baff515 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagSetRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagSetRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETETAGSETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGSETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagSetRequest : public RpcServiceRequest - { - - public: - DeleteTagSetRequest(); - ~DeleteTagSetRequest(); - +/* + * 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_IMM_MODEL_DELETETAGSETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGSETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagSetRequest : public RpcServiceRequest + { + + public: + DeleteTagSetRequest(); + ~DeleteTagSetRequest(); + std::string getLazyMode()const; void setLazyMode(const std::string& lazyMode); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setCheckEmpty(const std::string& checkEmpty); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string lazyMode_; std::string regionId_; std::string project_; std::string setId_; std::string checkEmpty_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGSETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteTagSetResult.h b/imm/include/alibabacloud/imm/model/DeleteTagSetResult.h index c69e2637b..38cb0c2d6 100644 --- a/imm/include/alibabacloud/imm/model/DeleteTagSetResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteTagSetResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETETAGSETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETETAGSETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteTagSetResult : public ServiceResult - { - public: - - - DeleteTagSetResult(); - explicit DeleteTagSetResult(const std::string &payload); - ~DeleteTagSetResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETETAGSETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETETAGSETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteTagSetResult : public ServiceResult + { + public: + + + DeleteTagSetResult(); + explicit DeleteTagSetResult(const std::string &payload); + ~DeleteTagSetResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETETAGSETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteVideoRequest.h b/imm/include/alibabacloud/imm/model/DeleteVideoRequest.h index 84ed17e77..0636f1dc5 100644 --- a/imm/include/alibabacloud/imm/model/DeleteVideoRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteVideoRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEVIDEOREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteVideoRequest : public RpcServiceRequest - { - - public: - DeleteVideoRequest(); - ~DeleteVideoRequest(); - +/* + * 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_IMM_MODEL_DELETEVIDEOREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteVideoRequest : public RpcServiceRequest + { + + public: + DeleteVideoRequest(); + ~DeleteVideoRequest(); + std::string getVideoUri()const; void setVideoUri(const std::string& videoUri); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setResources(bool resources); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string videoUri_; std::string regionId_; std::string project_; std::string setId_; bool resources_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEOREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteVideoResult.h b/imm/include/alibabacloud/imm/model/DeleteVideoResult.h index f1df303de..b8a11c8e0 100644 --- a/imm/include/alibabacloud/imm/model/DeleteVideoResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteVideoResult.h @@ -1,53 +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_IMM_MODEL_DELETEVIDEORESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteVideoResult : public ServiceResult - { - public: - - - DeleteVideoResult(); - explicit DeleteVideoResult(const std::string &payload); - ~DeleteVideoResult(); +/* + * 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_IMM_MODEL_DELETEVIDEORESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteVideoResult : public ServiceResult + { + public: + + + DeleteVideoResult(); + explicit DeleteVideoResult(const std::string &payload); + ~DeleteVideoResult(); std::string getVideoUri()const; std::string getSetId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string videoUri_; std::string setId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEORESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteVideoTaskRequest.h b/imm/include/alibabacloud/imm/model/DeleteVideoTaskRequest.h index aca3d2d80..bfd8d50b3 100644 --- a/imm/include/alibabacloud/imm/model/DeleteVideoTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/DeleteVideoTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DELETEVIDEOTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteVideoTaskRequest : public RpcServiceRequest - { - - public: - DeleteVideoTaskRequest(); - ~DeleteVideoTaskRequest(); - +/* + * 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_IMM_MODEL_DELETEVIDEOTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteVideoTaskRequest : public RpcServiceRequest + { + + public: + DeleteVideoTaskRequest(); + ~DeleteVideoTaskRequest(); + std::string getTaskType()const; void setTaskType(const std::string& taskType); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string taskType_; std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DeleteVideoTaskResult.h b/imm/include/alibabacloud/imm/model/DeleteVideoTaskResult.h index 535bc5d91..f04f18c56 100644 --- a/imm/include/alibabacloud/imm/model/DeleteVideoTaskResult.h +++ b/imm/include/alibabacloud/imm/model/DeleteVideoTaskResult.h @@ -1,49 +1,49 @@ -/* - * 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_IMM_MODEL_DELETEVIDEOTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DeleteVideoTaskResult : public ServiceResult - { - public: - - - DeleteVideoTaskResult(); - explicit DeleteVideoTaskResult(const std::string &payload); - ~DeleteVideoTaskResult(); - - protected: - void parse(const std::string &payload); - private: - - }; - } - } -} +/* + * 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_IMM_MODEL_DELETEVIDEOTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DeleteVideoTaskResult : public ServiceResult + { + public: + + + DeleteVideoTaskResult(); + explicit DeleteVideoTaskResult(const std::string &payload); + ~DeleteVideoTaskResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DescribeRegionsRequest.h b/imm/include/alibabacloud/imm/model/DescribeRegionsRequest.h index f7b04ca93..043def3e6 100644 --- a/imm/include/alibabacloud/imm/model/DescribeRegionsRequest.h +++ b/imm/include/alibabacloud/imm/model/DescribeRegionsRequest.h @@ -1,51 +1,51 @@ -/* - * 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_IMM_MODEL_DESCRIBEREGIONSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DESCRIBEREGIONSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DescribeRegionsRequest : public RpcServiceRequest - { - - public: - DescribeRegionsRequest(); - ~DescribeRegionsRequest(); - +/* + * 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_IMM_MODEL_DESCRIBEREGIONSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DESCRIBEREGIONSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DescribeRegionsRequest : public RpcServiceRequest + { + + public: + DescribeRegionsRequest(); + ~DescribeRegionsRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DESCRIBEREGIONSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DescribeRegionsResult.h b/imm/include/alibabacloud/imm/model/DescribeRegionsResult.h index fe82d30d9..666a07f00 100644 --- a/imm/include/alibabacloud/imm/model/DescribeRegionsResult.h +++ b/imm/include/alibabacloud/imm/model/DescribeRegionsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DESCRIBEREGIONSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DESCRIBEREGIONSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DescribeRegionsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DESCRIBEREGIONSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DESCRIBEREGIONSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DescribeRegionsResult : public ServiceResult + { + public: struct Regions { struct RegionItem @@ -41,20 +41,20 @@ namespace AlibabaCloud }; std::vector region; }; - - - DescribeRegionsResult(); - explicit DescribeRegionsResult(const std::string &payload); - ~DescribeRegionsResult(); + + + DescribeRegionsResult(); + explicit DescribeRegionsResult(const std::string &payload); + ~DescribeRegionsResult(); Regions getRegions()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: Regions regions_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DESCRIBEREGIONSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectClothesRequest.h b/imm/include/alibabacloud/imm/model/DetectClothesRequest.h index 1da6d5387..de4b214f2 100644 --- a/imm/include/alibabacloud/imm/model/DetectClothesRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectClothesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTCLOTHESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectClothesRequest : public RpcServiceRequest - { - - public: - DetectClothesRequest(); - ~DetectClothesRequest(); - +/* + * 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_IMM_MODEL_DETECTCLOTHESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectClothesRequest : public RpcServiceRequest + { + + public: + DetectClothesRequest(); + ~DetectClothesRequest(); + std::string getSrcUris()const; void setSrcUris(const std::string& srcUris); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string srcUris_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectClothesResult.h b/imm/include/alibabacloud/imm/model/DetectClothesResult.h index 34bd661aa..8e471ce9b 100644 --- a/imm/include/alibabacloud/imm/model/DetectClothesResult.h +++ b/imm/include/alibabacloud/imm/model/DetectClothesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTCLOTHESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectClothesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTCLOTHESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectClothesResult : public ServiceResult + { + public: struct SuccessDetailsItem { struct ClothesBoxDetailItem @@ -52,24 +52,24 @@ namespace AlibabaCloud std::string reason; std::string srcUri; }; - - - DetectClothesResult(); - explicit DetectClothesResult(const std::string &payload); - ~DetectClothesResult(); + + + DetectClothesResult(); + explicit DetectClothesResult(const std::string &payload); + ~DetectClothesResult(); std::vector getSuccessDetails()const; std::vector getSrcUris()const; std::vector getFailDetails()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector successDetails_; std::vector srcUris_; std::vector failDetails_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTCLOTHESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageBodiesRequest.h b/imm/include/alibabacloud/imm/model/DetectImageBodiesRequest.h index 66fd82274..d1fcdac24 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageBodiesRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectImageBodiesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTIMAGEBODIESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEBODIESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageBodiesRequest : public RpcServiceRequest - { - - public: - DetectImageBodiesRequest(); - ~DetectImageBodiesRequest(); - +/* + * 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_IMM_MODEL_DETECTIMAGEBODIESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEBODIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageBodiesRequest : public RpcServiceRequest + { + + public: + DetectImageBodiesRequest(); + ~DetectImageBodiesRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEBODIESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageBodiesResult.h b/imm/include/alibabacloud/imm/model/DetectImageBodiesResult.h index a8b1e99ff..46dd4bf6c 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageBodiesResult.h +++ b/imm/include/alibabacloud/imm/model/DetectImageBodiesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTIMAGEBODIESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEBODIESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageBodiesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTIMAGEBODIESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEBODIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageBodiesResult : public ServiceResult + { + public: struct BodiesItem { struct BodyBoundary @@ -44,22 +44,22 @@ namespace AlibabaCloud float bodyConfidence; BodyBoundary bodyBoundary; }; - - - DetectImageBodiesResult(); - explicit DetectImageBodiesResult(const std::string &payload); - ~DetectImageBodiesResult(); + + + DetectImageBodiesResult(); + explicit DetectImageBodiesResult(const std::string &payload); + ~DetectImageBodiesResult(); std::vector getBodies()const; std::string getImageUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector bodies_; std::string imageUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEBODIESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageCelebrityRequest.h b/imm/include/alibabacloud/imm/model/DetectImageCelebrityRequest.h index b575da1aa..8044986b2 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageCelebrityRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectImageCelebrityRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTIMAGECELEBRITYREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGECELEBRITYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageCelebrityRequest : public RpcServiceRequest - { - - public: - DetectImageCelebrityRequest(); - ~DetectImageCelebrityRequest(); - +/* + * 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_IMM_MODEL_DETECTIMAGECELEBRITYREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGECELEBRITYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageCelebrityRequest : public RpcServiceRequest + { + + public: + DetectImageCelebrityRequest(); + ~DetectImageCelebrityRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getLibrary()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setRealUid(const std::string& realUid); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string library_; std::string regionId_; std::string project_; std::string realUid_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGECELEBRITYREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageCelebrityResult.h b/imm/include/alibabacloud/imm/model/DetectImageCelebrityResult.h index 8f25d7e6f..44c774ce2 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageCelebrityResult.h +++ b/imm/include/alibabacloud/imm/model/DetectImageCelebrityResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTIMAGECELEBRITYRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGECELEBRITYRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageCelebrityResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTIMAGECELEBRITYRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGECELEBRITYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageCelebrityResult : public ServiceResult + { + public: struct CelebrityItem { struct CelebrityBoundary @@ -47,22 +47,22 @@ namespace AlibabaCloud std::string celebrityLibraryName; float celebrityConfidence; }; - - - DetectImageCelebrityResult(); - explicit DetectImageCelebrityResult(const std::string &payload); - ~DetectImageCelebrityResult(); + + + DetectImageCelebrityResult(); + explicit DetectImageCelebrityResult(const std::string &payload); + ~DetectImageCelebrityResult(); std::vector getCelebrity()const; std::string getImageUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector celebrity_; std::string imageUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGECELEBRITYRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageFacesRequest.h b/imm/include/alibabacloud/imm/model/DetectImageFacesRequest.h index 454e0ce71..2a5e9f850 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageFacesRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectImageFacesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTIMAGEFACESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEFACESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageFacesRequest : public RpcServiceRequest - { - - public: - DetectImageFacesRequest(); - ~DetectImageFacesRequest(); - +/* + * 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_IMM_MODEL_DETECTIMAGEFACESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEFACESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageFacesRequest : public RpcServiceRequest + { + + public: + DetectImageFacesRequest(); + ~DetectImageFacesRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setRealUid(const std::string& realUid); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string realUid_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEFACESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageFacesResult.h b/imm/include/alibabacloud/imm/model/DetectImageFacesResult.h index 480da655e..14a9494eb 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageFacesResult.h +++ b/imm/include/alibabacloud/imm/model/DetectImageFacesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTIMAGEFACESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEFACESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageFacesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTIMAGEFACESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEFACESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageFacesResult : public ServiceResult + { + public: struct FacesItem { struct FaceAttributes @@ -84,22 +84,22 @@ namespace AlibabaCloud int age; float ageConfidence; }; - - - DetectImageFacesResult(); - explicit DetectImageFacesResult(const std::string &payload); - ~DetectImageFacesResult(); + + + DetectImageFacesResult(); + explicit DetectImageFacesResult(const std::string &payload); + ~DetectImageFacesResult(); std::string getImageUri()const; std::vector getFaces()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string imageUri_; std::vector faces_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEFACESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageLogosRequest.h b/imm/include/alibabacloud/imm/model/DetectImageLogosRequest.h index 054752a6f..226173041 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageLogosRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectImageLogosRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTIMAGELOGOSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGELOGOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageLogosRequest : public RpcServiceRequest - { - - public: - DetectImageLogosRequest(); - ~DetectImageLogosRequest(); - +/* + * 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_IMM_MODEL_DETECTIMAGELOGOSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGELOGOSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageLogosRequest : public RpcServiceRequest + { + + public: + DetectImageLogosRequest(); + ~DetectImageLogosRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGELOGOSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageLogosResult.h b/imm/include/alibabacloud/imm/model/DetectImageLogosResult.h index 9d6a6133e..2cc37e4ba 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageLogosResult.h +++ b/imm/include/alibabacloud/imm/model/DetectImageLogosResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTIMAGELOGOSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGELOGOSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageLogosResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTIMAGELOGOSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGELOGOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageLogosResult : public ServiceResult + { + public: struct LogosItem { struct LogoBoundary @@ -45,22 +45,22 @@ namespace AlibabaCloud std::string logoName; float logoConfidence; }; - - - DetectImageLogosResult(); - explicit DetectImageLogosResult(const std::string &payload); - ~DetectImageLogosResult(); + + + DetectImageLogosResult(); + explicit DetectImageLogosResult(const std::string &payload); + ~DetectImageLogosResult(); std::vector getLogos()const; std::string getImageUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector logos_; std::string imageUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGELOGOSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageTagsRequest.h b/imm/include/alibabacloud/imm/model/DetectImageTagsRequest.h index 7d73ce486..409ec4595 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageTagsRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectImageTagsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTIMAGETAGSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageTagsRequest : public RpcServiceRequest - { - - public: - DetectImageTagsRequest(); - ~DetectImageTagsRequest(); - +/* + * 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_IMM_MODEL_DETECTIMAGETAGSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageTagsRequest : public RpcServiceRequest + { + + public: + DetectImageTagsRequest(); + ~DetectImageTagsRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setRealUid(const std::string& realUid); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string realUid_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageTagsResult.h b/imm/include/alibabacloud/imm/model/DetectImageTagsResult.h index 395b0525a..4120dc475 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageTagsResult.h +++ b/imm/include/alibabacloud/imm/model/DetectImageTagsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTIMAGETAGSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageTagsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTIMAGETAGSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageTagsResult : public ServiceResult + { + public: struct TagsItem { std::string tagName; @@ -41,22 +41,22 @@ namespace AlibabaCloud std::string parentTagEnName; std::string parentTagName; }; - - - DetectImageTagsResult(); - explicit DetectImageTagsResult(const std::string &payload); - ~DetectImageTagsResult(); + + + DetectImageTagsResult(); + explicit DetectImageTagsResult(const std::string &payload); + ~DetectImageTagsResult(); std::string getImageUri()const; std::vector getTags()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string imageUri_; std::vector tags_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageTextsRequest.h b/imm/include/alibabacloud/imm/model/DetectImageTextsRequest.h index c0e373e6f..e7bb4aa28 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageTextsRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectImageTextsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTIMAGETEXTSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETEXTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageTextsRequest : public RpcServiceRequest - { - - public: - DetectImageTextsRequest(); - ~DetectImageTextsRequest(); - +/* + * 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_IMM_MODEL_DETECTIMAGETEXTSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETEXTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageTextsRequest : public RpcServiceRequest + { + + public: + DetectImageTextsRequest(); + ~DetectImageTextsRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGETEXTSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectImageTextsResult.h b/imm/include/alibabacloud/imm/model/DetectImageTextsResult.h index db13cb7d5..42cbfce4d 100644 --- a/imm/include/alibabacloud/imm/model/DetectImageTextsResult.h +++ b/imm/include/alibabacloud/imm/model/DetectImageTextsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTIMAGETEXTSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETEXTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectImageTextsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTIMAGETEXTSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGETEXTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectImageTextsResult : public ServiceResult + { + public: struct OCRItem { struct OCRBoundary @@ -45,22 +45,22 @@ namespace AlibabaCloud float oCRConfidence; std::string oCRContents; }; - - - DetectImageTextsResult(); - explicit DetectImageTextsResult(const std::string &payload); - ~DetectImageTextsResult(); + + + DetectImageTextsResult(); + explicit DetectImageTextsResult(const std::string &payload); + ~DetectImageTextsResult(); std::string getImageUri()const; std::vector getOCR()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string imageUri_; std::vector oCR_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGETEXTSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectLogoRequest.h b/imm/include/alibabacloud/imm/model/DetectLogoRequest.h index e63141097..5673ff500 100644 --- a/imm/include/alibabacloud/imm/model/DetectLogoRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectLogoRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTLOGOREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTLOGOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectLogoRequest : public RpcServiceRequest - { - - public: - DetectLogoRequest(); - ~DetectLogoRequest(); - +/* + * 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_IMM_MODEL_DETECTLOGOREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTLOGOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectLogoRequest : public RpcServiceRequest + { + + public: + DetectLogoRequest(); + ~DetectLogoRequest(); + std::string getSrcUris()const; void setSrcUris(const std::string& srcUris); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string srcUris_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTLOGOREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectLogoResult.h b/imm/include/alibabacloud/imm/model/DetectLogoResult.h index c3758b91c..255ddc72c 100644 --- a/imm/include/alibabacloud/imm/model/DetectLogoResult.h +++ b/imm/include/alibabacloud/imm/model/DetectLogoResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTLOGORESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTLOGORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectLogoResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTLOGORESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTLOGORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectLogoResult : public ServiceResult + { + public: struct SuccessDetailsItem { struct LogoBoxDetailItem @@ -52,24 +52,24 @@ namespace AlibabaCloud std::string reason; std::string srcUri; }; - - - DetectLogoResult(); - explicit DetectLogoResult(const std::string &payload); - ~DetectLogoResult(); + + + DetectLogoResult(); + explicit DetectLogoResult(const std::string &payload); + ~DetectLogoResult(); std::vector getSuccessDetails()const; std::vector getSrcUris()const; std::vector getFailDetails()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector successDetails_; std::vector srcUris_; std::vector failDetails_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTLOGORESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectQRCodesRequest.h b/imm/include/alibabacloud/imm/model/DetectQRCodesRequest.h index c19483fd0..f5a690443 100644 --- a/imm/include/alibabacloud/imm/model/DetectQRCodesRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectQRCodesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTQRCODESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTQRCODESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectQRCodesRequest : public RpcServiceRequest - { - - public: - DetectQRCodesRequest(); - ~DetectQRCodesRequest(); - +/* + * 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_IMM_MODEL_DETECTQRCODESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTQRCODESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectQRCodesRequest : public RpcServiceRequest + { + + public: + DetectQRCodesRequest(); + ~DetectQRCodesRequest(); + std::string getSrcUris()const; void setSrcUris(const std::string& srcUris); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string srcUris_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTQRCODESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectQRCodesResult.h b/imm/include/alibabacloud/imm/model/DetectQRCodesResult.h index 77f0d6a29..737f3e56e 100644 --- a/imm/include/alibabacloud/imm/model/DetectQRCodesResult.h +++ b/imm/include/alibabacloud/imm/model/DetectQRCodesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTQRCODESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTQRCODESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectQRCodesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTQRCODESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTQRCODESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectQRCodesResult : public ServiceResult + { + public: struct SuccessDetailsItem { struct QRCodesItem @@ -55,22 +55,22 @@ namespace AlibabaCloud std::string errorMessage; std::string srcUri; }; - - - DetectQRCodesResult(); - explicit DetectQRCodesResult(const std::string &payload); - ~DetectQRCodesResult(); + + + DetectQRCodesResult(); + explicit DetectQRCodesResult(const std::string &payload); + ~DetectQRCodesResult(); std::vector getSuccessDetails()const; std::vector getFailDetails()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector successDetails_; std::vector failDetails_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTQRCODESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectTagRequest.h b/imm/include/alibabacloud/imm/model/DetectTagRequest.h index d27bed59c..d2423507e 100644 --- a/imm/include/alibabacloud/imm/model/DetectTagRequest.h +++ b/imm/include/alibabacloud/imm/model/DetectTagRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_DETECTTAGREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTTAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectTagRequest : public RpcServiceRequest - { - - public: - DetectTagRequest(); - ~DetectTagRequest(); - +/* + * 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_IMM_MODEL_DETECTTAGREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTTAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectTagRequest : public RpcServiceRequest + { + + public: + DetectTagRequest(); + ~DetectTagRequest(); + std::string getSrcUris()const; void setSrcUris(const std::string& srcUris); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string srcUris_; std::string regionId_; std::string modelId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTTAGREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/DetectTagResult.h b/imm/include/alibabacloud/imm/model/DetectTagResult.h index 67928d645..0196d3a46 100644 --- a/imm/include/alibabacloud/imm/model/DetectTagResult.h +++ b/imm/include/alibabacloud/imm/model/DetectTagResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_DETECTTAGRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_DETECTTAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT DetectTagResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_DETECTTAGRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_DETECTTAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT DetectTagResult : public ServiceResult + { + public: struct SuccessDetailsItem { struct TagsItem @@ -51,24 +51,24 @@ namespace AlibabaCloud std::string reason; std::string srcUri; }; - - - DetectTagResult(); - explicit DetectTagResult(const std::string &payload); - ~DetectTagResult(); + + + DetectTagResult(); + explicit DetectTagResult(const std::string &payload); + ~DetectTagResult(); std::vector getSuccessDetails()const; std::string getSuccessNum()const; std::vector getFailDetails()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector successDetails_; std::string successNum_; std::vector failDetails_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_DETECTTAGRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/FindImagesByTagNamesRequest.h b/imm/include/alibabacloud/imm/model/FindImagesByTagNamesRequest.h index a6f700f39..cae277566 100644 --- a/imm/include/alibabacloud/imm/model/FindImagesByTagNamesRequest.h +++ b/imm/include/alibabacloud/imm/model/FindImagesByTagNamesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_FINDIMAGESBYTAGNAMESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESBYTAGNAMESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT FindImagesByTagNamesRequest : public RpcServiceRequest - { - - public: - FindImagesByTagNamesRequest(); - ~FindImagesByTagNamesRequest(); - +/* + * 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_IMM_MODEL_FINDIMAGESBYTAGNAMESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESBYTAGNAMESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT FindImagesByTagNamesRequest : public RpcServiceRequest + { + + public: + FindImagesByTagNamesRequest(); + ~FindImagesByTagNamesRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getMarker()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setTagNames(const std::string& tagNames); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string marker_; int limit_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string setId_; std::string tagNames_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_FINDIMAGESBYTAGNAMESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/FindImagesByTagNamesResult.h b/imm/include/alibabacloud/imm/model/FindImagesByTagNamesResult.h index 6b3e67333..d3d7e990e 100644 --- a/imm/include/alibabacloud/imm/model/FindImagesByTagNamesResult.h +++ b/imm/include/alibabacloud/imm/model/FindImagesByTagNamesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_FINDIMAGESBYTAGNAMESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESBYTAGNAMESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT FindImagesByTagNamesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_FINDIMAGESBYTAGNAMESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESBYTAGNAMESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT FindImagesByTagNamesResult : public ServiceResult + { + public: struct Frames { struct FacesItem @@ -156,24 +156,24 @@ namespace AlibabaCloud int fileSize; std::string location; }; - - - FindImagesByTagNamesResult(); - explicit FindImagesByTagNamesResult(const std::string &payload); - ~FindImagesByTagNamesResult(); + + + FindImagesByTagNamesResult(); + explicit FindImagesByTagNamesResult(const std::string &payload); + ~FindImagesByTagNamesResult(); std::vector getImages()const; std::string getSetId()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector images_; std::string setId_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_FINDIMAGESBYTAGNAMESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/FindImagesRequest.h b/imm/include/alibabacloud/imm/model/FindImagesRequest.h index 065046d3f..8f81c3a52 100644 --- a/imm/include/alibabacloud/imm/model/FindImagesRequest.h +++ b/imm/include/alibabacloud/imm/model/FindImagesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_FINDIMAGESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT FindImagesRequest : public RpcServiceRequest - { - - public: - FindImagesRequest(); - ~FindImagesRequest(); - +/* + * 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_IMM_MODEL_FINDIMAGESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT FindImagesRequest : public RpcServiceRequest + { + + public: + FindImagesRequest(); + ~FindImagesRequest(); + std::string getGender()const; void setGender(const std::string& gender); std::string getProject()const; @@ -87,8 +87,8 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getModifyTimeRange()const; void setModifyTimeRange(const std::string& modifyTimeRange); - - private: + + private: std::string gender_; std::string project_; std::string externalId_; @@ -115,9 +115,9 @@ namespace AlibabaCloud std::string createTimeRange_; std::string setId_; std::string modifyTimeRange_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_FINDIMAGESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/FindImagesResult.h b/imm/include/alibabacloud/imm/model/FindImagesResult.h index a1f9ac85c..d68d10b79 100644 --- a/imm/include/alibabacloud/imm/model/FindImagesResult.h +++ b/imm/include/alibabacloud/imm/model/FindImagesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_FINDIMAGESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT FindImagesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_FINDIMAGESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_FINDIMAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT FindImagesResult : public ServiceResult + { + public: struct ImagesItem { struct FacesItem @@ -156,24 +156,24 @@ namespace AlibabaCloud int fileSize; std::string location; }; - - - FindImagesResult(); - explicit FindImagesResult(const std::string &payload); - ~FindImagesResult(); + + + FindImagesResult(); + explicit FindImagesResult(const std::string &payload); + ~FindImagesResult(); std::vector getImages()const; std::string getSetId()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector images_; std::string setId_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_FINDIMAGESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/FindSimilarFacesRequest.h b/imm/include/alibabacloud/imm/model/FindSimilarFacesRequest.h index b066063cd..ef24420a1 100644 --- a/imm/include/alibabacloud/imm/model/FindSimilarFacesRequest.h +++ b/imm/include/alibabacloud/imm/model/FindSimilarFacesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_FINDSIMILARFACESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT FindSimilarFacesRequest : public RpcServiceRequest - { - - public: - FindSimilarFacesRequest(); - ~FindSimilarFacesRequest(); - +/* + * 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_IMM_MODEL_FINDSIMILARFACESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT FindSimilarFacesRequest : public RpcServiceRequest + { + + public: + FindSimilarFacesRequest(); + ~FindSimilarFacesRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setFaceId(const std::string& faceId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; float minSimilarity_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string setId_; std::string faceId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/FindSimilarFacesResult.h b/imm/include/alibabacloud/imm/model/FindSimilarFacesResult.h index 511da7d1d..13a8afb09 100644 --- a/imm/include/alibabacloud/imm/model/FindSimilarFacesResult.h +++ b/imm/include/alibabacloud/imm/model/FindSimilarFacesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_FINDSIMILARFACESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT FindSimilarFacesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_FINDSIMILARFACESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT FindSimilarFacesResult : public ServiceResult + { + public: struct FacesItem { struct FaceAttributes @@ -50,20 +50,20 @@ namespace AlibabaCloud float similarity; std::string imageUri; }; - - - FindSimilarFacesResult(); - explicit FindSimilarFacesResult(const std::string &payload); - ~FindSimilarFacesResult(); + + + FindSimilarFacesResult(); + explicit FindSimilarFacesResult(const std::string &payload); + ~FindSimilarFacesResult(); std::vector getFaces()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector faces_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetDocIndexRequest.h b/imm/include/alibabacloud/imm/model/GetDocIndexRequest.h index 7a290974e..3c6f2b6b5 100644 --- a/imm/include/alibabacloud/imm/model/GetDocIndexRequest.h +++ b/imm/include/alibabacloud/imm/model/GetDocIndexRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETDOCINDEXREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetDocIndexRequest : public RpcServiceRequest - { - - public: - GetDocIndexRequest(); - ~GetDocIndexRequest(); - +/* + * 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_IMM_MODEL_GETDOCINDEXREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetDocIndexRequest : public RpcServiceRequest + { + + public: + GetDocIndexRequest(); + ~GetDocIndexRequest(); + std::string getSet()const; void setSet(const std::string& set); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setUniqueId(const std::string& uniqueId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string set_; std::string regionId_; std::string project_; std::string uniqueId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETDOCINDEXREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetDocIndexResult.h b/imm/include/alibabacloud/imm/model/GetDocIndexResult.h index 260beeeb0..0c13160bb 100644 --- a/imm/include/alibabacloud/imm/model/GetDocIndexResult.h +++ b/imm/include/alibabacloud/imm/model/GetDocIndexResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETDOCINDEXRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetDocIndexResult : public ServiceResult - { - public: - - - GetDocIndexResult(); - explicit GetDocIndexResult(const std::string &payload); - ~GetDocIndexResult(); +/* + * 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_IMM_MODEL_GETDOCINDEXRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetDocIndexResult : public ServiceResult + { + public: + + + GetDocIndexResult(); + explicit GetDocIndexResult(const std::string &payload); + ~GetDocIndexResult(); std::string getCustomKey4()const; std::string getUniqueId()const; std::string getCustomKey5()const; @@ -52,10 +52,10 @@ namespace AlibabaCloud std::string getName()const; std::string getLastModified()const; std::string getSrcUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string customKey4_; std::string uniqueId_; std::string customKey5_; @@ -71,9 +71,9 @@ namespace AlibabaCloud std::string name_; std::string lastModified_; std::string srcUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETDOCINDEXRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetDocIndexTaskRequest.h b/imm/include/alibabacloud/imm/model/GetDocIndexTaskRequest.h index cb9b6a2d9..c86fd3c53 100644 --- a/imm/include/alibabacloud/imm/model/GetDocIndexTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/GetDocIndexTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETDOCINDEXTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetDocIndexTaskRequest : public RpcServiceRequest - { - - public: - GetDocIndexTaskRequest(); - ~GetDocIndexTaskRequest(); - +/* + * 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_IMM_MODEL_GETDOCINDEXTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetDocIndexTaskRequest : public RpcServiceRequest + { + + public: + GetDocIndexTaskRequest(); + ~GetDocIndexTaskRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetDocIndexTaskResult.h b/imm/include/alibabacloud/imm/model/GetDocIndexTaskResult.h index 5afdd0a2a..5268fa754 100644 --- a/imm/include/alibabacloud/imm/model/GetDocIndexTaskResult.h +++ b/imm/include/alibabacloud/imm/model/GetDocIndexTaskResult.h @@ -1,63 +1,63 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetDocIndexTaskResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_GETDOCINDEXTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetDocIndexTaskResult : public ServiceResult + { + public: struct FailDetail { std::string code; }; - - - GetDocIndexTaskResult(); - explicit GetDocIndexTaskResult(const std::string &payload); - ~GetDocIndexTaskResult(); + + + GetDocIndexTaskResult(); + explicit GetDocIndexTaskResult(const std::string &payload); + ~GetDocIndexTaskResult(); std::string getStatus()const; FailDetail getFailDetail()const; std::string getTaskId()const; std::string getFinishTime()const; std::string getCreateTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; FailDetail failDetail_; std::string taskId_; std::string finishTime_; std::string createTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETDOCINDEXTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetFaceSearchGroupRequest.h b/imm/include/alibabacloud/imm/model/GetFaceSearchGroupRequest.h index e0fa55b93..d14e4442a 100644 --- a/imm/include/alibabacloud/imm/model/GetFaceSearchGroupRequest.h +++ b/imm/include/alibabacloud/imm/model/GetFaceSearchGroupRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetFaceSearchGroupRequest : public RpcServiceRequest - { - - public: - GetFaceSearchGroupRequest(); - ~GetFaceSearchGroupRequest(); - +/* + * 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_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetFaceSearchGroupRequest : public RpcServiceRequest + { + + public: + GetFaceSearchGroupRequest(); + ~GetFaceSearchGroupRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setGroupName(const std::string& groupName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string groupName_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetFaceSearchGroupResult.h b/imm/include/alibabacloud/imm/model/GetFaceSearchGroupResult.h index a4cb07929..50c751150 100644 --- a/imm/include/alibabacloud/imm/model/GetFaceSearchGroupResult.h +++ b/imm/include/alibabacloud/imm/model/GetFaceSearchGroupResult.h @@ -1,61 +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_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetFaceSearchGroupResult : public ServiceResult - { - public: - - - GetFaceSearchGroupResult(); - explicit GetFaceSearchGroupResult(const std::string &payload); - ~GetFaceSearchGroupResult(); +/* + * 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_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetFaceSearchGroupResult : public ServiceResult + { + public: + + + GetFaceSearchGroupResult(); + explicit GetFaceSearchGroupResult(const std::string &payload); + ~GetFaceSearchGroupResult(); std::string getGroupName()const; std::string getStatus()const; std::string getModifyTime()const; std::string getCreateTime()const; int getCount()const; std::string getGroupId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; std::string status_; std::string modifyTime_; std::string createTime_; int count_; std::string groupId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHGROUPRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetFaceSearchImageRequest.h b/imm/include/alibabacloud/imm/model/GetFaceSearchImageRequest.h index d2a116c8a..7dde4ed89 100644 --- a/imm/include/alibabacloud/imm/model/GetFaceSearchImageRequest.h +++ b/imm/include/alibabacloud/imm/model/GetFaceSearchImageRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetFaceSearchImageRequest : public RpcServiceRequest - { - - public: - GetFaceSearchImageRequest(); - ~GetFaceSearchImageRequest(); - +/* + * 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_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetFaceSearchImageRequest : public RpcServiceRequest + { + + public: + GetFaceSearchImageRequest(); + ~GetFaceSearchImageRequest(); + std::string getImageId()const; void setImageId(const std::string& imageId); std::string getRegionId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setUser(const std::string& user); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageId_; std::string regionId_; std::string project_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string groupName_; std::string user_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetFaceSearchImageResult.h b/imm/include/alibabacloud/imm/model/GetFaceSearchImageResult.h index db8c62530..f45971aa8 100644 --- a/imm/include/alibabacloud/imm/model/GetFaceSearchImageResult.h +++ b/imm/include/alibabacloud/imm/model/GetFaceSearchImageResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetFaceSearchImageResult : public ServiceResult - { - public: - - - GetFaceSearchImageResult(); - explicit GetFaceSearchImageResult(const std::string &payload); - ~GetFaceSearchImageResult(); +/* + * 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_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetFaceSearchImageResult : public ServiceResult + { + public: + + + GetFaceSearchImageResult(); + explicit GetFaceSearchImageResult(const std::string &payload); + ~GetFaceSearchImageResult(); std::string getGroupName()const; std::string getFaceId()const; std::string getUser()const; @@ -53,10 +53,10 @@ namespace AlibabaCloud std::vector getAxis()const; int getAge()const; std::string getImageMd5()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; std::string faceId_; std::string user_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::vector axis_; int age_; std::string imageMd5_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHIMAGERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetFaceSearchUserRequest.h b/imm/include/alibabacloud/imm/model/GetFaceSearchUserRequest.h index f2285fc9f..1ede602ef 100644 --- a/imm/include/alibabacloud/imm/model/GetFaceSearchUserRequest.h +++ b/imm/include/alibabacloud/imm/model/GetFaceSearchUserRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETFACESEARCHUSERREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetFaceSearchUserRequest : public RpcServiceRequest - { - - public: - GetFaceSearchUserRequest(); - ~GetFaceSearchUserRequest(); - +/* + * 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_IMM_MODEL_GETFACESEARCHUSERREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetFaceSearchUserRequest : public RpcServiceRequest + { + + public: + GetFaceSearchUserRequest(); + ~GetFaceSearchUserRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setUser(const std::string& user); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string groupName_; std::string user_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetFaceSearchUserResult.h b/imm/include/alibabacloud/imm/model/GetFaceSearchUserResult.h index bd56e442c..c5e52425f 100644 --- a/imm/include/alibabacloud/imm/model/GetFaceSearchUserResult.h +++ b/imm/include/alibabacloud/imm/model/GetFaceSearchUserResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETFACESEARCHUSERRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetFaceSearchUserResult : public ServiceResult - { - public: - - - GetFaceSearchUserResult(); - explicit GetFaceSearchUserResult(const std::string &payload); - ~GetFaceSearchUserResult(); +/* + * 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_IMM_MODEL_GETFACESEARCHUSERRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetFaceSearchUserResult : public ServiceResult + { + public: + + + GetFaceSearchUserResult(); + explicit GetFaceSearchUserResult(const std::string &payload); + ~GetFaceSearchUserResult(); std::string getGroupName()const; std::string getStatus()const; std::string getModifyTime()const; @@ -44,10 +44,10 @@ namespace AlibabaCloud std::string getCreateTime()const; int getCount()const; std::string getGroupId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; std::string status_; std::string modifyTime_; @@ -55,9 +55,9 @@ namespace AlibabaCloud std::string createTime_; int count_; std::string groupId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETFACESEARCHUSERRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetImageJobRequest.h b/imm/include/alibabacloud/imm/model/GetImageJobRequest.h index 258426cbb..76f753d80 100644 --- a/imm/include/alibabacloud/imm/model/GetImageJobRequest.h +++ b/imm/include/alibabacloud/imm/model/GetImageJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETIMAGEJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETIMAGEJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetImageJobRequest : public RpcServiceRequest - { - - public: - GetImageJobRequest(); - ~GetImageJobRequest(); - +/* + * 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_IMM_MODEL_GETIMAGEJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETIMAGEJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetImageJobRequest : public RpcServiceRequest + { + + public: + GetImageJobRequest(); + ~GetImageJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setJobType(const std::string& jobType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string jobType_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETIMAGEJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetImageJobResult.h b/imm/include/alibabacloud/imm/model/GetImageJobResult.h index 8b2daefce..f541fea67 100644 --- a/imm/include/alibabacloud/imm/model/GetImageJobResult.h +++ b/imm/include/alibabacloud/imm/model/GetImageJobResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETIMAGEJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETIMAGEJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetImageJobResult : public ServiceResult - { - public: - - - GetImageJobResult(); - explicit GetImageJobResult(const std::string &payload); - ~GetImageJobResult(); +/* + * 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_IMM_MODEL_GETIMAGEJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETIMAGEJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetImageJobResult : public ServiceResult + { + public: + + + GetImageJobResult(); + explicit GetImageJobResult(const std::string &payload); + ~GetImageJobResult(); std::string getStatus()const; std::string getNotifyEndpoint()const; int getProgress()const; @@ -48,10 +48,10 @@ namespace AlibabaCloud std::string getErrorMessage()const; std::string getJobId()const; std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string notifyEndpoint_; int progress_; @@ -63,9 +63,9 @@ namespace AlibabaCloud std::string errorMessage_; std::string jobId_; std::string result_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETIMAGEJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetImageRequest.h b/imm/include/alibabacloud/imm/model/GetImageRequest.h index 77af069db..6629bf38a 100644 --- a/imm/include/alibabacloud/imm/model/GetImageRequest.h +++ b/imm/include/alibabacloud/imm/model/GetImageRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETIMAGEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetImageRequest : public RpcServiceRequest - { - - public: - GetImageRequest(); - ~GetImageRequest(); - +/* + * 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_IMM_MODEL_GETIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETIMAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetImageRequest : public RpcServiceRequest + { + + public: + GetImageRequest(); + ~GetImageRequest(); + std::string getImageUri()const; void setImageUri(const std::string& imageUri); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string imageUri_; std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETIMAGEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetImageResult.h b/imm/include/alibabacloud/imm/model/GetImageResult.h index b208fc2d7..1f934f029 100644 --- a/imm/include/alibabacloud/imm/model/GetImageResult.h +++ b/imm/include/alibabacloud/imm/model/GetImageResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_GETIMAGERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETIMAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetImageResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_GETIMAGERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETIMAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetImageResult : public ServiceResult + { + public: struct FacesItem { struct FaceAttributes @@ -117,11 +117,11 @@ namespace AlibabaCloud std::string celebrityLibraryName; float celebrityConfidence; }; - - - GetImageResult(); - explicit GetImageResult(const std::string &payload); - ~GetImageResult(); + + + GetImageResult(); + explicit GetImageResult(const std::string &payload); + ~GetImageResult(); std::string getModifyTime()const; std::string getSourceType()const; std::string getSourceUri()const; @@ -158,10 +158,10 @@ namespace AlibabaCloud std::vector getOCR()const; int getFileSize()const; std::string getLocation()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; std::string sourceType_; std::string sourceUri_; @@ -198,9 +198,9 @@ namespace AlibabaCloud std::vector oCR_; int fileSize_; std::string location_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETIMAGERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h b/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h index 9558cc2b2..51ca1d4df 100644 --- a/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETOFFICECONVERSIONTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETOFFICECONVERSIONTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetOfficeConversionTaskRequest : public RpcServiceRequest - { - - public: - GetOfficeConversionTaskRequest(); - ~GetOfficeConversionTaskRequest(); - +/* + * 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_IMM_MODEL_GETOFFICECONVERSIONTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETOFFICECONVERSIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetOfficeConversionTaskRequest : public RpcServiceRequest + { + + public: + GetOfficeConversionTaskRequest(); + ~GetOfficeConversionTaskRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETOFFICECONVERSIONTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h b/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h index 36f913c1c..c4706af81 100644 --- a/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h +++ b/imm/include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h @@ -1,46 +1,46 @@ -/* - * 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_IMM_MODEL_GETOFFICECONVERSIONTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETOFFICECONVERSIONTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetOfficeConversionTaskResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_GETOFFICECONVERSIONTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETOFFICECONVERSIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetOfficeConversionTaskResult : public ServiceResult + { + public: struct FailDetail { std::string code; }; - - - GetOfficeConversionTaskResult(); - explicit GetOfficeConversionTaskResult(const std::string &payload); - ~GetOfficeConversionTaskResult(); + + + GetOfficeConversionTaskResult(); + explicit GetOfficeConversionTaskResult(const std::string &payload); + ~GetOfficeConversionTaskResult(); std::string getStatus()const; FailDetail getFailDetail()const; std::string getTgtType()const; @@ -55,10 +55,10 @@ namespace AlibabaCloud std::string getFinishTime()const; std::string getNotifyTopicName()const; std::string getSrcUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; FailDetail failDetail_; std::string tgtType_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string finishTime_; std::string notifyTopicName_; std::string srcUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETOFFICECONVERSIONTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskRequest.h b/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskRequest.h index bc195d182..537a18fff 100644 --- a/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetPhotoProcessTaskRequest : public RpcServiceRequest - { - - public: - GetPhotoProcessTaskRequest(); - ~GetPhotoProcessTaskRequest(); - +/* + * 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_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetPhotoProcessTaskRequest : public RpcServiceRequest + { + + public: + GetPhotoProcessTaskRequest(); + ~GetPhotoProcessTaskRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskResult.h b/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskResult.h index b62c69f39..6b191e620 100644 --- a/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskResult.h +++ b/imm/include/alibabacloud/imm/model/GetPhotoProcessTaskResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetPhotoProcessTaskResult : public ServiceResult - { - public: - - - GetPhotoProcessTaskResult(); - explicit GetPhotoProcessTaskResult(const std::string &payload); - ~GetPhotoProcessTaskResult(); +/* + * 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_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetPhotoProcessTaskResult : public ServiceResult + { + public: + + + GetPhotoProcessTaskResult(); + explicit GetPhotoProcessTaskResult(const std::string &payload); + ~GetPhotoProcessTaskResult(); std::string getStatus()const; std::string getNotifyEndpoint()const; std::string getTaskId()const; @@ -48,10 +48,10 @@ namespace AlibabaCloud std::string getStyle()const; std::string getNotifyTopicName()const; std::string getSrcUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string notifyEndpoint_; std::string taskId_; @@ -63,9 +63,9 @@ namespace AlibabaCloud std::string style_; std::string notifyTopicName_; std::string srcUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETPHOTOPROCESSTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobRequest.h b/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobRequest.h index d79e5bed9..98448d79e 100644 --- a/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobRequest.h +++ b/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetPornBatchDetectJobRequest : public RpcServiceRequest - { - - public: - GetPornBatchDetectJobRequest(); - ~GetPornBatchDetectJobRequest(); - +/* + * 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_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetPornBatchDetectJobRequest : public RpcServiceRequest + { + + public: + GetPornBatchDetectJobRequest(); + ~GetPornBatchDetectJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobResult.h b/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobResult.h index 2d04d788f..cdadb49f5 100644 --- a/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobResult.h +++ b/imm/include/alibabacloud/imm/model/GetPornBatchDetectJobResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetPornBatchDetectJobResult : public ServiceResult - { - public: - - - GetPornBatchDetectJobResult(); - explicit GetPornBatchDetectJobResult(const std::string &payload); - ~GetPornBatchDetectJobResult(); +/* + * 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_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetPornBatchDetectJobResult : public ServiceResult + { + public: + + + GetPornBatchDetectJobResult(); + explicit GetPornBatchDetectJobResult(const std::string &payload); + ~GetPornBatchDetectJobResult(); std::string getStatus()const; std::string getNotifyEndpoint()const; std::string getTgtUri()const; @@ -47,10 +47,10 @@ namespace AlibabaCloud std::string getNotifyTopicName()const; std::string getJobId()const; std::string getSrcUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string notifyEndpoint_; std::string tgtUri_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string notifyTopicName_; std::string jobId_; std::string srcUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETPORNBATCHDETECTJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetProjectRequest.h b/imm/include/alibabacloud/imm/model/GetProjectRequest.h index da79c5ef4..4abdbd4ec 100644 --- a/imm/include/alibabacloud/imm/model/GetProjectRequest.h +++ b/imm/include/alibabacloud/imm/model/GetProjectRequest.h @@ -1,54 +1,54 @@ -/* - * 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_IMM_MODEL_GETPROJECTREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetProjectRequest : public RpcServiceRequest - { - - public: - GetProjectRequest(); - ~GetProjectRequest(); - +/* + * 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_IMM_MODEL_GETPROJECTREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetProjectRequest : public RpcServiceRequest + { + + public: + GetProjectRequest(); + ~GetProjectRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETPROJECTREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetProjectResult.h b/imm/include/alibabacloud/imm/model/GetProjectResult.h index 6dc4e7145..9b92b9c72 100644 --- a/imm/include/alibabacloud/imm/model/GetProjectResult.h +++ b/imm/include/alibabacloud/imm/model/GetProjectResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETPROJECTRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETPROJECTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetProjectResult : public ServiceResult - { - public: - - - GetProjectResult(); - explicit GetProjectResult(const std::string &payload); - ~GetProjectResult(); +/* + * 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_IMM_MODEL_GETPROJECTRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetProjectResult : public ServiceResult + { + public: + + + GetProjectResult(); + explicit GetProjectResult(const std::string &payload); + ~GetProjectResult(); std::string getProject()const; std::string getModifyTime()const; std::string getType()const; @@ -45,10 +45,10 @@ namespace AlibabaCloud std::string getEndpoint()const; std::string getCreateTime()const; std::string getBillingType()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string project_; std::string modifyTime_; std::string type_; @@ -57,9 +57,9 @@ namespace AlibabaCloud std::string endpoint_; std::string createTime_; std::string billingType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETPROJECTRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetSetRequest.h b/imm/include/alibabacloud/imm/model/GetSetRequest.h index a9e15f249..ce161e01b 100644 --- a/imm/include/alibabacloud/imm/model/GetSetRequest.h +++ b/imm/include/alibabacloud/imm/model/GetSetRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETSETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETSETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetSetRequest : public RpcServiceRequest - { - - public: - GetSetRequest(); - ~GetSetRequest(); - +/* + * 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_IMM_MODEL_GETSETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETSETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetSetRequest : public RpcServiceRequest + { + + public: + GetSetRequest(); + ~GetSetRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETSETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetSetResult.h b/imm/include/alibabacloud/imm/model/GetSetResult.h index 5fc18864d..75e73bf8e 100644 --- a/imm/include/alibabacloud/imm/model/GetSetResult.h +++ b/imm/include/alibabacloud/imm/model/GetSetResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETSETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETSETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetSetResult : public ServiceResult - { - public: - - - GetSetResult(); - explicit GetSetResult(const std::string &payload); - ~GetSetResult(); +/* + * 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_IMM_MODEL_GETSETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETSETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetSetResult : public ServiceResult + { + public: + + + GetSetResult(); + explicit GetSetResult(const std::string &payload); + ~GetSetResult(); long getModifyTime()const; int getImageCount()const; int getVideoCount()const; @@ -45,10 +45,10 @@ namespace AlibabaCloud std::string getSetId()const; int getFaceCount()const; int getVideoLength()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: long modifyTime_; int imageCount_; int videoCount_; @@ -57,9 +57,9 @@ namespace AlibabaCloud std::string setId_; int faceCount_; int videoLength_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETSETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetTagJobRequest.h b/imm/include/alibabacloud/imm/model/GetTagJobRequest.h index cc24f8f4f..177715e43 100644 --- a/imm/include/alibabacloud/imm/model/GetTagJobRequest.h +++ b/imm/include/alibabacloud/imm/model/GetTagJobRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETTAGJOBREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetTagJobRequest : public RpcServiceRequest - { - - public: - GetTagJobRequest(); - ~GetTagJobRequest(); - +/* + * 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_IMM_MODEL_GETTAGJOBREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetTagJobRequest : public RpcServiceRequest + { + + public: + GetTagJobRequest(); + ~GetTagJobRequest(); + std::string getJobId()const; void setJobId(const std::string& jobId); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string jobId_; std::string regionId_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETTAGJOBREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetTagJobResult.h b/imm/include/alibabacloud/imm/model/GetTagJobResult.h index 56b5ddde4..ed4b4e1df 100644 --- a/imm/include/alibabacloud/imm/model/GetTagJobResult.h +++ b/imm/include/alibabacloud/imm/model/GetTagJobResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETTAGJOBRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetTagJobResult : public ServiceResult - { - public: - - - GetTagJobResult(); - explicit GetTagJobResult(const std::string &payload); - ~GetTagJobResult(); +/* + * 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_IMM_MODEL_GETTAGJOBRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETTAGJOBRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetTagJobResult : public ServiceResult + { + public: + + + GetTagJobResult(); + explicit GetTagJobResult(const std::string &payload); + ~GetTagJobResult(); std::string getStatus()const; std::string getFinishTime()const; int getPercent()const; @@ -44,10 +44,10 @@ namespace AlibabaCloud std::string getSetId()const; std::string getJobId()const; std::string getSrcUri()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string finishTime_; int percent_; @@ -55,9 +55,9 @@ namespace AlibabaCloud std::string setId_; std::string jobId_; std::string srcUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETTAGJOBRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetTagSetRequest.h b/imm/include/alibabacloud/imm/model/GetTagSetRequest.h index 4eab9b640..003c743a8 100644 --- a/imm/include/alibabacloud/imm/model/GetTagSetRequest.h +++ b/imm/include/alibabacloud/imm/model/GetTagSetRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETTAGSETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETTAGSETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetTagSetRequest : public RpcServiceRequest - { - - public: - GetTagSetRequest(); - ~GetTagSetRequest(); - +/* + * 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_IMM_MODEL_GETTAGSETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETTAGSETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetTagSetRequest : public RpcServiceRequest + { + + public: + GetTagSetRequest(); + ~GetTagSetRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETTAGSETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetTagSetResult.h b/imm/include/alibabacloud/imm/model/GetTagSetResult.h index 610f368a3..bc6f710b5 100644 --- a/imm/include/alibabacloud/imm/model/GetTagSetResult.h +++ b/imm/include/alibabacloud/imm/model/GetTagSetResult.h @@ -1,59 +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_IMM_MODEL_GETTAGSETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETTAGSETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetTagSetResult : public ServiceResult - { - public: - - - GetTagSetResult(); - explicit GetTagSetResult(const std::string &payload); - ~GetTagSetResult(); +/* + * 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_IMM_MODEL_GETTAGSETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETTAGSETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetTagSetResult : public ServiceResult + { + public: + + + GetTagSetResult(); + explicit GetTagSetResult(const std::string &payload); + ~GetTagSetResult(); std::string getStatus()const; long getPhotos()const; std::string getModifyTime()const; std::string getCreateTime()const; std::string getSetId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; long photos_; std::string modifyTime_; std::string createTime_; std::string setId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETTAGSETRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetVideoRequest.h b/imm/include/alibabacloud/imm/model/GetVideoRequest.h index 8fdc32844..d5756745e 100644 --- a/imm/include/alibabacloud/imm/model/GetVideoRequest.h +++ b/imm/include/alibabacloud/imm/model/GetVideoRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETVIDEOREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetVideoRequest : public RpcServiceRequest - { - - public: - GetVideoRequest(); - ~GetVideoRequest(); - +/* + * 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_IMM_MODEL_GETVIDEOREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETVIDEOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetVideoRequest : public RpcServiceRequest + { + + public: + GetVideoRequest(); + ~GetVideoRequest(); + std::string getVideoUri()const; void setVideoUri(const std::string& videoUri); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string videoUri_; std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETVIDEOREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetVideoResult.h b/imm/include/alibabacloud/imm/model/GetVideoResult.h index 737e3111e..11aecc529 100644 --- a/imm/include/alibabacloud/imm/model/GetVideoResult.h +++ b/imm/include/alibabacloud/imm/model/GetVideoResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_GETVIDEORESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETVIDEORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetVideoResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_GETVIDEORESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETVIDEORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetVideoResult : public ServiceResult + { + public: struct CelebrityItem { std::string celebrityName; @@ -52,11 +52,11 @@ namespace AlibabaCloud int age; float ageConfidence; }; - - - GetVideoResult(); - explicit GetVideoResult(const std::string &payload); - ~GetVideoResult(); + + + GetVideoResult(); + explicit GetVideoResult(const std::string &payload); + ~GetVideoResult(); std::string getModifyTime()const; std::string getProcessStatus()const; int getVideoWidth()const; @@ -87,10 +87,10 @@ namespace AlibabaCloud std::string getCelebrityStatus()const; std::string getVideoTagsStatus()const; int getFileSize()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; std::string processStatus_; int videoWidth_; @@ -121,9 +121,9 @@ namespace AlibabaCloud std::string celebrityStatus_; std::string videoTagsStatus_; int fileSize_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETVIDEORESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetVideoTaskRequest.h b/imm/include/alibabacloud/imm/model/GetVideoTaskRequest.h index b610028ce..5a3e215fc 100644 --- a/imm/include/alibabacloud/imm/model/GetVideoTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/GetVideoTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_GETVIDEOTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_GETVIDEOTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetVideoTaskRequest : public RpcServiceRequest - { - - public: - GetVideoTaskRequest(); - ~GetVideoTaskRequest(); - +/* + * 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_IMM_MODEL_GETVIDEOTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_GETVIDEOTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetVideoTaskRequest : public RpcServiceRequest + { + + public: + GetVideoTaskRequest(); + ~GetVideoTaskRequest(); + std::string getTaskType()const; void setTaskType(const std::string& taskType); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setTaskId(const std::string& taskId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string taskType_; std::string regionId_; std::string project_; std::string taskId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETVIDEOTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/GetVideoTaskResult.h b/imm/include/alibabacloud/imm/model/GetVideoTaskResult.h index 0b26ea4ca..5ffdb5381 100644 --- a/imm/include/alibabacloud/imm/model/GetVideoTaskResult.h +++ b/imm/include/alibabacloud/imm/model/GetVideoTaskResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_GETVIDEOTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_GETVIDEOTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT GetVideoTaskResult : public ServiceResult - { - public: - - - GetVideoTaskResult(); - explicit GetVideoTaskResult(const std::string &payload); - ~GetVideoTaskResult(); +/* + * 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_IMM_MODEL_GETVIDEOTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_GETVIDEOTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT GetVideoTaskResult : public ServiceResult + { + public: + + + GetVideoTaskResult(); + explicit GetVideoTaskResult(const std::string &payload); + ~GetVideoTaskResult(); std::string getStatus()const; std::string getNotifyEndpoint()const; int getProgress()const; @@ -48,10 +48,10 @@ namespace AlibabaCloud std::string getNotifyTopicName()const; std::string getErrorMessage()const; std::string getResult()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string notifyEndpoint_; int progress_; @@ -63,9 +63,9 @@ namespace AlibabaCloud std::string notifyTopicName_; std::string errorMessage_; std::string result_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_GETVIDEOTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/IndexImageRequest.h b/imm/include/alibabacloud/imm/model/IndexImageRequest.h index 5e31bac4b..b18ca94eb 100644 --- a/imm/include/alibabacloud/imm/model/IndexImageRequest.h +++ b/imm/include/alibabacloud/imm/model/IndexImageRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_INDEXIMAGEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_INDEXIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT IndexImageRequest : public RpcServiceRequest - { - - public: - IndexImageRequest(); - ~IndexImageRequest(); - +/* + * 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_IMM_MODEL_INDEXIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_INDEXIMAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT IndexImageRequest : public RpcServiceRequest + { + + public: + IndexImageRequest(); + ~IndexImageRequest(); + std::string getRemarksB()const; void setRemarksB(const std::string& remarksB); std::string getProject()const; @@ -63,8 +63,8 @@ namespace AlibabaCloud void setSourceType(const std::string& sourceType); std::string getRealUid()const; void setRealUid(const std::string& realUid); - - private: + + private: std::string remarksB_; std::string project_; std::string remarksA_; @@ -79,9 +79,9 @@ namespace AlibabaCloud std::string setId_; std::string sourceType_; std::string realUid_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_INDEXIMAGEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/IndexImageResult.h b/imm/include/alibabacloud/imm/model/IndexImageResult.h index 71893be79..658a53c60 100644 --- a/imm/include/alibabacloud/imm/model/IndexImageResult.h +++ b/imm/include/alibabacloud/imm/model/IndexImageResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_INDEXIMAGERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_INDEXIMAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT IndexImageResult : public ServiceResult - { - public: - - - IndexImageResult(); - explicit IndexImageResult(const std::string &payload); - ~IndexImageResult(); +/* + * 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_IMM_MODEL_INDEXIMAGERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_INDEXIMAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT IndexImageResult : public ServiceResult + { + public: + + + IndexImageResult(); + explicit IndexImageResult(const std::string &payload); + ~IndexImageResult(); std::string getModifyTime()const; std::string getRemarksC()const; std::string getRemarksD()const; @@ -46,10 +46,10 @@ namespace AlibabaCloud std::string getImageUri()const; std::string getRemarksA()const; std::string getRemarksB()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; std::string remarksC_; std::string remarksD_; @@ -59,9 +59,9 @@ namespace AlibabaCloud std::string imageUri_; std::string remarksA_; std::string remarksB_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_INDEXIMAGERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/IndexTagRequest.h b/imm/include/alibabacloud/imm/model/IndexTagRequest.h index efd8398b4..06a5b33a0 100644 --- a/imm/include/alibabacloud/imm/model/IndexTagRequest.h +++ b/imm/include/alibabacloud/imm/model/IndexTagRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_INDEXTAGREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_INDEXTAGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT IndexTagRequest : public RpcServiceRequest - { - - public: - IndexTagRequest(); - ~IndexTagRequest(); - +/* + * 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_IMM_MODEL_INDEXTAGREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_INDEXTAGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT IndexTagRequest : public RpcServiceRequest + { + + public: + IndexTagRequest(); + ~IndexTagRequest(); + std::string getSrcUris()const; void setSrcUris(const std::string& srcUris); std::string getRegionId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setForce(const std::string& force); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string srcUris_; std::string regionId_; std::string modelId_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string setId_; std::string force_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_INDEXTAGREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/IndexTagResult.h b/imm/include/alibabacloud/imm/model/IndexTagResult.h index 5a96d6ea5..c4e6da13b 100644 --- a/imm/include/alibabacloud/imm/model/IndexTagResult.h +++ b/imm/include/alibabacloud/imm/model/IndexTagResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_INDEXTAGRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_INDEXTAGRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT IndexTagResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_INDEXTAGRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_INDEXTAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT IndexTagResult : public ServiceResult + { + public: struct FailDetailsItem { std::string reason; @@ -51,26 +51,26 @@ namespace AlibabaCloud std::vector tags; std::string srcUri; }; - - - IndexTagResult(); - explicit IndexTagResult(const std::string &payload); - ~IndexTagResult(); + + + IndexTagResult(); + explicit IndexTagResult(const std::string &payload); + ~IndexTagResult(); std::vector getSuccessDetails()const; std::string getSuccessIndexNum()const; std::vector getFailDetails()const; std::string getSetId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector successDetails_; std::string successIndexNum_; std::vector failDetails_; std::string setId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_INDEXTAGRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/IndexVideoRequest.h b/imm/include/alibabacloud/imm/model/IndexVideoRequest.h index 4b3259f06..565901afa 100644 --- a/imm/include/alibabacloud/imm/model/IndexVideoRequest.h +++ b/imm/include/alibabacloud/imm/model/IndexVideoRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_INDEXVIDEOREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_INDEXVIDEOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT IndexVideoRequest : public RpcServiceRequest - { - - public: - IndexVideoRequest(); - ~IndexVideoRequest(); - +/* + * 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_IMM_MODEL_INDEXVIDEOREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_INDEXVIDEOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT IndexVideoRequest : public RpcServiceRequest + { + + public: + IndexVideoRequest(); + ~IndexVideoRequest(); + std::string getGrabType()const; void setGrabType(const std::string& grabType); std::string getRemarksB()const; @@ -67,8 +67,8 @@ namespace AlibabaCloud void setInterval(const std::string& interval); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string grabType_; std::string remarksB_; std::string project_; @@ -85,9 +85,9 @@ namespace AlibabaCloud std::string setId_; std::string interval_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_INDEXVIDEOREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/IndexVideoResult.h b/imm/include/alibabacloud/imm/model/IndexVideoResult.h index 2cbaaf6c5..30f967990 100644 --- a/imm/include/alibabacloud/imm/model/IndexVideoResult.h +++ b/imm/include/alibabacloud/imm/model/IndexVideoResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_INDEXVIDEORESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_INDEXVIDEORESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT IndexVideoResult : public ServiceResult - { - public: - - - IndexVideoResult(); - explicit IndexVideoResult(const std::string &payload); - ~IndexVideoResult(); +/* + * 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_IMM_MODEL_INDEXVIDEORESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_INDEXVIDEORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT IndexVideoResult : public ServiceResult + { + public: + + + IndexVideoResult(); + explicit IndexVideoResult(const std::string &payload); + ~IndexVideoResult(); std::string getModifyTime()const; std::string getEndTime()const; bool getSaveType()const; @@ -52,10 +52,10 @@ namespace AlibabaCloud std::string getRemarksD()const; std::string getSetId()const; float getInterval()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; std::string endTime_; bool saveType_; @@ -71,9 +71,9 @@ namespace AlibabaCloud std::string remarksD_; std::string setId_; float interval_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_INDEXVIDEORESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceGroupsRequest.h b/imm/include/alibabacloud/imm/model/ListFaceGroupsRequest.h index 6b576fff1..8d2b4bc19 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceGroupsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListFaceGroupsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTFACEGROUPSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACEGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceGroupsRequest : public RpcServiceRequest - { - - public: - ListFaceGroupsRequest(); - ~ListFaceGroupsRequest(); - +/* + * 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_IMM_MODEL_LISTFACEGROUPSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACEGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceGroupsRequest : public RpcServiceRequest + { + + public: + ListFaceGroupsRequest(); + ~ListFaceGroupsRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getMarker()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getOrder()const; void setOrder(const std::string& order); - - private: + + private: std::string regionId_; std::string marker_; int limit_; @@ -61,9 +61,9 @@ namespace AlibabaCloud std::string orderBy_; std::string accessKeyId_; std::string order_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceGroupsResult.h b/imm/include/alibabacloud/imm/model/ListFaceGroupsResult.h index 2d47202c4..c2eac4ac8 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceGroupsResult.h +++ b/imm/include/alibabacloud/imm/model/ListFaceGroupsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTFACEGROUPSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACEGROUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceGroupsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTFACEGROUPSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceGroupsResult : public ServiceResult + { + public: struct FaceGroupsItem { struct GroupCoverFace @@ -54,22 +54,22 @@ namespace AlibabaCloud int faceCount; std::string groupId; }; - - - ListFaceGroupsResult(); - explicit ListFaceGroupsResult(const std::string &payload); - ~ListFaceGroupsResult(); + + + ListFaceGroupsResult(); + explicit ListFaceGroupsResult(const std::string &payload); + ~ListFaceGroupsResult(); std::string getNextMarker()const; std::vector getFaceGroups()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string nextMarker_; std::vector faceGroups_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACEGROUPSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesRequest.h b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesRequest.h index 7ca0c1c1c..07460f7f3 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesRequest.h +++ b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupImagesRequest : public RpcServiceRequest - { - - public: - ListFaceSearchGroupImagesRequest(); - ~ListFaceSearchGroupImagesRequest(); - +/* + * 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_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupImagesRequest : public RpcServiceRequest + { + + public: + ListFaceSearchGroupImagesRequest(); + ~ListFaceSearchGroupImagesRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setUser(const std::string& user); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string groupName_; std::string user_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesResult.h b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesResult.h index c531a8852..80c29f31d 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesResult.h +++ b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupImagesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupImagesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupImagesResult : public ServiceResult + { + public: struct ImagesItem { std::string faceId; @@ -49,26 +49,26 @@ namespace AlibabaCloud int age; std::vector axis; }; - - - ListFaceSearchGroupImagesResult(); - explicit ListFaceSearchGroupImagesResult(const std::string &payload); - ~ListFaceSearchGroupImagesResult(); + + + ListFaceSearchGroupImagesResult(); + explicit ListFaceSearchGroupImagesResult(const std::string &payload); + ~ListFaceSearchGroupImagesResult(); std::string getGroupName()const; std::vector getImages()const; std::string getNextMarker()const; std::string getGroupId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; std::vector images_; std::string nextMarker_; std::string groupId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPIMAGESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersRequest.h b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersRequest.h index e53026c49..539176865 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersRequest.h +++ b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupUsersRequest : public RpcServiceRequest - { - - public: - ListFaceSearchGroupUsersRequest(); - ~ListFaceSearchGroupUsersRequest(); - +/* + * 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_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupUsersRequest : public RpcServiceRequest + { + + public: + ListFaceSearchGroupUsersRequest(); + ~ListFaceSearchGroupUsersRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setGroupName(const std::string& groupName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string groupName_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersResult.h b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersResult.h index 9ff2982ec..427fcae4d 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersResult.h +++ b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupUsersResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupUsersResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupUsersResult : public ServiceResult + { + public: struct UsersItem { std::string status; @@ -40,26 +40,26 @@ namespace AlibabaCloud std::string createTime; std::string count; }; - - - ListFaceSearchGroupUsersResult(); - explicit ListFaceSearchGroupUsersResult(const std::string &payload); - ~ListFaceSearchGroupUsersResult(); + + + ListFaceSearchGroupUsersResult(); + explicit ListFaceSearchGroupUsersResult(const std::string &payload); + ~ListFaceSearchGroupUsersResult(); std::string getGroupName()const; std::vector getUsers()const; std::string getNextMarker()const; std::string getGroupId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; std::vector users_; std::string nextMarker_; std::string groupId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPUSERSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsRequest.h b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsRequest.h index dcc47631a..23b746e98 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupsRequest : public RpcServiceRequest - { - - public: - ListFaceSearchGroupsRequest(); - ~ListFaceSearchGroupsRequest(); - +/* + * 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_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupsRequest : public RpcServiceRequest + { + + public: + ListFaceSearchGroupsRequest(); + ~ListFaceSearchGroupsRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsResult.h b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsResult.h index 6c70511a0..ec75405cc 100644 --- a/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsResult.h +++ b/imm/include/alibabacloud/imm/model/ListFaceSearchGroupsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListFaceSearchGroupsResult : public ServiceResult + { + public: struct GroupsItem { std::string groupName; @@ -41,22 +41,22 @@ namespace AlibabaCloud std::string count; std::string groupId; }; - - - ListFaceSearchGroupsResult(); - explicit ListFaceSearchGroupsResult(const std::string &payload); - ~ListFaceSearchGroupsResult(); + + + ListFaceSearchGroupsResult(); + explicit ListFaceSearchGroupsResult(const std::string &payload); + ~ListFaceSearchGroupsResult(); std::vector getGroups()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector groups_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTFACESEARCHGROUPSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListImageJobsRequest.h b/imm/include/alibabacloud/imm/model/ListImageJobsRequest.h index 5462a0b4f..b1dfba868 100644 --- a/imm/include/alibabacloud/imm/model/ListImageJobsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListImageJobsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTIMAGEJOBSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTIMAGEJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListImageJobsRequest : public RpcServiceRequest - { - - public: - ListImageJobsRequest(); - ~ListImageJobsRequest(); - +/* + * 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_IMM_MODEL_LISTIMAGEJOBSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTIMAGEJOBSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListImageJobsRequest : public RpcServiceRequest + { + + public: + ListImageJobsRequest(); + ~ListImageJobsRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setJobType(const std::string& jobType); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string jobType_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTIMAGEJOBSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListImageJobsResult.h b/imm/include/alibabacloud/imm/model/ListImageJobsResult.h index 79c938eff..40975e8b2 100644 --- a/imm/include/alibabacloud/imm/model/ListImageJobsResult.h +++ b/imm/include/alibabacloud/imm/model/ListImageJobsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTIMAGEJOBSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTIMAGEJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListImageJobsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTIMAGEJOBSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTIMAGEJOBSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListImageJobsResult : public ServiceResult + { + public: struct JobsItem { std::string status; @@ -46,22 +46,22 @@ namespace AlibabaCloud std::string jobId; std::string result; }; - - - ListImageJobsResult(); - explicit ListImageJobsResult(const std::string &payload); - ~ListImageJobsResult(); + + + ListImageJobsResult(); + explicit ListImageJobsResult(const std::string &payload); + ~ListImageJobsResult(); std::vector getJobs()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector jobs_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTIMAGEJOBSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListImagesRequest.h b/imm/include/alibabacloud/imm/model/ListImagesRequest.h index 0cbbaf10d..6d95f3f10 100644 --- a/imm/include/alibabacloud/imm/model/ListImagesRequest.h +++ b/imm/include/alibabacloud/imm/model/ListImagesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTIMAGESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTIMAGESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListImagesRequest : public RpcServiceRequest - { - - public: - ListImagesRequest(); - ~ListImagesRequest(); - +/* + * 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_IMM_MODEL_LISTIMAGESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTIMAGESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListImagesRequest : public RpcServiceRequest + { + + public: + ListImagesRequest(); + ~ListImagesRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getMarker()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setCreateTimeStart(const std::string& createTimeStart); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string marker_; int limit_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string setId_; std::string createTimeStart_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTIMAGESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListImagesResult.h b/imm/include/alibabacloud/imm/model/ListImagesResult.h index 535a6f64d..115e83b0f 100644 --- a/imm/include/alibabacloud/imm/model/ListImagesResult.h +++ b/imm/include/alibabacloud/imm/model/ListImagesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTIMAGESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTIMAGESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListImagesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTIMAGESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTIMAGESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListImagesResult : public ServiceResult + { + public: struct ImagesItem { struct FacesItem @@ -156,24 +156,24 @@ namespace AlibabaCloud int fileSize; std::string location; }; - - - ListImagesResult(); - explicit ListImagesResult(const std::string &payload); - ~ListImagesResult(); + + + ListImagesResult(); + explicit ListImagesResult(const std::string &payload); + ~ListImagesResult(); std::vector getImages()const; std::string getSetId()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector images_; std::string setId_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTIMAGESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskRequest.h b/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskRequest.h index f8f409cc0..23923e0ab 100644 --- a/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskRequest.h +++ b/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTOFFICECONVERSIONTASKREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTOFFICECONVERSIONTASKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListOfficeConversionTaskRequest : public RpcServiceRequest - { - - public: - ListOfficeConversionTaskRequest(); - ~ListOfficeConversionTaskRequest(); - +/* + * 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_IMM_MODEL_LISTOFFICECONVERSIONTASKREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTOFFICECONVERSIONTASKREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListOfficeConversionTaskRequest : public RpcServiceRequest + { + + public: + ListOfficeConversionTaskRequest(); + ~ListOfficeConversionTaskRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTOFFICECONVERSIONTASKREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskResult.h b/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskResult.h index e63a0872f..56016c417 100644 --- a/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskResult.h +++ b/imm/include/alibabacloud/imm/model/ListOfficeConversionTaskResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTOFFICECONVERSIONTASKRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTOFFICECONVERSIONTASKRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListOfficeConversionTaskResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTOFFICECONVERSIONTASKRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTOFFICECONVERSIONTASKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListOfficeConversionTaskResult : public ServiceResult + { + public: struct TasksItem { std::string status; @@ -48,22 +48,22 @@ namespace AlibabaCloud std::string notifyTopicName; std::string srcUri; }; - - - ListOfficeConversionTaskResult(); - explicit ListOfficeConversionTaskResult(const std::string &payload); - ~ListOfficeConversionTaskResult(); + + + ListOfficeConversionTaskResult(); + explicit ListOfficeConversionTaskResult(const std::string &payload); + ~ListOfficeConversionTaskResult(); std::vector getTasks()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector tasks_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTOFFICECONVERSIONTASKRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksRequest.h b/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksRequest.h index cc303e1cf..0cd17dab1 100644 --- a/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksRequest.h +++ b/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListPhotoProcessTasksRequest : public RpcServiceRequest - { - - public: - ListPhotoProcessTasksRequest(); - ~ListPhotoProcessTasksRequest(); - +/* + * 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_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListPhotoProcessTasksRequest : public RpcServiceRequest + { + + public: + ListPhotoProcessTasksRequest(); + ~ListPhotoProcessTasksRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksResult.h b/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksResult.h index 50e0498bb..b1a2afd1d 100644 --- a/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksResult.h +++ b/imm/include/alibabacloud/imm/model/ListPhotoProcessTasksResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListPhotoProcessTasksResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListPhotoProcessTasksResult : public ServiceResult + { + public: struct TasksItem { std::string status; @@ -46,22 +46,22 @@ namespace AlibabaCloud std::string notifyTopicName; std::string srcUri; }; - - - ListPhotoProcessTasksResult(); - explicit ListPhotoProcessTasksResult(const std::string &payload); - ~ListPhotoProcessTasksResult(); + + + ListPhotoProcessTasksResult(); + explicit ListPhotoProcessTasksResult(const std::string &payload); + ~ListPhotoProcessTasksResult(); std::vector getTasks()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector tasks_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTPHOTOPROCESSTASKSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsRequest.h b/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsRequest.h index 5b45d7e63..6d7a3d2db 100644 --- a/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListPornBatchDetectJobsRequest : public RpcServiceRequest - { - - public: - ListPornBatchDetectJobsRequest(); - ~ListPornBatchDetectJobsRequest(); - +/* + * 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_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListPornBatchDetectJobsRequest : public RpcServiceRequest + { + + public: + ListPornBatchDetectJobsRequest(); + ~ListPornBatchDetectJobsRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsResult.h b/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsResult.h index 68bed0c05..8c54c4c77 100644 --- a/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsResult.h +++ b/imm/include/alibabacloud/imm/model/ListPornBatchDetectJobsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListPornBatchDetectJobsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListPornBatchDetectJobsResult : public ServiceResult + { + public: struct JobsItem { std::string status; @@ -45,22 +45,22 @@ namespace AlibabaCloud std::string jobId; std::string srcUri; }; - - - ListPornBatchDetectJobsResult(); - explicit ListPornBatchDetectJobsResult(const std::string &payload); - ~ListPornBatchDetectJobsResult(); + + + ListPornBatchDetectJobsResult(); + explicit ListPornBatchDetectJobsResult(const std::string &payload); + ~ListPornBatchDetectJobsResult(); std::vector getJobs()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector jobs_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTPORNBATCHDETECTJOBSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListProjectsRequest.h b/imm/include/alibabacloud/imm/model/ListProjectsRequest.h index d9abc5a2e..895fda16d 100644 --- a/imm/include/alibabacloud/imm/model/ListProjectsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListProjectsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTPROJECTSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTPROJECTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListProjectsRequest : public RpcServiceRequest - { - - public: - ListProjectsRequest(); - ~ListProjectsRequest(); - +/* + * 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_IMM_MODEL_LISTPROJECTSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTPROJECTSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListProjectsRequest : public RpcServiceRequest + { + + public: + ListProjectsRequest(); + ~ListProjectsRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setMarker(const std::string& marker); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTPROJECTSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListProjectsResult.h b/imm/include/alibabacloud/imm/model/ListProjectsResult.h index c0fe76634..b617d6aef 100644 --- a/imm/include/alibabacloud/imm/model/ListProjectsResult.h +++ b/imm/include/alibabacloud/imm/model/ListProjectsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTPROJECTSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTPROJECTSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListProjectsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTPROJECTSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTPROJECTSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListProjectsResult : public ServiceResult + { + public: struct ProjectsItem { std::string project; @@ -43,22 +43,22 @@ namespace AlibabaCloud std::string createTime; std::string billingType; }; - - - ListProjectsResult(); - explicit ListProjectsResult(const std::string &payload); - ~ListProjectsResult(); + + + ListProjectsResult(); + explicit ListProjectsResult(const std::string &payload); + ~ListProjectsResult(); std::vector getProjects()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector projects_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTPROJECTSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListSetTagsRequest.h b/imm/include/alibabacloud/imm/model/ListSetTagsRequest.h index cdaf8b857..420528bc4 100644 --- a/imm/include/alibabacloud/imm/model/ListSetTagsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListSetTagsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTSETTAGSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTSETTAGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListSetTagsRequest : public RpcServiceRequest - { - - public: - ListSetTagsRequest(); - ~ListSetTagsRequest(); - +/* + * 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_IMM_MODEL_LISTSETTAGSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTSETTAGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListSetTagsRequest : public RpcServiceRequest + { + + public: + ListSetTagsRequest(); + ~ListSetTagsRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getProject()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTSETTAGSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListSetTagsResult.h b/imm/include/alibabacloud/imm/model/ListSetTagsResult.h index 7c3909aa2..08cefe906 100644 --- a/imm/include/alibabacloud/imm/model/ListSetTagsResult.h +++ b/imm/include/alibabacloud/imm/model/ListSetTagsResult.h @@ -1,58 +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_IMM_MODEL_LISTSETTAGSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTSETTAGSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListSetTagsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTSETTAGSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTSETTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListSetTagsResult : public ServiceResult + { + public: struct TagsItem { int tagCount; std::string tagName; }; - - - ListSetTagsResult(); - explicit ListSetTagsResult(const std::string &payload); - ~ListSetTagsResult(); + + + ListSetTagsResult(); + explicit ListSetTagsResult(const std::string &payload); + ~ListSetTagsResult(); std::string getSetId()const; std::vector getTags()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string setId_; std::vector tags_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTSETTAGSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListSetsRequest.h b/imm/include/alibabacloud/imm/model/ListSetsRequest.h index 0ecbe2ab1..0ffb8f660 100644 --- a/imm/include/alibabacloud/imm/model/ListSetsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListSetsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTSETSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTSETSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListSetsRequest : public RpcServiceRequest - { - - public: - ListSetsRequest(); - ~ListSetsRequest(); - +/* + * 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_IMM_MODEL_LISTSETSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTSETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListSetsRequest : public RpcServiceRequest + { + + public: + ListSetsRequest(); + ~ListSetsRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getMarker()const; @@ -43,15 +43,15 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTSETSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListSetsResult.h b/imm/include/alibabacloud/imm/model/ListSetsResult.h index e5a539468..978c71c27 100644 --- a/imm/include/alibabacloud/imm/model/ListSetsResult.h +++ b/imm/include/alibabacloud/imm/model/ListSetsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTSETSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTSETSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListSetsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTSETSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTSETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListSetsResult : public ServiceResult + { + public: struct SetsItem { std::string modifyTime; @@ -43,22 +43,22 @@ namespace AlibabaCloud int faceCount; int videoLength; }; - - - ListSetsResult(); - explicit ListSetsResult(const std::string &payload); - ~ListSetsResult(); + + + ListSetsResult(); + explicit ListSetsResult(const std::string &payload); + ~ListSetsResult(); std::vector getSets()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector sets_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTSETSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagJobsRequest.h b/imm/include/alibabacloud/imm/model/ListTagJobsRequest.h index ad644e989..75ce15e04 100644 --- a/imm/include/alibabacloud/imm/model/ListTagJobsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListTagJobsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTTAGJOBSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagJobsRequest : public RpcServiceRequest - { - - public: - ListTagJobsRequest(); - ~ListTagJobsRequest(); - +/* + * 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_IMM_MODEL_LISTTAGJOBSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagJobsRequest : public RpcServiceRequest + { + + public: + ListTagJobsRequest(); + ~ListTagJobsRequest(); + std::string getCondition()const; void setCondition(const std::string& condition); int getMaxKeys()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string condition_; int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagJobsResult.h b/imm/include/alibabacloud/imm/model/ListTagJobsResult.h index 59c8b0f97..3c9352529 100644 --- a/imm/include/alibabacloud/imm/model/ListTagJobsResult.h +++ b/imm/include/alibabacloud/imm/model/ListTagJobsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTTAGJOBSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagJobsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTTAGJOBSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagJobsResult : public ServiceResult + { + public: struct JobsItem { std::string status; @@ -42,22 +42,22 @@ namespace AlibabaCloud std::string jobId; std::string srcUri; }; - - - ListTagJobsResult(); - explicit ListTagJobsResult(const std::string &payload); - ~ListTagJobsResult(); + + + ListTagJobsResult(); + explicit ListTagJobsResult(const std::string &payload); + ~ListTagJobsResult(); std::vector getJobs()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector jobs_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGJOBSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagNamesRequest.h b/imm/include/alibabacloud/imm/model/ListTagNamesRequest.h index cc9df2b02..2fc03bcd3 100644 --- a/imm/include/alibabacloud/imm/model/ListTagNamesRequest.h +++ b/imm/include/alibabacloud/imm/model/ListTagNamesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTTAGNAMESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagNamesRequest : public RpcServiceRequest - { - - public: - ListTagNamesRequest(); - ~ListTagNamesRequest(); - +/* + * 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_IMM_MODEL_LISTTAGNAMESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagNamesRequest : public RpcServiceRequest + { + + public: + ListTagNamesRequest(); + ~ListTagNamesRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getMarker()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string marker_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagNamesResult.h b/imm/include/alibabacloud/imm/model/ListTagNamesResult.h index 60b3a8764..28562bdb2 100644 --- a/imm/include/alibabacloud/imm/model/ListTagNamesResult.h +++ b/imm/include/alibabacloud/imm/model/ListTagNamesResult.h @@ -1,58 +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_IMM_MODEL_LISTTAGNAMESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagNamesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTTAGNAMESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagNamesResult : public ServiceResult + { + public: struct TagsItem { std::string tagName; int num; }; - - - ListTagNamesResult(); - explicit ListTagNamesResult(const std::string &payload); - ~ListTagNamesResult(); + + + ListTagNamesResult(); + explicit ListTagNamesResult(const std::string &payload); + ~ListTagNamesResult(); std::string getNextMarker()const; std::vector getTags()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string nextMarker_; std::vector tags_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGNAMESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagPhotosRequest.h b/imm/include/alibabacloud/imm/model/ListTagPhotosRequest.h index 8e80cb2c9..07064e12e 100644 --- a/imm/include/alibabacloud/imm/model/ListTagPhotosRequest.h +++ b/imm/include/alibabacloud/imm/model/ListTagPhotosRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagPhotosRequest : public RpcServiceRequest - { - - public: - ListTagPhotosRequest(); - ~ListTagPhotosRequest(); - +/* + * 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_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagPhotosRequest : public RpcServiceRequest + { + + public: + ListTagPhotosRequest(); + ~ListTagPhotosRequest(); + std::string getTagName()const; void setTagName(const std::string& tagName); std::string getMaxKeys()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string tagName_; std::string maxKeys_; std::string regionId_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagPhotosResult.h b/imm/include/alibabacloud/imm/model/ListTagPhotosResult.h index 1763d2ccb..624473a4b 100644 --- a/imm/include/alibabacloud/imm/model/ListTagPhotosResult.h +++ b/imm/include/alibabacloud/imm/model/ListTagPhotosResult.h @@ -1,58 +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_IMM_MODEL_LISTTAGPHOTOSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagPhotosResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTTAGPHOTOSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagPhotosResult : public ServiceResult + { + public: struct PhotosItem { float tagScore; std::string srcUri; }; - - - ListTagPhotosResult(); - explicit ListTagPhotosResult(const std::string &payload); - ~ListTagPhotosResult(); + + + ListTagPhotosResult(); + explicit ListTagPhotosResult(const std::string &payload); + ~ListTagPhotosResult(); std::vector getPhotos()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector photos_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGPHOTOSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagSetsRequest.h b/imm/include/alibabacloud/imm/model/ListTagSetsRequest.h index 052119d68..d158a65cb 100644 --- a/imm/include/alibabacloud/imm/model/ListTagSetsRequest.h +++ b/imm/include/alibabacloud/imm/model/ListTagSetsRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTTAGSETSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGSETSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagSetsRequest : public RpcServiceRequest - { - - public: - ListTagSetsRequest(); - ~ListTagSetsRequest(); - +/* + * 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_IMM_MODEL_LISTTAGSETSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGSETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagSetsRequest : public RpcServiceRequest + { + + public: + ListTagSetsRequest(); + ~ListTagSetsRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGSETSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListTagSetsResult.h b/imm/include/alibabacloud/imm/model/ListTagSetsResult.h index 57677d578..81c7112d8 100644 --- a/imm/include/alibabacloud/imm/model/ListTagSetsResult.h +++ b/imm/include/alibabacloud/imm/model/ListTagSetsResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTTAGSETSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTTAGSETSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListTagSetsResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTTAGSETSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTTAGSETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListTagSetsResult : public ServiceResult + { + public: struct SetsItem { std::string status; @@ -40,22 +40,22 @@ namespace AlibabaCloud std::string createTime; std::string setId; }; - - - ListTagSetsResult(); - explicit ListTagSetsResult(const std::string &payload); - ~ListTagSetsResult(); + + + ListTagSetsResult(); + explicit ListTagSetsResult(const std::string &payload); + ~ListTagSetsResult(); std::vector getSets()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector sets_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTTAGSETSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideoAudiosRequest.h b/imm/include/alibabacloud/imm/model/ListVideoAudiosRequest.h index bc080c7b6..1e7675dc7 100644 --- a/imm/include/alibabacloud/imm/model/ListVideoAudiosRequest.h +++ b/imm/include/alibabacloud/imm/model/ListVideoAudiosRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTVIDEOAUDIOSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOAUDIOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideoAudiosRequest : public RpcServiceRequest - { - - public: - ListVideoAudiosRequest(); - ~ListVideoAudiosRequest(); - +/* + * 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_IMM_MODEL_LISTVIDEOAUDIOSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOAUDIOSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideoAudiosRequest : public RpcServiceRequest + { + + public: + ListVideoAudiosRequest(); + ~ListVideoAudiosRequest(); + std::string getVideoUri()const; void setVideoUri(const std::string& videoUri); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string videoUri_; std::string regionId_; std::string marker_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOAUDIOSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideoAudiosResult.h b/imm/include/alibabacloud/imm/model/ListVideoAudiosResult.h index 773a08ca1..89cac5514 100644 --- a/imm/include/alibabacloud/imm/model/ListVideoAudiosResult.h +++ b/imm/include/alibabacloud/imm/model/ListVideoAudiosResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTVIDEOAUDIOSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOAUDIOSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideoAudiosResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTVIDEOAUDIOSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOAUDIOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideoAudiosResult : public ServiceResult + { + public: struct AudiosItem { struct AudioTextsItem @@ -70,26 +70,26 @@ namespace AlibabaCloud int fileSize; std::string audioTextsFailReason; }; - - - ListVideoAudiosResult(); - explicit ListVideoAudiosResult(const std::string &payload); - ~ListVideoAudiosResult(); + + + ListVideoAudiosResult(); + explicit ListVideoAudiosResult(const std::string &payload); + ~ListVideoAudiosResult(); std::vector getAudios()const; std::string getVideoUri()const; std::string getSetId()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector audios_; std::string videoUri_; std::string setId_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOAUDIOSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideoFramesRequest.h b/imm/include/alibabacloud/imm/model/ListVideoFramesRequest.h index 5e9637180..5b30a79ca 100644 --- a/imm/include/alibabacloud/imm/model/ListVideoFramesRequest.h +++ b/imm/include/alibabacloud/imm/model/ListVideoFramesRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTVIDEOFRAMESREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOFRAMESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideoFramesRequest : public RpcServiceRequest - { - - public: - ListVideoFramesRequest(); - ~ListVideoFramesRequest(); - +/* + * 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_IMM_MODEL_LISTVIDEOFRAMESREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOFRAMESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideoFramesRequest : public RpcServiceRequest + { + + public: + ListVideoFramesRequest(); + ~ListVideoFramesRequest(); + std::string getVideoUri()const; void setVideoUri(const std::string& videoUri); std::string getRegionId()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string videoUri_; std::string regionId_; std::string marker_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOFRAMESREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideoFramesResult.h b/imm/include/alibabacloud/imm/model/ListVideoFramesResult.h index de7d1ac09..d2a03ff4a 100644 --- a/imm/include/alibabacloud/imm/model/ListVideoFramesResult.h +++ b/imm/include/alibabacloud/imm/model/ListVideoFramesResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTVIDEOFRAMESRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOFRAMESRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideoFramesResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTVIDEOFRAMESRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOFRAMESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideoFramesResult : public ServiceResult + { + public: struct FramesItem { struct FacesItem @@ -156,26 +156,26 @@ namespace AlibabaCloud int fileSize; std::string location; }; - - - ListVideoFramesResult(); - explicit ListVideoFramesResult(const std::string &payload); - ~ListVideoFramesResult(); + + + ListVideoFramesResult(); + explicit ListVideoFramesResult(const std::string &payload); + ~ListVideoFramesResult(); std::vector getFrames()const; std::string getVideoUri()const; std::string getSetId()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector frames_; std::string videoUri_; std::string setId_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOFRAMESRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideoTasksRequest.h b/imm/include/alibabacloud/imm/model/ListVideoTasksRequest.h index c9bfebb55..a2c468c08 100644 --- a/imm/include/alibabacloud/imm/model/ListVideoTasksRequest.h +++ b/imm/include/alibabacloud/imm/model/ListVideoTasksRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTVIDEOTASKSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOTASKSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideoTasksRequest : public RpcServiceRequest - { - - public: - ListVideoTasksRequest(); - ~ListVideoTasksRequest(); - +/* + * 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_IMM_MODEL_LISTVIDEOTASKSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOTASKSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideoTasksRequest : public RpcServiceRequest + { + + public: + ListVideoTasksRequest(); + ~ListVideoTasksRequest(); + int getMaxKeys()const; void setMaxKeys(int maxKeys); std::string getTaskType()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setProject(const std::string& project); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int maxKeys_; std::string taskType_; std::string regionId_; std::string marker_; std::string project_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOTASKSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideoTasksResult.h b/imm/include/alibabacloud/imm/model/ListVideoTasksResult.h index 2e0924c36..a4b203387 100644 --- a/imm/include/alibabacloud/imm/model/ListVideoTasksResult.h +++ b/imm/include/alibabacloud/imm/model/ListVideoTasksResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTVIDEOTASKSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOTASKSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideoTasksResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTVIDEOTASKSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOTASKSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideoTasksResult : public ServiceResult + { + public: struct TasksItem { std::string status; @@ -46,22 +46,22 @@ namespace AlibabaCloud std::string errorMessage; std::string result; }; - - - ListVideoTasksResult(); - explicit ListVideoTasksResult(const std::string &payload); - ~ListVideoTasksResult(); + + + ListVideoTasksResult(); + explicit ListVideoTasksResult(const std::string &payload); + ~ListVideoTasksResult(); std::vector getTasks()const; std::string getNextMarker()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector tasks_; std::string nextMarker_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOTASKSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideosRequest.h b/imm/include/alibabacloud/imm/model/ListVideosRequest.h index c60402af6..c04a19b7e 100644 --- a/imm/include/alibabacloud/imm/model/ListVideosRequest.h +++ b/imm/include/alibabacloud/imm/model/ListVideosRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_LISTVIDEOSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideosRequest : public RpcServiceRequest - { - - public: - ListVideosRequest(); - ~ListVideosRequest(); - +/* + * 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_IMM_MODEL_LISTVIDEOSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideosRequest : public RpcServiceRequest + { + + public: + ListVideosRequest(); + ~ListVideosRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getMarker()const; @@ -47,17 +47,17 @@ namespace AlibabaCloud void setCreateTimeStart(const std::string& createTimeStart); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; std::string marker_; std::string project_; std::string setId_; std::string createTimeStart_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/ListVideosResult.h b/imm/include/alibabacloud/imm/model/ListVideosResult.h index 6c3590d63..6a45493a1 100644 --- a/imm/include/alibabacloud/imm/model/ListVideosResult.h +++ b/imm/include/alibabacloud/imm/model/ListVideosResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_LISTVIDEOSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT ListVideosResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_LISTVIDEOSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_LISTVIDEOSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT ListVideosResult : public ServiceResult + { + public: struct VideosItem { struct VideoTagsItem @@ -84,24 +84,24 @@ namespace AlibabaCloud std::string videoTagsStatus; int fileSize; }; - - - ListVideosResult(); - explicit ListVideosResult(const std::string &payload); - ~ListVideosResult(); + + + ListVideosResult(); + explicit ListVideosResult(const std::string &payload); + ~ListVideosResult(); std::string getSetId()const; std::string getNextMarker()const; std::vector getVideos()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string setId_; std::string nextMarker_; std::vector videos_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_LISTVIDEOSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/PhotoProcessRequest.h b/imm/include/alibabacloud/imm/model/PhotoProcessRequest.h index 77b920dd9..8ede491f1 100644 --- a/imm/include/alibabacloud/imm/model/PhotoProcessRequest.h +++ b/imm/include/alibabacloud/imm/model/PhotoProcessRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_PHOTOPROCESSREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT PhotoProcessRequest : public RpcServiceRequest - { - - public: - PhotoProcessRequest(); - ~PhotoProcessRequest(); - +/* + * 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_IMM_MODEL_PHOTOPROCESSREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT PhotoProcessRequest : public RpcServiceRequest + { + + public: + PhotoProcessRequest(); + ~PhotoProcessRequest(); + std::string getNotifyTopicName()const; void setNotifyTopicName(const std::string& notifyTopicName); std::string getRegionId()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getTgtUri()const; void setTgtUri(const std::string& tgtUri); - - private: + + private: std::string notifyTopicName_; std::string regionId_; std::string notifyEndpoint_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string style_; std::string accessKeyId_; std::string tgtUri_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/PhotoProcessResult.h b/imm/include/alibabacloud/imm/model/PhotoProcessResult.h index b85cba7b7..f09384040 100644 --- a/imm/include/alibabacloud/imm/model/PhotoProcessResult.h +++ b/imm/include/alibabacloud/imm/model/PhotoProcessResult.h @@ -1,59 +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_IMM_MODEL_PHOTOPROCESSRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT PhotoProcessResult : public ServiceResult - { - public: - - - PhotoProcessResult(); - explicit PhotoProcessResult(const std::string &payload); - ~PhotoProcessResult(); +/* + * 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_IMM_MODEL_PHOTOPROCESSRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT PhotoProcessResult : public ServiceResult + { + public: + + + PhotoProcessResult(); + explicit PhotoProcessResult(const std::string &payload); + ~PhotoProcessResult(); std::string getStatus()const; std::string getTaskId()const; int getPercent()const; std::string getTgtLoc()const; std::string getCreateTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string status_; std::string taskId_; int percent_; std::string tgtLoc_; std::string createTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_PHOTOPROCESSRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/PutProjectRequest.h b/imm/include/alibabacloud/imm/model/PutProjectRequest.h index b458c0fa4..916ef21e4 100644 --- a/imm/include/alibabacloud/imm/model/PutProjectRequest.h +++ b/imm/include/alibabacloud/imm/model/PutProjectRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_PUTPROJECTREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_PUTPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT PutProjectRequest : public RpcServiceRequest - { - - public: - PutProjectRequest(); - ~PutProjectRequest(); - +/* + * 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_IMM_MODEL_PUTPROJECTREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_PUTPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT PutProjectRequest : public RpcServiceRequest + { + + public: + PutProjectRequest(); + ~PutProjectRequest(); + int getCU()const; void setCU(int cU); std::string getRegionId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setType(const std::string& type); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: int cU_; std::string regionId_; std::string serviceRole_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string billingType_; std::string type_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_PUTPROJECTREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/PutProjectResult.h b/imm/include/alibabacloud/imm/model/PutProjectResult.h index e8ab795ff..6f3a1be63 100644 --- a/imm/include/alibabacloud/imm/model/PutProjectResult.h +++ b/imm/include/alibabacloud/imm/model/PutProjectResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_PUTPROJECTRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_PUTPROJECTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT PutProjectResult : public ServiceResult - { - public: - - - PutProjectResult(); - explicit PutProjectResult(const std::string &payload); - ~PutProjectResult(); +/* + * 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_IMM_MODEL_PUTPROJECTRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_PUTPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT PutProjectResult : public ServiceResult + { + public: + + + PutProjectResult(); + explicit PutProjectResult(const std::string &payload); + ~PutProjectResult(); std::string getProject()const; std::string getModifyTime()const; int getCU()const; @@ -45,10 +45,10 @@ namespace AlibabaCloud std::string getEndpoint()const; std::string getCreateTime()const; std::string getBillingType()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string project_; std::string modifyTime_; int cU_; @@ -57,9 +57,9 @@ namespace AlibabaCloud std::string endpoint_; std::string createTime_; std::string billingType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_PUTPROJECTRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/RegistFaceRequest.h b/imm/include/alibabacloud/imm/model/RegistFaceRequest.h index bb9e51445..a86b6ffdf 100644 --- a/imm/include/alibabacloud/imm/model/RegistFaceRequest.h +++ b/imm/include/alibabacloud/imm/model/RegistFaceRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_REGISTFACEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_REGISTFACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT RegistFaceRequest : public RpcServiceRequest - { - - public: - RegistFaceRequest(); - ~RegistFaceRequest(); - +/* + * 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_IMM_MODEL_REGISTFACEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_REGISTFACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT RegistFaceRequest : public RpcServiceRequest + { + + public: + RegistFaceRequest(); + ~RegistFaceRequest(); + bool getChooseBiggestFace()const; void setChooseBiggestFace(bool chooseBiggestFace); std::string getRegionId()const; @@ -53,8 +53,8 @@ namespace AlibabaCloud void setUser(const std::string& user); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: bool chooseBiggestFace_; std::string regionId_; bool isQualityLimit_; @@ -64,9 +64,9 @@ namespace AlibabaCloud std::string groupName_; std::string user_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_REGISTFACEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/RegistFaceResult.h b/imm/include/alibabacloud/imm/model/RegistFaceResult.h index 3630d5c1b..d033a496d 100644 --- a/imm/include/alibabacloud/imm/model/RegistFaceResult.h +++ b/imm/include/alibabacloud/imm/model/RegistFaceResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_REGISTFACERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_REGISTFACERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT RegistFaceResult : public ServiceResult - { - public: - - - RegistFaceResult(); - explicit RegistFaceResult(const std::string &payload); - ~RegistFaceResult(); +/* + * 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_IMM_MODEL_REGISTFACERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_REGISTFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT RegistFaceResult : public ServiceResult + { + public: + + + RegistFaceResult(); + explicit RegistFaceResult(const std::string &payload); + ~RegistFaceResult(); std::string getGroupName()const; std::string getFaceId()const; std::string getUser()const; @@ -53,10 +53,10 @@ namespace AlibabaCloud std::vector getAxis()const; std::string getImageMd5()const; int getAge()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; std::string faceId_; std::string user_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::vector axis_; std::string imageMd5_; int age_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_REGISTFACERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/SearchDocIndexRequest.h b/imm/include/alibabacloud/imm/model/SearchDocIndexRequest.h index 85c5ae9e8..240179d75 100644 --- a/imm/include/alibabacloud/imm/model/SearchDocIndexRequest.h +++ b/imm/include/alibabacloud/imm/model/SearchDocIndexRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_SEARCHDOCINDEXREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_SEARCHDOCINDEXREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT SearchDocIndexRequest : public RpcServiceRequest - { - - public: - SearchDocIndexRequest(); - ~SearchDocIndexRequest(); - +/* + * 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_IMM_MODEL_SEARCHDOCINDEXREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_SEARCHDOCINDEXREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT SearchDocIndexRequest : public RpcServiceRequest + { + + public: + SearchDocIndexRequest(); + ~SearchDocIndexRequest(); + int getModifiedTimeEnd()const; void setModifiedTimeEnd(int modifiedTimeEnd); std::string getCustomKey1()const; @@ -77,8 +77,8 @@ namespace AlibabaCloud void setName(const std::string& name); int getLimit()const; void setLimit(int limit); - - private: + + private: int modifiedTimeEnd_; std::string customKey1_; std::string set_; @@ -100,9 +100,9 @@ namespace AlibabaCloud std::string regionId_; std::string name_; int limit_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_SEARCHDOCINDEXREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/SearchDocIndexResult.h b/imm/include/alibabacloud/imm/model/SearchDocIndexResult.h index 99cd931d3..bf19b47c8 100644 --- a/imm/include/alibabacloud/imm/model/SearchDocIndexResult.h +++ b/imm/include/alibabacloud/imm/model/SearchDocIndexResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_SEARCHDOCINDEXRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_SEARCHDOCINDEXRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT SearchDocIndexResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_SEARCHDOCINDEXRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_SEARCHDOCINDEXRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT SearchDocIndexResult : public ServiceResult + { + public: struct DocInfosItem { std::string customKey4; @@ -48,20 +48,20 @@ namespace AlibabaCloud std::string lastModified; std::string srcUri; }; - - - SearchDocIndexResult(); - explicit SearchDocIndexResult(const std::string &payload); - ~SearchDocIndexResult(); + + + SearchDocIndexResult(); + explicit SearchDocIndexResult(const std::string &payload); + ~SearchDocIndexResult(); std::vector getDocInfos()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::vector docInfos_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_SEARCHDOCINDEXRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/SearchFaceRequest.h b/imm/include/alibabacloud/imm/model/SearchFaceRequest.h index d0c9184fa..fc694d737 100644 --- a/imm/include/alibabacloud/imm/model/SearchFaceRequest.h +++ b/imm/include/alibabacloud/imm/model/SearchFaceRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_SEARCHFACEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_SEARCHFACEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT SearchFaceRequest : public RpcServiceRequest - { - - public: - SearchFaceRequest(); - ~SearchFaceRequest(); - +/* + * 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_IMM_MODEL_SEARCHFACEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_SEARCHFACEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT SearchFaceRequest : public RpcServiceRequest + { + + public: + SearchFaceRequest(); + ~SearchFaceRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); int getResultNum()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setGroupName(const std::string& groupName); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string regionId_; int resultNum_; std::string project_; @@ -61,9 +61,9 @@ namespace AlibabaCloud bool isThreshold_; std::string groupName_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_SEARCHFACEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/SearchFaceResult.h b/imm/include/alibabacloud/imm/model/SearchFaceResult.h index a29629eba..8044629fa 100644 --- a/imm/include/alibabacloud/imm/model/SearchFaceResult.h +++ b/imm/include/alibabacloud/imm/model/SearchFaceResult.h @@ -1,37 +1,37 @@ -/* - * 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_IMM_MODEL_SEARCHFACERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_SEARCHFACERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT SearchFaceResult : public ServiceResult - { - public: +/* + * 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_IMM_MODEL_SEARCHFACERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_SEARCHFACERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT SearchFaceResult : public ServiceResult + { + public: struct ResultFacesItem { float score; @@ -43,11 +43,11 @@ namespace AlibabaCloud std::vector axis1; std::string groupId; }; - - - SearchFaceResult(); - explicit SearchFaceResult(const std::string &payload); - ~SearchFaceResult(); + + + SearchFaceResult(); + explicit SearchFaceResult(const std::string &payload); + ~SearchFaceResult(); std::string getGroupName()const; float getScore()const; std::vector getResultFaces()const; @@ -55,10 +55,10 @@ namespace AlibabaCloud int getHat()const; std::string getImageUri()const; std::vector getAxis()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string groupName_; float score_; std::vector resultFaces_; @@ -66,9 +66,9 @@ namespace AlibabaCloud int hat_; std::string imageUri_; std::vector axis_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_SEARCHFACERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaRequest.h b/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaRequest.h index 77bd47b20..1391423f9 100644 --- a/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaRequest.h +++ b/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_UPDATEDOCINDEXMETAREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEDOCINDEXMETAREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateDocIndexMetaRequest : public RpcServiceRequest - { - - public: - UpdateDocIndexMetaRequest(); - ~UpdateDocIndexMetaRequest(); - +/* + * 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_IMM_MODEL_UPDATEDOCINDEXMETAREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEDOCINDEXMETAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateDocIndexMetaRequest : public RpcServiceRequest + { + + public: + UpdateDocIndexMetaRequest(); + ~UpdateDocIndexMetaRequest(); + std::string getCustomKey1()const; void setCustomKey1(const std::string& customKey1); std::string getSet()const; @@ -59,8 +59,8 @@ namespace AlibabaCloud void setName(const std::string& name); std::string getUniqueId()const; void setUniqueId(const std::string& uniqueId); - - private: + + private: std::string customKey1_; std::string set_; std::string customKey5_; @@ -73,9 +73,9 @@ namespace AlibabaCloud std::string regionId_; std::string name_; std::string uniqueId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEDOCINDEXMETAREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaResult.h b/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaResult.h index ac37d53b7..13f881a8f 100644 --- a/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaResult.h +++ b/imm/include/alibabacloud/imm/model/UpdateDocIndexMetaResult.h @@ -1,53 +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_IMM_MODEL_UPDATEDOCINDEXMETARESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEDOCINDEXMETARESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateDocIndexMetaResult : public ServiceResult - { - public: - - - UpdateDocIndexMetaResult(); - explicit UpdateDocIndexMetaResult(const std::string &payload); - ~UpdateDocIndexMetaResult(); +/* + * 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_IMM_MODEL_UPDATEDOCINDEXMETARESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEDOCINDEXMETARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateDocIndexMetaResult : public ServiceResult + { + public: + + + UpdateDocIndexMetaResult(); + explicit UpdateDocIndexMetaResult(const std::string &payload); + ~UpdateDocIndexMetaResult(); std::string getIndexModifiedTime()const; std::string getIndexCreatedTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string indexModifiedTime_; std::string indexCreatedTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEDOCINDEXMETARESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateFaceGroupRequest.h b/imm/include/alibabacloud/imm/model/UpdateFaceGroupRequest.h index 163bb1ea2..c778a03b7 100644 --- a/imm/include/alibabacloud/imm/model/UpdateFaceGroupRequest.h +++ b/imm/include/alibabacloud/imm/model/UpdateFaceGroupRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_UPDATEFACEGROUPREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEFACEGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateFaceGroupRequest : public RpcServiceRequest - { - - public: - UpdateFaceGroupRequest(); - ~UpdateFaceGroupRequest(); - +/* + * 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_IMM_MODEL_UPDATEFACEGROUPREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEFACEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateFaceGroupRequest : public RpcServiceRequest + { + + public: + UpdateFaceGroupRequest(); + ~UpdateFaceGroupRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getGroupId()const; @@ -49,8 +49,8 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); std::string getGroupCoverFaceId()const; void setGroupCoverFaceId(const std::string& groupCoverFaceId); - - private: + + private: std::string regionId_; std::string groupId_; std::string project_; @@ -58,9 +58,9 @@ namespace AlibabaCloud std::string groupName_; std::string accessKeyId_; std::string groupCoverFaceId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEFACEGROUPREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateFaceGroupResult.h b/imm/include/alibabacloud/imm/model/UpdateFaceGroupResult.h index 0af957832..97058ac82 100644 --- a/imm/include/alibabacloud/imm/model/UpdateFaceGroupResult.h +++ b/imm/include/alibabacloud/imm/model/UpdateFaceGroupResult.h @@ -1,53 +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_IMM_MODEL_UPDATEFACEGROUPRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEFACEGROUPRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateFaceGroupResult : public ServiceResult - { - public: - - - UpdateFaceGroupResult(); - explicit UpdateFaceGroupResult(const std::string &payload); - ~UpdateFaceGroupResult(); +/* + * 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_IMM_MODEL_UPDATEFACEGROUPRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEFACEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateFaceGroupResult : public ServiceResult + { + public: + + + UpdateFaceGroupResult(); + explicit UpdateFaceGroupResult(const std::string &payload); + ~UpdateFaceGroupResult(); std::string getSetId()const; std::string getGroupId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string setId_; std::string groupId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEFACEGROUPRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateImageRequest.h b/imm/include/alibabacloud/imm/model/UpdateImageRequest.h index 108b5c31c..6204193f5 100644 --- a/imm/include/alibabacloud/imm/model/UpdateImageRequest.h +++ b/imm/include/alibabacloud/imm/model/UpdateImageRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_UPDATEIMAGEREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEIMAGEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateImageRequest : public RpcServiceRequest - { - - public: - UpdateImageRequest(); - ~UpdateImageRequest(); - +/* + * 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_IMM_MODEL_UPDATEIMAGEREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEIMAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateImageRequest : public RpcServiceRequest + { + + public: + UpdateImageRequest(); + ~UpdateImageRequest(); + std::string getRemarksB()const; void setRemarksB(const std::string& remarksB); std::string getProject()const; @@ -61,8 +61,8 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getSourceType()const; void setSourceType(const std::string& sourceType); - - private: + + private: std::string remarksB_; std::string project_; std::string remarksA_; @@ -76,9 +76,9 @@ namespace AlibabaCloud std::string remarksC_; std::string setId_; std::string sourceType_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEIMAGEREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateImageResult.h b/imm/include/alibabacloud/imm/model/UpdateImageResult.h index 6ba23ed11..aae708840 100644 --- a/imm/include/alibabacloud/imm/model/UpdateImageResult.h +++ b/imm/include/alibabacloud/imm/model/UpdateImageResult.h @@ -1,42 +1,42 @@ -/* - * 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_IMM_MODEL_UPDATEIMAGERESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEIMAGERESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateImageResult : public ServiceResult - { - public: - - - UpdateImageResult(); - explicit UpdateImageResult(const std::string &payload); - ~UpdateImageResult(); +/* + * 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_IMM_MODEL_UPDATEIMAGERESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEIMAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateImageResult : public ServiceResult + { + public: + + + UpdateImageResult(); + explicit UpdateImageResult(const std::string &payload); + ~UpdateImageResult(); std::string getModifyTime()const; std::string getRemarksC()const; std::string getRemarksD()const; @@ -46,10 +46,10 @@ namespace AlibabaCloud std::string getImageUri()const; std::string getRemarksA()const; std::string getRemarksB()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; std::string remarksC_; std::string remarksD_; @@ -59,9 +59,9 @@ namespace AlibabaCloud std::string imageUri_; std::string remarksA_; std::string remarksB_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEIMAGERESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateProjectRequest.h b/imm/include/alibabacloud/imm/model/UpdateProjectRequest.h index e847cb003..849b30a87 100644 --- a/imm/include/alibabacloud/imm/model/UpdateProjectRequest.h +++ b/imm/include/alibabacloud/imm/model/UpdateProjectRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_UPDATEPROJECTREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEPROJECTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateProjectRequest : public RpcServiceRequest - { - - public: - UpdateProjectRequest(); - ~UpdateProjectRequest(); - +/* + * 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_IMM_MODEL_UPDATEPROJECTREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEPROJECTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateProjectRequest : public RpcServiceRequest + { + + public: + UpdateProjectRequest(); + ~UpdateProjectRequest(); + std::string getRegionId()const; void setRegionId(const std::string& regionId); std::string getNewServiceRole()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setAccessKeyId(const std::string& accessKeyId); int getNewCU()const; void setNewCU(int newCU); - - private: + + private: std::string regionId_; std::string newServiceRole_; std::string project_; std::string accessKeyId_; int newCU_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEPROJECTREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateProjectResult.h b/imm/include/alibabacloud/imm/model/UpdateProjectResult.h index d79f007b8..0148f168c 100644 --- a/imm/include/alibabacloud/imm/model/UpdateProjectResult.h +++ b/imm/include/alibabacloud/imm/model/UpdateProjectResult.h @@ -1,61 +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_IMM_MODEL_UPDATEPROJECTRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATEPROJECTRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateProjectResult : public ServiceResult - { - public: - - - UpdateProjectResult(); - explicit UpdateProjectResult(const std::string &payload); - ~UpdateProjectResult(); +/* + * 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_IMM_MODEL_UPDATEPROJECTRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATEPROJECTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateProjectResult : public ServiceResult + { + public: + + + UpdateProjectResult(); + explicit UpdateProjectResult(const std::string &payload); + ~UpdateProjectResult(); std::string getProject()const; std::string getModifyTime()const; int getCU()const; std::string getType()const; std::string getServiceRole()const; std::string getCreateTime()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string project_; std::string modifyTime_; int cU_; std::string type_; std::string serviceRole_; std::string createTime_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATEPROJECTRESULT_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateSetRequest.h b/imm/include/alibabacloud/imm/model/UpdateSetRequest.h index 822e804d7..a0cd564bf 100644 --- a/imm/include/alibabacloud/imm/model/UpdateSetRequest.h +++ b/imm/include/alibabacloud/imm/model/UpdateSetRequest.h @@ -1,40 +1,40 @@ -/* - * 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_IMM_MODEL_UPDATESETREQUEST_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATESETREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateSetRequest : public RpcServiceRequest - { - - public: - UpdateSetRequest(); - ~UpdateSetRequest(); - +/* + * 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_IMM_MODEL_UPDATESETREQUEST_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateSetRequest : public RpcServiceRequest + { + + public: + UpdateSetRequest(); + ~UpdateSetRequest(); + std::string getSetName()const; void setSetName(const std::string& setName); std::string getRegionId()const; @@ -45,16 +45,16 @@ namespace AlibabaCloud void setSetId(const std::string& setId); std::string getAccessKeyId()const; void setAccessKeyId(const std::string& accessKeyId); - - private: + + private: std::string setName_; std::string regionId_; std::string project_; std::string setId_; std::string accessKeyId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATESETREQUEST_H_ \ No newline at end of file diff --git a/imm/include/alibabacloud/imm/model/UpdateSetResult.h b/imm/include/alibabacloud/imm/model/UpdateSetResult.h index ca4cd5646..e6d74360b 100644 --- a/imm/include/alibabacloud/imm/model/UpdateSetResult.h +++ b/imm/include/alibabacloud/imm/model/UpdateSetResult.h @@ -1,57 +1,57 @@ -/* - * 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_IMM_MODEL_UPDATESETRESULT_H_ -#define ALIBABACLOUD_IMM_MODEL_UPDATESETRESULT_H_ - -#include -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Imm - { - namespace Model - { - class ALIBABACLOUD_IMM_EXPORT UpdateSetResult : public ServiceResult - { - public: - - - UpdateSetResult(); - explicit UpdateSetResult(const std::string &payload); - ~UpdateSetResult(); +/* + * 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_IMM_MODEL_UPDATESETRESULT_H_ +#define ALIBABACLOUD_IMM_MODEL_UPDATESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Imm + { + namespace Model + { + class ALIBABACLOUD_IMM_EXPORT UpdateSetResult : public ServiceResult + { + public: + + + UpdateSetResult(); + explicit UpdateSetResult(const std::string &payload); + ~UpdateSetResult(); std::string getModifyTime()const; std::string getCreateTime()const; std::string getSetName()const; std::string getSetId()const; - - protected: - void parse(const std::string &payload); - private: + + protected: + void parse(const std::string &payload); + private: std::string modifyTime_; std::string createTime_; std::string setName_; std::string setId_; - - }; - } - } -} + + }; + } + } +} #endif // !ALIBABACLOUD_IMM_MODEL_UPDATESETRESULT_H_ \ No newline at end of file diff --git a/imm/src/ImmClient.cc b/imm/src/ImmClient.cc index d16e833e2..090d4c862 100644 --- a/imm/src/ImmClient.cc +++ b/imm/src/ImmClient.cc @@ -1,3473 +1,3509 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud; -using namespace AlibabaCloud::Location; -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -namespace -{ - const std::string SERVICE_NAME = "imm"; -} - -ImmClient::ImmClient(const Credentials &credentials, const ClientConfiguration &configuration) : - RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) -{ - auto locationClient = std::make_shared(credentials, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "imm"); -} - -ImmClient::ImmClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : - RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) -{ - auto locationClient = std::make_shared(credentialsProvider, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "imm"); -} - -ImmClient::ImmClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : - RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) -{ - auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); - endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "imm"); -} - -ImmClient::~ImmClient() -{} - -ImmClient::ListPornBatchDetectJobsOutcome ImmClient::listPornBatchDetectJobs(const ListPornBatchDetectJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListPornBatchDetectJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListPornBatchDetectJobsOutcome(ListPornBatchDetectJobsResult(outcome.result())); - else - return ListPornBatchDetectJobsOutcome(outcome.error()); -} - -void ImmClient::listPornBatchDetectJobsAsync(const ListPornBatchDetectJobsRequest& request, const ListPornBatchDetectJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listPornBatchDetectJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListPornBatchDetectJobsOutcomeCallable ImmClient::listPornBatchDetectJobsCallable(const ListPornBatchDetectJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listPornBatchDetectJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectImageFacesOutcome ImmClient::detectImageFaces(const DetectImageFacesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectImageFacesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectImageFacesOutcome(DetectImageFacesResult(outcome.result())); - else - return DetectImageFacesOutcome(outcome.error()); -} - -void ImmClient::detectImageFacesAsync(const DetectImageFacesRequest& request, const DetectImageFacesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectImageFaces(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectImageFacesOutcomeCallable ImmClient::detectImageFacesCallable(const DetectImageFacesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectImageFaces(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectImageTagsOutcome ImmClient::detectImageTags(const DetectImageTagsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectImageTagsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectImageTagsOutcome(DetectImageTagsResult(outcome.result())); - else - return DetectImageTagsOutcome(outcome.error()); -} - -void ImmClient::detectImageTagsAsync(const DetectImageTagsRequest& request, const DetectImageTagsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectImageTags(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectImageTagsOutcomeCallable ImmClient::detectImageTagsCallable(const DetectImageTagsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectImageTags(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteImageOutcome ImmClient::deleteImage(const DeleteImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteImageOutcome(DeleteImageResult(outcome.result())); - else - return DeleteImageOutcome(outcome.error()); -} - -void ImmClient::deleteImageAsync(const DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteImageOutcomeCallable ImmClient::deleteImageCallable(const DeleteImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateTagJobOutcome ImmClient::createTagJob(const CreateTagJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTagJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTagJobOutcome(CreateTagJobResult(outcome.result())); - else - return CreateTagJobOutcome(outcome.error()); -} - -void ImmClient::createTagJobAsync(const CreateTagJobRequest& request, const CreateTagJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTagJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateTagJobOutcomeCallable ImmClient::createTagJobCallable(const CreateTagJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTagJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::IndexTagOutcome ImmClient::indexTag(const IndexTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return IndexTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return IndexTagOutcome(IndexTagResult(outcome.result())); - else - return IndexTagOutcome(outcome.error()); -} - -void ImmClient::indexTagAsync(const IndexTagRequest& request, const IndexTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, indexTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::IndexTagOutcomeCallable ImmClient::indexTagCallable(const IndexTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->indexTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListProjectsOutcome ImmClient::listProjects(const ListProjectsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListProjectsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListProjectsOutcome(ListProjectsResult(outcome.result())); - else - return ListProjectsOutcome(outcome.error()); -} - -void ImmClient::listProjectsAsync(const ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listProjects(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListProjectsOutcomeCallable ImmClient::listProjectsCallable(const ListProjectsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listProjects(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteSetOutcome ImmClient::deleteSet(const DeleteSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteSetOutcome(DeleteSetResult(outcome.result())); - else - return DeleteSetOutcome(outcome.error()); -} - -void ImmClient::deleteSetAsync(const DeleteSetRequest& request, const DeleteSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteSetOutcomeCallable ImmClient::deleteSetCallable(const DeleteSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetFaceSearchImageOutcome ImmClient::getFaceSearchImage(const GetFaceSearchImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFaceSearchImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFaceSearchImageOutcome(GetFaceSearchImageResult(outcome.result())); - else - return GetFaceSearchImageOutcome(outcome.error()); -} - -void ImmClient::getFaceSearchImageAsync(const GetFaceSearchImageRequest& request, const GetFaceSearchImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFaceSearchImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetFaceSearchImageOutcomeCallable ImmClient::getFaceSearchImageCallable(const GetFaceSearchImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFaceSearchImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateVideoAnalyseTaskOutcome ImmClient::createVideoAnalyseTask(const CreateVideoAnalyseTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateVideoAnalyseTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateVideoAnalyseTaskOutcome(CreateVideoAnalyseTaskResult(outcome.result())); - else - return CreateVideoAnalyseTaskOutcome(outcome.error()); -} - -void ImmClient::createVideoAnalyseTaskAsync(const CreateVideoAnalyseTaskRequest& request, const CreateVideoAnalyseTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createVideoAnalyseTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateVideoAnalyseTaskOutcomeCallable ImmClient::createVideoAnalyseTaskCallable(const CreateVideoAnalyseTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createVideoAnalyseTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CompareFaceOutcome ImmClient::compareFace(const CompareFaceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CompareFaceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CompareFaceOutcome(CompareFaceResult(outcome.result())); - else - return CompareFaceOutcome(outcome.error()); -} - -void ImmClient::compareFaceAsync(const CompareFaceRequest& request, const CompareFaceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, compareFace(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CompareFaceOutcomeCallable ImmClient::compareFaceCallable(const CompareFaceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->compareFace(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectTagOutcome ImmClient::detectTag(const DetectTagRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectTagOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectTagOutcome(DetectTagResult(outcome.result())); - else - return DetectTagOutcome(outcome.error()); -} - -void ImmClient::detectTagAsync(const DetectTagRequest& request, const DetectTagAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectTag(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectTagOutcomeCallable ImmClient::detectTagCallable(const DetectTagRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectTag(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListFaceSearchGroupUsersOutcome ImmClient::listFaceSearchGroupUsers(const ListFaceSearchGroupUsersRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFaceSearchGroupUsersOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFaceSearchGroupUsersOutcome(ListFaceSearchGroupUsersResult(outcome.result())); - else - return ListFaceSearchGroupUsersOutcome(outcome.error()); -} - -void ImmClient::listFaceSearchGroupUsersAsync(const ListFaceSearchGroupUsersRequest& request, const ListFaceSearchGroupUsersAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFaceSearchGroupUsers(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListFaceSearchGroupUsersOutcomeCallable ImmClient::listFaceSearchGroupUsersCallable(const ListFaceSearchGroupUsersRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFaceSearchGroupUsers(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListFaceSearchGroupImagesOutcome ImmClient::listFaceSearchGroupImages(const ListFaceSearchGroupImagesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFaceSearchGroupImagesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFaceSearchGroupImagesOutcome(ListFaceSearchGroupImagesResult(outcome.result())); - else - return ListFaceSearchGroupImagesOutcome(outcome.error()); -} - -void ImmClient::listFaceSearchGroupImagesAsync(const ListFaceSearchGroupImagesRequest& request, const ListFaceSearchGroupImagesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFaceSearchGroupImages(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListFaceSearchGroupImagesOutcomeCallable ImmClient::listFaceSearchGroupImagesCallable(const ListFaceSearchGroupImagesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFaceSearchGroupImages(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateCADConversionTaskOutcome ImmClient::createCADConversionTask(const CreateCADConversionTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateCADConversionTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateCADConversionTaskOutcome(CreateCADConversionTaskResult(outcome.result())); - else - return CreateCADConversionTaskOutcome(outcome.error()); -} - -void ImmClient::createCADConversionTaskAsync(const CreateCADConversionTaskRequest& request, const CreateCADConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createCADConversionTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateCADConversionTaskOutcomeCallable ImmClient::createCADConversionTaskCallable(const CreateCADConversionTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createCADConversionTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetTagJobOutcome ImmClient::getTagJob(const GetTagJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetTagJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetTagJobOutcome(GetTagJobResult(outcome.result())); - else - return GetTagJobOutcome(outcome.error()); -} - -void ImmClient::getTagJobAsync(const GetTagJobRequest& request, const GetTagJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getTagJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetTagJobOutcomeCallable ImmClient::getTagJobCallable(const GetTagJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getTagJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteFaceJobOutcome ImmClient::deleteFaceJob(const DeleteFaceJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteFaceJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteFaceJobOutcome(DeleteFaceJobResult(outcome.result())); - else - return DeleteFaceJobOutcome(outcome.error()); -} - -void ImmClient::deleteFaceJobAsync(const DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteFaceJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteFaceJobOutcomeCallable ImmClient::deleteFaceJobCallable(const DeleteFaceJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteFaceJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateDocIndexTaskOutcome ImmClient::createDocIndexTask(const CreateDocIndexTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateDocIndexTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateDocIndexTaskOutcome(CreateDocIndexTaskResult(outcome.result())); - else - return CreateDocIndexTaskOutcome(outcome.error()); -} - -void ImmClient::createDocIndexTaskAsync(const CreateDocIndexTaskRequest& request, const CreateDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createDocIndexTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateDocIndexTaskOutcomeCallable ImmClient::createDocIndexTaskCallable(const CreateDocIndexTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createDocIndexTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::PutProjectOutcome ImmClient::putProject(const PutProjectRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PutProjectOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PutProjectOutcome(PutProjectResult(outcome.result())); - else - return PutProjectOutcome(outcome.error()); -} - -void ImmClient::putProjectAsync(const PutProjectRequest& request, const PutProjectAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, putProject(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::PutProjectOutcomeCallable ImmClient::putProjectCallable(const PutProjectRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->putProject(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetSetOutcome ImmClient::getSet(const GetSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetSetOutcome(GetSetResult(outcome.result())); - else - return GetSetOutcome(outcome.error()); -} - -void ImmClient::getSetAsync(const GetSetRequest& request, const GetSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetSetOutcomeCallable ImmClient::getSetCallable(const GetSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetVideoTaskOutcome ImmClient::getVideoTask(const GetVideoTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetVideoTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetVideoTaskOutcome(GetVideoTaskResult(outcome.result())); - else - return GetVideoTaskOutcome(outcome.error()); -} - -void ImmClient::getVideoTaskAsync(const GetVideoTaskRequest& request, const GetVideoTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getVideoTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetVideoTaskOutcomeCallable ImmClient::getVideoTaskCallable(const GetVideoTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getVideoTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListSetsOutcome ImmClient::listSets(const ListSetsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListSetsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListSetsOutcome(ListSetsResult(outcome.result())); - else - return ListSetsOutcome(outcome.error()); -} - -void ImmClient::listSetsAsync(const ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listSets(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListSetsOutcomeCallable ImmClient::listSetsCallable(const ListSetsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listSets(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::SearchDocIndexOutcome ImmClient::searchDocIndex(const SearchDocIndexRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchDocIndexOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchDocIndexOutcome(SearchDocIndexResult(outcome.result())); - else - return SearchDocIndexOutcome(outcome.error()); -} - -void ImmClient::searchDocIndexAsync(const SearchDocIndexRequest& request, const SearchDocIndexAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchDocIndex(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::SearchDocIndexOutcomeCallable ImmClient::searchDocIndexCallable(const SearchDocIndexRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchDocIndex(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListPhotoProcessTasksOutcome ImmClient::listPhotoProcessTasks(const ListPhotoProcessTasksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListPhotoProcessTasksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListPhotoProcessTasksOutcome(ListPhotoProcessTasksResult(outcome.result())); - else - return ListPhotoProcessTasksOutcome(outcome.error()); -} - -void ImmClient::listPhotoProcessTasksAsync(const ListPhotoProcessTasksRequest& request, const ListPhotoProcessTasksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listPhotoProcessTasks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListPhotoProcessTasksOutcomeCallable ImmClient::listPhotoProcessTasksCallable(const ListPhotoProcessTasksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listPhotoProcessTasks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListVideosOutcome ImmClient::listVideos(const ListVideosRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListVideosOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListVideosOutcome(ListVideosResult(outcome.result())); - else - return ListVideosOutcome(outcome.error()); -} - -void ImmClient::listVideosAsync(const ListVideosRequest& request, const ListVideosAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listVideos(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListVideosOutcomeCallable ImmClient::listVideosCallable(const ListVideosRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listVideos(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreatePornBatchDetectJobOutcome ImmClient::createPornBatchDetectJob(const CreatePornBatchDetectJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreatePornBatchDetectJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreatePornBatchDetectJobOutcome(CreatePornBatchDetectJobResult(outcome.result())); - else - return CreatePornBatchDetectJobOutcome(outcome.error()); -} - -void ImmClient::createPornBatchDetectJobAsync(const CreatePornBatchDetectJobRequest& request, const CreatePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createPornBatchDetectJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreatePornBatchDetectJobOutcomeCallable ImmClient::createPornBatchDetectJobCallable(const CreatePornBatchDetectJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createPornBatchDetectJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::FindImagesOutcome ImmClient::findImages(const FindImagesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return FindImagesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return FindImagesOutcome(FindImagesResult(outcome.result())); - else - return FindImagesOutcome(outcome.error()); -} - -void ImmClient::findImagesAsync(const FindImagesRequest& request, const FindImagesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, findImages(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::FindImagesOutcomeCallable ImmClient::findImagesCallable(const FindImagesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->findImages(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteTagByNameOutcome ImmClient::deleteTagByName(const DeleteTagByNameRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTagByNameOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTagByNameOutcome(DeleteTagByNameResult(outcome.result())); - else - return DeleteTagByNameOutcome(outcome.error()); -} - -void ImmClient::deleteTagByNameAsync(const DeleteTagByNameRequest& request, const DeleteTagByNameAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTagByName(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteTagByNameOutcomeCallable ImmClient::deleteTagByNameCallable(const DeleteTagByNameRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTagByName(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectImageLogosOutcome ImmClient::detectImageLogos(const DetectImageLogosRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectImageLogosOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectImageLogosOutcome(DetectImageLogosResult(outcome.result())); - else - return DetectImageLogosOutcome(outcome.error()); -} - -void ImmClient::detectImageLogosAsync(const DetectImageLogosRequest& request, const DetectImageLogosAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectImageLogos(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectImageLogosOutcomeCallable ImmClient::detectImageLogosCallable(const DetectImageLogosRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectImageLogos(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetProjectOutcome ImmClient::getProject(const GetProjectRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetProjectOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetProjectOutcome(GetProjectResult(outcome.result())); - else - return GetProjectOutcome(outcome.error()); -} - -void ImmClient::getProjectAsync(const GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getProject(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetProjectOutcomeCallable ImmClient::getProjectCallable(const GetProjectRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getProject(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeletePhotoProcessTaskOutcome ImmClient::deletePhotoProcessTask(const DeletePhotoProcessTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeletePhotoProcessTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeletePhotoProcessTaskOutcome(DeletePhotoProcessTaskResult(outcome.result())); - else - return DeletePhotoProcessTaskOutcome(outcome.error()); -} - -void ImmClient::deletePhotoProcessTaskAsync(const DeletePhotoProcessTaskRequest& request, const DeletePhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deletePhotoProcessTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeletePhotoProcessTaskOutcomeCallable ImmClient::deletePhotoProcessTaskCallable(const DeletePhotoProcessTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deletePhotoProcessTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListSetTagsOutcome ImmClient::listSetTags(const ListSetTagsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListSetTagsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListSetTagsOutcome(ListSetTagsResult(outcome.result())); - else - return ListSetTagsOutcome(outcome.error()); -} - -void ImmClient::listSetTagsAsync(const ListSetTagsRequest& request, const ListSetTagsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listSetTags(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListSetTagsOutcomeCallable ImmClient::listSetTagsCallable(const ListSetTagsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listSetTags(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteVideoTaskOutcome ImmClient::deleteVideoTask(const DeleteVideoTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteVideoTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteVideoTaskOutcome(DeleteVideoTaskResult(outcome.result())); - else - return DeleteVideoTaskOutcome(outcome.error()); -} - -void ImmClient::deleteVideoTaskAsync(const DeleteVideoTaskRequest& request, const DeleteVideoTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteVideoTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteVideoTaskOutcomeCallable ImmClient::deleteVideoTaskCallable(const DeleteVideoTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteVideoTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::FindImagesByTagNamesOutcome ImmClient::findImagesByTagNames(const FindImagesByTagNamesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return FindImagesByTagNamesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return FindImagesByTagNamesOutcome(FindImagesByTagNamesResult(outcome.result())); - else - return FindImagesByTagNamesOutcome(outcome.error()); -} - -void ImmClient::findImagesByTagNamesAsync(const FindImagesByTagNamesRequest& request, const FindImagesByTagNamesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, findImagesByTagNames(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::FindImagesByTagNamesOutcomeCallable ImmClient::findImagesByTagNamesCallable(const FindImagesByTagNamesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->findImagesByTagNames(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteTagSetOutcome ImmClient::deleteTagSet(const DeleteTagSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTagSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTagSetOutcome(DeleteTagSetResult(outcome.result())); - else - return DeleteTagSetOutcome(outcome.error()); -} - -void ImmClient::deleteTagSetAsync(const DeleteTagSetRequest& request, const DeleteTagSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTagSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteTagSetOutcomeCallable ImmClient::deleteTagSetCallable(const DeleteTagSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTagSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteProjectOutcome ImmClient::deleteProject(const DeleteProjectRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteProjectOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteProjectOutcome(DeleteProjectResult(outcome.result())); - else - return DeleteProjectOutcome(outcome.error()); -} - -void ImmClient::deleteProjectAsync(const DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteProject(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteProjectOutcomeCallable ImmClient::deleteProjectCallable(const DeleteProjectRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteProject(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::UpdateDocIndexMetaOutcome ImmClient::updateDocIndexMeta(const UpdateDocIndexMetaRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateDocIndexMetaOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateDocIndexMetaOutcome(UpdateDocIndexMetaResult(outcome.result())); - else - return UpdateDocIndexMetaOutcome(outcome.error()); -} - -void ImmClient::updateDocIndexMetaAsync(const UpdateDocIndexMetaRequest& request, const UpdateDocIndexMetaAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateDocIndexMeta(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::UpdateDocIndexMetaOutcomeCallable ImmClient::updateDocIndexMetaCallable(const UpdateDocIndexMetaRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateDocIndexMeta(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::SearchFaceOutcome ImmClient::searchFace(const SearchFaceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return SearchFaceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return SearchFaceOutcome(SearchFaceResult(outcome.result())); - else - return SearchFaceOutcome(outcome.error()); -} - -void ImmClient::searchFaceAsync(const SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, searchFace(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::SearchFaceOutcomeCallable ImmClient::searchFaceCallable(const SearchFaceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->searchFace(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetImageOutcome ImmClient::getImage(const GetImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetImageOutcome(GetImageResult(outcome.result())); - else - return GetImageOutcome(outcome.error()); -} - -void ImmClient::getImageAsync(const GetImageRequest& request, const GetImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetImageOutcomeCallable ImmClient::getImageCallable(const GetImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectImageCelebrityOutcome ImmClient::detectImageCelebrity(const DetectImageCelebrityRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectImageCelebrityOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectImageCelebrityOutcome(DetectImageCelebrityResult(outcome.result())); - else - return DetectImageCelebrityOutcome(outcome.error()); -} - -void ImmClient::detectImageCelebrityAsync(const DetectImageCelebrityRequest& request, const DetectImageCelebrityAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectImageCelebrity(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectImageCelebrityOutcomeCallable ImmClient::detectImageCelebrityCallable(const DetectImageCelebrityRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectImageCelebrity(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateSetOutcome ImmClient::createSet(const CreateSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateSetOutcome(CreateSetResult(outcome.result())); - else - return CreateSetOutcome(outcome.error()); -} - -void ImmClient::createSetAsync(const CreateSetRequest& request, const CreateSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateSetOutcomeCallable ImmClient::createSetCallable(const CreateSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeletePornBatchDetectJobOutcome ImmClient::deletePornBatchDetectJob(const DeletePornBatchDetectJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeletePornBatchDetectJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeletePornBatchDetectJobOutcome(DeletePornBatchDetectJobResult(outcome.result())); - else - return DeletePornBatchDetectJobOutcome(outcome.error()); -} - -void ImmClient::deletePornBatchDetectJobAsync(const DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deletePornBatchDetectJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeletePornBatchDetectJobOutcomeCallable ImmClient::deletePornBatchDetectJobCallable(const DeletePornBatchDetectJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deletePornBatchDetectJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListFaceSearchGroupsOutcome ImmClient::listFaceSearchGroups(const ListFaceSearchGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFaceSearchGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFaceSearchGroupsOutcome(ListFaceSearchGroupsResult(outcome.result())); - else - return ListFaceSearchGroupsOutcome(outcome.error()); -} - -void ImmClient::listFaceSearchGroupsAsync(const ListFaceSearchGroupsRequest& request, const ListFaceSearchGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFaceSearchGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListFaceSearchGroupsOutcomeCallable ImmClient::listFaceSearchGroupsCallable(const ListFaceSearchGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFaceSearchGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetTagSetOutcome ImmClient::getTagSet(const GetTagSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetTagSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetTagSetOutcome(GetTagSetResult(outcome.result())); - else - return GetTagSetOutcome(outcome.error()); -} - -void ImmClient::getTagSetAsync(const GetTagSetRequest& request, const GetTagSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getTagSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetTagSetOutcomeCallable ImmClient::getTagSetCallable(const GetTagSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getTagSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ConvertOfficeFormatOutcome ImmClient::convertOfficeFormat(const ConvertOfficeFormatRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ConvertOfficeFormatOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ConvertOfficeFormatOutcome(ConvertOfficeFormatResult(outcome.result())); - else - return ConvertOfficeFormatOutcome(outcome.error()); -} - -void ImmClient::convertOfficeFormatAsync(const ConvertOfficeFormatRequest& request, const ConvertOfficeFormatAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, convertOfficeFormat(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ConvertOfficeFormatOutcomeCallable ImmClient::convertOfficeFormatCallable(const ConvertOfficeFormatRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->convertOfficeFormat(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::UpdateFaceGroupOutcome ImmClient::updateFaceGroup(const UpdateFaceGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateFaceGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateFaceGroupOutcome(UpdateFaceGroupResult(outcome.result())); - else - return UpdateFaceGroupOutcome(outcome.error()); -} - -void ImmClient::updateFaceGroupAsync(const UpdateFaceGroupRequest& request, const UpdateFaceGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateFaceGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::UpdateFaceGroupOutcomeCallable ImmClient::updateFaceGroupCallable(const UpdateFaceGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateFaceGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListTagPhotosOutcome ImmClient::listTagPhotos(const ListTagPhotosRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagPhotosOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagPhotosOutcome(ListTagPhotosResult(outcome.result())); - else - return ListTagPhotosOutcome(outcome.error()); -} - -void ImmClient::listTagPhotosAsync(const ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagPhotos(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListTagPhotosOutcomeCallable ImmClient::listTagPhotosCallable(const ListTagPhotosRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagPhotos(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectImageBodiesOutcome ImmClient::detectImageBodies(const DetectImageBodiesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectImageBodiesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectImageBodiesOutcome(DetectImageBodiesResult(outcome.result())); - else - return DetectImageBodiesOutcome(outcome.error()); -} - -void ImmClient::detectImageBodiesAsync(const DetectImageBodiesRequest& request, const DetectImageBodiesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectImageBodies(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectImageBodiesOutcomeCallable ImmClient::detectImageBodiesCallable(const DetectImageBodiesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectImageBodies(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteFaceSearchImageByIdOutcome ImmClient::deleteFaceSearchImageById(const DeleteFaceSearchImageByIdRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteFaceSearchImageByIdOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteFaceSearchImageByIdOutcome(DeleteFaceSearchImageByIdResult(outcome.result())); - else - return DeleteFaceSearchImageByIdOutcome(outcome.error()); -} - -void ImmClient::deleteFaceSearchImageByIdAsync(const DeleteFaceSearchImageByIdRequest& request, const DeleteFaceSearchImageByIdAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteFaceSearchImageById(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteFaceSearchImageByIdOutcomeCallable ImmClient::deleteFaceSearchImageByIdCallable(const DeleteFaceSearchImageByIdRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteFaceSearchImageById(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::IndexVideoOutcome ImmClient::indexVideo(const IndexVideoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return IndexVideoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return IndexVideoOutcome(IndexVideoResult(outcome.result())); - else - return IndexVideoOutcome(outcome.error()); -} - -void ImmClient::indexVideoAsync(const IndexVideoRequest& request, const IndexVideoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, indexVideo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::IndexVideoOutcomeCallable ImmClient::indexVideoCallable(const IndexVideoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->indexVideo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteDocIndexOutcome ImmClient::deleteDocIndex(const DeleteDocIndexRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteDocIndexOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteDocIndexOutcome(DeleteDocIndexResult(outcome.result())); - else - return DeleteDocIndexOutcome(outcome.error()); -} - -void ImmClient::deleteDocIndexAsync(const DeleteDocIndexRequest& request, const DeleteDocIndexAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteDocIndex(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteDocIndexOutcomeCallable ImmClient::deleteDocIndexCallable(const DeleteDocIndexRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteDocIndex(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetDocIndexTaskOutcome ImmClient::getDocIndexTask(const GetDocIndexTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDocIndexTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDocIndexTaskOutcome(GetDocIndexTaskResult(outcome.result())); - else - return GetDocIndexTaskOutcome(outcome.error()); -} - -void ImmClient::getDocIndexTaskAsync(const GetDocIndexTaskRequest& request, const GetDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDocIndexTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetDocIndexTaskOutcomeCallable ImmClient::getDocIndexTaskCallable(const GetDocIndexTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDocIndexTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetImageJobOutcome ImmClient::getImageJob(const GetImageJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetImageJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetImageJobOutcome(GetImageJobResult(outcome.result())); - else - return GetImageJobOutcome(outcome.error()); -} - -void ImmClient::getImageJobAsync(const GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getImageJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetImageJobOutcomeCallable ImmClient::getImageJobCallable(const GetImageJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getImageJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListVideoAudiosOutcome ImmClient::listVideoAudios(const ListVideoAudiosRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListVideoAudiosOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListVideoAudiosOutcome(ListVideoAudiosResult(outcome.result())); - else - return ListVideoAudiosOutcome(outcome.error()); -} - -void ImmClient::listVideoAudiosAsync(const ListVideoAudiosRequest& request, const ListVideoAudiosAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listVideoAudios(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListVideoAudiosOutcomeCallable ImmClient::listVideoAudiosCallable(const ListVideoAudiosRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listVideoAudios(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateMergeFaceGroupsJobOutcome ImmClient::createMergeFaceGroupsJob(const CreateMergeFaceGroupsJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateMergeFaceGroupsJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateMergeFaceGroupsJobOutcome(CreateMergeFaceGroupsJobResult(outcome.result())); - else - return CreateMergeFaceGroupsJobOutcome(outcome.error()); -} - -void ImmClient::createMergeFaceGroupsJobAsync(const CreateMergeFaceGroupsJobRequest& request, const CreateMergeFaceGroupsJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createMergeFaceGroupsJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateMergeFaceGroupsJobOutcomeCallable ImmClient::createMergeFaceGroupsJobCallable(const CreateMergeFaceGroupsJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createMergeFaceGroupsJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteTagByUrlOutcome ImmClient::deleteTagByUrl(const DeleteTagByUrlRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTagByUrlOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTagByUrlOutcome(DeleteTagByUrlResult(outcome.result())); - else - return DeleteTagByUrlOutcome(outcome.error()); -} - -void ImmClient::deleteTagByUrlAsync(const DeleteTagByUrlRequest& request, const DeleteTagByUrlAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTagByUrl(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteTagByUrlOutcomeCallable ImmClient::deleteTagByUrlCallable(const DeleteTagByUrlRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTagByUrl(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListTagSetsOutcome ImmClient::listTagSets(const ListTagSetsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagSetsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagSetsOutcome(ListTagSetsResult(outcome.result())); - else - return ListTagSetsOutcome(outcome.error()); -} - -void ImmClient::listTagSetsAsync(const ListTagSetsRequest& request, const ListTagSetsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagSets(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListTagSetsOutcomeCallable ImmClient::listTagSetsCallable(const ListTagSetsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagSets(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListTagNamesOutcome ImmClient::listTagNames(const ListTagNamesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagNamesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagNamesOutcome(ListTagNamesResult(outcome.result())); - else - return ListTagNamesOutcome(outcome.error()); -} - -void ImmClient::listTagNamesAsync(const ListTagNamesRequest& request, const ListTagNamesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagNames(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListTagNamesOutcomeCallable ImmClient::listTagNamesCallable(const ListTagNamesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagNames(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateOfficeConversionTaskOutcome ImmClient::createOfficeConversionTask(const CreateOfficeConversionTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateOfficeConversionTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateOfficeConversionTaskOutcome(CreateOfficeConversionTaskResult(outcome.result())); - else - return CreateOfficeConversionTaskOutcome(outcome.error()); -} - -void ImmClient::createOfficeConversionTaskAsync(const CreateOfficeConversionTaskRequest& request, const CreateOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createOfficeConversionTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateOfficeConversionTaskOutcomeCallable ImmClient::createOfficeConversionTaskCallable(const CreateOfficeConversionTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createOfficeConversionTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectQRCodesOutcome ImmClient::detectQRCodes(const DetectQRCodesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectQRCodesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectQRCodesOutcome(DetectQRCodesResult(outcome.result())); - else - return DetectQRCodesOutcome(outcome.error()); -} - -void ImmClient::detectQRCodesAsync(const DetectQRCodesRequest& request, const DetectQRCodesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectQRCodes(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectQRCodesOutcomeCallable ImmClient::detectQRCodesCallable(const DetectQRCodesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectQRCodes(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetFaceSearchGroupOutcome ImmClient::getFaceSearchGroup(const GetFaceSearchGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFaceSearchGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFaceSearchGroupOutcome(GetFaceSearchGroupResult(outcome.result())); - else - return GetFaceSearchGroupOutcome(outcome.error()); -} - -void ImmClient::getFaceSearchGroupAsync(const GetFaceSearchGroupRequest& request, const GetFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFaceSearchGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetFaceSearchGroupOutcomeCallable ImmClient::getFaceSearchGroupCallable(const GetFaceSearchGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFaceSearchGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetVideoOutcome ImmClient::getVideo(const GetVideoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetVideoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetVideoOutcome(GetVideoResult(outcome.result())); - else - return GetVideoOutcome(outcome.error()); -} - -void ImmClient::getVideoAsync(const GetVideoRequest& request, const GetVideoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getVideo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetVideoOutcomeCallable ImmClient::getVideoCallable(const GetVideoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getVideo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListImagesOutcome ImmClient::listImages(const ListImagesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListImagesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListImagesOutcome(ListImagesResult(outcome.result())); - else - return ListImagesOutcome(outcome.error()); -} - -void ImmClient::listImagesAsync(const ListImagesRequest& request, const ListImagesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listImages(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListImagesOutcomeCallable ImmClient::listImagesCallable(const ListImagesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listImages(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CompareImageFacesOutcome ImmClient::compareImageFaces(const CompareImageFacesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CompareImageFacesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CompareImageFacesOutcome(CompareImageFacesResult(outcome.result())); - else - return CompareImageFacesOutcome(outcome.error()); -} - -void ImmClient::compareImageFacesAsync(const CompareImageFacesRequest& request, const CompareImageFacesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, compareImageFaces(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CompareImageFacesOutcomeCallable ImmClient::compareImageFacesCallable(const CompareImageFacesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->compareImageFaces(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteTagJobOutcome ImmClient::deleteTagJob(const DeleteTagJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteTagJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteTagJobOutcome(DeleteTagJobResult(outcome.result())); - else - return DeleteTagJobOutcome(outcome.error()); -} - -void ImmClient::deleteTagJobAsync(const DeleteTagJobRequest& request, const DeleteTagJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteTagJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteTagJobOutcomeCallable ImmClient::deleteTagJobCallable(const DeleteTagJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteTagJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteOfficeConversionTaskOutcome ImmClient::deleteOfficeConversionTask(const DeleteOfficeConversionTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteOfficeConversionTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteOfficeConversionTaskOutcome(DeleteOfficeConversionTaskResult(outcome.result())); - else - return DeleteOfficeConversionTaskOutcome(outcome.error()); -} - -void ImmClient::deleteOfficeConversionTaskAsync(const DeleteOfficeConversionTaskRequest& request, const DeleteOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteOfficeConversionTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteOfficeConversionTaskOutcomeCallable ImmClient::deleteOfficeConversionTaskCallable(const DeleteOfficeConversionTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteOfficeConversionTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::PhotoProcessOutcome ImmClient::photoProcess(const PhotoProcessRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return PhotoProcessOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return PhotoProcessOutcome(PhotoProcessResult(outcome.result())); - else - return PhotoProcessOutcome(outcome.error()); -} - -void ImmClient::photoProcessAsync(const PhotoProcessRequest& request, const PhotoProcessAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, photoProcess(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::PhotoProcessOutcomeCallable ImmClient::photoProcessCallable(const PhotoProcessRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->photoProcess(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetPhotoProcessTaskOutcome ImmClient::getPhotoProcessTask(const GetPhotoProcessTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetPhotoProcessTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetPhotoProcessTaskOutcome(GetPhotoProcessTaskResult(outcome.result())); - else - return GetPhotoProcessTaskOutcome(outcome.error()); -} - -void ImmClient::getPhotoProcessTaskAsync(const GetPhotoProcessTaskRequest& request, const GetPhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getPhotoProcessTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetPhotoProcessTaskOutcomeCallable ImmClient::getPhotoProcessTaskCallable(const GetPhotoProcessTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getPhotoProcessTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListVideoFramesOutcome ImmClient::listVideoFrames(const ListVideoFramesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListVideoFramesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListVideoFramesOutcome(ListVideoFramesResult(outcome.result())); - else - return ListVideoFramesOutcome(outcome.error()); -} - -void ImmClient::listVideoFramesAsync(const ListVideoFramesRequest& request, const ListVideoFramesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listVideoFrames(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListVideoFramesOutcomeCallable ImmClient::listVideoFramesCallable(const ListVideoFramesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listVideoFrames(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetPornBatchDetectJobOutcome ImmClient::getPornBatchDetectJob(const GetPornBatchDetectJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetPornBatchDetectJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetPornBatchDetectJobOutcome(GetPornBatchDetectJobResult(outcome.result())); - else - return GetPornBatchDetectJobOutcome(outcome.error()); -} - -void ImmClient::getPornBatchDetectJobAsync(const GetPornBatchDetectJobRequest& request, const GetPornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getPornBatchDetectJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetPornBatchDetectJobOutcomeCallable ImmClient::getPornBatchDetectJobCallable(const GetPornBatchDetectJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getPornBatchDetectJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectLogoOutcome ImmClient::detectLogo(const DetectLogoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectLogoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectLogoOutcome(DetectLogoResult(outcome.result())); - else - return DetectLogoOutcome(outcome.error()); -} - -void ImmClient::detectLogoAsync(const DetectLogoRequest& request, const DetectLogoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectLogo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectLogoOutcomeCallable ImmClient::detectLogoCallable(const DetectLogoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectLogo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectClothesOutcome ImmClient::detectClothes(const DetectClothesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectClothesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectClothesOutcome(DetectClothesResult(outcome.result())); - else - return DetectClothesOutcome(outcome.error()); -} - -void ImmClient::detectClothesAsync(const DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectClothes(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectClothesOutcomeCallable ImmClient::detectClothesCallable(const DetectClothesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectClothes(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListTagJobsOutcome ImmClient::listTagJobs(const ListTagJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListTagJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListTagJobsOutcome(ListTagJobsResult(outcome.result())); - else - return ListTagJobsOutcome(outcome.error()); -} - -void ImmClient::listTagJobsAsync(const ListTagJobsRequest& request, const ListTagJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listTagJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListTagJobsOutcomeCallable ImmClient::listTagJobsCallable(const ListTagJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listTagJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DescribeRegionsOutcome ImmClient::describeRegions(const DescribeRegionsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DescribeRegionsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result())); - else - return DescribeRegionsOutcome(outcome.error()); -} - -void ImmClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, describeRegions(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DescribeRegionsOutcomeCallable ImmClient::describeRegionsCallable(const DescribeRegionsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->describeRegions(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteFaceSearchUserOutcome ImmClient::deleteFaceSearchUser(const DeleteFaceSearchUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteFaceSearchUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteFaceSearchUserOutcome(DeleteFaceSearchUserResult(outcome.result())); - else - return DeleteFaceSearchUserOutcome(outcome.error()); -} - -void ImmClient::deleteFaceSearchUserAsync(const DeleteFaceSearchUserRequest& request, const DeleteFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteFaceSearchUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteFaceSearchUserOutcomeCallable ImmClient::deleteFaceSearchUserCallable(const DeleteFaceSearchUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteFaceSearchUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetOfficeConversionTaskOutcome ImmClient::getOfficeConversionTask(const GetOfficeConversionTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetOfficeConversionTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetOfficeConversionTaskOutcome(GetOfficeConversionTaskResult(outcome.result())); - else - return GetOfficeConversionTaskOutcome(outcome.error()); -} - -void ImmClient::getOfficeConversionTaskAsync(const GetOfficeConversionTaskRequest& request, const GetOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getOfficeConversionTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetOfficeConversionTaskOutcomeCallable ImmClient::getOfficeConversionTaskCallable(const GetOfficeConversionTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getOfficeConversionTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateTagSetOutcome ImmClient::createTagSet(const CreateTagSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateTagSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateTagSetOutcome(CreateTagSetResult(outcome.result())); - else - return CreateTagSetOutcome(outcome.error()); -} - -void ImmClient::createTagSetAsync(const CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createTagSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateTagSetOutcomeCallable ImmClient::createTagSetCallable(const CreateTagSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createTagSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::RegistFaceOutcome ImmClient::registFace(const RegistFaceRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return RegistFaceOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return RegistFaceOutcome(RegistFaceResult(outcome.result())); - else - return RegistFaceOutcome(outcome.error()); -} - -void ImmClient::registFaceAsync(const RegistFaceRequest& request, const RegistFaceAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, registFace(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::RegistFaceOutcomeCallable ImmClient::registFaceCallable(const RegistFaceRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->registFace(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::FindSimilarFacesOutcome ImmClient::findSimilarFaces(const FindSimilarFacesRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return FindSimilarFacesOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return FindSimilarFacesOutcome(FindSimilarFacesResult(outcome.result())); - else - return FindSimilarFacesOutcome(outcome.error()); -} - -void ImmClient::findSimilarFacesAsync(const FindSimilarFacesRequest& request, const FindSimilarFacesAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, findSimilarFaces(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::FindSimilarFacesOutcomeCallable ImmClient::findSimilarFacesCallable(const FindSimilarFacesRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->findSimilarFaces(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetFaceSearchUserOutcome ImmClient::getFaceSearchUser(const GetFaceSearchUserRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetFaceSearchUserOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetFaceSearchUserOutcome(GetFaceSearchUserResult(outcome.result())); - else - return GetFaceSearchUserOutcome(outcome.error()); -} - -void ImmClient::getFaceSearchUserAsync(const GetFaceSearchUserRequest& request, const GetFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getFaceSearchUser(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetFaceSearchUserOutcomeCallable ImmClient::getFaceSearchUserCallable(const GetFaceSearchUserRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getFaceSearchUser(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteImageJobOutcome ImmClient::deleteImageJob(const DeleteImageJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteImageJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteImageJobOutcome(DeleteImageJobResult(outcome.result())); - else - return DeleteImageJobOutcome(outcome.error()); -} - -void ImmClient::deleteImageJobAsync(const DeleteImageJobRequest& request, const DeleteImageJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteImageJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteImageJobOutcomeCallable ImmClient::deleteImageJobCallable(const DeleteImageJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteImageJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateFaceSetOutcome ImmClient::createFaceSet(const CreateFaceSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateFaceSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateFaceSetOutcome(CreateFaceSetResult(outcome.result())); - else - return CreateFaceSetOutcome(outcome.error()); -} - -void ImmClient::createFaceSetAsync(const CreateFaceSetRequest& request, const CreateFaceSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createFaceSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateFaceSetOutcomeCallable ImmClient::createFaceSetCallable(const CreateFaceSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createFaceSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteFaceSearchGroupOutcome ImmClient::deleteFaceSearchGroup(const DeleteFaceSearchGroupRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteFaceSearchGroupOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteFaceSearchGroupOutcome(DeleteFaceSearchGroupResult(outcome.result())); - else - return DeleteFaceSearchGroupOutcome(outcome.error()); -} - -void ImmClient::deleteFaceSearchGroupAsync(const DeleteFaceSearchGroupRequest& request, const DeleteFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteFaceSearchGroup(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteFaceSearchGroupOutcomeCallable ImmClient::deleteFaceSearchGroupCallable(const DeleteFaceSearchGroupRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteFaceSearchGroup(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::GetDocIndexOutcome ImmClient::getDocIndex(const GetDocIndexRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return GetDocIndexOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return GetDocIndexOutcome(GetDocIndexResult(outcome.result())); - else - return GetDocIndexOutcome(outcome.error()); -} - -void ImmClient::getDocIndexAsync(const GetDocIndexRequest& request, const GetDocIndexAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, getDocIndex(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::GetDocIndexOutcomeCallable ImmClient::getDocIndexCallable(const GetDocIndexRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->getDocIndex(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::IndexImageOutcome ImmClient::indexImage(const IndexImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return IndexImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return IndexImageOutcome(IndexImageResult(outcome.result())); - else - return IndexImageOutcome(outcome.error()); -} - -void ImmClient::indexImageAsync(const IndexImageRequest& request, const IndexImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, indexImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::IndexImageOutcomeCallable ImmClient::indexImageCallable(const IndexImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->indexImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DetectImageTextsOutcome ImmClient::detectImageTexts(const DetectImageTextsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DetectImageTextsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DetectImageTextsOutcome(DetectImageTextsResult(outcome.result())); - else - return DetectImageTextsOutcome(outcome.error()); -} - -void ImmClient::detectImageTextsAsync(const DetectImageTextsRequest& request, const DetectImageTextsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, detectImageTexts(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DetectImageTextsOutcomeCallable ImmClient::detectImageTextsCallable(const DetectImageTextsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->detectImageTexts(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListImageJobsOutcome ImmClient::listImageJobs(const ListImageJobsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListImageJobsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListImageJobsOutcome(ListImageJobsResult(outcome.result())); - else - return ListImageJobsOutcome(outcome.error()); -} - -void ImmClient::listImageJobsAsync(const ListImageJobsRequest& request, const ListImageJobsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listImageJobs(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListImageJobsOutcomeCallable ImmClient::listImageJobsCallable(const ListImageJobsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listImageJobs(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::CreateGroupFacesJobOutcome ImmClient::createGroupFacesJob(const CreateGroupFacesJobRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return CreateGroupFacesJobOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return CreateGroupFacesJobOutcome(CreateGroupFacesJobResult(outcome.result())); - else - return CreateGroupFacesJobOutcome(outcome.error()); -} - -void ImmClient::createGroupFacesJobAsync(const CreateGroupFacesJobRequest& request, const CreateGroupFacesJobAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, createGroupFacesJob(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::CreateGroupFacesJobOutcomeCallable ImmClient::createGroupFacesJobCallable(const CreateGroupFacesJobRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->createGroupFacesJob(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::UpdateImageOutcome ImmClient::updateImage(const UpdateImageRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateImageOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateImageOutcome(UpdateImageResult(outcome.result())); - else - return UpdateImageOutcome(outcome.error()); -} - -void ImmClient::updateImageAsync(const UpdateImageRequest& request, const UpdateImageAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateImage(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::UpdateImageOutcomeCallable ImmClient::updateImageCallable(const UpdateImageRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateImage(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListVideoTasksOutcome ImmClient::listVideoTasks(const ListVideoTasksRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListVideoTasksOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListVideoTasksOutcome(ListVideoTasksResult(outcome.result())); - else - return ListVideoTasksOutcome(outcome.error()); -} - -void ImmClient::listVideoTasksAsync(const ListVideoTasksRequest& request, const ListVideoTasksAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listVideoTasks(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListVideoTasksOutcomeCallable ImmClient::listVideoTasksCallable(const ListVideoTasksRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listVideoTasks(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::UpdateProjectOutcome ImmClient::updateProject(const UpdateProjectRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateProjectOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateProjectOutcome(UpdateProjectResult(outcome.result())); - else - return UpdateProjectOutcome(outcome.error()); -} - -void ImmClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateProject(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::UpdateProjectOutcomeCallable ImmClient::updateProjectCallable(const UpdateProjectRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateProject(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::DeleteVideoOutcome ImmClient::deleteVideo(const DeleteVideoRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return DeleteVideoOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return DeleteVideoOutcome(DeleteVideoResult(outcome.result())); - else - return DeleteVideoOutcome(outcome.error()); -} - -void ImmClient::deleteVideoAsync(const DeleteVideoRequest& request, const DeleteVideoAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, deleteVideo(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::DeleteVideoOutcomeCallable ImmClient::deleteVideoCallable(const DeleteVideoRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->deleteVideo(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListOfficeConversionTaskOutcome ImmClient::listOfficeConversionTask(const ListOfficeConversionTaskRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListOfficeConversionTaskOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListOfficeConversionTaskOutcome(ListOfficeConversionTaskResult(outcome.result())); - else - return ListOfficeConversionTaskOutcome(outcome.error()); -} - -void ImmClient::listOfficeConversionTaskAsync(const ListOfficeConversionTaskRequest& request, const ListOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listOfficeConversionTask(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListOfficeConversionTaskOutcomeCallable ImmClient::listOfficeConversionTaskCallable(const ListOfficeConversionTaskRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listOfficeConversionTask(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::UpdateSetOutcome ImmClient::updateSet(const UpdateSetRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return UpdateSetOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return UpdateSetOutcome(UpdateSetResult(outcome.result())); - else - return UpdateSetOutcome(outcome.error()); -} - -void ImmClient::updateSetAsync(const UpdateSetRequest& request, const UpdateSetAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, updateSet(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::UpdateSetOutcomeCallable ImmClient::updateSetCallable(const UpdateSetRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->updateSet(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} - -ImmClient::ListFaceGroupsOutcome ImmClient::listFaceGroups(const ListFaceGroupsRequest &request) const -{ - auto endpointOutcome = endpointProvider_->getEndpoint(); - if (!endpointOutcome.isSuccess()) - return ListFaceGroupsOutcome(endpointOutcome.error()); - - auto outcome = makeRequest(endpointOutcome.result(), request); - - if (outcome.isSuccess()) - return ListFaceGroupsOutcome(ListFaceGroupsResult(outcome.result())); - else - return ListFaceGroupsOutcome(outcome.error()); -} - -void ImmClient::listFaceGroupsAsync(const ListFaceGroupsRequest& request, const ListFaceGroupsAsyncHandler& handler, const std::shared_ptr& context) const -{ - auto fn = [this, request, handler, context]() - { - handler(this, request, listFaceGroups(request), context); - }; - - asyncExecute(new Runnable(fn)); -} - -ImmClient::ListFaceGroupsOutcomeCallable ImmClient::listFaceGroupsCallable(const ListFaceGroupsRequest &request) const -{ - auto task = std::make_shared>( - [this, request]() - { - return this->listFaceGroups(request); - }); - - asyncExecute(new Runnable([task]() { (*task)(); })); - return task->get_future(); -} +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +namespace +{ + const std::string SERVICE_NAME = "imm"; +} + +ImmClient::ImmClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "imm"); +} + +ImmClient::ImmClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "imm"); +} + +ImmClient::ImmClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "imm"); +} + +ImmClient::~ImmClient() +{} + +ImmClient::ListPornBatchDetectJobsOutcome ImmClient::listPornBatchDetectJobs(const ListPornBatchDetectJobsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPornBatchDetectJobsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPornBatchDetectJobsOutcome(ListPornBatchDetectJobsResult(outcome.result())); + else + return ListPornBatchDetectJobsOutcome(outcome.error()); +} + +void ImmClient::listPornBatchDetectJobsAsync(const ListPornBatchDetectJobsRequest& request, const ListPornBatchDetectJobsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPornBatchDetectJobs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListPornBatchDetectJobsOutcomeCallable ImmClient::listPornBatchDetectJobsCallable(const ListPornBatchDetectJobsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPornBatchDetectJobs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectImageFacesOutcome ImmClient::detectImageFaces(const DetectImageFacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectImageFacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectImageFacesOutcome(DetectImageFacesResult(outcome.result())); + else + return DetectImageFacesOutcome(outcome.error()); +} + +void ImmClient::detectImageFacesAsync(const DetectImageFacesRequest& request, const DetectImageFacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectImageFaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectImageFacesOutcomeCallable ImmClient::detectImageFacesCallable(const DetectImageFacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectImageFaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectImageTagsOutcome ImmClient::detectImageTags(const DetectImageTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectImageTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectImageTagsOutcome(DetectImageTagsResult(outcome.result())); + else + return DetectImageTagsOutcome(outcome.error()); +} + +void ImmClient::detectImageTagsAsync(const DetectImageTagsRequest& request, const DetectImageTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectImageTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectImageTagsOutcomeCallable ImmClient::detectImageTagsCallable(const DetectImageTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectImageTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteImageOutcome ImmClient::deleteImage(const DeleteImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteImageOutcome(DeleteImageResult(outcome.result())); + else + return DeleteImageOutcome(outcome.error()); +} + +void ImmClient::deleteImageAsync(const DeleteImageRequest& request, const DeleteImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteImageOutcomeCallable ImmClient::deleteImageCallable(const DeleteImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateTagJobOutcome ImmClient::createTagJob(const CreateTagJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTagJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTagJobOutcome(CreateTagJobResult(outcome.result())); + else + return CreateTagJobOutcome(outcome.error()); +} + +void ImmClient::createTagJobAsync(const CreateTagJobRequest& request, const CreateTagJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTagJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateTagJobOutcomeCallable ImmClient::createTagJobCallable(const CreateTagJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTagJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::IndexTagOutcome ImmClient::indexTag(const IndexTagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return IndexTagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return IndexTagOutcome(IndexTagResult(outcome.result())); + else + return IndexTagOutcome(outcome.error()); +} + +void ImmClient::indexTagAsync(const IndexTagRequest& request, const IndexTagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, indexTag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::IndexTagOutcomeCallable ImmClient::indexTagCallable(const IndexTagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->indexTag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListProjectsOutcome ImmClient::listProjects(const ListProjectsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListProjectsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListProjectsOutcome(ListProjectsResult(outcome.result())); + else + return ListProjectsOutcome(outcome.error()); +} + +void ImmClient::listProjectsAsync(const ListProjectsRequest& request, const ListProjectsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listProjects(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListProjectsOutcomeCallable ImmClient::listProjectsCallable(const ListProjectsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listProjects(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteSetOutcome ImmClient::deleteSet(const DeleteSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteSetOutcome(DeleteSetResult(outcome.result())); + else + return DeleteSetOutcome(outcome.error()); +} + +void ImmClient::deleteSetAsync(const DeleteSetRequest& request, const DeleteSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteSetOutcomeCallable ImmClient::deleteSetCallable(const DeleteSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetFaceSearchImageOutcome ImmClient::getFaceSearchImage(const GetFaceSearchImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFaceSearchImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFaceSearchImageOutcome(GetFaceSearchImageResult(outcome.result())); + else + return GetFaceSearchImageOutcome(outcome.error()); +} + +void ImmClient::getFaceSearchImageAsync(const GetFaceSearchImageRequest& request, const GetFaceSearchImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFaceSearchImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetFaceSearchImageOutcomeCallable ImmClient::getFaceSearchImageCallable(const GetFaceSearchImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFaceSearchImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateVideoAnalyseTaskOutcome ImmClient::createVideoAnalyseTask(const CreateVideoAnalyseTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateVideoAnalyseTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateVideoAnalyseTaskOutcome(CreateVideoAnalyseTaskResult(outcome.result())); + else + return CreateVideoAnalyseTaskOutcome(outcome.error()); +} + +void ImmClient::createVideoAnalyseTaskAsync(const CreateVideoAnalyseTaskRequest& request, const CreateVideoAnalyseTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createVideoAnalyseTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateVideoAnalyseTaskOutcomeCallable ImmClient::createVideoAnalyseTaskCallable(const CreateVideoAnalyseTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createVideoAnalyseTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CompareFaceOutcome ImmClient::compareFace(const CompareFaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CompareFaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CompareFaceOutcome(CompareFaceResult(outcome.result())); + else + return CompareFaceOutcome(outcome.error()); +} + +void ImmClient::compareFaceAsync(const CompareFaceRequest& request, const CompareFaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, compareFace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CompareFaceOutcomeCallable ImmClient::compareFaceCallable(const CompareFaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->compareFace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectTagOutcome ImmClient::detectTag(const DetectTagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectTagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectTagOutcome(DetectTagResult(outcome.result())); + else + return DetectTagOutcome(outcome.error()); +} + +void ImmClient::detectTagAsync(const DetectTagRequest& request, const DetectTagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectTag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectTagOutcomeCallable ImmClient::detectTagCallable(const DetectTagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectTag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListFaceSearchGroupUsersOutcome ImmClient::listFaceSearchGroupUsers(const ListFaceSearchGroupUsersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFaceSearchGroupUsersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFaceSearchGroupUsersOutcome(ListFaceSearchGroupUsersResult(outcome.result())); + else + return ListFaceSearchGroupUsersOutcome(outcome.error()); +} + +void ImmClient::listFaceSearchGroupUsersAsync(const ListFaceSearchGroupUsersRequest& request, const ListFaceSearchGroupUsersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFaceSearchGroupUsers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListFaceSearchGroupUsersOutcomeCallable ImmClient::listFaceSearchGroupUsersCallable(const ListFaceSearchGroupUsersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFaceSearchGroupUsers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListFaceSearchGroupImagesOutcome ImmClient::listFaceSearchGroupImages(const ListFaceSearchGroupImagesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFaceSearchGroupImagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFaceSearchGroupImagesOutcome(ListFaceSearchGroupImagesResult(outcome.result())); + else + return ListFaceSearchGroupImagesOutcome(outcome.error()); +} + +void ImmClient::listFaceSearchGroupImagesAsync(const ListFaceSearchGroupImagesRequest& request, const ListFaceSearchGroupImagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFaceSearchGroupImages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListFaceSearchGroupImagesOutcomeCallable ImmClient::listFaceSearchGroupImagesCallable(const ListFaceSearchGroupImagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFaceSearchGroupImages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateCADConversionTaskOutcome ImmClient::createCADConversionTask(const CreateCADConversionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCADConversionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCADConversionTaskOutcome(CreateCADConversionTaskResult(outcome.result())); + else + return CreateCADConversionTaskOutcome(outcome.error()); +} + +void ImmClient::createCADConversionTaskAsync(const CreateCADConversionTaskRequest& request, const CreateCADConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCADConversionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateCADConversionTaskOutcomeCallable ImmClient::createCADConversionTaskCallable(const CreateCADConversionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCADConversionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetTagJobOutcome ImmClient::getTagJob(const GetTagJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTagJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTagJobOutcome(GetTagJobResult(outcome.result())); + else + return GetTagJobOutcome(outcome.error()); +} + +void ImmClient::getTagJobAsync(const GetTagJobRequest& request, const GetTagJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTagJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetTagJobOutcomeCallable ImmClient::getTagJobCallable(const GetTagJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTagJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteFaceJobOutcome ImmClient::deleteFaceJob(const DeleteFaceJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFaceJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFaceJobOutcome(DeleteFaceJobResult(outcome.result())); + else + return DeleteFaceJobOutcome(outcome.error()); +} + +void ImmClient::deleteFaceJobAsync(const DeleteFaceJobRequest& request, const DeleteFaceJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFaceJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteFaceJobOutcomeCallable ImmClient::deleteFaceJobCallable(const DeleteFaceJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFaceJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateDocIndexTaskOutcome ImmClient::createDocIndexTask(const CreateDocIndexTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDocIndexTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDocIndexTaskOutcome(CreateDocIndexTaskResult(outcome.result())); + else + return CreateDocIndexTaskOutcome(outcome.error()); +} + +void ImmClient::createDocIndexTaskAsync(const CreateDocIndexTaskRequest& request, const CreateDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDocIndexTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateDocIndexTaskOutcomeCallable ImmClient::createDocIndexTaskCallable(const CreateDocIndexTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDocIndexTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::PutProjectOutcome ImmClient::putProject(const PutProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PutProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PutProjectOutcome(PutProjectResult(outcome.result())); + else + return PutProjectOutcome(outcome.error()); +} + +void ImmClient::putProjectAsync(const PutProjectRequest& request, const PutProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, putProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::PutProjectOutcomeCallable ImmClient::putProjectCallable(const PutProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->putProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetSetOutcome ImmClient::getSet(const GetSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSetOutcome(GetSetResult(outcome.result())); + else + return GetSetOutcome(outcome.error()); +} + +void ImmClient::getSetAsync(const GetSetRequest& request, const GetSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetSetOutcomeCallable ImmClient::getSetCallable(const GetSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetVideoTaskOutcome ImmClient::getVideoTask(const GetVideoTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVideoTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVideoTaskOutcome(GetVideoTaskResult(outcome.result())); + else + return GetVideoTaskOutcome(outcome.error()); +} + +void ImmClient::getVideoTaskAsync(const GetVideoTaskRequest& request, const GetVideoTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVideoTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetVideoTaskOutcomeCallable ImmClient::getVideoTaskCallable(const GetVideoTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVideoTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListSetsOutcome ImmClient::listSets(const ListSetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSetsOutcome(ListSetsResult(outcome.result())); + else + return ListSetsOutcome(outcome.error()); +} + +void ImmClient::listSetsAsync(const ListSetsRequest& request, const ListSetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListSetsOutcomeCallable ImmClient::listSetsCallable(const ListSetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::SearchDocIndexOutcome ImmClient::searchDocIndex(const SearchDocIndexRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SearchDocIndexOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SearchDocIndexOutcome(SearchDocIndexResult(outcome.result())); + else + return SearchDocIndexOutcome(outcome.error()); +} + +void ImmClient::searchDocIndexAsync(const SearchDocIndexRequest& request, const SearchDocIndexAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, searchDocIndex(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::SearchDocIndexOutcomeCallable ImmClient::searchDocIndexCallable(const SearchDocIndexRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->searchDocIndex(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListPhotoProcessTasksOutcome ImmClient::listPhotoProcessTasks(const ListPhotoProcessTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListPhotoProcessTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListPhotoProcessTasksOutcome(ListPhotoProcessTasksResult(outcome.result())); + else + return ListPhotoProcessTasksOutcome(outcome.error()); +} + +void ImmClient::listPhotoProcessTasksAsync(const ListPhotoProcessTasksRequest& request, const ListPhotoProcessTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listPhotoProcessTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListPhotoProcessTasksOutcomeCallable ImmClient::listPhotoProcessTasksCallable(const ListPhotoProcessTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listPhotoProcessTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListVideosOutcome ImmClient::listVideos(const ListVideosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVideosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVideosOutcome(ListVideosResult(outcome.result())); + else + return ListVideosOutcome(outcome.error()); +} + +void ImmClient::listVideosAsync(const ListVideosRequest& request, const ListVideosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVideos(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListVideosOutcomeCallable ImmClient::listVideosCallable(const ListVideosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVideos(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreatePornBatchDetectJobOutcome ImmClient::createPornBatchDetectJob(const CreatePornBatchDetectJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreatePornBatchDetectJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreatePornBatchDetectJobOutcome(CreatePornBatchDetectJobResult(outcome.result())); + else + return CreatePornBatchDetectJobOutcome(outcome.error()); +} + +void ImmClient::createPornBatchDetectJobAsync(const CreatePornBatchDetectJobRequest& request, const CreatePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createPornBatchDetectJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreatePornBatchDetectJobOutcomeCallable ImmClient::createPornBatchDetectJobCallable(const CreatePornBatchDetectJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createPornBatchDetectJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::FindImagesOutcome ImmClient::findImages(const FindImagesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FindImagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FindImagesOutcome(FindImagesResult(outcome.result())); + else + return FindImagesOutcome(outcome.error()); +} + +void ImmClient::findImagesAsync(const FindImagesRequest& request, const FindImagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, findImages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::FindImagesOutcomeCallable ImmClient::findImagesCallable(const FindImagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->findImages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteTagByNameOutcome ImmClient::deleteTagByName(const DeleteTagByNameRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTagByNameOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTagByNameOutcome(DeleteTagByNameResult(outcome.result())); + else + return DeleteTagByNameOutcome(outcome.error()); +} + +void ImmClient::deleteTagByNameAsync(const DeleteTagByNameRequest& request, const DeleteTagByNameAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTagByName(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteTagByNameOutcomeCallable ImmClient::deleteTagByNameCallable(const DeleteTagByNameRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTagByName(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectImageLogosOutcome ImmClient::detectImageLogos(const DetectImageLogosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectImageLogosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectImageLogosOutcome(DetectImageLogosResult(outcome.result())); + else + return DetectImageLogosOutcome(outcome.error()); +} + +void ImmClient::detectImageLogosAsync(const DetectImageLogosRequest& request, const DetectImageLogosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectImageLogos(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectImageLogosOutcomeCallable ImmClient::detectImageLogosCallable(const DetectImageLogosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectImageLogos(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetProjectOutcome ImmClient::getProject(const GetProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetProjectOutcome(GetProjectResult(outcome.result())); + else + return GetProjectOutcome(outcome.error()); +} + +void ImmClient::getProjectAsync(const GetProjectRequest& request, const GetProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetProjectOutcomeCallable ImmClient::getProjectCallable(const GetProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeletePhotoProcessTaskOutcome ImmClient::deletePhotoProcessTask(const DeletePhotoProcessTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeletePhotoProcessTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeletePhotoProcessTaskOutcome(DeletePhotoProcessTaskResult(outcome.result())); + else + return DeletePhotoProcessTaskOutcome(outcome.error()); +} + +void ImmClient::deletePhotoProcessTaskAsync(const DeletePhotoProcessTaskRequest& request, const DeletePhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deletePhotoProcessTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeletePhotoProcessTaskOutcomeCallable ImmClient::deletePhotoProcessTaskCallable(const DeletePhotoProcessTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deletePhotoProcessTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListSetTagsOutcome ImmClient::listSetTags(const ListSetTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSetTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSetTagsOutcome(ListSetTagsResult(outcome.result())); + else + return ListSetTagsOutcome(outcome.error()); +} + +void ImmClient::listSetTagsAsync(const ListSetTagsRequest& request, const ListSetTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSetTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListSetTagsOutcomeCallable ImmClient::listSetTagsCallable(const ListSetTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSetTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteVideoTaskOutcome ImmClient::deleteVideoTask(const DeleteVideoTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVideoTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVideoTaskOutcome(DeleteVideoTaskResult(outcome.result())); + else + return DeleteVideoTaskOutcome(outcome.error()); +} + +void ImmClient::deleteVideoTaskAsync(const DeleteVideoTaskRequest& request, const DeleteVideoTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVideoTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteVideoTaskOutcomeCallable ImmClient::deleteVideoTaskCallable(const DeleteVideoTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVideoTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::FindImagesByTagNamesOutcome ImmClient::findImagesByTagNames(const FindImagesByTagNamesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FindImagesByTagNamesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FindImagesByTagNamesOutcome(FindImagesByTagNamesResult(outcome.result())); + else + return FindImagesByTagNamesOutcome(outcome.error()); +} + +void ImmClient::findImagesByTagNamesAsync(const FindImagesByTagNamesRequest& request, const FindImagesByTagNamesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, findImagesByTagNames(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::FindImagesByTagNamesOutcomeCallable ImmClient::findImagesByTagNamesCallable(const FindImagesByTagNamesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->findImagesByTagNames(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteTagSetOutcome ImmClient::deleteTagSet(const DeleteTagSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTagSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTagSetOutcome(DeleteTagSetResult(outcome.result())); + else + return DeleteTagSetOutcome(outcome.error()); +} + +void ImmClient::deleteTagSetAsync(const DeleteTagSetRequest& request, const DeleteTagSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTagSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteTagSetOutcomeCallable ImmClient::deleteTagSetCallable(const DeleteTagSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTagSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteProjectOutcome ImmClient::deleteProject(const DeleteProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteProjectOutcome(DeleteProjectResult(outcome.result())); + else + return DeleteProjectOutcome(outcome.error()); +} + +void ImmClient::deleteProjectAsync(const DeleteProjectRequest& request, const DeleteProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteProjectOutcomeCallable ImmClient::deleteProjectCallable(const DeleteProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::UpdateDocIndexMetaOutcome ImmClient::updateDocIndexMeta(const UpdateDocIndexMetaRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateDocIndexMetaOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateDocIndexMetaOutcome(UpdateDocIndexMetaResult(outcome.result())); + else + return UpdateDocIndexMetaOutcome(outcome.error()); +} + +void ImmClient::updateDocIndexMetaAsync(const UpdateDocIndexMetaRequest& request, const UpdateDocIndexMetaAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateDocIndexMeta(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::UpdateDocIndexMetaOutcomeCallable ImmClient::updateDocIndexMetaCallable(const UpdateDocIndexMetaRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateDocIndexMeta(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::SearchFaceOutcome ImmClient::searchFace(const SearchFaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SearchFaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SearchFaceOutcome(SearchFaceResult(outcome.result())); + else + return SearchFaceOutcome(outcome.error()); +} + +void ImmClient::searchFaceAsync(const SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, searchFace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::SearchFaceOutcomeCallable ImmClient::searchFaceCallable(const SearchFaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->searchFace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetImageOutcome ImmClient::getImage(const GetImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetImageOutcome(GetImageResult(outcome.result())); + else + return GetImageOutcome(outcome.error()); +} + +void ImmClient::getImageAsync(const GetImageRequest& request, const GetImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetImageOutcomeCallable ImmClient::getImageCallable(const GetImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectImageCelebrityOutcome ImmClient::detectImageCelebrity(const DetectImageCelebrityRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectImageCelebrityOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectImageCelebrityOutcome(DetectImageCelebrityResult(outcome.result())); + else + return DetectImageCelebrityOutcome(outcome.error()); +} + +void ImmClient::detectImageCelebrityAsync(const DetectImageCelebrityRequest& request, const DetectImageCelebrityAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectImageCelebrity(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectImageCelebrityOutcomeCallable ImmClient::detectImageCelebrityCallable(const DetectImageCelebrityRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectImageCelebrity(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateSetOutcome ImmClient::createSet(const CreateSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateSetOutcome(CreateSetResult(outcome.result())); + else + return CreateSetOutcome(outcome.error()); +} + +void ImmClient::createSetAsync(const CreateSetRequest& request, const CreateSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateSetOutcomeCallable ImmClient::createSetCallable(const CreateSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeletePornBatchDetectJobOutcome ImmClient::deletePornBatchDetectJob(const DeletePornBatchDetectJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeletePornBatchDetectJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeletePornBatchDetectJobOutcome(DeletePornBatchDetectJobResult(outcome.result())); + else + return DeletePornBatchDetectJobOutcome(outcome.error()); +} + +void ImmClient::deletePornBatchDetectJobAsync(const DeletePornBatchDetectJobRequest& request, const DeletePornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deletePornBatchDetectJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeletePornBatchDetectJobOutcomeCallable ImmClient::deletePornBatchDetectJobCallable(const DeletePornBatchDetectJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deletePornBatchDetectJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListFaceSearchGroupsOutcome ImmClient::listFaceSearchGroups(const ListFaceSearchGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFaceSearchGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFaceSearchGroupsOutcome(ListFaceSearchGroupsResult(outcome.result())); + else + return ListFaceSearchGroupsOutcome(outcome.error()); +} + +void ImmClient::listFaceSearchGroupsAsync(const ListFaceSearchGroupsRequest& request, const ListFaceSearchGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFaceSearchGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListFaceSearchGroupsOutcomeCallable ImmClient::listFaceSearchGroupsCallable(const ListFaceSearchGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFaceSearchGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetTagSetOutcome ImmClient::getTagSet(const GetTagSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetTagSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetTagSetOutcome(GetTagSetResult(outcome.result())); + else + return GetTagSetOutcome(outcome.error()); +} + +void ImmClient::getTagSetAsync(const GetTagSetRequest& request, const GetTagSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getTagSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetTagSetOutcomeCallable ImmClient::getTagSetCallable(const GetTagSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getTagSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ConvertOfficeFormatOutcome ImmClient::convertOfficeFormat(const ConvertOfficeFormatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ConvertOfficeFormatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ConvertOfficeFormatOutcome(ConvertOfficeFormatResult(outcome.result())); + else + return ConvertOfficeFormatOutcome(outcome.error()); +} + +void ImmClient::convertOfficeFormatAsync(const ConvertOfficeFormatRequest& request, const ConvertOfficeFormatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, convertOfficeFormat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ConvertOfficeFormatOutcomeCallable ImmClient::convertOfficeFormatCallable(const ConvertOfficeFormatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->convertOfficeFormat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::UpdateFaceGroupOutcome ImmClient::updateFaceGroup(const UpdateFaceGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateFaceGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateFaceGroupOutcome(UpdateFaceGroupResult(outcome.result())); + else + return UpdateFaceGroupOutcome(outcome.error()); +} + +void ImmClient::updateFaceGroupAsync(const UpdateFaceGroupRequest& request, const UpdateFaceGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateFaceGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::UpdateFaceGroupOutcomeCallable ImmClient::updateFaceGroupCallable(const UpdateFaceGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateFaceGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListTagPhotosOutcome ImmClient::listTagPhotos(const ListTagPhotosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTagPhotosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTagPhotosOutcome(ListTagPhotosResult(outcome.result())); + else + return ListTagPhotosOutcome(outcome.error()); +} + +void ImmClient::listTagPhotosAsync(const ListTagPhotosRequest& request, const ListTagPhotosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTagPhotos(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListTagPhotosOutcomeCallable ImmClient::listTagPhotosCallable(const ListTagPhotosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTagPhotos(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectImageBodiesOutcome ImmClient::detectImageBodies(const DetectImageBodiesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectImageBodiesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectImageBodiesOutcome(DetectImageBodiesResult(outcome.result())); + else + return DetectImageBodiesOutcome(outcome.error()); +} + +void ImmClient::detectImageBodiesAsync(const DetectImageBodiesRequest& request, const DetectImageBodiesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectImageBodies(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectImageBodiesOutcomeCallable ImmClient::detectImageBodiesCallable(const DetectImageBodiesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectImageBodies(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteFaceSearchImageByIdOutcome ImmClient::deleteFaceSearchImageById(const DeleteFaceSearchImageByIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFaceSearchImageByIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFaceSearchImageByIdOutcome(DeleteFaceSearchImageByIdResult(outcome.result())); + else + return DeleteFaceSearchImageByIdOutcome(outcome.error()); +} + +void ImmClient::deleteFaceSearchImageByIdAsync(const DeleteFaceSearchImageByIdRequest& request, const DeleteFaceSearchImageByIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFaceSearchImageById(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteFaceSearchImageByIdOutcomeCallable ImmClient::deleteFaceSearchImageByIdCallable(const DeleteFaceSearchImageByIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFaceSearchImageById(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::IndexVideoOutcome ImmClient::indexVideo(const IndexVideoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return IndexVideoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return IndexVideoOutcome(IndexVideoResult(outcome.result())); + else + return IndexVideoOutcome(outcome.error()); +} + +void ImmClient::indexVideoAsync(const IndexVideoRequest& request, const IndexVideoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, indexVideo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::IndexVideoOutcomeCallable ImmClient::indexVideoCallable(const IndexVideoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->indexVideo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteDocIndexOutcome ImmClient::deleteDocIndex(const DeleteDocIndexRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDocIndexOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDocIndexOutcome(DeleteDocIndexResult(outcome.result())); + else + return DeleteDocIndexOutcome(outcome.error()); +} + +void ImmClient::deleteDocIndexAsync(const DeleteDocIndexRequest& request, const DeleteDocIndexAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDocIndex(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteDocIndexOutcomeCallable ImmClient::deleteDocIndexCallable(const DeleteDocIndexRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDocIndex(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetDocIndexTaskOutcome ImmClient::getDocIndexTask(const GetDocIndexTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDocIndexTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDocIndexTaskOutcome(GetDocIndexTaskResult(outcome.result())); + else + return GetDocIndexTaskOutcome(outcome.error()); +} + +void ImmClient::getDocIndexTaskAsync(const GetDocIndexTaskRequest& request, const GetDocIndexTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDocIndexTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetDocIndexTaskOutcomeCallable ImmClient::getDocIndexTaskCallable(const GetDocIndexTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDocIndexTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetImageJobOutcome ImmClient::getImageJob(const GetImageJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetImageJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetImageJobOutcome(GetImageJobResult(outcome.result())); + else + return GetImageJobOutcome(outcome.error()); +} + +void ImmClient::getImageJobAsync(const GetImageJobRequest& request, const GetImageJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getImageJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetImageJobOutcomeCallable ImmClient::getImageJobCallable(const GetImageJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getImageJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListVideoAudiosOutcome ImmClient::listVideoAudios(const ListVideoAudiosRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVideoAudiosOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVideoAudiosOutcome(ListVideoAudiosResult(outcome.result())); + else + return ListVideoAudiosOutcome(outcome.error()); +} + +void ImmClient::listVideoAudiosAsync(const ListVideoAudiosRequest& request, const ListVideoAudiosAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVideoAudios(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListVideoAudiosOutcomeCallable ImmClient::listVideoAudiosCallable(const ListVideoAudiosRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVideoAudios(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateMergeFaceGroupsJobOutcome ImmClient::createMergeFaceGroupsJob(const CreateMergeFaceGroupsJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateMergeFaceGroupsJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateMergeFaceGroupsJobOutcome(CreateMergeFaceGroupsJobResult(outcome.result())); + else + return CreateMergeFaceGroupsJobOutcome(outcome.error()); +} + +void ImmClient::createMergeFaceGroupsJobAsync(const CreateMergeFaceGroupsJobRequest& request, const CreateMergeFaceGroupsJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createMergeFaceGroupsJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateMergeFaceGroupsJobOutcomeCallable ImmClient::createMergeFaceGroupsJobCallable(const CreateMergeFaceGroupsJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createMergeFaceGroupsJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteTagByUrlOutcome ImmClient::deleteTagByUrl(const DeleteTagByUrlRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTagByUrlOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTagByUrlOutcome(DeleteTagByUrlResult(outcome.result())); + else + return DeleteTagByUrlOutcome(outcome.error()); +} + +void ImmClient::deleteTagByUrlAsync(const DeleteTagByUrlRequest& request, const DeleteTagByUrlAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTagByUrl(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteTagByUrlOutcomeCallable ImmClient::deleteTagByUrlCallable(const DeleteTagByUrlRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTagByUrl(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListTagSetsOutcome ImmClient::listTagSets(const ListTagSetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTagSetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTagSetsOutcome(ListTagSetsResult(outcome.result())); + else + return ListTagSetsOutcome(outcome.error()); +} + +void ImmClient::listTagSetsAsync(const ListTagSetsRequest& request, const ListTagSetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTagSets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListTagSetsOutcomeCallable ImmClient::listTagSetsCallable(const ListTagSetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTagSets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListTagNamesOutcome ImmClient::listTagNames(const ListTagNamesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTagNamesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTagNamesOutcome(ListTagNamesResult(outcome.result())); + else + return ListTagNamesOutcome(outcome.error()); +} + +void ImmClient::listTagNamesAsync(const ListTagNamesRequest& request, const ListTagNamesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTagNames(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListTagNamesOutcomeCallable ImmClient::listTagNamesCallable(const ListTagNamesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTagNames(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateOfficeConversionTaskOutcome ImmClient::createOfficeConversionTask(const CreateOfficeConversionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateOfficeConversionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateOfficeConversionTaskOutcome(CreateOfficeConversionTaskResult(outcome.result())); + else + return CreateOfficeConversionTaskOutcome(outcome.error()); +} + +void ImmClient::createOfficeConversionTaskAsync(const CreateOfficeConversionTaskRequest& request, const CreateOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createOfficeConversionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateOfficeConversionTaskOutcomeCallable ImmClient::createOfficeConversionTaskCallable(const CreateOfficeConversionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createOfficeConversionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectQRCodesOutcome ImmClient::detectQRCodes(const DetectQRCodesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectQRCodesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectQRCodesOutcome(DetectQRCodesResult(outcome.result())); + else + return DetectQRCodesOutcome(outcome.error()); +} + +void ImmClient::detectQRCodesAsync(const DetectQRCodesRequest& request, const DetectQRCodesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectQRCodes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectQRCodesOutcomeCallable ImmClient::detectQRCodesCallable(const DetectQRCodesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectQRCodes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetFaceSearchGroupOutcome ImmClient::getFaceSearchGroup(const GetFaceSearchGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFaceSearchGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFaceSearchGroupOutcome(GetFaceSearchGroupResult(outcome.result())); + else + return GetFaceSearchGroupOutcome(outcome.error()); +} + +void ImmClient::getFaceSearchGroupAsync(const GetFaceSearchGroupRequest& request, const GetFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFaceSearchGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetFaceSearchGroupOutcomeCallable ImmClient::getFaceSearchGroupCallable(const GetFaceSearchGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFaceSearchGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetVideoOutcome ImmClient::getVideo(const GetVideoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetVideoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetVideoOutcome(GetVideoResult(outcome.result())); + else + return GetVideoOutcome(outcome.error()); +} + +void ImmClient::getVideoAsync(const GetVideoRequest& request, const GetVideoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getVideo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetVideoOutcomeCallable ImmClient::getVideoCallable(const GetVideoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getVideo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListImagesOutcome ImmClient::listImages(const ListImagesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListImagesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListImagesOutcome(ListImagesResult(outcome.result())); + else + return ListImagesOutcome(outcome.error()); +} + +void ImmClient::listImagesAsync(const ListImagesRequest& request, const ListImagesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listImages(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListImagesOutcomeCallable ImmClient::listImagesCallable(const ListImagesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listImages(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CompareImageFacesOutcome ImmClient::compareImageFaces(const CompareImageFacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CompareImageFacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CompareImageFacesOutcome(CompareImageFacesResult(outcome.result())); + else + return CompareImageFacesOutcome(outcome.error()); +} + +void ImmClient::compareImageFacesAsync(const CompareImageFacesRequest& request, const CompareImageFacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, compareImageFaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CompareImageFacesOutcomeCallable ImmClient::compareImageFacesCallable(const CompareImageFacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->compareImageFaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteTagJobOutcome ImmClient::deleteTagJob(const DeleteTagJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTagJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTagJobOutcome(DeleteTagJobResult(outcome.result())); + else + return DeleteTagJobOutcome(outcome.error()); +} + +void ImmClient::deleteTagJobAsync(const DeleteTagJobRequest& request, const DeleteTagJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTagJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteTagJobOutcomeCallable ImmClient::deleteTagJobCallable(const DeleteTagJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTagJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteOfficeConversionTaskOutcome ImmClient::deleteOfficeConversionTask(const DeleteOfficeConversionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteOfficeConversionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteOfficeConversionTaskOutcome(DeleteOfficeConversionTaskResult(outcome.result())); + else + return DeleteOfficeConversionTaskOutcome(outcome.error()); +} + +void ImmClient::deleteOfficeConversionTaskAsync(const DeleteOfficeConversionTaskRequest& request, const DeleteOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteOfficeConversionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteOfficeConversionTaskOutcomeCallable ImmClient::deleteOfficeConversionTaskCallable(const DeleteOfficeConversionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteOfficeConversionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::PhotoProcessOutcome ImmClient::photoProcess(const PhotoProcessRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return PhotoProcessOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return PhotoProcessOutcome(PhotoProcessResult(outcome.result())); + else + return PhotoProcessOutcome(outcome.error()); +} + +void ImmClient::photoProcessAsync(const PhotoProcessRequest& request, const PhotoProcessAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, photoProcess(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::PhotoProcessOutcomeCallable ImmClient::photoProcessCallable(const PhotoProcessRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->photoProcess(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetPhotoProcessTaskOutcome ImmClient::getPhotoProcessTask(const GetPhotoProcessTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPhotoProcessTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPhotoProcessTaskOutcome(GetPhotoProcessTaskResult(outcome.result())); + else + return GetPhotoProcessTaskOutcome(outcome.error()); +} + +void ImmClient::getPhotoProcessTaskAsync(const GetPhotoProcessTaskRequest& request, const GetPhotoProcessTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPhotoProcessTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetPhotoProcessTaskOutcomeCallable ImmClient::getPhotoProcessTaskCallable(const GetPhotoProcessTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPhotoProcessTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListVideoFramesOutcome ImmClient::listVideoFrames(const ListVideoFramesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVideoFramesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVideoFramesOutcome(ListVideoFramesResult(outcome.result())); + else + return ListVideoFramesOutcome(outcome.error()); +} + +void ImmClient::listVideoFramesAsync(const ListVideoFramesRequest& request, const ListVideoFramesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVideoFrames(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListVideoFramesOutcomeCallable ImmClient::listVideoFramesCallable(const ListVideoFramesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVideoFrames(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetPornBatchDetectJobOutcome ImmClient::getPornBatchDetectJob(const GetPornBatchDetectJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetPornBatchDetectJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetPornBatchDetectJobOutcome(GetPornBatchDetectJobResult(outcome.result())); + else + return GetPornBatchDetectJobOutcome(outcome.error()); +} + +void ImmClient::getPornBatchDetectJobAsync(const GetPornBatchDetectJobRequest& request, const GetPornBatchDetectJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getPornBatchDetectJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetPornBatchDetectJobOutcomeCallable ImmClient::getPornBatchDetectJobCallable(const GetPornBatchDetectJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getPornBatchDetectJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectLogoOutcome ImmClient::detectLogo(const DetectLogoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectLogoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectLogoOutcome(DetectLogoResult(outcome.result())); + else + return DetectLogoOutcome(outcome.error()); +} + +void ImmClient::detectLogoAsync(const DetectLogoRequest& request, const DetectLogoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectLogo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectLogoOutcomeCallable ImmClient::detectLogoCallable(const DetectLogoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectLogo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectClothesOutcome ImmClient::detectClothes(const DetectClothesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectClothesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectClothesOutcome(DetectClothesResult(outcome.result())); + else + return DetectClothesOutcome(outcome.error()); +} + +void ImmClient::detectClothesAsync(const DetectClothesRequest& request, const DetectClothesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectClothes(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectClothesOutcomeCallable ImmClient::detectClothesCallable(const DetectClothesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectClothes(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListTagJobsOutcome ImmClient::listTagJobs(const ListTagJobsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListTagJobsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListTagJobsOutcome(ListTagJobsResult(outcome.result())); + else + return ListTagJobsOutcome(outcome.error()); +} + +void ImmClient::listTagJobsAsync(const ListTagJobsRequest& request, const ListTagJobsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listTagJobs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListTagJobsOutcomeCallable ImmClient::listTagJobsCallable(const ListTagJobsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listTagJobs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DescribeRegionsOutcome ImmClient::describeRegions(const DescribeRegionsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRegionsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRegionsOutcome(DescribeRegionsResult(outcome.result())); + else + return DescribeRegionsOutcome(outcome.error()); +} + +void ImmClient::describeRegionsAsync(const DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRegions(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DescribeRegionsOutcomeCallable ImmClient::describeRegionsCallable(const DescribeRegionsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRegions(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteFaceSearchUserOutcome ImmClient::deleteFaceSearchUser(const DeleteFaceSearchUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFaceSearchUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFaceSearchUserOutcome(DeleteFaceSearchUserResult(outcome.result())); + else + return DeleteFaceSearchUserOutcome(outcome.error()); +} + +void ImmClient::deleteFaceSearchUserAsync(const DeleteFaceSearchUserRequest& request, const DeleteFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFaceSearchUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteFaceSearchUserOutcomeCallable ImmClient::deleteFaceSearchUserCallable(const DeleteFaceSearchUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFaceSearchUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetOfficeConversionTaskOutcome ImmClient::getOfficeConversionTask(const GetOfficeConversionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOfficeConversionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOfficeConversionTaskOutcome(GetOfficeConversionTaskResult(outcome.result())); + else + return GetOfficeConversionTaskOutcome(outcome.error()); +} + +void ImmClient::getOfficeConversionTaskAsync(const GetOfficeConversionTaskRequest& request, const GetOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOfficeConversionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetOfficeConversionTaskOutcomeCallable ImmClient::getOfficeConversionTaskCallable(const GetOfficeConversionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOfficeConversionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateTagSetOutcome ImmClient::createTagSet(const CreateTagSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTagSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTagSetOutcome(CreateTagSetResult(outcome.result())); + else + return CreateTagSetOutcome(outcome.error()); +} + +void ImmClient::createTagSetAsync(const CreateTagSetRequest& request, const CreateTagSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTagSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateTagSetOutcomeCallable ImmClient::createTagSetCallable(const CreateTagSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTagSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::RegistFaceOutcome ImmClient::registFace(const RegistFaceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RegistFaceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RegistFaceOutcome(RegistFaceResult(outcome.result())); + else + return RegistFaceOutcome(outcome.error()); +} + +void ImmClient::registFaceAsync(const RegistFaceRequest& request, const RegistFaceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, registFace(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::RegistFaceOutcomeCallable ImmClient::registFaceCallable(const RegistFaceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->registFace(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::FindSimilarFacesOutcome ImmClient::findSimilarFaces(const FindSimilarFacesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return FindSimilarFacesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return FindSimilarFacesOutcome(FindSimilarFacesResult(outcome.result())); + else + return FindSimilarFacesOutcome(outcome.error()); +} + +void ImmClient::findSimilarFacesAsync(const FindSimilarFacesRequest& request, const FindSimilarFacesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, findSimilarFaces(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::FindSimilarFacesOutcomeCallable ImmClient::findSimilarFacesCallable(const FindSimilarFacesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->findSimilarFaces(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetFaceSearchUserOutcome ImmClient::getFaceSearchUser(const GetFaceSearchUserRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetFaceSearchUserOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetFaceSearchUserOutcome(GetFaceSearchUserResult(outcome.result())); + else + return GetFaceSearchUserOutcome(outcome.error()); +} + +void ImmClient::getFaceSearchUserAsync(const GetFaceSearchUserRequest& request, const GetFaceSearchUserAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getFaceSearchUser(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetFaceSearchUserOutcomeCallable ImmClient::getFaceSearchUserCallable(const GetFaceSearchUserRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getFaceSearchUser(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteImageJobOutcome ImmClient::deleteImageJob(const DeleteImageJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteImageJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteImageJobOutcome(DeleteImageJobResult(outcome.result())); + else + return DeleteImageJobOutcome(outcome.error()); +} + +void ImmClient::deleteImageJobAsync(const DeleteImageJobRequest& request, const DeleteImageJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteImageJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteImageJobOutcomeCallable ImmClient::deleteImageJobCallable(const DeleteImageJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteImageJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateFaceSetOutcome ImmClient::createFaceSet(const CreateFaceSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateFaceSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateFaceSetOutcome(CreateFaceSetResult(outcome.result())); + else + return CreateFaceSetOutcome(outcome.error()); +} + +void ImmClient::createFaceSetAsync(const CreateFaceSetRequest& request, const CreateFaceSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createFaceSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateFaceSetOutcomeCallable ImmClient::createFaceSetCallable(const CreateFaceSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createFaceSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteFaceSearchGroupOutcome ImmClient::deleteFaceSearchGroup(const DeleteFaceSearchGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteFaceSearchGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteFaceSearchGroupOutcome(DeleteFaceSearchGroupResult(outcome.result())); + else + return DeleteFaceSearchGroupOutcome(outcome.error()); +} + +void ImmClient::deleteFaceSearchGroupAsync(const DeleteFaceSearchGroupRequest& request, const DeleteFaceSearchGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteFaceSearchGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteFaceSearchGroupOutcomeCallable ImmClient::deleteFaceSearchGroupCallable(const DeleteFaceSearchGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteFaceSearchGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::GetDocIndexOutcome ImmClient::getDocIndex(const GetDocIndexRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDocIndexOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDocIndexOutcome(GetDocIndexResult(outcome.result())); + else + return GetDocIndexOutcome(outcome.error()); +} + +void ImmClient::getDocIndexAsync(const GetDocIndexRequest& request, const GetDocIndexAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDocIndex(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::GetDocIndexOutcomeCallable ImmClient::getDocIndexCallable(const GetDocIndexRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDocIndex(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::IndexImageOutcome ImmClient::indexImage(const IndexImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return IndexImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return IndexImageOutcome(IndexImageResult(outcome.result())); + else + return IndexImageOutcome(outcome.error()); +} + +void ImmClient::indexImageAsync(const IndexImageRequest& request, const IndexImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, indexImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::IndexImageOutcomeCallable ImmClient::indexImageCallable(const IndexImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->indexImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DetectImageTextsOutcome ImmClient::detectImageTexts(const DetectImageTextsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DetectImageTextsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DetectImageTextsOutcome(DetectImageTextsResult(outcome.result())); + else + return DetectImageTextsOutcome(outcome.error()); +} + +void ImmClient::detectImageTextsAsync(const DetectImageTextsRequest& request, const DetectImageTextsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, detectImageTexts(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DetectImageTextsOutcomeCallable ImmClient::detectImageTextsCallable(const DetectImageTextsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->detectImageTexts(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListImageJobsOutcome ImmClient::listImageJobs(const ListImageJobsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListImageJobsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListImageJobsOutcome(ListImageJobsResult(outcome.result())); + else + return ListImageJobsOutcome(outcome.error()); +} + +void ImmClient::listImageJobsAsync(const ListImageJobsRequest& request, const ListImageJobsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listImageJobs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListImageJobsOutcomeCallable ImmClient::listImageJobsCallable(const ListImageJobsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listImageJobs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateGroupFacesJobOutcome ImmClient::createGroupFacesJob(const CreateGroupFacesJobRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateGroupFacesJobOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateGroupFacesJobOutcome(CreateGroupFacesJobResult(outcome.result())); + else + return CreateGroupFacesJobOutcome(outcome.error()); +} + +void ImmClient::createGroupFacesJobAsync(const CreateGroupFacesJobRequest& request, const CreateGroupFacesJobAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createGroupFacesJob(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateGroupFacesJobOutcomeCallable ImmClient::createGroupFacesJobCallable(const CreateGroupFacesJobRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createGroupFacesJob(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::UpdateImageOutcome ImmClient::updateImage(const UpdateImageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateImageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateImageOutcome(UpdateImageResult(outcome.result())); + else + return UpdateImageOutcome(outcome.error()); +} + +void ImmClient::updateImageAsync(const UpdateImageRequest& request, const UpdateImageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateImage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::UpdateImageOutcomeCallable ImmClient::updateImageCallable(const UpdateImageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateImage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListVideoTasksOutcome ImmClient::listVideoTasks(const ListVideoTasksRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListVideoTasksOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListVideoTasksOutcome(ListVideoTasksResult(outcome.result())); + else + return ListVideoTasksOutcome(outcome.error()); +} + +void ImmClient::listVideoTasksAsync(const ListVideoTasksRequest& request, const ListVideoTasksAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listVideoTasks(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListVideoTasksOutcomeCallable ImmClient::listVideoTasksCallable(const ListVideoTasksRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listVideoTasks(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::CreateVideoCompressTaskOutcome ImmClient::createVideoCompressTask(const CreateVideoCompressTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateVideoCompressTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateVideoCompressTaskOutcome(CreateVideoCompressTaskResult(outcome.result())); + else + return CreateVideoCompressTaskOutcome(outcome.error()); +} + +void ImmClient::createVideoCompressTaskAsync(const CreateVideoCompressTaskRequest& request, const CreateVideoCompressTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createVideoCompressTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::CreateVideoCompressTaskOutcomeCallable ImmClient::createVideoCompressTaskCallable(const CreateVideoCompressTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createVideoCompressTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::UpdateProjectOutcome ImmClient::updateProject(const UpdateProjectRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateProjectOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateProjectOutcome(UpdateProjectResult(outcome.result())); + else + return UpdateProjectOutcome(outcome.error()); +} + +void ImmClient::updateProjectAsync(const UpdateProjectRequest& request, const UpdateProjectAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateProject(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::UpdateProjectOutcomeCallable ImmClient::updateProjectCallable(const UpdateProjectRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateProject(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::DeleteVideoOutcome ImmClient::deleteVideo(const DeleteVideoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVideoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVideoOutcome(DeleteVideoResult(outcome.result())); + else + return DeleteVideoOutcome(outcome.error()); +} + +void ImmClient::deleteVideoAsync(const DeleteVideoRequest& request, const DeleteVideoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVideo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::DeleteVideoOutcomeCallable ImmClient::deleteVideoCallable(const DeleteVideoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVideo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListOfficeConversionTaskOutcome ImmClient::listOfficeConversionTask(const ListOfficeConversionTaskRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListOfficeConversionTaskOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListOfficeConversionTaskOutcome(ListOfficeConversionTaskResult(outcome.result())); + else + return ListOfficeConversionTaskOutcome(outcome.error()); +} + +void ImmClient::listOfficeConversionTaskAsync(const ListOfficeConversionTaskRequest& request, const ListOfficeConversionTaskAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listOfficeConversionTask(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListOfficeConversionTaskOutcomeCallable ImmClient::listOfficeConversionTaskCallable(const ListOfficeConversionTaskRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listOfficeConversionTask(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::UpdateSetOutcome ImmClient::updateSet(const UpdateSetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateSetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateSetOutcome(UpdateSetResult(outcome.result())); + else + return UpdateSetOutcome(outcome.error()); +} + +void ImmClient::updateSetAsync(const UpdateSetRequest& request, const UpdateSetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateSet(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::UpdateSetOutcomeCallable ImmClient::updateSetCallable(const UpdateSetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateSet(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +ImmClient::ListFaceGroupsOutcome ImmClient::listFaceGroups(const ListFaceGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListFaceGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListFaceGroupsOutcome(ListFaceGroupsResult(outcome.result())); + else + return ListFaceGroupsOutcome(outcome.error()); +} + +void ImmClient::listFaceGroupsAsync(const ListFaceGroupsRequest& request, const ListFaceGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listFaceGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +ImmClient::ListFaceGroupsOutcomeCallable ImmClient::listFaceGroupsCallable(const ListFaceGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listFaceGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} diff --git a/imm/src/model/CompareFaceRequest.cc b/imm/src/model/CompareFaceRequest.cc index fb206f730..6b9a5d747 100644 --- a/imm/src/model/CompareFaceRequest.cc +++ b/imm/src/model/CompareFaceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CompareFaceRequest; - -CompareFaceRequest::CompareFaceRequest() : - RpcServiceRequest("imm", "2017-09-06", "CompareFace") -{} - -CompareFaceRequest::~CompareFaceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CompareFaceRequest; + +CompareFaceRequest::CompareFaceRequest() : + RpcServiceRequest("imm", "2017-09-06", "CompareFace") +{} + +CompareFaceRequest::~CompareFaceRequest() +{} + std::string CompareFaceRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/CompareFaceResult.cc b/imm/src/model/CompareFaceResult.cc index 9e504e46e..d600762db 100644 --- a/imm/src/model/CompareFaceResult.cc +++ b/imm/src/model/CompareFaceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CompareFaceResult::CompareFaceResult() : - ServiceResult() -{} - -CompareFaceResult::CompareFaceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CompareFaceResult::~CompareFaceResult() -{} - -void CompareFaceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CompareFaceResult::CompareFaceResult() : + ServiceResult() +{} + +CompareFaceResult::CompareFaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CompareFaceResult::~CompareFaceResult() +{} + +void CompareFaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allCompareResult = value["CompareResult"]["CompareResultItem"]; for (auto value : allCompareResult) { @@ -60,9 +60,9 @@ void CompareFaceResult::parse(const std::string &payload) compareResultObject.faceB.axis1.push_back(value.asString()); compareResult_.push_back(compareResultObject); } - -} - + +} + std::vector CompareFaceResult::getCompareResult()const { return compareResult_; diff --git a/imm/src/model/CompareImageFacesRequest.cc b/imm/src/model/CompareImageFacesRequest.cc index 0c23287c0..c383b6337 100644 --- a/imm/src/model/CompareImageFacesRequest.cc +++ b/imm/src/model/CompareImageFacesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CompareImageFacesRequest; - -CompareImageFacesRequest::CompareImageFacesRequest() : - RpcServiceRequest("imm", "2017-09-06", "CompareImageFaces") -{} - -CompareImageFacesRequest::~CompareImageFacesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CompareImageFacesRequest; + +CompareImageFacesRequest::CompareImageFacesRequest() : + RpcServiceRequest("imm", "2017-09-06", "CompareImageFaces") +{} + +CompareImageFacesRequest::~CompareImageFacesRequest() +{} + std::string CompareImageFacesRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/CompareImageFacesResult.cc b/imm/src/model/CompareImageFacesResult.cc index 80f1d10a2..1432b355f 100644 --- a/imm/src/model/CompareImageFacesResult.cc +++ b/imm/src/model/CompareImageFacesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CompareImageFacesResult::CompareImageFacesResult() : - ServiceResult() -{} - -CompareImageFacesResult::CompareImageFacesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CompareImageFacesResult::~CompareImageFacesResult() -{} - -void CompareImageFacesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CompareImageFacesResult::CompareImageFacesResult() : + ServiceResult() +{} + +CompareImageFacesResult::CompareImageFacesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CompareImageFacesResult::~CompareImageFacesResult() +{} + +void CompareImageFacesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto faceANode = value["FaceA"]; if(!faceANode["FaceId"].isNull()) faceA_.faceId = faceANode["FaceId"].asString(); @@ -70,9 +70,9 @@ void CompareImageFacesResult::parse(const std::string &payload) setId_ = value["SetId"].asString(); if(!value["Similarity"].isNull()) similarity_ = std::stof(value["Similarity"].asString()); - -} - + +} + float CompareImageFacesResult::getSimilarity()const { return similarity_; diff --git a/imm/src/model/ConvertOfficeFormatRequest.cc b/imm/src/model/ConvertOfficeFormatRequest.cc index 6f433ea5a..904780ad4 100644 --- a/imm/src/model/ConvertOfficeFormatRequest.cc +++ b/imm/src/model/ConvertOfficeFormatRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ConvertOfficeFormatRequest; - -ConvertOfficeFormatRequest::ConvertOfficeFormatRequest() : - RpcServiceRequest("imm", "2017-09-06", "ConvertOfficeFormat") -{} - -ConvertOfficeFormatRequest::~ConvertOfficeFormatRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ConvertOfficeFormatRequest; + +ConvertOfficeFormatRequest::ConvertOfficeFormatRequest() : + RpcServiceRequest("imm", "2017-09-06", "ConvertOfficeFormat") +{} + +ConvertOfficeFormatRequest::~ConvertOfficeFormatRequest() +{} + std::string ConvertOfficeFormatRequest::getSrcType()const { return srcType_; diff --git a/imm/src/model/ConvertOfficeFormatResult.cc b/imm/src/model/ConvertOfficeFormatResult.cc index 25d09cfe3..050a8c6b3 100644 --- a/imm/src/model/ConvertOfficeFormatResult.cc +++ b/imm/src/model/ConvertOfficeFormatResult.cc @@ -1,50 +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. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ConvertOfficeFormatResult::ConvertOfficeFormatResult() : - ServiceResult() -{} - -ConvertOfficeFormatResult::ConvertOfficeFormatResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ConvertOfficeFormatResult::~ConvertOfficeFormatResult() -{} - -void ConvertOfficeFormatResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ConvertOfficeFormatResult::ConvertOfficeFormatResult() : + ServiceResult() +{} + +ConvertOfficeFormatResult::ConvertOfficeFormatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ConvertOfficeFormatResult::~ConvertOfficeFormatResult() +{} + +void ConvertOfficeFormatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["PageCount"].isNull()) pageCount_ = std::stoi(value["PageCount"].asString()); - -} - + +} + int ConvertOfficeFormatResult::getPageCount()const { return pageCount_; diff --git a/imm/src/model/CreateCADConversionTaskRequest.cc b/imm/src/model/CreateCADConversionTaskRequest.cc index 28aa39b44..e970ee0c4 100644 --- a/imm/src/model/CreateCADConversionTaskRequest.cc +++ b/imm/src/model/CreateCADConversionTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateCADConversionTaskRequest; - -CreateCADConversionTaskRequest::CreateCADConversionTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateCADConversionTask") -{} - -CreateCADConversionTaskRequest::~CreateCADConversionTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateCADConversionTaskRequest; + +CreateCADConversionTaskRequest::CreateCADConversionTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateCADConversionTask") +{} + +CreateCADConversionTaskRequest::~CreateCADConversionTaskRequest() +{} + std::string CreateCADConversionTaskRequest::getSrcType()const { return srcType_; diff --git a/imm/src/model/CreateCADConversionTaskResult.cc b/imm/src/model/CreateCADConversionTaskResult.cc index 6fc1ca791..102fa22af 100644 --- a/imm/src/model/CreateCADConversionTaskResult.cc +++ b/imm/src/model/CreateCADConversionTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateCADConversionTaskResult::CreateCADConversionTaskResult() : - ServiceResult() -{} - -CreateCADConversionTaskResult::CreateCADConversionTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateCADConversionTaskResult::~CreateCADConversionTaskResult() -{} - -void CreateCADConversionTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateCADConversionTaskResult::CreateCADConversionTaskResult() : + ServiceResult() +{} + +CreateCADConversionTaskResult::CreateCADConversionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCADConversionTaskResult::~CreateCADConversionTaskResult() +{} + +void CreateCADConversionTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["TgtLoc"].isNull()) @@ -50,9 +50,9 @@ void CreateCADConversionTaskResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["Percent"].isNull()) percent_ = std::stoi(value["Percent"].asString()); - -} - + +} + std::string CreateCADConversionTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/CreateDocIndexTaskRequest.cc b/imm/src/model/CreateDocIndexTaskRequest.cc index 15728f63e..b6a2723d8 100644 --- a/imm/src/model/CreateDocIndexTaskRequest.cc +++ b/imm/src/model/CreateDocIndexTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateDocIndexTaskRequest; - -CreateDocIndexTaskRequest::CreateDocIndexTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateDocIndexTask") -{} - -CreateDocIndexTaskRequest::~CreateDocIndexTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateDocIndexTaskRequest; + +CreateDocIndexTaskRequest::CreateDocIndexTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateDocIndexTask") +{} + +CreateDocIndexTaskRequest::~CreateDocIndexTaskRequest() +{} + std::string CreateDocIndexTaskRequest::getCustomKey1()const { return customKey1_; diff --git a/imm/src/model/CreateDocIndexTaskResult.cc b/imm/src/model/CreateDocIndexTaskResult.cc index 35009c70b..3a50eb868 100644 --- a/imm/src/model/CreateDocIndexTaskResult.cc +++ b/imm/src/model/CreateDocIndexTaskResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateDocIndexTaskResult::CreateDocIndexTaskResult() : - ServiceResult() -{} - -CreateDocIndexTaskResult::CreateDocIndexTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateDocIndexTaskResult::~CreateDocIndexTaskResult() -{} - -void CreateDocIndexTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateDocIndexTaskResult::CreateDocIndexTaskResult() : + ServiceResult() +{} + +CreateDocIndexTaskResult::CreateDocIndexTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDocIndexTaskResult::~CreateDocIndexTaskResult() +{} + +void CreateDocIndexTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["Status"].isNull()) status_ = value["Status"].asString(); if(!value["CreateTime"].isNull()) createTime_ = value["CreateTime"].asString(); - -} - + +} + std::string CreateDocIndexTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/CreateFaceSetRequest.cc b/imm/src/model/CreateFaceSetRequest.cc index 8debaefd2..24b5edb10 100644 --- a/imm/src/model/CreateFaceSetRequest.cc +++ b/imm/src/model/CreateFaceSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateFaceSetRequest; - -CreateFaceSetRequest::CreateFaceSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateFaceSet") -{} - -CreateFaceSetRequest::~CreateFaceSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateFaceSetRequest; + +CreateFaceSetRequest::CreateFaceSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateFaceSet") +{} + +CreateFaceSetRequest::~CreateFaceSetRequest() +{} + std::string CreateFaceSetRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/CreateFaceSetResult.cc b/imm/src/model/CreateFaceSetResult.cc index 9e964ea50..7aedd24f8 100644 --- a/imm/src/model/CreateFaceSetResult.cc +++ b/imm/src/model/CreateFaceSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateFaceSetResult::CreateFaceSetResult() : - ServiceResult() -{} - -CreateFaceSetResult::CreateFaceSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateFaceSetResult::~CreateFaceSetResult() -{} - -void CreateFaceSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateFaceSetResult::CreateFaceSetResult() : + ServiceResult() +{} + +CreateFaceSetResult::CreateFaceSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateFaceSetResult::~CreateFaceSetResult() +{} + +void CreateFaceSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["Status"].isNull()) @@ -52,9 +52,9 @@ void CreateFaceSetResult::parse(const std::string &payload) modifyTime_ = value["ModifyTime"].asString(); if(!value["Faces"].isNull()) faces_ = std::stol(value["Faces"].asString()); - -} - + +} + std::string CreateFaceSetResult::getStatus()const { return status_; diff --git a/imm/src/model/CreateGroupFacesJobRequest.cc b/imm/src/model/CreateGroupFacesJobRequest.cc index 3d460752a..f828326b5 100644 --- a/imm/src/model/CreateGroupFacesJobRequest.cc +++ b/imm/src/model/CreateGroupFacesJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateGroupFacesJobRequest; - -CreateGroupFacesJobRequest::CreateGroupFacesJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateGroupFacesJob") -{} - -CreateGroupFacesJobRequest::~CreateGroupFacesJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateGroupFacesJobRequest; + +CreateGroupFacesJobRequest::CreateGroupFacesJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateGroupFacesJob") +{} + +CreateGroupFacesJobRequest::~CreateGroupFacesJobRequest() +{} + std::string CreateGroupFacesJobRequest::getNotifyTopicName()const { return notifyTopicName_; diff --git a/imm/src/model/CreateGroupFacesJobResult.cc b/imm/src/model/CreateGroupFacesJobResult.cc index b930ad5bd..11137a870 100644 --- a/imm/src/model/CreateGroupFacesJobResult.cc +++ b/imm/src/model/CreateGroupFacesJobResult.cc @@ -1,54 +1,54 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateGroupFacesJobResult::CreateGroupFacesJobResult() : - ServiceResult() -{} - -CreateGroupFacesJobResult::CreateGroupFacesJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateGroupFacesJobResult::~CreateGroupFacesJobResult() -{} - -void CreateGroupFacesJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateGroupFacesJobResult::CreateGroupFacesJobResult() : + ServiceResult() +{} + +CreateGroupFacesJobResult::CreateGroupFacesJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateGroupFacesJobResult::~CreateGroupFacesJobResult() +{} + +void CreateGroupFacesJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["JobType"].isNull()) jobType_ = value["JobType"].asString(); - -} - + +} + std::string CreateGroupFacesJobResult::getJobType()const { return jobType_; diff --git a/imm/src/model/CreateMergeFaceGroupsJobRequest.cc b/imm/src/model/CreateMergeFaceGroupsJobRequest.cc index 3b1540313..f35ccdd29 100644 --- a/imm/src/model/CreateMergeFaceGroupsJobRequest.cc +++ b/imm/src/model/CreateMergeFaceGroupsJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateMergeFaceGroupsJobRequest; - -CreateMergeFaceGroupsJobRequest::CreateMergeFaceGroupsJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateMergeFaceGroupsJob") -{} - -CreateMergeFaceGroupsJobRequest::~CreateMergeFaceGroupsJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateMergeFaceGroupsJobRequest; + +CreateMergeFaceGroupsJobRequest::CreateMergeFaceGroupsJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateMergeFaceGroupsJob") +{} + +CreateMergeFaceGroupsJobRequest::~CreateMergeFaceGroupsJobRequest() +{} + std::string CreateMergeFaceGroupsJobRequest::getGroupIdFrom()const { return groupIdFrom_; diff --git a/imm/src/model/CreateMergeFaceGroupsJobResult.cc b/imm/src/model/CreateMergeFaceGroupsJobResult.cc index 30e1eb181..8dfa1a4f0 100644 --- a/imm/src/model/CreateMergeFaceGroupsJobResult.cc +++ b/imm/src/model/CreateMergeFaceGroupsJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult() : - ServiceResult() -{} - -CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateMergeFaceGroupsJobResult::~CreateMergeFaceGroupsJobResult() -{} - -void CreateMergeFaceGroupsJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult() : + ServiceResult() +{} + +CreateMergeFaceGroupsJobResult::CreateMergeFaceGroupsJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateMergeFaceGroupsJobResult::~CreateMergeFaceGroupsJobResult() +{} + +void CreateMergeFaceGroupsJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["SetId"].isNull()) @@ -50,9 +50,9 @@ void CreateMergeFaceGroupsJobResult::parse(const std::string &payload) groupIdTo_ = value["GroupIdTo"].asString(); if(!value["GroupIdFrom"].isNull()) groupIdFrom_ = value["GroupIdFrom"].asString(); - -} - + +} + std::string CreateMergeFaceGroupsJobResult::getGroupIdFrom()const { return groupIdFrom_; diff --git a/imm/src/model/CreateOfficeConversionTaskRequest.cc b/imm/src/model/CreateOfficeConversionTaskRequest.cc index f10ec61e0..145d21178 100644 --- a/imm/src/model/CreateOfficeConversionTaskRequest.cc +++ b/imm/src/model/CreateOfficeConversionTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateOfficeConversionTaskRequest; - -CreateOfficeConversionTaskRequest::CreateOfficeConversionTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateOfficeConversionTask") -{} - -CreateOfficeConversionTaskRequest::~CreateOfficeConversionTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateOfficeConversionTaskRequest; + +CreateOfficeConversionTaskRequest::CreateOfficeConversionTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateOfficeConversionTask") +{} + +CreateOfficeConversionTaskRequest::~CreateOfficeConversionTaskRequest() +{} + std::string CreateOfficeConversionTaskRequest::getSrcType()const { return srcType_; diff --git a/imm/src/model/CreateOfficeConversionTaskResult.cc b/imm/src/model/CreateOfficeConversionTaskResult.cc index a361c5280..c9a641b93 100644 --- a/imm/src/model/CreateOfficeConversionTaskResult.cc +++ b/imm/src/model/CreateOfficeConversionTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult() : - ServiceResult() -{} - -CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateOfficeConversionTaskResult::~CreateOfficeConversionTaskResult() -{} - -void CreateOfficeConversionTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult() : + ServiceResult() +{} + +CreateOfficeConversionTaskResult::CreateOfficeConversionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateOfficeConversionTaskResult::~CreateOfficeConversionTaskResult() +{} + +void CreateOfficeConversionTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["TgtLoc"].isNull()) @@ -50,9 +50,9 @@ void CreateOfficeConversionTaskResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["Percent"].isNull()) percent_ = std::stoi(value["Percent"].asString()); - -} - + +} + std::string CreateOfficeConversionTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/CreatePornBatchDetectJobRequest.cc b/imm/src/model/CreatePornBatchDetectJobRequest.cc index ff563ba1e..40e68cfd6 100644 --- a/imm/src/model/CreatePornBatchDetectJobRequest.cc +++ b/imm/src/model/CreatePornBatchDetectJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreatePornBatchDetectJobRequest; - -CreatePornBatchDetectJobRequest::CreatePornBatchDetectJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreatePornBatchDetectJob") -{} - -CreatePornBatchDetectJobRequest::~CreatePornBatchDetectJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreatePornBatchDetectJobRequest; + +CreatePornBatchDetectJobRequest::CreatePornBatchDetectJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreatePornBatchDetectJob") +{} + +CreatePornBatchDetectJobRequest::~CreatePornBatchDetectJobRequest() +{} + std::string CreatePornBatchDetectJobRequest::getNotifyTopicName()const { return notifyTopicName_; diff --git a/imm/src/model/CreatePornBatchDetectJobResult.cc b/imm/src/model/CreatePornBatchDetectJobResult.cc index aace79c81..17e939f8f 100644 --- a/imm/src/model/CreatePornBatchDetectJobResult.cc +++ b/imm/src/model/CreatePornBatchDetectJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult() : - ServiceResult() -{} - -CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreatePornBatchDetectJobResult::~CreatePornBatchDetectJobResult() -{} - -void CreatePornBatchDetectJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult() : + ServiceResult() +{} + +CreatePornBatchDetectJobResult::CreatePornBatchDetectJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreatePornBatchDetectJobResult::~CreatePornBatchDetectJobResult() +{} + +void CreatePornBatchDetectJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["TgtLoc"].isNull()) @@ -50,9 +50,9 @@ void CreatePornBatchDetectJobResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["Percent"].isNull()) percent_ = std::stoi(value["Percent"].asString()); - -} - + +} + std::string CreatePornBatchDetectJobResult::getStatus()const { return status_; diff --git a/imm/src/model/CreateSetRequest.cc b/imm/src/model/CreateSetRequest.cc index 322701d4b..3938f21e0 100644 --- a/imm/src/model/CreateSetRequest.cc +++ b/imm/src/model/CreateSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateSetRequest; - -CreateSetRequest::CreateSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateSet") -{} - -CreateSetRequest::~CreateSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateSetRequest; + +CreateSetRequest::CreateSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateSet") +{} + +CreateSetRequest::~CreateSetRequest() +{} + std::string CreateSetRequest::getSetName()const { return setName_; diff --git a/imm/src/model/CreateSetResult.cc b/imm/src/model/CreateSetResult.cc index b904dfaec..9f388be5f 100644 --- a/imm/src/model/CreateSetResult.cc +++ b/imm/src/model/CreateSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateSetResult::CreateSetResult() : - ServiceResult() -{} - -CreateSetResult::CreateSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateSetResult::~CreateSetResult() -{} - -void CreateSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateSetResult::CreateSetResult() : + ServiceResult() +{} + +CreateSetResult::CreateSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateSetResult::~CreateSetResult() +{} + +void CreateSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["SetName"].isNull()) @@ -56,9 +56,9 @@ void CreateSetResult::parse(const std::string &payload) videoCount_ = std::stoi(value["VideoCount"].asString()); if(!value["VideoLength"].isNull()) videoLength_ = std::stoi(value["VideoLength"].asString()); - -} - + +} + std::string CreateSetResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/CreateTagJobRequest.cc b/imm/src/model/CreateTagJobRequest.cc index b0b0125c9..32e1ebe54 100644 --- a/imm/src/model/CreateTagJobRequest.cc +++ b/imm/src/model/CreateTagJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateTagJobRequest; - -CreateTagJobRequest::CreateTagJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateTagJob") -{} - -CreateTagJobRequest::~CreateTagJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateTagJobRequest; + +CreateTagJobRequest::CreateTagJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateTagJob") +{} + +CreateTagJobRequest::~CreateTagJobRequest() +{} + std::string CreateTagJobRequest::getNotifyTopicName()const { return notifyTopicName_; diff --git a/imm/src/model/CreateTagJobResult.cc b/imm/src/model/CreateTagJobResult.cc index dafd418a6..70e2b2510 100644 --- a/imm/src/model/CreateTagJobResult.cc +++ b/imm/src/model/CreateTagJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateTagJobResult::CreateTagJobResult() : - ServiceResult() -{} - -CreateTagJobResult::CreateTagJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTagJobResult::~CreateTagJobResult() -{} - -void CreateTagJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateTagJobResult::CreateTagJobResult() : + ServiceResult() +{} + +CreateTagJobResult::CreateTagJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTagJobResult::~CreateTagJobResult() +{} + +void CreateTagJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["SetId"].isNull()) @@ -54,9 +54,9 @@ void CreateTagJobResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["FinishTime"].isNull()) finishTime_ = value["FinishTime"].asString(); - -} - + +} + std::string CreateTagJobResult::getStatus()const { return status_; diff --git a/imm/src/model/CreateTagSetRequest.cc b/imm/src/model/CreateTagSetRequest.cc index 08065dfbc..4903a8d4f 100644 --- a/imm/src/model/CreateTagSetRequest.cc +++ b/imm/src/model/CreateTagSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateTagSetRequest; - -CreateTagSetRequest::CreateTagSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateTagSet") -{} - -CreateTagSetRequest::~CreateTagSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateTagSetRequest; + +CreateTagSetRequest::CreateTagSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateTagSet") +{} + +CreateTagSetRequest::~CreateTagSetRequest() +{} + std::string CreateTagSetRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/CreateTagSetResult.cc b/imm/src/model/CreateTagSetResult.cc index 8f93bf7c4..2a5ecf6ba 100644 --- a/imm/src/model/CreateTagSetResult.cc +++ b/imm/src/model/CreateTagSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateTagSetResult::CreateTagSetResult() : - ServiceResult() -{} - -CreateTagSetResult::CreateTagSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateTagSetResult::~CreateTagSetResult() -{} - -void CreateTagSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateTagSetResult::CreateTagSetResult() : + ServiceResult() +{} + +CreateTagSetResult::CreateTagSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTagSetResult::~CreateTagSetResult() +{} + +void CreateTagSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["Status"].isNull()) @@ -50,9 +50,9 @@ void CreateTagSetResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["ModifyTime"].isNull()) modifyTime_ = value["ModifyTime"].asString(); - -} - + +} + std::string CreateTagSetResult::getStatus()const { return status_; diff --git a/imm/src/model/CreateVideoAnalyseTaskRequest.cc b/imm/src/model/CreateVideoAnalyseTaskRequest.cc index 0de23d40d..fb4b6d6c8 100644 --- a/imm/src/model/CreateVideoAnalyseTaskRequest.cc +++ b/imm/src/model/CreateVideoAnalyseTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::CreateVideoAnalyseTaskRequest; - -CreateVideoAnalyseTaskRequest::CreateVideoAnalyseTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "CreateVideoAnalyseTask") -{} - -CreateVideoAnalyseTaskRequest::~CreateVideoAnalyseTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateVideoAnalyseTaskRequest; + +CreateVideoAnalyseTaskRequest::CreateVideoAnalyseTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateVideoAnalyseTask") +{} + +CreateVideoAnalyseTaskRequest::~CreateVideoAnalyseTaskRequest() +{} + std::string CreateVideoAnalyseTaskRequest::getNotifyTopicName()const { return notifyTopicName_; diff --git a/imm/src/model/CreateVideoAnalyseTaskResult.cc b/imm/src/model/CreateVideoAnalyseTaskResult.cc index 18ce56b52..3498869b0 100644 --- a/imm/src/model/CreateVideoAnalyseTaskResult.cc +++ b/imm/src/model/CreateVideoAnalyseTaskResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult() : - ServiceResult() -{} - -CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -CreateVideoAnalyseTaskResult::~CreateVideoAnalyseTaskResult() -{} - -void CreateVideoAnalyseTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult() : + ServiceResult() +{} + +CreateVideoAnalyseTaskResult::CreateVideoAnalyseTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateVideoAnalyseTaskResult::~CreateVideoAnalyseTaskResult() +{} + +void CreateVideoAnalyseTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["TaskType"].isNull()) taskType_ = value["TaskType"].asString(); - -} - + +} + std::string CreateVideoAnalyseTaskResult::getTaskId()const { return taskId_; diff --git a/imm/src/model/CreateVideoCompressTaskRequest.cc b/imm/src/model/CreateVideoCompressTaskRequest.cc new file mode 100644 index 000000000..fd77317c6 --- /dev/null +++ b/imm/src/model/CreateVideoCompressTaskRequest.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::CreateVideoCompressTaskRequest; + +CreateVideoCompressTaskRequest::CreateVideoCompressTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "CreateVideoCompressTask") +{} + +CreateVideoCompressTaskRequest::~CreateVideoCompressTaskRequest() +{} + +std::string CreateVideoCompressTaskRequest::getVideoUri()const +{ + return videoUri_; +} + +void CreateVideoCompressTaskRequest::setVideoUri(const std::string& videoUri) +{ + videoUri_ = videoUri; + setCoreParameter("VideoUri", videoUri); +} + +std::string CreateVideoCompressTaskRequest::getNotifyTopicName()const +{ + return notifyTopicName_; +} + +void CreateVideoCompressTaskRequest::setNotifyTopicName(const std::string& notifyTopicName) +{ + notifyTopicName_ = notifyTopicName; + setCoreParameter("NotifyTopicName", notifyTopicName); +} + +std::string CreateVideoCompressTaskRequest::getTargetList()const +{ + return targetList_; +} + +void CreateVideoCompressTaskRequest::setTargetList(const std::string& targetList) +{ + targetList_ = targetList; + setCoreParameter("TargetList", targetList); +} + +std::string CreateVideoCompressTaskRequest::getRegionId()const +{ + return regionId_; +} + +void CreateVideoCompressTaskRequest::setRegionId(const std::string& regionId) +{ + regionId_ = regionId; + setCoreParameter("RegionId", regionId); +} + +std::string CreateVideoCompressTaskRequest::getNotifyEndpoint()const +{ + return notifyEndpoint_; +} + +void CreateVideoCompressTaskRequest::setNotifyEndpoint(const std::string& notifyEndpoint) +{ + notifyEndpoint_ = notifyEndpoint; + setCoreParameter("NotifyEndpoint", notifyEndpoint); +} + +std::string CreateVideoCompressTaskRequest::getProject()const +{ + return project_; +} + +void CreateVideoCompressTaskRequest::setProject(const std::string& project) +{ + project_ = project; + setCoreParameter("Project", project); +} + +std::string CreateVideoCompressTaskRequest::getAccessKeyId()const +{ + return accessKeyId_; +} + +void CreateVideoCompressTaskRequest::setAccessKeyId(const std::string& accessKeyId) +{ + accessKeyId_ = accessKeyId; + setCoreParameter("AccessKeyId", accessKeyId); +} + diff --git a/imm/src/model/CreateVideoCompressTaskResult.cc b/imm/src/model/CreateVideoCompressTaskResult.cc new file mode 100644 index 000000000..8fb4202b4 --- /dev/null +++ b/imm/src/model/CreateVideoCompressTaskResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +CreateVideoCompressTaskResult::CreateVideoCompressTaskResult() : + ServiceResult() +{} + +CreateVideoCompressTaskResult::CreateVideoCompressTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateVideoCompressTaskResult::~CreateVideoCompressTaskResult() +{} + +void CreateVideoCompressTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + if(!value["TaskId"].isNull()) + taskId_ = value["TaskId"].asString(); + if(!value["TaskType"].isNull()) + taskType_ = value["TaskType"].asString(); + +} + +std::string CreateVideoCompressTaskResult::getTaskId()const +{ + return taskId_; +} + +std::string CreateVideoCompressTaskResult::getTaskType()const +{ + return taskType_; +} + diff --git a/imm/src/model/DeleteDocIndexRequest.cc b/imm/src/model/DeleteDocIndexRequest.cc index 35c1398af..9a186175e 100644 --- a/imm/src/model/DeleteDocIndexRequest.cc +++ b/imm/src/model/DeleteDocIndexRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteDocIndexRequest; - -DeleteDocIndexRequest::DeleteDocIndexRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteDocIndex") -{} - -DeleteDocIndexRequest::~DeleteDocIndexRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteDocIndexRequest; + +DeleteDocIndexRequest::DeleteDocIndexRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteDocIndex") +{} + +DeleteDocIndexRequest::~DeleteDocIndexRequest() +{} + std::string DeleteDocIndexRequest::getSet()const { return set_; diff --git a/imm/src/model/DeleteDocIndexResult.cc b/imm/src/model/DeleteDocIndexResult.cc index ec2df0012..f71e00608 100644 --- a/imm/src/model/DeleteDocIndexResult.cc +++ b/imm/src/model/DeleteDocIndexResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteDocIndexResult::DeleteDocIndexResult() : - ServiceResult() -{} - -DeleteDocIndexResult::DeleteDocIndexResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteDocIndexResult::~DeleteDocIndexResult() -{} - -void DeleteDocIndexResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteDocIndexResult::DeleteDocIndexResult() : + ServiceResult() +{} + +DeleteDocIndexResult::DeleteDocIndexResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDocIndexResult::~DeleteDocIndexResult() +{} + +void DeleteDocIndexResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteFaceJobRequest.cc b/imm/src/model/DeleteFaceJobRequest.cc index 315083dc5..ac8f98ef9 100644 --- a/imm/src/model/DeleteFaceJobRequest.cc +++ b/imm/src/model/DeleteFaceJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteFaceJobRequest; - -DeleteFaceJobRequest::DeleteFaceJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteFaceJob") -{} - -DeleteFaceJobRequest::~DeleteFaceJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteFaceJobRequest; + +DeleteFaceJobRequest::DeleteFaceJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteFaceJob") +{} + +DeleteFaceJobRequest::~DeleteFaceJobRequest() +{} + std::string DeleteFaceJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/DeleteFaceJobResult.cc b/imm/src/model/DeleteFaceJobResult.cc index c5bf71bdf..84aff752b 100644 --- a/imm/src/model/DeleteFaceJobResult.cc +++ b/imm/src/model/DeleteFaceJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteFaceJobResult::DeleteFaceJobResult() : - ServiceResult() -{} - -DeleteFaceJobResult::DeleteFaceJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFaceJobResult::~DeleteFaceJobResult() -{} - -void DeleteFaceJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteFaceJobResult::DeleteFaceJobResult() : + ServiceResult() +{} + +DeleteFaceJobResult::DeleteFaceJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFaceJobResult::~DeleteFaceJobResult() +{} + +void DeleteFaceJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteFaceSearchGroupRequest.cc b/imm/src/model/DeleteFaceSearchGroupRequest.cc index 87e6d10ac..b340023ea 100644 --- a/imm/src/model/DeleteFaceSearchGroupRequest.cc +++ b/imm/src/model/DeleteFaceSearchGroupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteFaceSearchGroupRequest; - -DeleteFaceSearchGroupRequest::DeleteFaceSearchGroupRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchGroup") -{} - -DeleteFaceSearchGroupRequest::~DeleteFaceSearchGroupRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteFaceSearchGroupRequest; + +DeleteFaceSearchGroupRequest::DeleteFaceSearchGroupRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchGroup") +{} + +DeleteFaceSearchGroupRequest::~DeleteFaceSearchGroupRequest() +{} + std::string DeleteFaceSearchGroupRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeleteFaceSearchGroupResult.cc b/imm/src/model/DeleteFaceSearchGroupResult.cc index 0fb359551..73903c9b1 100644 --- a/imm/src/model/DeleteFaceSearchGroupResult.cc +++ b/imm/src/model/DeleteFaceSearchGroupResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult() : - ServiceResult() -{} - -DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFaceSearchGroupResult::~DeleteFaceSearchGroupResult() -{} - -void DeleteFaceSearchGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult() : + ServiceResult() +{} + +DeleteFaceSearchGroupResult::DeleteFaceSearchGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFaceSearchGroupResult::~DeleteFaceSearchGroupResult() +{} + +void DeleteFaceSearchGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteFaceSearchImageByIdRequest.cc b/imm/src/model/DeleteFaceSearchImageByIdRequest.cc index 78d3dd14f..2541e3d95 100644 --- a/imm/src/model/DeleteFaceSearchImageByIdRequest.cc +++ b/imm/src/model/DeleteFaceSearchImageByIdRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteFaceSearchImageByIdRequest; - -DeleteFaceSearchImageByIdRequest::DeleteFaceSearchImageByIdRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchImageById") -{} - -DeleteFaceSearchImageByIdRequest::~DeleteFaceSearchImageByIdRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteFaceSearchImageByIdRequest; + +DeleteFaceSearchImageByIdRequest::DeleteFaceSearchImageByIdRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchImageById") +{} + +DeleteFaceSearchImageByIdRequest::~DeleteFaceSearchImageByIdRequest() +{} + std::string DeleteFaceSearchImageByIdRequest::getImageId()const { return imageId_; diff --git a/imm/src/model/DeleteFaceSearchImageByIdResult.cc b/imm/src/model/DeleteFaceSearchImageByIdResult.cc index f1108406f..3c0fcc852 100644 --- a/imm/src/model/DeleteFaceSearchImageByIdResult.cc +++ b/imm/src/model/DeleteFaceSearchImageByIdResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult() : - ServiceResult() -{} - -DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFaceSearchImageByIdResult::~DeleteFaceSearchImageByIdResult() -{} - -void DeleteFaceSearchImageByIdResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult() : + ServiceResult() +{} + +DeleteFaceSearchImageByIdResult::DeleteFaceSearchImageByIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFaceSearchImageByIdResult::~DeleteFaceSearchImageByIdResult() +{} + +void DeleteFaceSearchImageByIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteFaceSearchUserRequest.cc b/imm/src/model/DeleteFaceSearchUserRequest.cc index 7a968f42f..a19735f7a 100644 --- a/imm/src/model/DeleteFaceSearchUserRequest.cc +++ b/imm/src/model/DeleteFaceSearchUserRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteFaceSearchUserRequest; - -DeleteFaceSearchUserRequest::DeleteFaceSearchUserRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchUser") -{} - -DeleteFaceSearchUserRequest::~DeleteFaceSearchUserRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteFaceSearchUserRequest; + +DeleteFaceSearchUserRequest::DeleteFaceSearchUserRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteFaceSearchUser") +{} + +DeleteFaceSearchUserRequest::~DeleteFaceSearchUserRequest() +{} + std::string DeleteFaceSearchUserRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeleteFaceSearchUserResult.cc b/imm/src/model/DeleteFaceSearchUserResult.cc index e9cdd08e5..14ff4793d 100644 --- a/imm/src/model/DeleteFaceSearchUserResult.cc +++ b/imm/src/model/DeleteFaceSearchUserResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteFaceSearchUserResult::DeleteFaceSearchUserResult() : - ServiceResult() -{} - -DeleteFaceSearchUserResult::DeleteFaceSearchUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteFaceSearchUserResult::~DeleteFaceSearchUserResult() -{} - -void DeleteFaceSearchUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteFaceSearchUserResult::DeleteFaceSearchUserResult() : + ServiceResult() +{} + +DeleteFaceSearchUserResult::DeleteFaceSearchUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteFaceSearchUserResult::~DeleteFaceSearchUserResult() +{} + +void DeleteFaceSearchUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteImageJobRequest.cc b/imm/src/model/DeleteImageJobRequest.cc index 75b8de444..ff7008403 100644 --- a/imm/src/model/DeleteImageJobRequest.cc +++ b/imm/src/model/DeleteImageJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteImageJobRequest; - -DeleteImageJobRequest::DeleteImageJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteImageJob") -{} - -DeleteImageJobRequest::~DeleteImageJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteImageJobRequest; + +DeleteImageJobRequest::DeleteImageJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteImageJob") +{} + +DeleteImageJobRequest::~DeleteImageJobRequest() +{} + std::string DeleteImageJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/DeleteImageJobResult.cc b/imm/src/model/DeleteImageJobResult.cc index 8cc5781ee..c252378e3 100644 --- a/imm/src/model/DeleteImageJobResult.cc +++ b/imm/src/model/DeleteImageJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteImageJobResult::DeleteImageJobResult() : - ServiceResult() -{} - -DeleteImageJobResult::DeleteImageJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteImageJobResult::~DeleteImageJobResult() -{} - -void DeleteImageJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteImageJobResult::DeleteImageJobResult() : + ServiceResult() +{} + +DeleteImageJobResult::DeleteImageJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteImageJobResult::~DeleteImageJobResult() +{} + +void DeleteImageJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteImageRequest.cc b/imm/src/model/DeleteImageRequest.cc index 409c2239a..1c940aca4 100644 --- a/imm/src/model/DeleteImageRequest.cc +++ b/imm/src/model/DeleteImageRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteImageRequest; - -DeleteImageRequest::DeleteImageRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteImage") -{} - -DeleteImageRequest::~DeleteImageRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteImageRequest; + +DeleteImageRequest::DeleteImageRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteImage") +{} + +DeleteImageRequest::~DeleteImageRequest() +{} + std::string DeleteImageRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DeleteImageResult.cc b/imm/src/model/DeleteImageResult.cc index 3c9a754a3..ebf7fcbbe 100644 --- a/imm/src/model/DeleteImageResult.cc +++ b/imm/src/model/DeleteImageResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteImageResult::DeleteImageResult() : - ServiceResult() -{} - -DeleteImageResult::DeleteImageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteImageResult::~DeleteImageResult() -{} - -void DeleteImageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteImageResult::DeleteImageResult() : + ServiceResult() +{} + +DeleteImageResult::DeleteImageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteImageResult::~DeleteImageResult() +{} + +void DeleteImageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::string DeleteImageResult::getSetId()const { return setId_; diff --git a/imm/src/model/DeleteOfficeConversionTaskRequest.cc b/imm/src/model/DeleteOfficeConversionTaskRequest.cc index 15804037f..f1fc695de 100644 --- a/imm/src/model/DeleteOfficeConversionTaskRequest.cc +++ b/imm/src/model/DeleteOfficeConversionTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteOfficeConversionTaskRequest; - -DeleteOfficeConversionTaskRequest::DeleteOfficeConversionTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteOfficeConversionTask") -{} - -DeleteOfficeConversionTaskRequest::~DeleteOfficeConversionTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteOfficeConversionTaskRequest; + +DeleteOfficeConversionTaskRequest::DeleteOfficeConversionTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteOfficeConversionTask") +{} + +DeleteOfficeConversionTaskRequest::~DeleteOfficeConversionTaskRequest() +{} + std::string DeleteOfficeConversionTaskRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeleteOfficeConversionTaskResult.cc b/imm/src/model/DeleteOfficeConversionTaskResult.cc index 6de84a3e9..4726f935e 100644 --- a/imm/src/model/DeleteOfficeConversionTaskResult.cc +++ b/imm/src/model/DeleteOfficeConversionTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult() : - ServiceResult() -{} - -DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteOfficeConversionTaskResult::~DeleteOfficeConversionTaskResult() -{} - -void DeleteOfficeConversionTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult() : + ServiceResult() +{} + +DeleteOfficeConversionTaskResult::DeleteOfficeConversionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteOfficeConversionTaskResult::~DeleteOfficeConversionTaskResult() +{} + +void DeleteOfficeConversionTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeletePhotoProcessTaskRequest.cc b/imm/src/model/DeletePhotoProcessTaskRequest.cc index 8d3ace340..9b3003513 100644 --- a/imm/src/model/DeletePhotoProcessTaskRequest.cc +++ b/imm/src/model/DeletePhotoProcessTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeletePhotoProcessTaskRequest; - -DeletePhotoProcessTaskRequest::DeletePhotoProcessTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeletePhotoProcessTask") -{} - -DeletePhotoProcessTaskRequest::~DeletePhotoProcessTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeletePhotoProcessTaskRequest; + +DeletePhotoProcessTaskRequest::DeletePhotoProcessTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeletePhotoProcessTask") +{} + +DeletePhotoProcessTaskRequest::~DeletePhotoProcessTaskRequest() +{} + std::string DeletePhotoProcessTaskRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeletePhotoProcessTaskResult.cc b/imm/src/model/DeletePhotoProcessTaskResult.cc index 6a11154ff..65911659f 100644 --- a/imm/src/model/DeletePhotoProcessTaskResult.cc +++ b/imm/src/model/DeletePhotoProcessTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult() : - ServiceResult() -{} - -DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeletePhotoProcessTaskResult::~DeletePhotoProcessTaskResult() -{} - -void DeletePhotoProcessTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult() : + ServiceResult() +{} + +DeletePhotoProcessTaskResult::DeletePhotoProcessTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeletePhotoProcessTaskResult::~DeletePhotoProcessTaskResult() +{} + +void DeletePhotoProcessTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeletePornBatchDetectJobRequest.cc b/imm/src/model/DeletePornBatchDetectJobRequest.cc index bb8900f7f..db5778ac3 100644 --- a/imm/src/model/DeletePornBatchDetectJobRequest.cc +++ b/imm/src/model/DeletePornBatchDetectJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeletePornBatchDetectJobRequest; - -DeletePornBatchDetectJobRequest::DeletePornBatchDetectJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeletePornBatchDetectJob") -{} - -DeletePornBatchDetectJobRequest::~DeletePornBatchDetectJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeletePornBatchDetectJobRequest; + +DeletePornBatchDetectJobRequest::DeletePornBatchDetectJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeletePornBatchDetectJob") +{} + +DeletePornBatchDetectJobRequest::~DeletePornBatchDetectJobRequest() +{} + std::string DeletePornBatchDetectJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/DeletePornBatchDetectJobResult.cc b/imm/src/model/DeletePornBatchDetectJobResult.cc index a4b451623..24e289eb2 100644 --- a/imm/src/model/DeletePornBatchDetectJobResult.cc +++ b/imm/src/model/DeletePornBatchDetectJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult() : - ServiceResult() -{} - -DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeletePornBatchDetectJobResult::~DeletePornBatchDetectJobResult() -{} - -void DeletePornBatchDetectJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult() : + ServiceResult() +{} + +DeletePornBatchDetectJobResult::DeletePornBatchDetectJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeletePornBatchDetectJobResult::~DeletePornBatchDetectJobResult() +{} + +void DeletePornBatchDetectJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteProjectRequest.cc b/imm/src/model/DeleteProjectRequest.cc index a2405b04b..6c51d2c69 100644 --- a/imm/src/model/DeleteProjectRequest.cc +++ b/imm/src/model/DeleteProjectRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteProjectRequest; - -DeleteProjectRequest::DeleteProjectRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteProject") -{} - -DeleteProjectRequest::~DeleteProjectRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteProjectRequest; + +DeleteProjectRequest::DeleteProjectRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteProject") +{} + +DeleteProjectRequest::~DeleteProjectRequest() +{} + std::string DeleteProjectRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeleteProjectResult.cc b/imm/src/model/DeleteProjectResult.cc index 50536ad74..0d95a8c4d 100644 --- a/imm/src/model/DeleteProjectResult.cc +++ b/imm/src/model/DeleteProjectResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteProjectResult::DeleteProjectResult() : - ServiceResult() -{} - -DeleteProjectResult::DeleteProjectResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteProjectResult::~DeleteProjectResult() -{} - -void DeleteProjectResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteProjectResult::DeleteProjectResult() : + ServiceResult() +{} + +DeleteProjectResult::DeleteProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteProjectResult::~DeleteProjectResult() +{} + +void DeleteProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteSetRequest.cc b/imm/src/model/DeleteSetRequest.cc index cad250c02..b5f9a2359 100644 --- a/imm/src/model/DeleteSetRequest.cc +++ b/imm/src/model/DeleteSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteSetRequest; - -DeleteSetRequest::DeleteSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteSet") -{} - -DeleteSetRequest::~DeleteSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteSetRequest; + +DeleteSetRequest::DeleteSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteSet") +{} + +DeleteSetRequest::~DeleteSetRequest() +{} + std::string DeleteSetRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeleteSetResult.cc b/imm/src/model/DeleteSetResult.cc index bc84c4d0b..6f0f37570 100644 --- a/imm/src/model/DeleteSetResult.cc +++ b/imm/src/model/DeleteSetResult.cc @@ -1,50 +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. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteSetResult::DeleteSetResult() : - ServiceResult() -{} - -DeleteSetResult::DeleteSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteSetResult::~DeleteSetResult() -{} - -void DeleteSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteSetResult::DeleteSetResult() : + ServiceResult() +{} + +DeleteSetResult::DeleteSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteSetResult::~DeleteSetResult() +{} + +void DeleteSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); - -} - + +} + std::string DeleteSetResult::getSetId()const { return setId_; diff --git a/imm/src/model/DeleteTagByNameRequest.cc b/imm/src/model/DeleteTagByNameRequest.cc index ba62b4ca2..a936c0a8e 100644 --- a/imm/src/model/DeleteTagByNameRequest.cc +++ b/imm/src/model/DeleteTagByNameRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteTagByNameRequest; - -DeleteTagByNameRequest::DeleteTagByNameRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteTagByName") -{} - -DeleteTagByNameRequest::~DeleteTagByNameRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteTagByNameRequest; + +DeleteTagByNameRequest::DeleteTagByNameRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteTagByName") +{} + +DeleteTagByNameRequest::~DeleteTagByNameRequest() +{} + std::string DeleteTagByNameRequest::getTagName()const { return tagName_; diff --git a/imm/src/model/DeleteTagByNameResult.cc b/imm/src/model/DeleteTagByNameResult.cc index 237ff71b8..786c11579 100644 --- a/imm/src/model/DeleteTagByNameResult.cc +++ b/imm/src/model/DeleteTagByNameResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteTagByNameResult::DeleteTagByNameResult() : - ServiceResult() -{} - -DeleteTagByNameResult::DeleteTagByNameResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTagByNameResult::~DeleteTagByNameResult() -{} - -void DeleteTagByNameResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteTagByNameResult::DeleteTagByNameResult() : + ServiceResult() +{} + +DeleteTagByNameResult::DeleteTagByNameResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTagByNameResult::~DeleteTagByNameResult() +{} + +void DeleteTagByNameResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteTagByUrlRequest.cc b/imm/src/model/DeleteTagByUrlRequest.cc index 72442b9f3..5cf2c4fda 100644 --- a/imm/src/model/DeleteTagByUrlRequest.cc +++ b/imm/src/model/DeleteTagByUrlRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteTagByUrlRequest; - -DeleteTagByUrlRequest::DeleteTagByUrlRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteTagByUrl") -{} - -DeleteTagByUrlRequest::~DeleteTagByUrlRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteTagByUrlRequest; + +DeleteTagByUrlRequest::DeleteTagByUrlRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteTagByUrl") +{} + +DeleteTagByUrlRequest::~DeleteTagByUrlRequest() +{} + std::string DeleteTagByUrlRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DeleteTagByUrlResult.cc b/imm/src/model/DeleteTagByUrlResult.cc index 8d1d5a2c7..1eb678826 100644 --- a/imm/src/model/DeleteTagByUrlResult.cc +++ b/imm/src/model/DeleteTagByUrlResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteTagByUrlResult::DeleteTagByUrlResult() : - ServiceResult() -{} - -DeleteTagByUrlResult::DeleteTagByUrlResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTagByUrlResult::~DeleteTagByUrlResult() -{} - -void DeleteTagByUrlResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteTagByUrlResult::DeleteTagByUrlResult() : + ServiceResult() +{} + +DeleteTagByUrlResult::DeleteTagByUrlResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTagByUrlResult::~DeleteTagByUrlResult() +{} + +void DeleteTagByUrlResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteTagJobRequest.cc b/imm/src/model/DeleteTagJobRequest.cc index 93ecb264a..c9e44d3b2 100644 --- a/imm/src/model/DeleteTagJobRequest.cc +++ b/imm/src/model/DeleteTagJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteTagJobRequest; - -DeleteTagJobRequest::DeleteTagJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteTagJob") -{} - -DeleteTagJobRequest::~DeleteTagJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteTagJobRequest; + +DeleteTagJobRequest::DeleteTagJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteTagJob") +{} + +DeleteTagJobRequest::~DeleteTagJobRequest() +{} + std::string DeleteTagJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/DeleteTagJobResult.cc b/imm/src/model/DeleteTagJobResult.cc index e7a78da1e..cf3c9fc38 100644 --- a/imm/src/model/DeleteTagJobResult.cc +++ b/imm/src/model/DeleteTagJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteTagJobResult::DeleteTagJobResult() : - ServiceResult() -{} - -DeleteTagJobResult::DeleteTagJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTagJobResult::~DeleteTagJobResult() -{} - -void DeleteTagJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteTagJobResult::DeleteTagJobResult() : + ServiceResult() +{} + +DeleteTagJobResult::DeleteTagJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTagJobResult::~DeleteTagJobResult() +{} + +void DeleteTagJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteTagSetRequest.cc b/imm/src/model/DeleteTagSetRequest.cc index 7a9837b34..86bed794c 100644 --- a/imm/src/model/DeleteTagSetRequest.cc +++ b/imm/src/model/DeleteTagSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteTagSetRequest; - -DeleteTagSetRequest::DeleteTagSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteTagSet") -{} - -DeleteTagSetRequest::~DeleteTagSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteTagSetRequest; + +DeleteTagSetRequest::DeleteTagSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteTagSet") +{} + +DeleteTagSetRequest::~DeleteTagSetRequest() +{} + std::string DeleteTagSetRequest::getLazyMode()const { return lazyMode_; diff --git a/imm/src/model/DeleteTagSetResult.cc b/imm/src/model/DeleteTagSetResult.cc index 88a7de64b..59e8c3809 100644 --- a/imm/src/model/DeleteTagSetResult.cc +++ b/imm/src/model/DeleteTagSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteTagSetResult::DeleteTagSetResult() : - ServiceResult() -{} - -DeleteTagSetResult::DeleteTagSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteTagSetResult::~DeleteTagSetResult() -{} - -void DeleteTagSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteTagSetResult::DeleteTagSetResult() : + ServiceResult() +{} + +DeleteTagSetResult::DeleteTagSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTagSetResult::~DeleteTagSetResult() +{} + +void DeleteTagSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DeleteVideoRequest.cc b/imm/src/model/DeleteVideoRequest.cc index 3ab53dd62..1d5674515 100644 --- a/imm/src/model/DeleteVideoRequest.cc +++ b/imm/src/model/DeleteVideoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteVideoRequest; - -DeleteVideoRequest::DeleteVideoRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteVideo") -{} - -DeleteVideoRequest::~DeleteVideoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteVideoRequest; + +DeleteVideoRequest::DeleteVideoRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteVideo") +{} + +DeleteVideoRequest::~DeleteVideoRequest() +{} + std::string DeleteVideoRequest::getVideoUri()const { return videoUri_; diff --git a/imm/src/model/DeleteVideoResult.cc b/imm/src/model/DeleteVideoResult.cc index fd2a0474d..876c6f607 100644 --- a/imm/src/model/DeleteVideoResult.cc +++ b/imm/src/model/DeleteVideoResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteVideoResult::DeleteVideoResult() : - ServiceResult() -{} - -DeleteVideoResult::DeleteVideoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteVideoResult::~DeleteVideoResult() -{} - -void DeleteVideoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteVideoResult::DeleteVideoResult() : + ServiceResult() +{} + +DeleteVideoResult::DeleteVideoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVideoResult::~DeleteVideoResult() +{} + +void DeleteVideoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["VideoUri"].isNull()) videoUri_ = value["VideoUri"].asString(); - -} - + +} + std::string DeleteVideoResult::getVideoUri()const { return videoUri_; diff --git a/imm/src/model/DeleteVideoTaskRequest.cc b/imm/src/model/DeleteVideoTaskRequest.cc index b3f0567aa..21e4e4e98 100644 --- a/imm/src/model/DeleteVideoTaskRequest.cc +++ b/imm/src/model/DeleteVideoTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DeleteVideoTaskRequest; - -DeleteVideoTaskRequest::DeleteVideoTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "DeleteVideoTask") -{} - -DeleteVideoTaskRequest::~DeleteVideoTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DeleteVideoTaskRequest; + +DeleteVideoTaskRequest::DeleteVideoTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "DeleteVideoTask") +{} + +DeleteVideoTaskRequest::~DeleteVideoTaskRequest() +{} + std::string DeleteVideoTaskRequest::getTaskType()const { return taskType_; diff --git a/imm/src/model/DeleteVideoTaskResult.cc b/imm/src/model/DeleteVideoTaskResult.cc index 7341b65a2..6832fcb9f 100644 --- a/imm/src/model/DeleteVideoTaskResult.cc +++ b/imm/src/model/DeleteVideoTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DeleteVideoTaskResult::DeleteVideoTaskResult() : - ServiceResult() -{} - -DeleteVideoTaskResult::DeleteVideoTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DeleteVideoTaskResult::~DeleteVideoTaskResult() -{} - -void DeleteVideoTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); - -} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DeleteVideoTaskResult::DeleteVideoTaskResult() : + ServiceResult() +{} + +DeleteVideoTaskResult::DeleteVideoTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVideoTaskResult::~DeleteVideoTaskResult() +{} + +void DeleteVideoTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); + +} + diff --git a/imm/src/model/DescribeRegionsRequest.cc b/imm/src/model/DescribeRegionsRequest.cc index ae0ba195e..89f0ca00c 100644 --- a/imm/src/model/DescribeRegionsRequest.cc +++ b/imm/src/model/DescribeRegionsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DescribeRegionsRequest; - -DescribeRegionsRequest::DescribeRegionsRequest() : - RpcServiceRequest("imm", "2017-09-06", "DescribeRegions") -{} - -DescribeRegionsRequest::~DescribeRegionsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DescribeRegionsRequest; + +DescribeRegionsRequest::DescribeRegionsRequest() : + RpcServiceRequest("imm", "2017-09-06", "DescribeRegions") +{} + +DescribeRegionsRequest::~DescribeRegionsRequest() +{} + std::string DescribeRegionsRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/DescribeRegionsResult.cc b/imm/src/model/DescribeRegionsResult.cc index a984356c3..e6375fe6b 100644 --- a/imm/src/model/DescribeRegionsResult.cc +++ b/imm/src/model/DescribeRegionsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DescribeRegionsResult::DescribeRegionsResult() : - ServiceResult() -{} - -DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DescribeRegionsResult::~DescribeRegionsResult() -{} - -void DescribeRegionsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DescribeRegionsResult::DescribeRegionsResult() : + ServiceResult() +{} + +DescribeRegionsResult::DescribeRegionsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRegionsResult::~DescribeRegionsResult() +{} + +void DescribeRegionsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto regionsNode = value["Regions"]; auto allRegion = value["Region"]["RegionItem"]; for (auto value : allRegion) @@ -52,9 +52,9 @@ void DescribeRegionsResult::parse(const std::string &payload) regionItemObject.projectTypes.push_back(value.asString()); regions_.region.push_back(regionItemObject); } - -} - + +} + DescribeRegionsResult::Regions DescribeRegionsResult::getRegions()const { return regions_; diff --git a/imm/src/model/DetectClothesRequest.cc b/imm/src/model/DetectClothesRequest.cc index 84ca79785..b56ffb141 100644 --- a/imm/src/model/DetectClothesRequest.cc +++ b/imm/src/model/DetectClothesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectClothesRequest; - -DetectClothesRequest::DetectClothesRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectClothes") -{} - -DetectClothesRequest::~DetectClothesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectClothesRequest; + +DetectClothesRequest::DetectClothesRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectClothes") +{} + +DetectClothesRequest::~DetectClothesRequest() +{} + std::string DetectClothesRequest::getSrcUris()const { return srcUris_; diff --git a/imm/src/model/DetectClothesResult.cc b/imm/src/model/DetectClothesResult.cc index 8aa6a1c95..160014044 100644 --- a/imm/src/model/DetectClothesResult.cc +++ b/imm/src/model/DetectClothesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectClothesResult::DetectClothesResult() : - ServiceResult() -{} - -DetectClothesResult::DetectClothesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectClothesResult::~DetectClothesResult() -{} - -void DetectClothesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectClothesResult::DetectClothesResult() : + ServiceResult() +{} + +DetectClothesResult::DetectClothesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectClothesResult::~DetectClothesResult() +{} + +void DetectClothesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"]; for (auto value : allSuccessDetails) { @@ -82,9 +82,9 @@ void DetectClothesResult::parse(const std::string &payload) auto allSrcUris = value["SrcUris"]["SrcUris"]; for (const auto &item : allSrcUris) srcUris_.push_back(item.asString()); - -} - + +} + std::vector DetectClothesResult::getSuccessDetails()const { return successDetails_; diff --git a/imm/src/model/DetectImageBodiesRequest.cc b/imm/src/model/DetectImageBodiesRequest.cc index 25d2ffda3..fb21e64f7 100644 --- a/imm/src/model/DetectImageBodiesRequest.cc +++ b/imm/src/model/DetectImageBodiesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectImageBodiesRequest; - -DetectImageBodiesRequest::DetectImageBodiesRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectImageBodies") -{} - -DetectImageBodiesRequest::~DetectImageBodiesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectImageBodiesRequest; + +DetectImageBodiesRequest::DetectImageBodiesRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectImageBodies") +{} + +DetectImageBodiesRequest::~DetectImageBodiesRequest() +{} + std::string DetectImageBodiesRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageBodiesResult.cc b/imm/src/model/DetectImageBodiesResult.cc index 2a0b22af4..8a1b15e5a 100644 --- a/imm/src/model/DetectImageBodiesResult.cc +++ b/imm/src/model/DetectImageBodiesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectImageBodiesResult::DetectImageBodiesResult() : - ServiceResult() -{} - -DetectImageBodiesResult::DetectImageBodiesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectImageBodiesResult::~DetectImageBodiesResult() -{} - -void DetectImageBodiesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectImageBodiesResult::DetectImageBodiesResult() : + ServiceResult() +{} + +DetectImageBodiesResult::DetectImageBodiesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectImageBodiesResult::~DetectImageBodiesResult() +{} + +void DetectImageBodiesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allBodies = value["Bodies"]["BodiesItem"]; for (auto value : allBodies) { @@ -59,9 +59,9 @@ void DetectImageBodiesResult::parse(const std::string &payload) } if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::vector DetectImageBodiesResult::getBodies()const { return bodies_; diff --git a/imm/src/model/DetectImageCelebrityRequest.cc b/imm/src/model/DetectImageCelebrityRequest.cc index 34f853471..fbf99497b 100644 --- a/imm/src/model/DetectImageCelebrityRequest.cc +++ b/imm/src/model/DetectImageCelebrityRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectImageCelebrityRequest; - -DetectImageCelebrityRequest::DetectImageCelebrityRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectImageCelebrity") -{} - -DetectImageCelebrityRequest::~DetectImageCelebrityRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectImageCelebrityRequest; + +DetectImageCelebrityRequest::DetectImageCelebrityRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectImageCelebrity") +{} + +DetectImageCelebrityRequest::~DetectImageCelebrityRequest() +{} + std::string DetectImageCelebrityRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageCelebrityResult.cc b/imm/src/model/DetectImageCelebrityResult.cc index d87f73cba..9481b0633 100644 --- a/imm/src/model/DetectImageCelebrityResult.cc +++ b/imm/src/model/DetectImageCelebrityResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectImageCelebrityResult::DetectImageCelebrityResult() : - ServiceResult() -{} - -DetectImageCelebrityResult::DetectImageCelebrityResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectImageCelebrityResult::~DetectImageCelebrityResult() -{} - -void DetectImageCelebrityResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectImageCelebrityResult::DetectImageCelebrityResult() : + ServiceResult() +{} + +DetectImageCelebrityResult::DetectImageCelebrityResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectImageCelebrityResult::~DetectImageCelebrityResult() +{} + +void DetectImageCelebrityResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allCelebrity = value["Celebrity"]["CelebrityItem"]; for (auto value : allCelebrity) { @@ -65,9 +65,9 @@ void DetectImageCelebrityResult::parse(const std::string &payload) } if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::vector DetectImageCelebrityResult::getCelebrity()const { return celebrity_; diff --git a/imm/src/model/DetectImageFacesRequest.cc b/imm/src/model/DetectImageFacesRequest.cc index c1508b2cb..43c2a419b 100644 --- a/imm/src/model/DetectImageFacesRequest.cc +++ b/imm/src/model/DetectImageFacesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectImageFacesRequest; - -DetectImageFacesRequest::DetectImageFacesRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectImageFaces") -{} - -DetectImageFacesRequest::~DetectImageFacesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectImageFacesRequest; + +DetectImageFacesRequest::DetectImageFacesRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectImageFaces") +{} + +DetectImageFacesRequest::~DetectImageFacesRequest() +{} + std::string DetectImageFacesRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageFacesResult.cc b/imm/src/model/DetectImageFacesResult.cc index 1362fa866..08779f35a 100644 --- a/imm/src/model/DetectImageFacesResult.cc +++ b/imm/src/model/DetectImageFacesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectImageFacesResult::DetectImageFacesResult() : - ServiceResult() -{} - -DetectImageFacesResult::DetectImageFacesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectImageFacesResult::~DetectImageFacesResult() -{} - -void DetectImageFacesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectImageFacesResult::DetectImageFacesResult() : + ServiceResult() +{} + +DetectImageFacesResult::DetectImageFacesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectImageFacesResult::~DetectImageFacesResult() +{} + +void DetectImageFacesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allFaces = value["Faces"]["FacesItem"]; for (auto value : allFaces) { @@ -118,9 +118,9 @@ void DetectImageFacesResult::parse(const std::string &payload) } if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::string DetectImageFacesResult::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageLogosRequest.cc b/imm/src/model/DetectImageLogosRequest.cc index 5c194aea0..57f98fca7 100644 --- a/imm/src/model/DetectImageLogosRequest.cc +++ b/imm/src/model/DetectImageLogosRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectImageLogosRequest; - -DetectImageLogosRequest::DetectImageLogosRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectImageLogos") -{} - -DetectImageLogosRequest::~DetectImageLogosRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectImageLogosRequest; + +DetectImageLogosRequest::DetectImageLogosRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectImageLogos") +{} + +DetectImageLogosRequest::~DetectImageLogosRequest() +{} + std::string DetectImageLogosRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageLogosResult.cc b/imm/src/model/DetectImageLogosResult.cc index 082703b3b..166a3bace 100644 --- a/imm/src/model/DetectImageLogosResult.cc +++ b/imm/src/model/DetectImageLogosResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectImageLogosResult::DetectImageLogosResult() : - ServiceResult() -{} - -DetectImageLogosResult::DetectImageLogosResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectImageLogosResult::~DetectImageLogosResult() -{} - -void DetectImageLogosResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectImageLogosResult::DetectImageLogosResult() : + ServiceResult() +{} + +DetectImageLogosResult::DetectImageLogosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectImageLogosResult::~DetectImageLogosResult() +{} + +void DetectImageLogosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allLogos = value["Logos"]["LogosItem"]; for (auto value : allLogos) { @@ -61,9 +61,9 @@ void DetectImageLogosResult::parse(const std::string &payload) } if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::vector DetectImageLogosResult::getLogos()const { return logos_; diff --git a/imm/src/model/DetectImageTagsRequest.cc b/imm/src/model/DetectImageTagsRequest.cc index c527dd635..8afba2aac 100644 --- a/imm/src/model/DetectImageTagsRequest.cc +++ b/imm/src/model/DetectImageTagsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectImageTagsRequest; - -DetectImageTagsRequest::DetectImageTagsRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectImageTags") -{} - -DetectImageTagsRequest::~DetectImageTagsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectImageTagsRequest; + +DetectImageTagsRequest::DetectImageTagsRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectImageTags") +{} + +DetectImageTagsRequest::~DetectImageTagsRequest() +{} + std::string DetectImageTagsRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageTagsResult.cc b/imm/src/model/DetectImageTagsResult.cc index 79df5e474..bc3c96a23 100644 --- a/imm/src/model/DetectImageTagsResult.cc +++ b/imm/src/model/DetectImageTagsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectImageTagsResult::DetectImageTagsResult() : - ServiceResult() -{} - -DetectImageTagsResult::DetectImageTagsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectImageTagsResult::~DetectImageTagsResult() -{} - -void DetectImageTagsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectImageTagsResult::DetectImageTagsResult() : + ServiceResult() +{} + +DetectImageTagsResult::DetectImageTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectImageTagsResult::~DetectImageTagsResult() +{} + +void DetectImageTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTags = value["Tags"]["TagsItem"]; for (auto value : allTags) { @@ -60,9 +60,9 @@ void DetectImageTagsResult::parse(const std::string &payload) } if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::string DetectImageTagsResult::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageTextsRequest.cc b/imm/src/model/DetectImageTextsRequest.cc index c3e964541..fdd1c20c9 100644 --- a/imm/src/model/DetectImageTextsRequest.cc +++ b/imm/src/model/DetectImageTextsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectImageTextsRequest; - -DetectImageTextsRequest::DetectImageTextsRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectImageTexts") -{} - -DetectImageTextsRequest::~DetectImageTextsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectImageTextsRequest; + +DetectImageTextsRequest::DetectImageTextsRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectImageTexts") +{} + +DetectImageTextsRequest::~DetectImageTextsRequest() +{} + std::string DetectImageTextsRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectImageTextsResult.cc b/imm/src/model/DetectImageTextsResult.cc index cd83ec92c..d230b026b 100644 --- a/imm/src/model/DetectImageTextsResult.cc +++ b/imm/src/model/DetectImageTextsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectImageTextsResult::DetectImageTextsResult() : - ServiceResult() -{} - -DetectImageTextsResult::DetectImageTextsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectImageTextsResult::~DetectImageTextsResult() -{} - -void DetectImageTextsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectImageTextsResult::DetectImageTextsResult() : + ServiceResult() +{} + +DetectImageTextsResult::DetectImageTextsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectImageTextsResult::~DetectImageTextsResult() +{} + +void DetectImageTextsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allOCR = value["OCR"]["OCRItem"]; for (auto value : allOCR) { @@ -61,9 +61,9 @@ void DetectImageTextsResult::parse(const std::string &payload) } if(!value["ImageUri"].isNull()) imageUri_ = value["ImageUri"].asString(); - -} - + +} + std::string DetectImageTextsResult::getImageUri()const { return imageUri_; diff --git a/imm/src/model/DetectLogoRequest.cc b/imm/src/model/DetectLogoRequest.cc index c304f5219..dfe44be94 100644 --- a/imm/src/model/DetectLogoRequest.cc +++ b/imm/src/model/DetectLogoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectLogoRequest; - -DetectLogoRequest::DetectLogoRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectLogo") -{} - -DetectLogoRequest::~DetectLogoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectLogoRequest; + +DetectLogoRequest::DetectLogoRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectLogo") +{} + +DetectLogoRequest::~DetectLogoRequest() +{} + std::string DetectLogoRequest::getSrcUris()const { return srcUris_; diff --git a/imm/src/model/DetectLogoResult.cc b/imm/src/model/DetectLogoResult.cc index 525d1d57f..b0834f059 100644 --- a/imm/src/model/DetectLogoResult.cc +++ b/imm/src/model/DetectLogoResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectLogoResult::DetectLogoResult() : - ServiceResult() -{} - -DetectLogoResult::DetectLogoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectLogoResult::~DetectLogoResult() -{} - -void DetectLogoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectLogoResult::DetectLogoResult() : + ServiceResult() +{} + +DetectLogoResult::DetectLogoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectLogoResult::~DetectLogoResult() +{} + +void DetectLogoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"]; for (auto value : allSuccessDetails) { @@ -82,9 +82,9 @@ void DetectLogoResult::parse(const std::string &payload) auto allSrcUris = value["SrcUris"]["SrcUris"]; for (const auto &item : allSrcUris) srcUris_.push_back(item.asString()); - -} - + +} + std::vector DetectLogoResult::getSuccessDetails()const { return successDetails_; diff --git a/imm/src/model/DetectQRCodesRequest.cc b/imm/src/model/DetectQRCodesRequest.cc index 73d1449ca..4003d2597 100644 --- a/imm/src/model/DetectQRCodesRequest.cc +++ b/imm/src/model/DetectQRCodesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectQRCodesRequest; - -DetectQRCodesRequest::DetectQRCodesRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectQRCodes") -{} - -DetectQRCodesRequest::~DetectQRCodesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectQRCodesRequest; + +DetectQRCodesRequest::DetectQRCodesRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectQRCodes") +{} + +DetectQRCodesRequest::~DetectQRCodesRequest() +{} + std::string DetectQRCodesRequest::getSrcUris()const { return srcUris_; diff --git a/imm/src/model/DetectQRCodesResult.cc b/imm/src/model/DetectQRCodesResult.cc index dbad8bff2..ff1481ca9 100644 --- a/imm/src/model/DetectQRCodesResult.cc +++ b/imm/src/model/DetectQRCodesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectQRCodesResult::DetectQRCodesResult() : - ServiceResult() -{} - -DetectQRCodesResult::DetectQRCodesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectQRCodesResult::~DetectQRCodesResult() -{} - -void DetectQRCodesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectQRCodesResult::DetectQRCodesResult() : + ServiceResult() +{} + +DetectQRCodesResult::DetectQRCodesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectQRCodesResult::~DetectQRCodesResult() +{} + +void DetectQRCodesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"]; for (auto value : allSuccessDetails) { @@ -77,9 +77,9 @@ void DetectQRCodesResult::parse(const std::string &payload) failDetailsObject.errorMessage = value["ErrorMessage"].asString(); failDetails_.push_back(failDetailsObject); } - -} - + +} + std::vector DetectQRCodesResult::getSuccessDetails()const { return successDetails_; diff --git a/imm/src/model/DetectTagRequest.cc b/imm/src/model/DetectTagRequest.cc index 62f26ff17..c4b31b5f6 100644 --- a/imm/src/model/DetectTagRequest.cc +++ b/imm/src/model/DetectTagRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::DetectTagRequest; - -DetectTagRequest::DetectTagRequest() : - RpcServiceRequest("imm", "2017-09-06", "DetectTag") -{} - -DetectTagRequest::~DetectTagRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::DetectTagRequest; + +DetectTagRequest::DetectTagRequest() : + RpcServiceRequest("imm", "2017-09-06", "DetectTag") +{} + +DetectTagRequest::~DetectTagRequest() +{} + std::string DetectTagRequest::getSrcUris()const { return srcUris_; diff --git a/imm/src/model/DetectTagResult.cc b/imm/src/model/DetectTagResult.cc index faa42353a..23a1e80d8 100644 --- a/imm/src/model/DetectTagResult.cc +++ b/imm/src/model/DetectTagResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -DetectTagResult::DetectTagResult() : - ServiceResult() -{} - -DetectTagResult::DetectTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -DetectTagResult::~DetectTagResult() -{} - -void DetectTagResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +DetectTagResult::DetectTagResult() : + ServiceResult() +{} + +DetectTagResult::DetectTagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DetectTagResult::~DetectTagResult() +{} + +void DetectTagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allSuccessDetails = value["SuccessDetails"]["SuccessDetailsItem"]; for (auto value : allSuccessDetails) { @@ -78,9 +78,9 @@ void DetectTagResult::parse(const std::string &payload) } if(!value["SuccessNum"].isNull()) successNum_ = value["SuccessNum"].asString(); - -} - + +} + std::vector DetectTagResult::getSuccessDetails()const { return successDetails_; diff --git a/imm/src/model/FindImagesByTagNamesRequest.cc b/imm/src/model/FindImagesByTagNamesRequest.cc index 8396a042c..b91162e63 100644 --- a/imm/src/model/FindImagesByTagNamesRequest.cc +++ b/imm/src/model/FindImagesByTagNamesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::FindImagesByTagNamesRequest; - -FindImagesByTagNamesRequest::FindImagesByTagNamesRequest() : - RpcServiceRequest("imm", "2017-09-06", "FindImagesByTagNames") -{} - -FindImagesByTagNamesRequest::~FindImagesByTagNamesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::FindImagesByTagNamesRequest; + +FindImagesByTagNamesRequest::FindImagesByTagNamesRequest() : + RpcServiceRequest("imm", "2017-09-06", "FindImagesByTagNames") +{} + +FindImagesByTagNamesRequest::~FindImagesByTagNamesRequest() +{} + std::string FindImagesByTagNamesRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/FindImagesByTagNamesResult.cc b/imm/src/model/FindImagesByTagNamesResult.cc index 3082be45d..440de73a9 100644 --- a/imm/src/model/FindImagesByTagNamesResult.cc +++ b/imm/src/model/FindImagesByTagNamesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -FindImagesByTagNamesResult::FindImagesByTagNamesResult() : - ServiceResult() -{} - -FindImagesByTagNamesResult::FindImagesByTagNamesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -FindImagesByTagNamesResult::~FindImagesByTagNamesResult() -{} - -void FindImagesByTagNamesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +FindImagesByTagNamesResult::FindImagesByTagNamesResult() : + ServiceResult() +{} + +FindImagesByTagNamesResult::FindImagesByTagNamesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FindImagesByTagNamesResult::~FindImagesByTagNamesResult() +{} + +void FindImagesByTagNamesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allImages = value["Images"]["Frames"]; for (auto value : allImages) { @@ -242,9 +242,9 @@ void FindImagesByTagNamesResult::parse(const std::string &payload) setId_ = value["SetId"].asString(); if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector FindImagesByTagNamesResult::getImages()const { return images_; diff --git a/imm/src/model/FindImagesRequest.cc b/imm/src/model/FindImagesRequest.cc index e65b1e8f9..816020911 100644 --- a/imm/src/model/FindImagesRequest.cc +++ b/imm/src/model/FindImagesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::FindImagesRequest; - -FindImagesRequest::FindImagesRequest() : - RpcServiceRequest("imm", "2017-09-06", "FindImages") -{} - -FindImagesRequest::~FindImagesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::FindImagesRequest; + +FindImagesRequest::FindImagesRequest() : + RpcServiceRequest("imm", "2017-09-06", "FindImages") +{} + +FindImagesRequest::~FindImagesRequest() +{} + std::string FindImagesRequest::getGender()const { return gender_; diff --git a/imm/src/model/FindImagesResult.cc b/imm/src/model/FindImagesResult.cc index 348f45e7a..47d0e9e21 100644 --- a/imm/src/model/FindImagesResult.cc +++ b/imm/src/model/FindImagesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -FindImagesResult::FindImagesResult() : - ServiceResult() -{} - -FindImagesResult::FindImagesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -FindImagesResult::~FindImagesResult() -{} - -void FindImagesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +FindImagesResult::FindImagesResult() : + ServiceResult() +{} + +FindImagesResult::FindImagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FindImagesResult::~FindImagesResult() +{} + +void FindImagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allImages = value["Images"]["ImagesItem"]; for (auto value : allImages) { @@ -242,9 +242,9 @@ void FindImagesResult::parse(const std::string &payload) setId_ = value["SetId"].asString(); if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector FindImagesResult::getImages()const { return images_; diff --git a/imm/src/model/FindSimilarFacesRequest.cc b/imm/src/model/FindSimilarFacesRequest.cc index 4bddf3cf3..fbee6756e 100644 --- a/imm/src/model/FindSimilarFacesRequest.cc +++ b/imm/src/model/FindSimilarFacesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::FindSimilarFacesRequest; - -FindSimilarFacesRequest::FindSimilarFacesRequest() : - RpcServiceRequest("imm", "2017-09-06", "FindSimilarFaces") -{} - -FindSimilarFacesRequest::~FindSimilarFacesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::FindSimilarFacesRequest; + +FindSimilarFacesRequest::FindSimilarFacesRequest() : + RpcServiceRequest("imm", "2017-09-06", "FindSimilarFaces") +{} + +FindSimilarFacesRequest::~FindSimilarFacesRequest() +{} + std::string FindSimilarFacesRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/FindSimilarFacesResult.cc b/imm/src/model/FindSimilarFacesResult.cc index 1eededf31..bbb1c3334 100644 --- a/imm/src/model/FindSimilarFacesResult.cc +++ b/imm/src/model/FindSimilarFacesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -FindSimilarFacesResult::FindSimilarFacesResult() : - ServiceResult() -{} - -FindSimilarFacesResult::FindSimilarFacesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -FindSimilarFacesResult::~FindSimilarFacesResult() -{} - -void FindSimilarFacesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +FindSimilarFacesResult::FindSimilarFacesResult() : + ServiceResult() +{} + +FindSimilarFacesResult::FindSimilarFacesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +FindSimilarFacesResult::~FindSimilarFacesResult() +{} + +void FindSimilarFacesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allFaces = value["Faces"]["FacesItem"]; for (auto value : allFaces) { @@ -62,9 +62,9 @@ void FindSimilarFacesResult::parse(const std::string &payload) facesObject.faceAttributes.faceBoundary.height = std::stoi(faceBoundaryNode["Height"].asString()); faces_.push_back(facesObject); } - -} - + +} + std::vector FindSimilarFacesResult::getFaces()const { return faces_; diff --git a/imm/src/model/GetDocIndexRequest.cc b/imm/src/model/GetDocIndexRequest.cc index 27f431373..7a0d0ee18 100644 --- a/imm/src/model/GetDocIndexRequest.cc +++ b/imm/src/model/GetDocIndexRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetDocIndexRequest; - -GetDocIndexRequest::GetDocIndexRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetDocIndex") -{} - -GetDocIndexRequest::~GetDocIndexRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetDocIndexRequest; + +GetDocIndexRequest::GetDocIndexRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetDocIndex") +{} + +GetDocIndexRequest::~GetDocIndexRequest() +{} + std::string GetDocIndexRequest::getSet()const { return set_; diff --git a/imm/src/model/GetDocIndexResult.cc b/imm/src/model/GetDocIndexResult.cc index c8ada2b1e..4a58e70a8 100644 --- a/imm/src/model/GetDocIndexResult.cc +++ b/imm/src/model/GetDocIndexResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetDocIndexResult::GetDocIndexResult() : - ServiceResult() -{} - -GetDocIndexResult::GetDocIndexResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDocIndexResult::~GetDocIndexResult() -{} - -void GetDocIndexResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetDocIndexResult::GetDocIndexResult() : + ServiceResult() +{} + +GetDocIndexResult::GetDocIndexResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDocIndexResult::~GetDocIndexResult() +{} + +void GetDocIndexResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["IndexCreatedTime"].isNull()) indexCreatedTime_ = value["IndexCreatedTime"].asString(); if(!value["IndexModifiedTime"].isNull()) @@ -70,9 +70,9 @@ void GetDocIndexResult::parse(const std::string &payload) customKey5_ = value["CustomKey5"].asString(); if(!value["CustomKey6"].isNull()) customKey6_ = value["CustomKey6"].asString(); - -} - + +} + std::string GetDocIndexResult::getCustomKey4()const { return customKey4_; diff --git a/imm/src/model/GetDocIndexTaskRequest.cc b/imm/src/model/GetDocIndexTaskRequest.cc index 5f659ccee..e251bfde3 100644 --- a/imm/src/model/GetDocIndexTaskRequest.cc +++ b/imm/src/model/GetDocIndexTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetDocIndexTaskRequest; - -GetDocIndexTaskRequest::GetDocIndexTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetDocIndexTask") -{} - -GetDocIndexTaskRequest::~GetDocIndexTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetDocIndexTaskRequest; + +GetDocIndexTaskRequest::GetDocIndexTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetDocIndexTask") +{} + +GetDocIndexTaskRequest::~GetDocIndexTaskRequest() +{} + std::string GetDocIndexTaskRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetDocIndexTaskResult.cc b/imm/src/model/GetDocIndexTaskResult.cc index b79b4f750..4a81d2c22 100644 --- a/imm/src/model/GetDocIndexTaskResult.cc +++ b/imm/src/model/GetDocIndexTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetDocIndexTaskResult::GetDocIndexTaskResult() : - ServiceResult() -{} - -GetDocIndexTaskResult::GetDocIndexTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetDocIndexTaskResult::~GetDocIndexTaskResult() -{} - -void GetDocIndexTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetDocIndexTaskResult::GetDocIndexTaskResult() : + ServiceResult() +{} + +GetDocIndexTaskResult::GetDocIndexTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDocIndexTaskResult::~GetDocIndexTaskResult() +{} + +void GetDocIndexTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto failDetailNode = value["FailDetail"]; if(!failDetailNode["Code"].isNull()) failDetail_.code = failDetailNode["Code"].asString(); @@ -51,9 +51,9 @@ void GetDocIndexTaskResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["FinishTime"].isNull()) finishTime_ = value["FinishTime"].asString(); - -} - + +} + std::string GetDocIndexTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/GetFaceSearchGroupRequest.cc b/imm/src/model/GetFaceSearchGroupRequest.cc index 9751e7f3a..926d350f5 100644 --- a/imm/src/model/GetFaceSearchGroupRequest.cc +++ b/imm/src/model/GetFaceSearchGroupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetFaceSearchGroupRequest; - -GetFaceSearchGroupRequest::GetFaceSearchGroupRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchGroup") -{} - -GetFaceSearchGroupRequest::~GetFaceSearchGroupRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetFaceSearchGroupRequest; + +GetFaceSearchGroupRequest::GetFaceSearchGroupRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchGroup") +{} + +GetFaceSearchGroupRequest::~GetFaceSearchGroupRequest() +{} + std::string GetFaceSearchGroupRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetFaceSearchGroupResult.cc b/imm/src/model/GetFaceSearchGroupResult.cc index 7607d408b..368768187 100644 --- a/imm/src/model/GetFaceSearchGroupResult.cc +++ b/imm/src/model/GetFaceSearchGroupResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetFaceSearchGroupResult::GetFaceSearchGroupResult() : - ServiceResult() -{} - -GetFaceSearchGroupResult::GetFaceSearchGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFaceSearchGroupResult::~GetFaceSearchGroupResult() -{} - -void GetFaceSearchGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetFaceSearchGroupResult::GetFaceSearchGroupResult() : + ServiceResult() +{} + +GetFaceSearchGroupResult::GetFaceSearchGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFaceSearchGroupResult::~GetFaceSearchGroupResult() +{} + +void GetFaceSearchGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["GroupName"].isNull()) groupName_ = value["GroupName"].asString(); if(!value["Count"].isNull()) @@ -52,9 +52,9 @@ void GetFaceSearchGroupResult::parse(const std::string &payload) modifyTime_ = value["ModifyTime"].asString(); if(!value["GroupId"].isNull()) groupId_ = value["GroupId"].asString(); - -} - + +} + std::string GetFaceSearchGroupResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/GetFaceSearchImageRequest.cc b/imm/src/model/GetFaceSearchImageRequest.cc index 13fe37959..585700129 100644 --- a/imm/src/model/GetFaceSearchImageRequest.cc +++ b/imm/src/model/GetFaceSearchImageRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetFaceSearchImageRequest; - -GetFaceSearchImageRequest::GetFaceSearchImageRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchImage") -{} - -GetFaceSearchImageRequest::~GetFaceSearchImageRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetFaceSearchImageRequest; + +GetFaceSearchImageRequest::GetFaceSearchImageRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchImage") +{} + +GetFaceSearchImageRequest::~GetFaceSearchImageRequest() +{} + std::string GetFaceSearchImageRequest::getImageId()const { return imageId_; diff --git a/imm/src/model/GetFaceSearchImageResult.cc b/imm/src/model/GetFaceSearchImageResult.cc index 7b042423f..3937c5b77 100644 --- a/imm/src/model/GetFaceSearchImageResult.cc +++ b/imm/src/model/GetFaceSearchImageResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetFaceSearchImageResult::GetFaceSearchImageResult() : - ServiceResult() -{} - -GetFaceSearchImageResult::GetFaceSearchImageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFaceSearchImageResult::~GetFaceSearchImageResult() -{} - -void GetFaceSearchImageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetFaceSearchImageResult::GetFaceSearchImageResult() : + ServiceResult() +{} + +GetFaceSearchImageResult::GetFaceSearchImageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFaceSearchImageResult::~GetFaceSearchImageResult() +{} + +void GetFaceSearchImageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAxis = value["Axis"]["Axis"]; for (const auto &item : allAxis) axis_.push_back(item.asString()); @@ -73,9 +73,9 @@ void GetFaceSearchImageResult::parse(const std::string &payload) imageId_ = value["ImageId"].asString(); if(!value["User"].isNull()) user_ = value["User"].asString(); - -} - + +} + std::string GetFaceSearchImageResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/GetFaceSearchUserRequest.cc b/imm/src/model/GetFaceSearchUserRequest.cc index eb0e36764..0252b83b1 100644 --- a/imm/src/model/GetFaceSearchUserRequest.cc +++ b/imm/src/model/GetFaceSearchUserRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetFaceSearchUserRequest; - -GetFaceSearchUserRequest::GetFaceSearchUserRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchUser") -{} - -GetFaceSearchUserRequest::~GetFaceSearchUserRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetFaceSearchUserRequest; + +GetFaceSearchUserRequest::GetFaceSearchUserRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetFaceSearchUser") +{} + +GetFaceSearchUserRequest::~GetFaceSearchUserRequest() +{} + std::string GetFaceSearchUserRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetFaceSearchUserResult.cc b/imm/src/model/GetFaceSearchUserResult.cc index b7a704a9e..3e7de2b58 100644 --- a/imm/src/model/GetFaceSearchUserResult.cc +++ b/imm/src/model/GetFaceSearchUserResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetFaceSearchUserResult::GetFaceSearchUserResult() : - ServiceResult() -{} - -GetFaceSearchUserResult::GetFaceSearchUserResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetFaceSearchUserResult::~GetFaceSearchUserResult() -{} - -void GetFaceSearchUserResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetFaceSearchUserResult::GetFaceSearchUserResult() : + ServiceResult() +{} + +GetFaceSearchUserResult::GetFaceSearchUserResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetFaceSearchUserResult::~GetFaceSearchUserResult() +{} + +void GetFaceSearchUserResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["GroupName"].isNull()) groupName_ = value["GroupName"].asString(); if(!value["Count"].isNull()) @@ -54,9 +54,9 @@ void GetFaceSearchUserResult::parse(const std::string &payload) groupId_ = value["GroupId"].asString(); if(!value["User"].isNull()) user_ = value["User"].asString(); - -} - + +} + std::string GetFaceSearchUserResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/GetImageJobRequest.cc b/imm/src/model/GetImageJobRequest.cc index 783699271..398fa235e 100644 --- a/imm/src/model/GetImageJobRequest.cc +++ b/imm/src/model/GetImageJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetImageJobRequest; - -GetImageJobRequest::GetImageJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetImageJob") -{} - -GetImageJobRequest::~GetImageJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetImageJobRequest; + +GetImageJobRequest::GetImageJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetImageJob") +{} + +GetImageJobRequest::~GetImageJobRequest() +{} + std::string GetImageJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/GetImageJobResult.cc b/imm/src/model/GetImageJobResult.cc index 284f57716..bc7052a35 100644 --- a/imm/src/model/GetImageJobResult.cc +++ b/imm/src/model/GetImageJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetImageJobResult::GetImageJobResult() : - ServiceResult() -{} - -GetImageJobResult::GetImageJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetImageJobResult::~GetImageJobResult() -{} - -void GetImageJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetImageJobResult::GetImageJobResult() : + ServiceResult() +{} + +GetImageJobResult::GetImageJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetImageJobResult::~GetImageJobResult() +{} + +void GetImageJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["JobType"].isNull()) @@ -62,9 +62,9 @@ void GetImageJobResult::parse(const std::string &payload) notifyTopicName_ = value["NotifyTopicName"].asString(); if(!value["Progress"].isNull()) progress_ = std::stoi(value["Progress"].asString()); - -} - + +} + std::string GetImageJobResult::getStatus()const { return status_; diff --git a/imm/src/model/GetImageRequest.cc b/imm/src/model/GetImageRequest.cc index 32b1c9d25..c3531219d 100644 --- a/imm/src/model/GetImageRequest.cc +++ b/imm/src/model/GetImageRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetImageRequest; - -GetImageRequest::GetImageRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetImage") -{} - -GetImageRequest::~GetImageRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetImageRequest; + +GetImageRequest::GetImageRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetImage") +{} + +GetImageRequest::~GetImageRequest() +{} + std::string GetImageRequest::getImageUri()const { return imageUri_; diff --git a/imm/src/model/GetImageResult.cc b/imm/src/model/GetImageResult.cc index 99ae355e7..c10968b42 100644 --- a/imm/src/model/GetImageResult.cc +++ b/imm/src/model/GetImageResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetImageResult::GetImageResult() : - ServiceResult() -{} - -GetImageResult::GetImageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetImageResult::~GetImageResult() -{} - -void GetImageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetImageResult::GetImageResult() : + ServiceResult() +{} + +GetImageResult::GetImageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetImageResult::~GetImageResult() +{} + +void GetImageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allFaces = value["Faces"]["FacesItem"]; for (auto value : allFaces) { @@ -232,9 +232,9 @@ void GetImageResult::parse(const std::string &payload) remarksD_ = value["RemarksD"].asString(); if(!value["ExternalId"].isNull()) externalId_ = value["ExternalId"].asString(); - -} - + +} + std::string GetImageResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/GetOfficeConversionTaskRequest.cc b/imm/src/model/GetOfficeConversionTaskRequest.cc index 3612671bf..43863f90e 100644 --- a/imm/src/model/GetOfficeConversionTaskRequest.cc +++ b/imm/src/model/GetOfficeConversionTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetOfficeConversionTaskRequest; - -GetOfficeConversionTaskRequest::GetOfficeConversionTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetOfficeConversionTask") -{} - -GetOfficeConversionTaskRequest::~GetOfficeConversionTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetOfficeConversionTaskRequest; + +GetOfficeConversionTaskRequest::GetOfficeConversionTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetOfficeConversionTask") +{} + +GetOfficeConversionTaskRequest::~GetOfficeConversionTaskRequest() +{} + std::string GetOfficeConversionTaskRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetOfficeConversionTaskResult.cc b/imm/src/model/GetOfficeConversionTaskResult.cc index 5156e1c8f..ddca2330e 100644 --- a/imm/src/model/GetOfficeConversionTaskResult.cc +++ b/imm/src/model/GetOfficeConversionTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetOfficeConversionTaskResult::GetOfficeConversionTaskResult() : - ServiceResult() -{} - -GetOfficeConversionTaskResult::GetOfficeConversionTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetOfficeConversionTaskResult::~GetOfficeConversionTaskResult() -{} - -void GetOfficeConversionTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetOfficeConversionTaskResult::GetOfficeConversionTaskResult() : + ServiceResult() +{} + +GetOfficeConversionTaskResult::GetOfficeConversionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOfficeConversionTaskResult::~GetOfficeConversionTaskResult() +{} + +void GetOfficeConversionTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto failDetailNode = value["FailDetail"]; if(!failDetailNode["Code"].isNull()) failDetail_.code = failDetailNode["Code"].asString(); @@ -69,9 +69,9 @@ void GetOfficeConversionTaskResult::parse(const std::string &payload) finishTime_ = value["FinishTime"].asString(); if(!value["SrcUri"].isNull()) srcUri_ = value["SrcUri"].asString(); - -} - + +} + std::string GetOfficeConversionTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/GetPhotoProcessTaskRequest.cc b/imm/src/model/GetPhotoProcessTaskRequest.cc index 56a99e6e6..e903c317f 100644 --- a/imm/src/model/GetPhotoProcessTaskRequest.cc +++ b/imm/src/model/GetPhotoProcessTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetPhotoProcessTaskRequest; - -GetPhotoProcessTaskRequest::GetPhotoProcessTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetPhotoProcessTask") -{} - -GetPhotoProcessTaskRequest::~GetPhotoProcessTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetPhotoProcessTaskRequest; + +GetPhotoProcessTaskRequest::GetPhotoProcessTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetPhotoProcessTask") +{} + +GetPhotoProcessTaskRequest::~GetPhotoProcessTaskRequest() +{} + std::string GetPhotoProcessTaskRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetPhotoProcessTaskResult.cc b/imm/src/model/GetPhotoProcessTaskResult.cc index 29d94fa95..5de867e01 100644 --- a/imm/src/model/GetPhotoProcessTaskResult.cc +++ b/imm/src/model/GetPhotoProcessTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetPhotoProcessTaskResult::GetPhotoProcessTaskResult() : - ServiceResult() -{} - -GetPhotoProcessTaskResult::GetPhotoProcessTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetPhotoProcessTaskResult::~GetPhotoProcessTaskResult() -{} - -void GetPhotoProcessTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetPhotoProcessTaskResult::GetPhotoProcessTaskResult() : + ServiceResult() +{} + +GetPhotoProcessTaskResult::GetPhotoProcessTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetPhotoProcessTaskResult::~GetPhotoProcessTaskResult() +{} + +void GetPhotoProcessTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["Status"].isNull()) @@ -62,9 +62,9 @@ void GetPhotoProcessTaskResult::parse(const std::string &payload) finishTime_ = value["FinishTime"].asString(); if(!value["Percent"].isNull()) percent_ = std::stoi(value["Percent"].asString()); - -} - + +} + std::string GetPhotoProcessTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/GetPornBatchDetectJobRequest.cc b/imm/src/model/GetPornBatchDetectJobRequest.cc index 0f148a6dc..f5c392a89 100644 --- a/imm/src/model/GetPornBatchDetectJobRequest.cc +++ b/imm/src/model/GetPornBatchDetectJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetPornBatchDetectJobRequest; - -GetPornBatchDetectJobRequest::GetPornBatchDetectJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetPornBatchDetectJob") -{} - -GetPornBatchDetectJobRequest::~GetPornBatchDetectJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetPornBatchDetectJobRequest; + +GetPornBatchDetectJobRequest::GetPornBatchDetectJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetPornBatchDetectJob") +{} + +GetPornBatchDetectJobRequest::~GetPornBatchDetectJobRequest() +{} + std::string GetPornBatchDetectJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/GetPornBatchDetectJobResult.cc b/imm/src/model/GetPornBatchDetectJobResult.cc index 8c560a5b3..8630e777c 100644 --- a/imm/src/model/GetPornBatchDetectJobResult.cc +++ b/imm/src/model/GetPornBatchDetectJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetPornBatchDetectJobResult::GetPornBatchDetectJobResult() : - ServiceResult() -{} - -GetPornBatchDetectJobResult::GetPornBatchDetectJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetPornBatchDetectJobResult::~GetPornBatchDetectJobResult() -{} - -void GetPornBatchDetectJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetPornBatchDetectJobResult::GetPornBatchDetectJobResult() : + ServiceResult() +{} + +GetPornBatchDetectJobResult::GetPornBatchDetectJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetPornBatchDetectJobResult::~GetPornBatchDetectJobResult() +{} + +void GetPornBatchDetectJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["SrcUri"].isNull()) @@ -60,9 +60,9 @@ void GetPornBatchDetectJobResult::parse(const std::string &payload) finishTime_ = value["FinishTime"].asString(); if(!value["Percent"].isNull()) percent_ = std::stoi(value["Percent"].asString()); - -} - + +} + std::string GetPornBatchDetectJobResult::getStatus()const { return status_; diff --git a/imm/src/model/GetProjectRequest.cc b/imm/src/model/GetProjectRequest.cc index 1628b8959..02a53214d 100644 --- a/imm/src/model/GetProjectRequest.cc +++ b/imm/src/model/GetProjectRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetProjectRequest; - -GetProjectRequest::GetProjectRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetProject") -{} - -GetProjectRequest::~GetProjectRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetProjectRequest; + +GetProjectRequest::GetProjectRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetProject") +{} + +GetProjectRequest::~GetProjectRequest() +{} + std::string GetProjectRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetProjectResult.cc b/imm/src/model/GetProjectResult.cc index 36cb9791d..8948c4a07 100644 --- a/imm/src/model/GetProjectResult.cc +++ b/imm/src/model/GetProjectResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetProjectResult::GetProjectResult() : - ServiceResult() -{} - -GetProjectResult::GetProjectResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetProjectResult::~GetProjectResult() -{} - -void GetProjectResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetProjectResult::GetProjectResult() : + ServiceResult() +{} + +GetProjectResult::GetProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetProjectResult::~GetProjectResult() +{} + +void GetProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Project"].isNull()) project_ = value["Project"].asString(); if(!value["ServiceRole"].isNull()) @@ -56,9 +56,9 @@ void GetProjectResult::parse(const std::string &payload) cU_ = std::stoi(value["CU"].asString()); if(!value["BillingType"].isNull()) billingType_ = value["BillingType"].asString(); - -} - + +} + std::string GetProjectResult::getProject()const { return project_; diff --git a/imm/src/model/GetSetRequest.cc b/imm/src/model/GetSetRequest.cc index 02f98bf8b..748c84126 100644 --- a/imm/src/model/GetSetRequest.cc +++ b/imm/src/model/GetSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetSetRequest; - -GetSetRequest::GetSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetSet") -{} - -GetSetRequest::~GetSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetSetRequest; + +GetSetRequest::GetSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetSet") +{} + +GetSetRequest::~GetSetRequest() +{} + std::string GetSetRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetSetResult.cc b/imm/src/model/GetSetResult.cc index e98a24a4a..eade8930f 100644 --- a/imm/src/model/GetSetResult.cc +++ b/imm/src/model/GetSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetSetResult::GetSetResult() : - ServiceResult() -{} - -GetSetResult::GetSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetSetResult::~GetSetResult() -{} - -void GetSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetSetResult::GetSetResult() : + ServiceResult() +{} + +GetSetResult::GetSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSetResult::~GetSetResult() +{} + +void GetSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["SetName"].isNull()) @@ -56,9 +56,9 @@ void GetSetResult::parse(const std::string &payload) videoCount_ = std::stoi(value["VideoCount"].asString()); if(!value["VideoLength"].isNull()) videoLength_ = std::stoi(value["VideoLength"].asString()); - -} - + +} + long GetSetResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/GetTagJobRequest.cc b/imm/src/model/GetTagJobRequest.cc index 136a4ce6f..fc663ebfe 100644 --- a/imm/src/model/GetTagJobRequest.cc +++ b/imm/src/model/GetTagJobRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetTagJobRequest; - -GetTagJobRequest::GetTagJobRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetTagJob") -{} - -GetTagJobRequest::~GetTagJobRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetTagJobRequest; + +GetTagJobRequest::GetTagJobRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetTagJob") +{} + +GetTagJobRequest::~GetTagJobRequest() +{} + std::string GetTagJobRequest::getJobId()const { return jobId_; diff --git a/imm/src/model/GetTagJobResult.cc b/imm/src/model/GetTagJobResult.cc index 4cb57604c..6fafc78a3 100644 --- a/imm/src/model/GetTagJobResult.cc +++ b/imm/src/model/GetTagJobResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetTagJobResult::GetTagJobResult() : - ServiceResult() -{} - -GetTagJobResult::GetTagJobResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTagJobResult::~GetTagJobResult() -{} - -void GetTagJobResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetTagJobResult::GetTagJobResult() : + ServiceResult() +{} + +GetTagJobResult::GetTagJobResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTagJobResult::~GetTagJobResult() +{} + +void GetTagJobResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["JobId"].isNull()) jobId_ = value["JobId"].asString(); if(!value["SetId"].isNull()) @@ -54,9 +54,9 @@ void GetTagJobResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["FinishTime"].isNull()) finishTime_ = value["FinishTime"].asString(); - -} - + +} + std::string GetTagJobResult::getStatus()const { return status_; diff --git a/imm/src/model/GetTagSetRequest.cc b/imm/src/model/GetTagSetRequest.cc index abb3a6b26..8860adb06 100644 --- a/imm/src/model/GetTagSetRequest.cc +++ b/imm/src/model/GetTagSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetTagSetRequest; - -GetTagSetRequest::GetTagSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetTagSet") -{} - -GetTagSetRequest::~GetTagSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetTagSetRequest; + +GetTagSetRequest::GetTagSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetTagSet") +{} + +GetTagSetRequest::~GetTagSetRequest() +{} + std::string GetTagSetRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/GetTagSetResult.cc b/imm/src/model/GetTagSetResult.cc index e8f616f5c..d109344c2 100644 --- a/imm/src/model/GetTagSetResult.cc +++ b/imm/src/model/GetTagSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetTagSetResult::GetTagSetResult() : - ServiceResult() -{} - -GetTagSetResult::GetTagSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetTagSetResult::~GetTagSetResult() -{} - -void GetTagSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetTagSetResult::GetTagSetResult() : + ServiceResult() +{} + +GetTagSetResult::GetTagSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetTagSetResult::~GetTagSetResult() +{} + +void GetTagSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["Status"].isNull()) @@ -50,9 +50,9 @@ void GetTagSetResult::parse(const std::string &payload) modifyTime_ = value["ModifyTime"].asString(); if(!value["Photos"].isNull()) photos_ = std::stol(value["Photos"].asString()); - -} - + +} + std::string GetTagSetResult::getStatus()const { return status_; diff --git a/imm/src/model/GetVideoRequest.cc b/imm/src/model/GetVideoRequest.cc index 036109eb1..7b167817f 100644 --- a/imm/src/model/GetVideoRequest.cc +++ b/imm/src/model/GetVideoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetVideoRequest; - -GetVideoRequest::GetVideoRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetVideo") -{} - -GetVideoRequest::~GetVideoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetVideoRequest; + +GetVideoRequest::GetVideoRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetVideo") +{} + +GetVideoRequest::~GetVideoRequest() +{} + std::string GetVideoRequest::getVideoUri()const { return videoUri_; diff --git a/imm/src/model/GetVideoResult.cc b/imm/src/model/GetVideoResult.cc index 0562a6fcb..cfbb871bc 100644 --- a/imm/src/model/GetVideoResult.cc +++ b/imm/src/model/GetVideoResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetVideoResult::GetVideoResult() : - ServiceResult() -{} - -GetVideoResult::GetVideoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetVideoResult::~GetVideoResult() -{} - -void GetVideoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetVideoResult::GetVideoResult() : + ServiceResult() +{} + +GetVideoResult::GetVideoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVideoResult::~GetVideoResult() +{} + +void GetVideoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allCelebrity = value["Celebrity"]["CelebrityItem"]; for (auto value : allCelebrity) { @@ -134,9 +134,9 @@ void GetVideoResult::parse(const std::string &payload) remarksD_ = value["RemarksD"].asString(); if(!value["ExternalId"].isNull()) externalId_ = value["ExternalId"].asString(); - -} - + +} + std::string GetVideoResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/GetVideoTaskRequest.cc b/imm/src/model/GetVideoTaskRequest.cc index 9be068dd0..ada508f93 100644 --- a/imm/src/model/GetVideoTaskRequest.cc +++ b/imm/src/model/GetVideoTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::GetVideoTaskRequest; - -GetVideoTaskRequest::GetVideoTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "GetVideoTask") -{} - -GetVideoTaskRequest::~GetVideoTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::GetVideoTaskRequest; + +GetVideoTaskRequest::GetVideoTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "GetVideoTask") +{} + +GetVideoTaskRequest::~GetVideoTaskRequest() +{} + std::string GetVideoTaskRequest::getTaskType()const { return taskType_; diff --git a/imm/src/model/GetVideoTaskResult.cc b/imm/src/model/GetVideoTaskResult.cc index 4049f592c..5a1d871e2 100644 --- a/imm/src/model/GetVideoTaskResult.cc +++ b/imm/src/model/GetVideoTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -GetVideoTaskResult::GetVideoTaskResult() : - ServiceResult() -{} - -GetVideoTaskResult::GetVideoTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -GetVideoTaskResult::~GetVideoTaskResult() -{} - -void GetVideoTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +GetVideoTaskResult::GetVideoTaskResult() : + ServiceResult() +{} + +GetVideoTaskResult::GetVideoTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetVideoTaskResult::~GetVideoTaskResult() +{} + +void GetVideoTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["TaskType"].isNull()) @@ -62,9 +62,9 @@ void GetVideoTaskResult::parse(const std::string &payload) notifyTopicName_ = value["NotifyTopicName"].asString(); if(!value["Progress"].isNull()) progress_ = std::stoi(value["Progress"].asString()); - -} - + +} + std::string GetVideoTaskResult::getStatus()const { return status_; diff --git a/imm/src/model/IndexImageRequest.cc b/imm/src/model/IndexImageRequest.cc index f9356dfa9..ae09c5799 100644 --- a/imm/src/model/IndexImageRequest.cc +++ b/imm/src/model/IndexImageRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::IndexImageRequest; - -IndexImageRequest::IndexImageRequest() : - RpcServiceRequest("imm", "2017-09-06", "IndexImage") -{} - -IndexImageRequest::~IndexImageRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::IndexImageRequest; + +IndexImageRequest::IndexImageRequest() : + RpcServiceRequest("imm", "2017-09-06", "IndexImage") +{} + +IndexImageRequest::~IndexImageRequest() +{} + std::string IndexImageRequest::getRemarksB()const { return remarksB_; diff --git a/imm/src/model/IndexImageResult.cc b/imm/src/model/IndexImageResult.cc index 03d1b631c..978af3888 100644 --- a/imm/src/model/IndexImageResult.cc +++ b/imm/src/model/IndexImageResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -IndexImageResult::IndexImageResult() : - ServiceResult() -{} - -IndexImageResult::IndexImageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -IndexImageResult::~IndexImageResult() -{} - -void IndexImageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +IndexImageResult::IndexImageResult() : + ServiceResult() +{} + +IndexImageResult::IndexImageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +IndexImageResult::~IndexImageResult() +{} + +void IndexImageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["ImageUri"].isNull()) @@ -58,9 +58,9 @@ void IndexImageResult::parse(const std::string &payload) remarksD_ = value["RemarksD"].asString(); if(!value["ExternalId"].isNull()) externalId_ = value["ExternalId"].asString(); - -} - + +} + std::string IndexImageResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/IndexTagRequest.cc b/imm/src/model/IndexTagRequest.cc index 3fba029fe..3232f78d6 100644 --- a/imm/src/model/IndexTagRequest.cc +++ b/imm/src/model/IndexTagRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::IndexTagRequest; - -IndexTagRequest::IndexTagRequest() : - RpcServiceRequest("imm", "2017-09-06", "IndexTag") -{} - -IndexTagRequest::~IndexTagRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::IndexTagRequest; + +IndexTagRequest::IndexTagRequest() : + RpcServiceRequest("imm", "2017-09-06", "IndexTag") +{} + +IndexTagRequest::~IndexTagRequest() +{} + std::string IndexTagRequest::getSrcUris()const { return srcUris_; diff --git a/imm/src/model/IndexTagResult.cc b/imm/src/model/IndexTagResult.cc index aec664302..337516ffa 100644 --- a/imm/src/model/IndexTagResult.cc +++ b/imm/src/model/IndexTagResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -IndexTagResult::IndexTagResult() : - ServiceResult() -{} - -IndexTagResult::IndexTagResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -IndexTagResult::~IndexTagResult() -{} - -void IndexTagResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +IndexTagResult::IndexTagResult() : + ServiceResult() +{} + +IndexTagResult::IndexTagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +IndexTagResult::~IndexTagResult() +{} + +void IndexTagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allFailDetails = value["FailDetails"]["FailDetailsItem"]; for (auto value : allFailDetails) { @@ -80,9 +80,9 @@ void IndexTagResult::parse(const std::string &payload) setId_ = value["SetId"].asString(); if(!value["SuccessIndexNum"].isNull()) successIndexNum_ = value["SuccessIndexNum"].asString(); - -} - + +} + std::vector IndexTagResult::getSuccessDetails()const { return successDetails_; diff --git a/imm/src/model/IndexVideoRequest.cc b/imm/src/model/IndexVideoRequest.cc index 65959f53e..f498300a4 100644 --- a/imm/src/model/IndexVideoRequest.cc +++ b/imm/src/model/IndexVideoRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::IndexVideoRequest; - -IndexVideoRequest::IndexVideoRequest() : - RpcServiceRequest("imm", "2017-09-06", "IndexVideo") -{} - -IndexVideoRequest::~IndexVideoRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::IndexVideoRequest; + +IndexVideoRequest::IndexVideoRequest() : + RpcServiceRequest("imm", "2017-09-06", "IndexVideo") +{} + +IndexVideoRequest::~IndexVideoRequest() +{} + std::string IndexVideoRequest::getGrabType()const { return grabType_; diff --git a/imm/src/model/IndexVideoResult.cc b/imm/src/model/IndexVideoResult.cc index 85d6809cf..a1b1d9905 100644 --- a/imm/src/model/IndexVideoResult.cc +++ b/imm/src/model/IndexVideoResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -IndexVideoResult::IndexVideoResult() : - ServiceResult() -{} - -IndexVideoResult::IndexVideoResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -IndexVideoResult::~IndexVideoResult() -{} - -void IndexVideoResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +IndexVideoResult::IndexVideoResult() : + ServiceResult() +{} + +IndexVideoResult::IndexVideoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +IndexVideoResult::~IndexVideoResult() +{} + +void IndexVideoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["VideoUri"].isNull()) @@ -70,9 +70,9 @@ void IndexVideoResult::parse(const std::string &payload) remarksD_ = value["RemarksD"].asString(); if(!value["ExternalId"].isNull()) externalId_ = value["ExternalId"].asString(); - -} - + +} + std::string IndexVideoResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/ListFaceGroupsRequest.cc b/imm/src/model/ListFaceGroupsRequest.cc index 17a35369a..54e93c09e 100644 --- a/imm/src/model/ListFaceGroupsRequest.cc +++ b/imm/src/model/ListFaceGroupsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListFaceGroupsRequest; - -ListFaceGroupsRequest::ListFaceGroupsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListFaceGroups") -{} - -ListFaceGroupsRequest::~ListFaceGroupsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListFaceGroupsRequest; + +ListFaceGroupsRequest::ListFaceGroupsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListFaceGroups") +{} + +ListFaceGroupsRequest::~ListFaceGroupsRequest() +{} + std::string ListFaceGroupsRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/ListFaceGroupsResult.cc b/imm/src/model/ListFaceGroupsResult.cc index 8d2e9410a..341eac0a8 100644 --- a/imm/src/model/ListFaceGroupsResult.cc +++ b/imm/src/model/ListFaceGroupsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListFaceGroupsResult::ListFaceGroupsResult() : - ServiceResult() -{} - -ListFaceGroupsResult::ListFaceGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFaceGroupsResult::~ListFaceGroupsResult() -{} - -void ListFaceGroupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListFaceGroupsResult::ListFaceGroupsResult() : + ServiceResult() +{} + +ListFaceGroupsResult::ListFaceGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFaceGroupsResult::~ListFaceGroupsResult() +{} + +void ListFaceGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allFaceGroups = value["FaceGroups"]["FaceGroupsItem"]; for (auto value : allFaceGroups) { @@ -72,9 +72,9 @@ void ListFaceGroupsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::string ListFaceGroupsResult::getNextMarker()const { return nextMarker_; diff --git a/imm/src/model/ListFaceSearchGroupImagesRequest.cc b/imm/src/model/ListFaceSearchGroupImagesRequest.cc index b73449230..d1dd54505 100644 --- a/imm/src/model/ListFaceSearchGroupImagesRequest.cc +++ b/imm/src/model/ListFaceSearchGroupImagesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListFaceSearchGroupImagesRequest; - -ListFaceSearchGroupImagesRequest::ListFaceSearchGroupImagesRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListFaceSearchGroupImages") -{} - -ListFaceSearchGroupImagesRequest::~ListFaceSearchGroupImagesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListFaceSearchGroupImagesRequest; + +ListFaceSearchGroupImagesRequest::ListFaceSearchGroupImagesRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListFaceSearchGroupImages") +{} + +ListFaceSearchGroupImagesRequest::~ListFaceSearchGroupImagesRequest() +{} + int ListFaceSearchGroupImagesRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListFaceSearchGroupImagesResult.cc b/imm/src/model/ListFaceSearchGroupImagesResult.cc index 578f56598..652c9647d 100644 --- a/imm/src/model/ListFaceSearchGroupImagesResult.cc +++ b/imm/src/model/ListFaceSearchGroupImagesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListFaceSearchGroupImagesResult::ListFaceSearchGroupImagesResult() : - ServiceResult() -{} - -ListFaceSearchGroupImagesResult::ListFaceSearchGroupImagesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFaceSearchGroupImagesResult::~ListFaceSearchGroupImagesResult() -{} - -void ListFaceSearchGroupImagesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListFaceSearchGroupImagesResult::ListFaceSearchGroupImagesResult() : + ServiceResult() +{} + +ListFaceSearchGroupImagesResult::ListFaceSearchGroupImagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFaceSearchGroupImagesResult::~ListFaceSearchGroupImagesResult() +{} + +void ListFaceSearchGroupImagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allImages = value["Images"]["ImagesItem"]; for (auto value : allImages) { @@ -81,9 +81,9 @@ void ListFaceSearchGroupImagesResult::parse(const std::string &payload) groupName_ = value["GroupName"].asString(); if(!value["GroupId"].isNull()) groupId_ = value["GroupId"].asString(); - -} - + +} + std::string ListFaceSearchGroupImagesResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/ListFaceSearchGroupUsersRequest.cc b/imm/src/model/ListFaceSearchGroupUsersRequest.cc index 9d76ea9b2..26c76f0c9 100644 --- a/imm/src/model/ListFaceSearchGroupUsersRequest.cc +++ b/imm/src/model/ListFaceSearchGroupUsersRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListFaceSearchGroupUsersRequest; - -ListFaceSearchGroupUsersRequest::ListFaceSearchGroupUsersRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListFaceSearchGroupUsers") -{} - -ListFaceSearchGroupUsersRequest::~ListFaceSearchGroupUsersRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListFaceSearchGroupUsersRequest; + +ListFaceSearchGroupUsersRequest::ListFaceSearchGroupUsersRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListFaceSearchGroupUsers") +{} + +ListFaceSearchGroupUsersRequest::~ListFaceSearchGroupUsersRequest() +{} + int ListFaceSearchGroupUsersRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListFaceSearchGroupUsersResult.cc b/imm/src/model/ListFaceSearchGroupUsersResult.cc index 7ec1fbf02..15ab308e1 100644 --- a/imm/src/model/ListFaceSearchGroupUsersResult.cc +++ b/imm/src/model/ListFaceSearchGroupUsersResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListFaceSearchGroupUsersResult::ListFaceSearchGroupUsersResult() : - ServiceResult() -{} - -ListFaceSearchGroupUsersResult::ListFaceSearchGroupUsersResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFaceSearchGroupUsersResult::~ListFaceSearchGroupUsersResult() -{} - -void ListFaceSearchGroupUsersResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListFaceSearchGroupUsersResult::ListFaceSearchGroupUsersResult() : + ServiceResult() +{} + +ListFaceSearchGroupUsersResult::ListFaceSearchGroupUsersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFaceSearchGroupUsersResult::~ListFaceSearchGroupUsersResult() +{} + +void ListFaceSearchGroupUsersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allUsers = value["Users"]["UsersItem"]; for (auto value : allUsers) { @@ -62,9 +62,9 @@ void ListFaceSearchGroupUsersResult::parse(const std::string &payload) groupName_ = value["GroupName"].asString(); if(!value["GroupId"].isNull()) groupId_ = value["GroupId"].asString(); - -} - + +} + std::string ListFaceSearchGroupUsersResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/ListFaceSearchGroupsRequest.cc b/imm/src/model/ListFaceSearchGroupsRequest.cc index 5c18df445..81f005e37 100644 --- a/imm/src/model/ListFaceSearchGroupsRequest.cc +++ b/imm/src/model/ListFaceSearchGroupsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListFaceSearchGroupsRequest; - -ListFaceSearchGroupsRequest::ListFaceSearchGroupsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListFaceSearchGroups") -{} - -ListFaceSearchGroupsRequest::~ListFaceSearchGroupsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListFaceSearchGroupsRequest; + +ListFaceSearchGroupsRequest::ListFaceSearchGroupsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListFaceSearchGroups") +{} + +ListFaceSearchGroupsRequest::~ListFaceSearchGroupsRequest() +{} + int ListFaceSearchGroupsRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListFaceSearchGroupsResult.cc b/imm/src/model/ListFaceSearchGroupsResult.cc index 2f8976029..6357887ce 100644 --- a/imm/src/model/ListFaceSearchGroupsResult.cc +++ b/imm/src/model/ListFaceSearchGroupsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListFaceSearchGroupsResult::ListFaceSearchGroupsResult() : - ServiceResult() -{} - -ListFaceSearchGroupsResult::ListFaceSearchGroupsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListFaceSearchGroupsResult::~ListFaceSearchGroupsResult() -{} - -void ListFaceSearchGroupsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListFaceSearchGroupsResult::ListFaceSearchGroupsResult() : + ServiceResult() +{} + +ListFaceSearchGroupsResult::ListFaceSearchGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListFaceSearchGroupsResult::~ListFaceSearchGroupsResult() +{} + +void ListFaceSearchGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allGroups = value["Groups"]["GroupsItem"]; for (auto value : allGroups) { @@ -60,9 +60,9 @@ void ListFaceSearchGroupsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListFaceSearchGroupsResult::getGroups()const { return groups_; diff --git a/imm/src/model/ListImageJobsRequest.cc b/imm/src/model/ListImageJobsRequest.cc index 77cc90293..09deef92c 100644 --- a/imm/src/model/ListImageJobsRequest.cc +++ b/imm/src/model/ListImageJobsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListImageJobsRequest; - -ListImageJobsRequest::ListImageJobsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListImageJobs") -{} - -ListImageJobsRequest::~ListImageJobsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListImageJobsRequest; + +ListImageJobsRequest::ListImageJobsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListImageJobs") +{} + +ListImageJobsRequest::~ListImageJobsRequest() +{} + int ListImageJobsRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListImageJobsResult.cc b/imm/src/model/ListImageJobsResult.cc index dd9941a55..ea0a7f1ca 100644 --- a/imm/src/model/ListImageJobsResult.cc +++ b/imm/src/model/ListImageJobsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListImageJobsResult::ListImageJobsResult() : - ServiceResult() -{} - -ListImageJobsResult::ListImageJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListImageJobsResult::~ListImageJobsResult() -{} - -void ListImageJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListImageJobsResult::ListImageJobsResult() : + ServiceResult() +{} + +ListImageJobsResult::ListImageJobsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListImageJobsResult::~ListImageJobsResult() +{} + +void ListImageJobsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allJobs = value["Jobs"]["JobsItem"]; for (auto value : allJobs) { @@ -70,9 +70,9 @@ void ListImageJobsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListImageJobsResult::getJobs()const { return jobs_; diff --git a/imm/src/model/ListImagesRequest.cc b/imm/src/model/ListImagesRequest.cc index 98e94f920..9f2d11e89 100644 --- a/imm/src/model/ListImagesRequest.cc +++ b/imm/src/model/ListImagesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListImagesRequest; - -ListImagesRequest::ListImagesRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListImages") -{} - -ListImagesRequest::~ListImagesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListImagesRequest; + +ListImagesRequest::ListImagesRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListImages") +{} + +ListImagesRequest::~ListImagesRequest() +{} + std::string ListImagesRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/ListImagesResult.cc b/imm/src/model/ListImagesResult.cc index 7abb31400..cae3d443e 100644 --- a/imm/src/model/ListImagesResult.cc +++ b/imm/src/model/ListImagesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListImagesResult::ListImagesResult() : - ServiceResult() -{} - -ListImagesResult::ListImagesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListImagesResult::~ListImagesResult() -{} - -void ListImagesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListImagesResult::ListImagesResult() : + ServiceResult() +{} + +ListImagesResult::ListImagesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListImagesResult::~ListImagesResult() +{} + +void ListImagesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allImages = value["Images"]["ImagesItem"]; for (auto value : allImages) { @@ -242,9 +242,9 @@ void ListImagesResult::parse(const std::string &payload) setId_ = value["SetId"].asString(); if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListImagesResult::getImages()const { return images_; diff --git a/imm/src/model/ListOfficeConversionTaskRequest.cc b/imm/src/model/ListOfficeConversionTaskRequest.cc index f41371596..671da4096 100644 --- a/imm/src/model/ListOfficeConversionTaskRequest.cc +++ b/imm/src/model/ListOfficeConversionTaskRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListOfficeConversionTaskRequest; - -ListOfficeConversionTaskRequest::ListOfficeConversionTaskRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListOfficeConversionTask") -{} - -ListOfficeConversionTaskRequest::~ListOfficeConversionTaskRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListOfficeConversionTaskRequest; + +ListOfficeConversionTaskRequest::ListOfficeConversionTaskRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListOfficeConversionTask") +{} + +ListOfficeConversionTaskRequest::~ListOfficeConversionTaskRequest() +{} + int ListOfficeConversionTaskRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListOfficeConversionTaskResult.cc b/imm/src/model/ListOfficeConversionTaskResult.cc index 606620b7d..ec7f186ab 100644 --- a/imm/src/model/ListOfficeConversionTaskResult.cc +++ b/imm/src/model/ListOfficeConversionTaskResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListOfficeConversionTaskResult::ListOfficeConversionTaskResult() : - ServiceResult() -{} - -ListOfficeConversionTaskResult::ListOfficeConversionTaskResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListOfficeConversionTaskResult::~ListOfficeConversionTaskResult() -{} - -void ListOfficeConversionTaskResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListOfficeConversionTaskResult::ListOfficeConversionTaskResult() : + ServiceResult() +{} + +ListOfficeConversionTaskResult::ListOfficeConversionTaskResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListOfficeConversionTaskResult::~ListOfficeConversionTaskResult() +{} + +void ListOfficeConversionTaskResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTasks = value["Tasks"]["TasksItem"]; for (auto value : allTasks) { @@ -74,9 +74,9 @@ void ListOfficeConversionTaskResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListOfficeConversionTaskResult::getTasks()const { return tasks_; diff --git a/imm/src/model/ListPhotoProcessTasksRequest.cc b/imm/src/model/ListPhotoProcessTasksRequest.cc index e0db78eb3..37012ad50 100644 --- a/imm/src/model/ListPhotoProcessTasksRequest.cc +++ b/imm/src/model/ListPhotoProcessTasksRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListPhotoProcessTasksRequest; - -ListPhotoProcessTasksRequest::ListPhotoProcessTasksRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListPhotoProcessTasks") -{} - -ListPhotoProcessTasksRequest::~ListPhotoProcessTasksRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListPhotoProcessTasksRequest; + +ListPhotoProcessTasksRequest::ListPhotoProcessTasksRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListPhotoProcessTasks") +{} + +ListPhotoProcessTasksRequest::~ListPhotoProcessTasksRequest() +{} + int ListPhotoProcessTasksRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListPhotoProcessTasksResult.cc b/imm/src/model/ListPhotoProcessTasksResult.cc index 4ae6ecc5b..2b795015d 100644 --- a/imm/src/model/ListPhotoProcessTasksResult.cc +++ b/imm/src/model/ListPhotoProcessTasksResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListPhotoProcessTasksResult::ListPhotoProcessTasksResult() : - ServiceResult() -{} - -ListPhotoProcessTasksResult::ListPhotoProcessTasksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListPhotoProcessTasksResult::~ListPhotoProcessTasksResult() -{} - -void ListPhotoProcessTasksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListPhotoProcessTasksResult::ListPhotoProcessTasksResult() : + ServiceResult() +{} + +ListPhotoProcessTasksResult::ListPhotoProcessTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPhotoProcessTasksResult::~ListPhotoProcessTasksResult() +{} + +void ListPhotoProcessTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTasks = value["Tasks"]["TasksItem"]; for (auto value : allTasks) { @@ -70,9 +70,9 @@ void ListPhotoProcessTasksResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListPhotoProcessTasksResult::getTasks()const { return tasks_; diff --git a/imm/src/model/ListPornBatchDetectJobsRequest.cc b/imm/src/model/ListPornBatchDetectJobsRequest.cc index 300009cf1..ec445cc9a 100644 --- a/imm/src/model/ListPornBatchDetectJobsRequest.cc +++ b/imm/src/model/ListPornBatchDetectJobsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListPornBatchDetectJobsRequest; - -ListPornBatchDetectJobsRequest::ListPornBatchDetectJobsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListPornBatchDetectJobs") -{} - -ListPornBatchDetectJobsRequest::~ListPornBatchDetectJobsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListPornBatchDetectJobsRequest; + +ListPornBatchDetectJobsRequest::ListPornBatchDetectJobsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListPornBatchDetectJobs") +{} + +ListPornBatchDetectJobsRequest::~ListPornBatchDetectJobsRequest() +{} + int ListPornBatchDetectJobsRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListPornBatchDetectJobsResult.cc b/imm/src/model/ListPornBatchDetectJobsResult.cc index cb3d3f440..ef7677e21 100644 --- a/imm/src/model/ListPornBatchDetectJobsResult.cc +++ b/imm/src/model/ListPornBatchDetectJobsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListPornBatchDetectJobsResult::ListPornBatchDetectJobsResult() : - ServiceResult() -{} - -ListPornBatchDetectJobsResult::ListPornBatchDetectJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListPornBatchDetectJobsResult::~ListPornBatchDetectJobsResult() -{} - -void ListPornBatchDetectJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListPornBatchDetectJobsResult::ListPornBatchDetectJobsResult() : + ServiceResult() +{} + +ListPornBatchDetectJobsResult::ListPornBatchDetectJobsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListPornBatchDetectJobsResult::~ListPornBatchDetectJobsResult() +{} + +void ListPornBatchDetectJobsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allJobs = value["Jobs"]["JobsItem"]; for (auto value : allJobs) { @@ -68,9 +68,9 @@ void ListPornBatchDetectJobsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListPornBatchDetectJobsResult::getJobs()const { return jobs_; diff --git a/imm/src/model/ListProjectsRequest.cc b/imm/src/model/ListProjectsRequest.cc index 05fb6b5de..9f1c3b14a 100644 --- a/imm/src/model/ListProjectsRequest.cc +++ b/imm/src/model/ListProjectsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListProjectsRequest; - -ListProjectsRequest::ListProjectsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListProjects") -{} - -ListProjectsRequest::~ListProjectsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListProjectsRequest; + +ListProjectsRequest::ListProjectsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListProjects") +{} + +ListProjectsRequest::~ListProjectsRequest() +{} + int ListProjectsRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListProjectsResult.cc b/imm/src/model/ListProjectsResult.cc index dd8f086f9..73e6325b4 100644 --- a/imm/src/model/ListProjectsResult.cc +++ b/imm/src/model/ListProjectsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListProjectsResult::ListProjectsResult() : - ServiceResult() -{} - -ListProjectsResult::ListProjectsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListProjectsResult::~ListProjectsResult() -{} - -void ListProjectsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListProjectsResult::ListProjectsResult() : + ServiceResult() +{} + +ListProjectsResult::ListProjectsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListProjectsResult::~ListProjectsResult() +{} + +void ListProjectsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allProjects = value["Projects"]["ProjectsItem"]; for (auto value : allProjects) { @@ -64,9 +64,9 @@ void ListProjectsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListProjectsResult::getProjects()const { return projects_; diff --git a/imm/src/model/ListSetTagsRequest.cc b/imm/src/model/ListSetTagsRequest.cc index 15a658660..df6815cc7 100644 --- a/imm/src/model/ListSetTagsRequest.cc +++ b/imm/src/model/ListSetTagsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListSetTagsRequest; - -ListSetTagsRequest::ListSetTagsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListSetTags") -{} - -ListSetTagsRequest::~ListSetTagsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListSetTagsRequest; + +ListSetTagsRequest::ListSetTagsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListSetTags") +{} + +ListSetTagsRequest::~ListSetTagsRequest() +{} + std::string ListSetTagsRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/ListSetTagsResult.cc b/imm/src/model/ListSetTagsResult.cc index b8bd8a9cf..e2afa953d 100644 --- a/imm/src/model/ListSetTagsResult.cc +++ b/imm/src/model/ListSetTagsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListSetTagsResult::ListSetTagsResult() : - ServiceResult() -{} - -ListSetTagsResult::ListSetTagsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListSetTagsResult::~ListSetTagsResult() -{} - -void ListSetTagsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListSetTagsResult::ListSetTagsResult() : + ServiceResult() +{} + +ListSetTagsResult::ListSetTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSetTagsResult::~ListSetTagsResult() +{} + +void ListSetTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTags = value["Tags"]["TagsItem"]; for (auto value : allTags) { @@ -52,9 +52,9 @@ void ListSetTagsResult::parse(const std::string &payload) } if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); - -} - + +} + std::string ListSetTagsResult::getSetId()const { return setId_; diff --git a/imm/src/model/ListSetsRequest.cc b/imm/src/model/ListSetsRequest.cc index e2faffbaa..5fdc9078b 100644 --- a/imm/src/model/ListSetsRequest.cc +++ b/imm/src/model/ListSetsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListSetsRequest; - -ListSetsRequest::ListSetsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListSets") -{} - -ListSetsRequest::~ListSetsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListSetsRequest; + +ListSetsRequest::ListSetsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListSets") +{} + +ListSetsRequest::~ListSetsRequest() +{} + std::string ListSetsRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/ListSetsResult.cc b/imm/src/model/ListSetsResult.cc index 08c01e6e3..facdc0ed4 100644 --- a/imm/src/model/ListSetsResult.cc +++ b/imm/src/model/ListSetsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListSetsResult::ListSetsResult() : - ServiceResult() -{} - -ListSetsResult::ListSetsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListSetsResult::~ListSetsResult() -{} - -void ListSetsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListSetsResult::ListSetsResult() : + ServiceResult() +{} + +ListSetsResult::ListSetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSetsResult::~ListSetsResult() +{} + +void ListSetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allSets = value["Sets"]["SetsItem"]; for (auto value : allSets) { @@ -64,9 +64,9 @@ void ListSetsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListSetsResult::getSets()const { return sets_; diff --git a/imm/src/model/ListTagJobsRequest.cc b/imm/src/model/ListTagJobsRequest.cc index af171c8fe..e83878cbf 100644 --- a/imm/src/model/ListTagJobsRequest.cc +++ b/imm/src/model/ListTagJobsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListTagJobsRequest; - -ListTagJobsRequest::ListTagJobsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListTagJobs") -{} - -ListTagJobsRequest::~ListTagJobsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListTagJobsRequest; + +ListTagJobsRequest::ListTagJobsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListTagJobs") +{} + +ListTagJobsRequest::~ListTagJobsRequest() +{} + std::string ListTagJobsRequest::getCondition()const { return condition_; diff --git a/imm/src/model/ListTagJobsResult.cc b/imm/src/model/ListTagJobsResult.cc index a12de7883..265f035d0 100644 --- a/imm/src/model/ListTagJobsResult.cc +++ b/imm/src/model/ListTagJobsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListTagJobsResult::ListTagJobsResult() : - ServiceResult() -{} - -ListTagJobsResult::ListTagJobsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagJobsResult::~ListTagJobsResult() -{} - -void ListTagJobsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListTagJobsResult::ListTagJobsResult() : + ServiceResult() +{} + +ListTagJobsResult::ListTagJobsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTagJobsResult::~ListTagJobsResult() +{} + +void ListTagJobsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allJobs = value["Jobs"]["JobsItem"]; for (auto value : allJobs) { @@ -62,9 +62,9 @@ void ListTagJobsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListTagJobsResult::getJobs()const { return jobs_; diff --git a/imm/src/model/ListTagNamesRequest.cc b/imm/src/model/ListTagNamesRequest.cc index 19542d2ce..2477e8189 100644 --- a/imm/src/model/ListTagNamesRequest.cc +++ b/imm/src/model/ListTagNamesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListTagNamesRequest; - -ListTagNamesRequest::ListTagNamesRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListTagNames") -{} - -ListTagNamesRequest::~ListTagNamesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListTagNamesRequest; + +ListTagNamesRequest::ListTagNamesRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListTagNames") +{} + +ListTagNamesRequest::~ListTagNamesRequest() +{} + std::string ListTagNamesRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/ListTagNamesResult.cc b/imm/src/model/ListTagNamesResult.cc index 8b42e01f3..4c186f5e9 100644 --- a/imm/src/model/ListTagNamesResult.cc +++ b/imm/src/model/ListTagNamesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListTagNamesResult::ListTagNamesResult() : - ServiceResult() -{} - -ListTagNamesResult::ListTagNamesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagNamesResult::~ListTagNamesResult() -{} - -void ListTagNamesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListTagNamesResult::ListTagNamesResult() : + ServiceResult() +{} + +ListTagNamesResult::ListTagNamesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTagNamesResult::~ListTagNamesResult() +{} + +void ListTagNamesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTags = value["Tags"]["TagsItem"]; for (auto value : allTags) { @@ -52,9 +52,9 @@ void ListTagNamesResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::string ListTagNamesResult::getNextMarker()const { return nextMarker_; diff --git a/imm/src/model/ListTagPhotosRequest.cc b/imm/src/model/ListTagPhotosRequest.cc index fb42b67a9..c086a5ec8 100644 --- a/imm/src/model/ListTagPhotosRequest.cc +++ b/imm/src/model/ListTagPhotosRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListTagPhotosRequest; - -ListTagPhotosRequest::ListTagPhotosRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListTagPhotos") -{} - -ListTagPhotosRequest::~ListTagPhotosRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListTagPhotosRequest; + +ListTagPhotosRequest::ListTagPhotosRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListTagPhotos") +{} + +ListTagPhotosRequest::~ListTagPhotosRequest() +{} + std::string ListTagPhotosRequest::getTagName()const { return tagName_; diff --git a/imm/src/model/ListTagPhotosResult.cc b/imm/src/model/ListTagPhotosResult.cc index 29abbcb4e..efc038557 100644 --- a/imm/src/model/ListTagPhotosResult.cc +++ b/imm/src/model/ListTagPhotosResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListTagPhotosResult::ListTagPhotosResult() : - ServiceResult() -{} - -ListTagPhotosResult::ListTagPhotosResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagPhotosResult::~ListTagPhotosResult() -{} - -void ListTagPhotosResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListTagPhotosResult::ListTagPhotosResult() : + ServiceResult() +{} + +ListTagPhotosResult::ListTagPhotosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTagPhotosResult::~ListTagPhotosResult() +{} + +void ListTagPhotosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allPhotos = value["Photos"]["PhotosItem"]; for (auto value : allPhotos) { @@ -52,9 +52,9 @@ void ListTagPhotosResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListTagPhotosResult::getPhotos()const { return photos_; diff --git a/imm/src/model/ListTagSetsRequest.cc b/imm/src/model/ListTagSetsRequest.cc index b8a987d86..e335e282a 100644 --- a/imm/src/model/ListTagSetsRequest.cc +++ b/imm/src/model/ListTagSetsRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListTagSetsRequest; - -ListTagSetsRequest::ListTagSetsRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListTagSets") -{} - -ListTagSetsRequest::~ListTagSetsRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListTagSetsRequest; + +ListTagSetsRequest::ListTagSetsRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListTagSets") +{} + +ListTagSetsRequest::~ListTagSetsRequest() +{} + int ListTagSetsRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListTagSetsResult.cc b/imm/src/model/ListTagSetsResult.cc index ddb445029..2b2dbb3d5 100644 --- a/imm/src/model/ListTagSetsResult.cc +++ b/imm/src/model/ListTagSetsResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListTagSetsResult::ListTagSetsResult() : - ServiceResult() -{} - -ListTagSetsResult::ListTagSetsResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListTagSetsResult::~ListTagSetsResult() -{} - -void ListTagSetsResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListTagSetsResult::ListTagSetsResult() : + ServiceResult() +{} + +ListTagSetsResult::ListTagSetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListTagSetsResult::~ListTagSetsResult() +{} + +void ListTagSetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allSets = value["Sets"]["SetsItem"]; for (auto value : allSets) { @@ -58,9 +58,9 @@ void ListTagSetsResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListTagSetsResult::getSets()const { return sets_; diff --git a/imm/src/model/ListVideoAudiosRequest.cc b/imm/src/model/ListVideoAudiosRequest.cc index bc42ca550..d3d3a9085 100644 --- a/imm/src/model/ListVideoAudiosRequest.cc +++ b/imm/src/model/ListVideoAudiosRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListVideoAudiosRequest; - -ListVideoAudiosRequest::ListVideoAudiosRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListVideoAudios") -{} - -ListVideoAudiosRequest::~ListVideoAudiosRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListVideoAudiosRequest; + +ListVideoAudiosRequest::ListVideoAudiosRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListVideoAudios") +{} + +ListVideoAudiosRequest::~ListVideoAudiosRequest() +{} + std::string ListVideoAudiosRequest::getVideoUri()const { return videoUri_; diff --git a/imm/src/model/ListVideoAudiosResult.cc b/imm/src/model/ListVideoAudiosResult.cc index bbf2f352e..0bae58f3b 100644 --- a/imm/src/model/ListVideoAudiosResult.cc +++ b/imm/src/model/ListVideoAudiosResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListVideoAudiosResult::ListVideoAudiosResult() : - ServiceResult() -{} - -ListVideoAudiosResult::ListVideoAudiosResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListVideoAudiosResult::~ListVideoAudiosResult() -{} - -void ListVideoAudiosResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListVideoAudiosResult::ListVideoAudiosResult() : + ServiceResult() +{} + +ListVideoAudiosResult::ListVideoAudiosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVideoAudiosResult::~ListVideoAudiosResult() +{} + +void ListVideoAudiosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAudios = value["Audios"]["AudiosItem"]; for (auto value : allAudios) { @@ -120,9 +120,9 @@ void ListVideoAudiosResult::parse(const std::string &payload) videoUri_ = value["VideoUri"].asString(); if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListVideoAudiosResult::getAudios()const { return audios_; diff --git a/imm/src/model/ListVideoFramesRequest.cc b/imm/src/model/ListVideoFramesRequest.cc index 020c8943c..50c3bbf96 100644 --- a/imm/src/model/ListVideoFramesRequest.cc +++ b/imm/src/model/ListVideoFramesRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListVideoFramesRequest; - -ListVideoFramesRequest::ListVideoFramesRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListVideoFrames") -{} - -ListVideoFramesRequest::~ListVideoFramesRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListVideoFramesRequest; + +ListVideoFramesRequest::ListVideoFramesRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListVideoFrames") +{} + +ListVideoFramesRequest::~ListVideoFramesRequest() +{} + std::string ListVideoFramesRequest::getVideoUri()const { return videoUri_; diff --git a/imm/src/model/ListVideoFramesResult.cc b/imm/src/model/ListVideoFramesResult.cc index df951e70e..ff4190410 100644 --- a/imm/src/model/ListVideoFramesResult.cc +++ b/imm/src/model/ListVideoFramesResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListVideoFramesResult::ListVideoFramesResult() : - ServiceResult() -{} - -ListVideoFramesResult::ListVideoFramesResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListVideoFramesResult::~ListVideoFramesResult() -{} - -void ListVideoFramesResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListVideoFramesResult::ListVideoFramesResult() : + ServiceResult() +{} + +ListVideoFramesResult::ListVideoFramesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVideoFramesResult::~ListVideoFramesResult() +{} + +void ListVideoFramesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allFrames = value["Frames"]["FramesItem"]; for (auto value : allFrames) { @@ -244,9 +244,9 @@ void ListVideoFramesResult::parse(const std::string &payload) videoUri_ = value["VideoUri"].asString(); if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListVideoFramesResult::getFrames()const { return frames_; diff --git a/imm/src/model/ListVideoTasksRequest.cc b/imm/src/model/ListVideoTasksRequest.cc index 383827864..259e9af33 100644 --- a/imm/src/model/ListVideoTasksRequest.cc +++ b/imm/src/model/ListVideoTasksRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListVideoTasksRequest; - -ListVideoTasksRequest::ListVideoTasksRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListVideoTasks") -{} - -ListVideoTasksRequest::~ListVideoTasksRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListVideoTasksRequest; + +ListVideoTasksRequest::ListVideoTasksRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListVideoTasks") +{} + +ListVideoTasksRequest::~ListVideoTasksRequest() +{} + int ListVideoTasksRequest::getMaxKeys()const { return maxKeys_; diff --git a/imm/src/model/ListVideoTasksResult.cc b/imm/src/model/ListVideoTasksResult.cc index 5955aee85..30b766fda 100644 --- a/imm/src/model/ListVideoTasksResult.cc +++ b/imm/src/model/ListVideoTasksResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListVideoTasksResult::ListVideoTasksResult() : - ServiceResult() -{} - -ListVideoTasksResult::ListVideoTasksResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListVideoTasksResult::~ListVideoTasksResult() -{} - -void ListVideoTasksResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListVideoTasksResult::ListVideoTasksResult() : + ServiceResult() +{} + +ListVideoTasksResult::ListVideoTasksResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVideoTasksResult::~ListVideoTasksResult() +{} + +void ListVideoTasksResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allTasks = value["Tasks"]["TasksItem"]; for (auto value : allTasks) { @@ -70,9 +70,9 @@ void ListVideoTasksResult::parse(const std::string &payload) } if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::vector ListVideoTasksResult::getTasks()const { return tasks_; diff --git a/imm/src/model/ListVideosRequest.cc b/imm/src/model/ListVideosRequest.cc index 97eebdd44..e71bbcabc 100644 --- a/imm/src/model/ListVideosRequest.cc +++ b/imm/src/model/ListVideosRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::ListVideosRequest; - -ListVideosRequest::ListVideosRequest() : - RpcServiceRequest("imm", "2017-09-06", "ListVideos") -{} - -ListVideosRequest::~ListVideosRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::ListVideosRequest; + +ListVideosRequest::ListVideosRequest() : + RpcServiceRequest("imm", "2017-09-06", "ListVideos") +{} + +ListVideosRequest::~ListVideosRequest() +{} + std::string ListVideosRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/ListVideosResult.cc b/imm/src/model/ListVideosResult.cc index 8068867d4..f59c70343 100644 --- a/imm/src/model/ListVideosResult.cc +++ b/imm/src/model/ListVideosResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -ListVideosResult::ListVideosResult() : - ServiceResult() -{} - -ListVideosResult::ListVideosResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -ListVideosResult::~ListVideosResult() -{} - -void ListVideosResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +ListVideosResult::ListVideosResult() : + ServiceResult() +{} + +ListVideosResult::ListVideosResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListVideosResult::~ListVideosResult() +{} + +void ListVideosResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allVideos = value["Videos"]["VideosItem"]; for (auto value : allVideos) { @@ -142,9 +142,9 @@ void ListVideosResult::parse(const std::string &payload) setId_ = value["SetId"].asString(); if(!value["NextMarker"].isNull()) nextMarker_ = value["NextMarker"].asString(); - -} - + +} + std::string ListVideosResult::getSetId()const { return setId_; diff --git a/imm/src/model/PhotoProcessRequest.cc b/imm/src/model/PhotoProcessRequest.cc index 78c3f581c..786b54239 100644 --- a/imm/src/model/PhotoProcessRequest.cc +++ b/imm/src/model/PhotoProcessRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::PhotoProcessRequest; - -PhotoProcessRequest::PhotoProcessRequest() : - RpcServiceRequest("imm", "2017-09-06", "PhotoProcess") -{} - -PhotoProcessRequest::~PhotoProcessRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::PhotoProcessRequest; + +PhotoProcessRequest::PhotoProcessRequest() : + RpcServiceRequest("imm", "2017-09-06", "PhotoProcess") +{} + +PhotoProcessRequest::~PhotoProcessRequest() +{} + std::string PhotoProcessRequest::getNotifyTopicName()const { return notifyTopicName_; diff --git a/imm/src/model/PhotoProcessResult.cc b/imm/src/model/PhotoProcessResult.cc index 6bc778d73..897231f4d 100644 --- a/imm/src/model/PhotoProcessResult.cc +++ b/imm/src/model/PhotoProcessResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -PhotoProcessResult::PhotoProcessResult() : - ServiceResult() -{} - -PhotoProcessResult::PhotoProcessResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PhotoProcessResult::~PhotoProcessResult() -{} - -void PhotoProcessResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +PhotoProcessResult::PhotoProcessResult() : + ServiceResult() +{} + +PhotoProcessResult::PhotoProcessResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PhotoProcessResult::~PhotoProcessResult() +{} + +void PhotoProcessResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["TaskId"].isNull()) taskId_ = value["TaskId"].asString(); if(!value["TgtLoc"].isNull()) @@ -50,9 +50,9 @@ void PhotoProcessResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["Percent"].isNull()) percent_ = std::stoi(value["Percent"].asString()); - -} - + +} + std::string PhotoProcessResult::getStatus()const { return status_; diff --git a/imm/src/model/PutProjectRequest.cc b/imm/src/model/PutProjectRequest.cc index c212da192..904a8b26b 100644 --- a/imm/src/model/PutProjectRequest.cc +++ b/imm/src/model/PutProjectRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::PutProjectRequest; - -PutProjectRequest::PutProjectRequest() : - RpcServiceRequest("imm", "2017-09-06", "PutProject") -{} - -PutProjectRequest::~PutProjectRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::PutProjectRequest; + +PutProjectRequest::PutProjectRequest() : + RpcServiceRequest("imm", "2017-09-06", "PutProject") +{} + +PutProjectRequest::~PutProjectRequest() +{} + int PutProjectRequest::getCU()const { return cU_; diff --git a/imm/src/model/PutProjectResult.cc b/imm/src/model/PutProjectResult.cc index de68ce706..a1e8268d7 100644 --- a/imm/src/model/PutProjectResult.cc +++ b/imm/src/model/PutProjectResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -PutProjectResult::PutProjectResult() : - ServiceResult() -{} - -PutProjectResult::PutProjectResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -PutProjectResult::~PutProjectResult() -{} - -void PutProjectResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +PutProjectResult::PutProjectResult() : + ServiceResult() +{} + +PutProjectResult::PutProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +PutProjectResult::~PutProjectResult() +{} + +void PutProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Project"].isNull()) project_ = value["Project"].asString(); if(!value["CreateTime"].isNull()) @@ -56,9 +56,9 @@ void PutProjectResult::parse(const std::string &payload) endpoint_ = value["Endpoint"].asString(); if(!value["BillingType"].isNull()) billingType_ = value["BillingType"].asString(); - -} - + +} + std::string PutProjectResult::getProject()const { return project_; diff --git a/imm/src/model/RegistFaceRequest.cc b/imm/src/model/RegistFaceRequest.cc index ce2db625c..798019779 100644 --- a/imm/src/model/RegistFaceRequest.cc +++ b/imm/src/model/RegistFaceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::RegistFaceRequest; - -RegistFaceRequest::RegistFaceRequest() : - RpcServiceRequest("imm", "2017-09-06", "RegistFace") -{} - -RegistFaceRequest::~RegistFaceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::RegistFaceRequest; + +RegistFaceRequest::RegistFaceRequest() : + RpcServiceRequest("imm", "2017-09-06", "RegistFace") +{} + +RegistFaceRequest::~RegistFaceRequest() +{} + bool RegistFaceRequest::getChooseBiggestFace()const { return chooseBiggestFace_; diff --git a/imm/src/model/RegistFaceResult.cc b/imm/src/model/RegistFaceResult.cc index a3424763f..abb339ff8 100644 --- a/imm/src/model/RegistFaceResult.cc +++ b/imm/src/model/RegistFaceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -RegistFaceResult::RegistFaceResult() : - ServiceResult() -{} - -RegistFaceResult::RegistFaceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -RegistFaceResult::~RegistFaceResult() -{} - -void RegistFaceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +RegistFaceResult::RegistFaceResult() : + ServiceResult() +{} + +RegistFaceResult::RegistFaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RegistFaceResult::~RegistFaceResult() +{} + +void RegistFaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allAxis = value["Axis"]["Axis"]; for (const auto &item : allAxis) axis_.push_back(item.asString()); @@ -73,9 +73,9 @@ void RegistFaceResult::parse(const std::string &payload) age_ = std::stoi(value["Age"].asString()); if(!value["Gender"].isNull()) gender_ = value["Gender"].asString(); - -} - + +} + std::string RegistFaceResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/SearchDocIndexRequest.cc b/imm/src/model/SearchDocIndexRequest.cc index b48800bd6..9e1cdd580 100644 --- a/imm/src/model/SearchDocIndexRequest.cc +++ b/imm/src/model/SearchDocIndexRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::SearchDocIndexRequest; - -SearchDocIndexRequest::SearchDocIndexRequest() : - RpcServiceRequest("imm", "2017-09-06", "SearchDocIndex") -{} - -SearchDocIndexRequest::~SearchDocIndexRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::SearchDocIndexRequest; + +SearchDocIndexRequest::SearchDocIndexRequest() : + RpcServiceRequest("imm", "2017-09-06", "SearchDocIndex") +{} + +SearchDocIndexRequest::~SearchDocIndexRequest() +{} + int SearchDocIndexRequest::getModifiedTimeEnd()const { return modifiedTimeEnd_; diff --git a/imm/src/model/SearchDocIndexResult.cc b/imm/src/model/SearchDocIndexResult.cc index ee8a8e5f1..696d3dd63 100644 --- a/imm/src/model/SearchDocIndexResult.cc +++ b/imm/src/model/SearchDocIndexResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -SearchDocIndexResult::SearchDocIndexResult() : - ServiceResult() -{} - -SearchDocIndexResult::SearchDocIndexResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SearchDocIndexResult::~SearchDocIndexResult() -{} - -void SearchDocIndexResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +SearchDocIndexResult::SearchDocIndexResult() : + ServiceResult() +{} + +SearchDocIndexResult::SearchDocIndexResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SearchDocIndexResult::~SearchDocIndexResult() +{} + +void SearchDocIndexResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allDocInfos = value["DocInfos"]["DocInfosItem"]; for (auto value : allDocInfos) { @@ -72,9 +72,9 @@ void SearchDocIndexResult::parse(const std::string &payload) docInfosObject.customKey6 = value["CustomKey6"].asString(); docInfos_.push_back(docInfosObject); } - -} - + +} + std::vector SearchDocIndexResult::getDocInfos()const { return docInfos_; diff --git a/imm/src/model/SearchFaceRequest.cc b/imm/src/model/SearchFaceRequest.cc index 36d75b33f..8f06e9bc0 100644 --- a/imm/src/model/SearchFaceRequest.cc +++ b/imm/src/model/SearchFaceRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::SearchFaceRequest; - -SearchFaceRequest::SearchFaceRequest() : - RpcServiceRequest("imm", "2017-09-06", "SearchFace") -{} - -SearchFaceRequest::~SearchFaceRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::SearchFaceRequest; + +SearchFaceRequest::SearchFaceRequest() : + RpcServiceRequest("imm", "2017-09-06", "SearchFace") +{} + +SearchFaceRequest::~SearchFaceRequest() +{} + std::string SearchFaceRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/SearchFaceResult.cc b/imm/src/model/SearchFaceResult.cc index 3f62c253a..9db14a137 100644 --- a/imm/src/model/SearchFaceResult.cc +++ b/imm/src/model/SearchFaceResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -SearchFaceResult::SearchFaceResult() : - ServiceResult() -{} - -SearchFaceResult::SearchFaceResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -SearchFaceResult::~SearchFaceResult() -{} - -void SearchFaceResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +SearchFaceResult::SearchFaceResult() : + ServiceResult() +{} + +SearchFaceResult::SearchFaceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SearchFaceResult::~SearchFaceResult() +{} + +void SearchFaceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); auto allResultFaces = value["ResultFaces"]["ResultFacesItem"]; for (auto value : allResultFaces) { @@ -76,9 +76,9 @@ void SearchFaceResult::parse(const std::string &payload) hat_ = std::stoi(value["Hat"].asString()); if(!value["Score"].isNull()) score_ = std::stof(value["Score"].asString()); - -} - + +} + std::string SearchFaceResult::getGroupName()const { return groupName_; diff --git a/imm/src/model/UpdateDocIndexMetaRequest.cc b/imm/src/model/UpdateDocIndexMetaRequest.cc index 2a03dc6d6..8ba1e7a68 100644 --- a/imm/src/model/UpdateDocIndexMetaRequest.cc +++ b/imm/src/model/UpdateDocIndexMetaRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::UpdateDocIndexMetaRequest; - -UpdateDocIndexMetaRequest::UpdateDocIndexMetaRequest() : - RpcServiceRequest("imm", "2017-09-06", "UpdateDocIndexMeta") -{} - -UpdateDocIndexMetaRequest::~UpdateDocIndexMetaRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::UpdateDocIndexMetaRequest; + +UpdateDocIndexMetaRequest::UpdateDocIndexMetaRequest() : + RpcServiceRequest("imm", "2017-09-06", "UpdateDocIndexMeta") +{} + +UpdateDocIndexMetaRequest::~UpdateDocIndexMetaRequest() +{} + std::string UpdateDocIndexMetaRequest::getCustomKey1()const { return customKey1_; diff --git a/imm/src/model/UpdateDocIndexMetaResult.cc b/imm/src/model/UpdateDocIndexMetaResult.cc index 0584a929f..3544d413b 100644 --- a/imm/src/model/UpdateDocIndexMetaResult.cc +++ b/imm/src/model/UpdateDocIndexMetaResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -UpdateDocIndexMetaResult::UpdateDocIndexMetaResult() : - ServiceResult() -{} - -UpdateDocIndexMetaResult::UpdateDocIndexMetaResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateDocIndexMetaResult::~UpdateDocIndexMetaResult() -{} - -void UpdateDocIndexMetaResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +UpdateDocIndexMetaResult::UpdateDocIndexMetaResult() : + ServiceResult() +{} + +UpdateDocIndexMetaResult::UpdateDocIndexMetaResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateDocIndexMetaResult::~UpdateDocIndexMetaResult() +{} + +void UpdateDocIndexMetaResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["IndexCreatedTime"].isNull()) indexCreatedTime_ = value["IndexCreatedTime"].asString(); if(!value["IndexModifiedTime"].isNull()) indexModifiedTime_ = value["IndexModifiedTime"].asString(); - -} - + +} + std::string UpdateDocIndexMetaResult::getIndexModifiedTime()const { return indexModifiedTime_; diff --git a/imm/src/model/UpdateFaceGroupRequest.cc b/imm/src/model/UpdateFaceGroupRequest.cc index 010f9141a..50dbf2698 100644 --- a/imm/src/model/UpdateFaceGroupRequest.cc +++ b/imm/src/model/UpdateFaceGroupRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::UpdateFaceGroupRequest; - -UpdateFaceGroupRequest::UpdateFaceGroupRequest() : - RpcServiceRequest("imm", "2017-09-06", "UpdateFaceGroup") -{} - -UpdateFaceGroupRequest::~UpdateFaceGroupRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::UpdateFaceGroupRequest; + +UpdateFaceGroupRequest::UpdateFaceGroupRequest() : + RpcServiceRequest("imm", "2017-09-06", "UpdateFaceGroup") +{} + +UpdateFaceGroupRequest::~UpdateFaceGroupRequest() +{} + std::string UpdateFaceGroupRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/UpdateFaceGroupResult.cc b/imm/src/model/UpdateFaceGroupResult.cc index d6fd89ddb..73585d042 100644 --- a/imm/src/model/UpdateFaceGroupResult.cc +++ b/imm/src/model/UpdateFaceGroupResult.cc @@ -1,52 +1,52 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -UpdateFaceGroupResult::UpdateFaceGroupResult() : - ServiceResult() -{} - -UpdateFaceGroupResult::UpdateFaceGroupResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateFaceGroupResult::~UpdateFaceGroupResult() -{} - -void UpdateFaceGroupResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +UpdateFaceGroupResult::UpdateFaceGroupResult() : + ServiceResult() +{} + +UpdateFaceGroupResult::UpdateFaceGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateFaceGroupResult::~UpdateFaceGroupResult() +{} + +void UpdateFaceGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["GroupId"].isNull()) groupId_ = value["GroupId"].asString(); - -} - + +} + std::string UpdateFaceGroupResult::getSetId()const { return setId_; diff --git a/imm/src/model/UpdateImageRequest.cc b/imm/src/model/UpdateImageRequest.cc index d5df3ae31..c02183d86 100644 --- a/imm/src/model/UpdateImageRequest.cc +++ b/imm/src/model/UpdateImageRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::UpdateImageRequest; - -UpdateImageRequest::UpdateImageRequest() : - RpcServiceRequest("imm", "2017-09-06", "UpdateImage") -{} - -UpdateImageRequest::~UpdateImageRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::UpdateImageRequest; + +UpdateImageRequest::UpdateImageRequest() : + RpcServiceRequest("imm", "2017-09-06", "UpdateImage") +{} + +UpdateImageRequest::~UpdateImageRequest() +{} + std::string UpdateImageRequest::getRemarksB()const { return remarksB_; diff --git a/imm/src/model/UpdateImageResult.cc b/imm/src/model/UpdateImageResult.cc index 2b43d423d..cd7069ba4 100644 --- a/imm/src/model/UpdateImageResult.cc +++ b/imm/src/model/UpdateImageResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -UpdateImageResult::UpdateImageResult() : - ServiceResult() -{} - -UpdateImageResult::UpdateImageResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateImageResult::~UpdateImageResult() -{} - -void UpdateImageResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +UpdateImageResult::UpdateImageResult() : + ServiceResult() +{} + +UpdateImageResult::UpdateImageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateImageResult::~UpdateImageResult() +{} + +void UpdateImageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["ImageUri"].isNull()) @@ -58,9 +58,9 @@ void UpdateImageResult::parse(const std::string &payload) remarksD_ = value["RemarksD"].asString(); if(!value["ExternalId"].isNull()) externalId_ = value["ExternalId"].asString(); - -} - + +} + std::string UpdateImageResult::getModifyTime()const { return modifyTime_; diff --git a/imm/src/model/UpdateProjectRequest.cc b/imm/src/model/UpdateProjectRequest.cc index adc94af18..a094548c1 100644 --- a/imm/src/model/UpdateProjectRequest.cc +++ b/imm/src/model/UpdateProjectRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::UpdateProjectRequest; - -UpdateProjectRequest::UpdateProjectRequest() : - RpcServiceRequest("imm", "2017-09-06", "UpdateProject") -{} - -UpdateProjectRequest::~UpdateProjectRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::UpdateProjectRequest; + +UpdateProjectRequest::UpdateProjectRequest() : + RpcServiceRequest("imm", "2017-09-06", "UpdateProject") +{} + +UpdateProjectRequest::~UpdateProjectRequest() +{} + std::string UpdateProjectRequest::getRegionId()const { return regionId_; diff --git a/imm/src/model/UpdateProjectResult.cc b/imm/src/model/UpdateProjectResult.cc index 3d68b6cb5..2908d3b70 100644 --- a/imm/src/model/UpdateProjectResult.cc +++ b/imm/src/model/UpdateProjectResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -UpdateProjectResult::UpdateProjectResult() : - ServiceResult() -{} - -UpdateProjectResult::UpdateProjectResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateProjectResult::~UpdateProjectResult() -{} - -void UpdateProjectResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +UpdateProjectResult::UpdateProjectResult() : + ServiceResult() +{} + +UpdateProjectResult::UpdateProjectResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateProjectResult::~UpdateProjectResult() +{} + +void UpdateProjectResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["Project"].isNull()) project_ = value["Project"].asString(); if(!value["CreateTime"].isNull()) @@ -52,9 +52,9 @@ void UpdateProjectResult::parse(const std::string &payload) cU_ = std::stoi(value["CU"].asString()); if(!value["Type"].isNull()) type_ = value["Type"].asString(); - -} - + +} + std::string UpdateProjectResult::getProject()const { return project_; diff --git a/imm/src/model/UpdateSetRequest.cc b/imm/src/model/UpdateSetRequest.cc index 07d50514c..8888522c5 100644 --- a/imm/src/model/UpdateSetRequest.cc +++ b/imm/src/model/UpdateSetRequest.cc @@ -1,30 +1,30 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include - -using AlibabaCloud::Imm::Model::UpdateSetRequest; - -UpdateSetRequest::UpdateSetRequest() : - RpcServiceRequest("imm", "2017-09-06", "UpdateSet") -{} - -UpdateSetRequest::~UpdateSetRequest() -{} - +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Imm::Model::UpdateSetRequest; + +UpdateSetRequest::UpdateSetRequest() : + RpcServiceRequest("imm", "2017-09-06", "UpdateSet") +{} + +UpdateSetRequest::~UpdateSetRequest() +{} + std::string UpdateSetRequest::getSetName()const { return setName_; diff --git a/imm/src/model/UpdateSetResult.cc b/imm/src/model/UpdateSetResult.cc index 4d68406b5..ed51bb54f 100644 --- a/imm/src/model/UpdateSetResult.cc +++ b/imm/src/model/UpdateSetResult.cc @@ -1,45 +1,45 @@ -/* - * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include - -using namespace AlibabaCloud::Imm; -using namespace AlibabaCloud::Imm::Model; - -UpdateSetResult::UpdateSetResult() : - ServiceResult() -{} - -UpdateSetResult::UpdateSetResult(const std::string &payload) : - ServiceResult() -{ - parse(payload); -} - -UpdateSetResult::~UpdateSetResult() -{} - -void UpdateSetResult::parse(const std::string &payload) -{ - Json::Reader reader; - Json::Value value; - reader.parse(payload, value); - - setRequestId(value["RequestId"].asString()); +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Imm; +using namespace AlibabaCloud::Imm::Model; + +UpdateSetResult::UpdateSetResult() : + ServiceResult() +{} + +UpdateSetResult::UpdateSetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateSetResult::~UpdateSetResult() +{} + +void UpdateSetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + + setRequestId(value["RequestId"].asString()); if(!value["SetId"].isNull()) setId_ = value["SetId"].asString(); if(!value["SetName"].isNull()) @@ -48,9 +48,9 @@ void UpdateSetResult::parse(const std::string &payload) createTime_ = value["CreateTime"].asString(); if(!value["ModifyTime"].isNull()) modifyTime_ = value["ModifyTime"].asString(); - -} - + +} + std::string UpdateSetResult::getModifyTime()const { return modifyTime_;