Update GenerateVideoPlaylist.

This commit is contained in:
sdk-team
2023-04-04 07:21:21 +00:00
parent 28e4f58d7c
commit ff586b38ea
450 changed files with 16036 additions and 19096 deletions

View File

@@ -1 +1 @@
1.36.1524
1.36.1525

View File

@@ -21,12 +21,16 @@ set(imm_public_header
include/alibabacloud/imm/ImmExport.h )
set(imm_public_header_model
include/alibabacloud/imm/model/AddImageMosaicRequest.h
include/alibabacloud/imm/model/AddImageMosaicResult.h
include/alibabacloud/imm/model/AddStoryFilesRequest.h
include/alibabacloud/imm/model/AddStoryFilesResult.h
include/alibabacloud/imm/model/AttachOSSBucketRequest.h
include/alibabacloud/imm/model/AttachOSSBucketResult.h
include/alibabacloud/imm/model/BatchDeleteFileMetaRequest.h
include/alibabacloud/imm/model/BatchDeleteFileMetaResult.h
include/alibabacloud/imm/model/BatchGetFigureClusterRequest.h
include/alibabacloud/imm/model/BatchGetFigureClusterResult.h
include/alibabacloud/imm/model/BatchGetFileMetaRequest.h
include/alibabacloud/imm/model/BatchGetFileMetaResult.h
include/alibabacloud/imm/model/BatchIndexFileMetaRequest.h
@@ -35,68 +39,74 @@ set(imm_public_header_model
include/alibabacloud/imm/model/BatchUpdateFileMetaResult.h
include/alibabacloud/imm/model/CompareImageFacesRequest.h
include/alibabacloud/imm/model/CompareImageFacesResult.h
include/alibabacloud/imm/model/ConvertOfficeFormatRequest.h
include/alibabacloud/imm/model/ConvertOfficeFormatResult.h
include/alibabacloud/imm/model/CreateArchiveFileInspectionTaskRequest.h
include/alibabacloud/imm/model/CreateArchiveFileInspectionTaskResult.h
include/alibabacloud/imm/model/CreateBatchRequest.h
include/alibabacloud/imm/model/CreateBatchResult.h
include/alibabacloud/imm/model/CreateBindingRequest.h
include/alibabacloud/imm/model/CreateBindingResult.h
include/alibabacloud/imm/model/CreateCompressPointCloudTaskRequest.h
include/alibabacloud/imm/model/CreateCompressPointCloudTaskResult.h
include/alibabacloud/imm/model/CreateCustomizedStoryRequest.h
include/alibabacloud/imm/model/CreateCustomizedStoryResult.h
include/alibabacloud/imm/model/CreateDatasetRequest.h
include/alibabacloud/imm/model/CreateDatasetResult.h
include/alibabacloud/imm/model/CreateDetectVideoLabelsTaskRequest.h
include/alibabacloud/imm/model/CreateDetectVideoLabelsTaskResult.h
include/alibabacloud/imm/model/CreateFacesSearchingTaskRequest.h
include/alibabacloud/imm/model/CreateFacesSearchingTaskResult.h
include/alibabacloud/imm/model/CreateFigureClusteringTaskRequest.h
include/alibabacloud/imm/model/CreateFigureClusteringTaskResult.h
include/alibabacloud/imm/model/CreateFigureClustersMergingTaskRequest.h
include/alibabacloud/imm/model/CreateFigureClustersMergingTaskResult.h
include/alibabacloud/imm/model/CreateGrabFrameTaskRequest.h
include/alibabacloud/imm/model/CreateGrabFrameTaskResult.h
include/alibabacloud/imm/model/CreateGroupFacesJobRequest.h
include/alibabacloud/imm/model/CreateGroupFacesJobResult.h
include/alibabacloud/imm/model/CreateFileCompressionTaskRequest.h
include/alibabacloud/imm/model/CreateFileCompressionTaskResult.h
include/alibabacloud/imm/model/CreateFileUncompressionTaskRequest.h
include/alibabacloud/imm/model/CreateFileUncompressionTaskResult.h
include/alibabacloud/imm/model/CreateImageModerationTaskRequest.h
include/alibabacloud/imm/model/CreateImageModerationTaskResult.h
include/alibabacloud/imm/model/CreateImageSplicingTaskRequest.h
include/alibabacloud/imm/model/CreateImageSplicingTaskResult.h
include/alibabacloud/imm/model/CreateImageToPDFTaskRequest.h
include/alibabacloud/imm/model/CreateImageToPDFTaskResult.h
include/alibabacloud/imm/model/CreateLocationDateClusteringTaskRequest.h
include/alibabacloud/imm/model/CreateLocationDateClusteringTaskResult.h
include/alibabacloud/imm/model/CreateMediaConvertTaskRequest.h
include/alibabacloud/imm/model/CreateMediaConvertTaskResult.h
include/alibabacloud/imm/model/CreateMergeFaceGroupsJobRequest.h
include/alibabacloud/imm/model/CreateMergeFaceGroupsJobResult.h
include/alibabacloud/imm/model/CreateOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/CreateOfficeConversionTaskResult.h
include/alibabacloud/imm/model/CreateProjectRequest.h
include/alibabacloud/imm/model/CreateProjectResult.h
include/alibabacloud/imm/model/CreateSetRequest.h
include/alibabacloud/imm/model/CreateSetResult.h
include/alibabacloud/imm/model/CreateSimilarImageClusteringTaskRequest.h
include/alibabacloud/imm/model/CreateSimilarImageClusteringTaskResult.h
include/alibabacloud/imm/model/CreateStoryRequest.h
include/alibabacloud/imm/model/CreateStoryResult.h
include/alibabacloud/imm/model/CreateVideoCompressTaskRequest.h
include/alibabacloud/imm/model/CreateVideoCompressTaskResult.h
include/alibabacloud/imm/model/CreateTriggerRequest.h
include/alibabacloud/imm/model/CreateTriggerResult.h
include/alibabacloud/imm/model/CreateVideoLabelClassificationTaskRequest.h
include/alibabacloud/imm/model/CreateVideoLabelClassificationTaskResult.h
include/alibabacloud/imm/model/CreateVideoModerationTaskRequest.h
include/alibabacloud/imm/model/CreateVideoModerationTaskResult.h
include/alibabacloud/imm/model/DecodeBlindWatermarkRequest.h
include/alibabacloud/imm/model/DecodeBlindWatermarkResult.h
include/alibabacloud/imm/model/DeleteBatchRequest.h
include/alibabacloud/imm/model/DeleteBatchResult.h
include/alibabacloud/imm/model/DeleteBindingRequest.h
include/alibabacloud/imm/model/DeleteBindingResult.h
include/alibabacloud/imm/model/DeleteDatasetRequest.h
include/alibabacloud/imm/model/DeleteDatasetResult.h
include/alibabacloud/imm/model/DeleteFileMetaRequest.h
include/alibabacloud/imm/model/DeleteFileMetaResult.h
include/alibabacloud/imm/model/DeleteImageRequest.h
include/alibabacloud/imm/model/DeleteImageResult.h
include/alibabacloud/imm/model/DeleteOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/DeleteOfficeConversionTaskResult.h
include/alibabacloud/imm/model/DeleteLocationDateClusterRequest.h
include/alibabacloud/imm/model/DeleteLocationDateClusterResult.h
include/alibabacloud/imm/model/DeleteProjectRequest.h
include/alibabacloud/imm/model/DeleteProjectResult.h
include/alibabacloud/imm/model/DeleteSetRequest.h
include/alibabacloud/imm/model/DeleteSetResult.h
include/alibabacloud/imm/model/DeleteStoryRequest.h
include/alibabacloud/imm/model/DeleteStoryResult.h
include/alibabacloud/imm/model/DeleteVideoRequest.h
include/alibabacloud/imm/model/DeleteVideoResult.h
include/alibabacloud/imm/model/DeleteVideoTaskRequest.h
include/alibabacloud/imm/model/DeleteVideoTaskResult.h
include/alibabacloud/imm/model/DeleteTriggerRequest.h
include/alibabacloud/imm/model/DeleteTriggerResult.h
include/alibabacloud/imm/model/DetachOSSBucketRequest.h
include/alibabacloud/imm/model/DetachOSSBucketResult.h
include/alibabacloud/imm/model/DetectImageBodiesRequest.h
include/alibabacloud/imm/model/DetectImageBodiesResult.h
include/alibabacloud/imm/model/DetectImageCarsRequest.h
include/alibabacloud/imm/model/DetectImageCarsResult.h
include/alibabacloud/imm/model/DetectImageCodesRequest.h
include/alibabacloud/imm/model/DetectImageCodesResult.h
include/alibabacloud/imm/model/DetectImageCroppingRequest.h
@@ -105,145 +115,127 @@ set(imm_public_header_model
include/alibabacloud/imm/model/DetectImageFacesResult.h
include/alibabacloud/imm/model/DetectImageLabelsRequest.h
include/alibabacloud/imm/model/DetectImageLabelsResult.h
include/alibabacloud/imm/model/DetectImageQRCodesRequest.h
include/alibabacloud/imm/model/DetectImageQRCodesResult.h
include/alibabacloud/imm/model/DetectImageScoreRequest.h
include/alibabacloud/imm/model/DetectImageScoreResult.h
include/alibabacloud/imm/model/DetectImageTagsRequest.h
include/alibabacloud/imm/model/DetectImageTagsResult.h
include/alibabacloud/imm/model/DetectQRCodesRequest.h
include/alibabacloud/imm/model/DetectQRCodesResult.h
include/alibabacloud/imm/model/DetectMediaMetaRequest.h
include/alibabacloud/imm/model/DetectMediaMetaResult.h
include/alibabacloud/imm/model/DetectTextAnomalyRequest.h
include/alibabacloud/imm/model/DetectTextAnomalyResult.h
include/alibabacloud/imm/model/EncodeBlindWatermarkRequest.h
include/alibabacloud/imm/model/EncodeBlindWatermarkResult.h
include/alibabacloud/imm/model/FindImagesRequest.h
include/alibabacloud/imm/model/FindImagesResult.h
include/alibabacloud/imm/model/FindSimilarFacesRequest.h
include/alibabacloud/imm/model/FindSimilarFacesResult.h
include/alibabacloud/imm/model/ExtractDocumentTextRequest.h
include/alibabacloud/imm/model/ExtractDocumentTextResult.h
include/alibabacloud/imm/model/FuzzyQueryRequest.h
include/alibabacloud/imm/model/FuzzyQueryResult.h
include/alibabacloud/imm/model/GenerateDRMLicenseRequest.h
include/alibabacloud/imm/model/GenerateDRMLicenseResult.h
include/alibabacloud/imm/model/GenerateVideoPlaylistRequest.h
include/alibabacloud/imm/model/GenerateVideoPlaylistResult.h
include/alibabacloud/imm/model/GenerateWebofficeTokenRequest.h
include/alibabacloud/imm/model/GenerateWebofficeTokenResult.h
include/alibabacloud/imm/model/GetBatchRequest.h
include/alibabacloud/imm/model/GetBatchResult.h
include/alibabacloud/imm/model/GetBindingRequest.h
include/alibabacloud/imm/model/GetBindingResult.h
include/alibabacloud/imm/model/GetDRMLicenseRequest.h
include/alibabacloud/imm/model/GetDRMLicenseResult.h
include/alibabacloud/imm/model/GetDatasetRequest.h
include/alibabacloud/imm/model/GetDatasetResult.h
include/alibabacloud/imm/model/GetDetectVideoLabelsResultRequest.h
include/alibabacloud/imm/model/GetDetectVideoLabelsResultResult.h
include/alibabacloud/imm/model/GetFigureClusterRequest.h
include/alibabacloud/imm/model/GetFigureClusterResult.h
include/alibabacloud/imm/model/GetFileMetaRequest.h
include/alibabacloud/imm/model/GetFileMetaResult.h
include/alibabacloud/imm/model/GetImageRequest.h
include/alibabacloud/imm/model/GetImageResult.h
include/alibabacloud/imm/model/GetImageCroppingSuggestionsRequest.h
include/alibabacloud/imm/model/GetImageCroppingSuggestionsResult.h
include/alibabacloud/imm/model/GetImageQualityRequest.h
include/alibabacloud/imm/model/GetImageQualityResult.h
include/alibabacloud/imm/model/GetMediaMetaRequest.h
include/alibabacloud/imm/model/GetMediaMetaResult.h
include/alibabacloud/imm/model/GetImageModerationResultRequest.h
include/alibabacloud/imm/model/GetImageModerationResultResult.h
include/alibabacloud/imm/model/GetOSSBucketAttachmentRequest.h
include/alibabacloud/imm/model/GetOSSBucketAttachmentResult.h
include/alibabacloud/imm/model/GetOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/GetOfficeConversionTaskResult.h
include/alibabacloud/imm/model/GetOfficePreviewURLRequest.h
include/alibabacloud/imm/model/GetOfficePreviewURLResult.h
include/alibabacloud/imm/model/GetProjectRequest.h
include/alibabacloud/imm/model/GetProjectResult.h
include/alibabacloud/imm/model/GetSetRequest.h
include/alibabacloud/imm/model/GetSetResult.h
include/alibabacloud/imm/model/GetStoryRequest.h
include/alibabacloud/imm/model/GetStoryResult.h
include/alibabacloud/imm/model/GetTaskRequest.h
include/alibabacloud/imm/model/GetTaskResult.h
include/alibabacloud/imm/model/GetVideoRequest.h
include/alibabacloud/imm/model/GetVideoResult.h
include/alibabacloud/imm/model/GetVideoTaskRequest.h
include/alibabacloud/imm/model/GetVideoTaskResult.h
include/alibabacloud/imm/model/GetWebofficeURLRequest.h
include/alibabacloud/imm/model/GetWebofficeURLResult.h
include/alibabacloud/imm/model/GetTriggerRequest.h
include/alibabacloud/imm/model/GetTriggerResult.h
include/alibabacloud/imm/model/GetVideoLabelClassificationResultRequest.h
include/alibabacloud/imm/model/GetVideoLabelClassificationResultResult.h
include/alibabacloud/imm/model/GetVideoModerationResultRequest.h
include/alibabacloud/imm/model/GetVideoModerationResultResult.h
include/alibabacloud/imm/model/IndexFileMetaRequest.h
include/alibabacloud/imm/model/IndexFileMetaResult.h
include/alibabacloud/imm/model/IndexImageRequest.h
include/alibabacloud/imm/model/IndexImageResult.h
include/alibabacloud/imm/model/IndexVideoRequest.h
include/alibabacloud/imm/model/IndexVideoResult.h
include/alibabacloud/imm/model/ListBatchesRequest.h
include/alibabacloud/imm/model/ListBatchesResult.h
include/alibabacloud/imm/model/ListBindingsRequest.h
include/alibabacloud/imm/model/ListBindingsResult.h
include/alibabacloud/imm/model/ListDatasetsRequest.h
include/alibabacloud/imm/model/ListDatasetsResult.h
include/alibabacloud/imm/model/ListFaceGroupsRequest.h
include/alibabacloud/imm/model/ListFaceGroupsResult.h
include/alibabacloud/imm/model/ListImagesRequest.h
include/alibabacloud/imm/model/ListImagesResult.h
include/alibabacloud/imm/model/ListOfficeConversionTaskRequest.h
include/alibabacloud/imm/model/ListOfficeConversionTaskResult.h
include/alibabacloud/imm/model/ListProjectsRequest.h
include/alibabacloud/imm/model/ListProjectsResult.h
include/alibabacloud/imm/model/ListRegionsRequest.h
include/alibabacloud/imm/model/ListRegionsResult.h
include/alibabacloud/imm/model/ListSetTagsRequest.h
include/alibabacloud/imm/model/ListSetTagsResult.h
include/alibabacloud/imm/model/ListSetsRequest.h
include/alibabacloud/imm/model/ListSetsResult.h
include/alibabacloud/imm/model/ListTasksRequest.h
include/alibabacloud/imm/model/ListTasksResult.h
include/alibabacloud/imm/model/ListVideoAudiosRequest.h
include/alibabacloud/imm/model/ListVideoAudiosResult.h
include/alibabacloud/imm/model/ListVideoFramesRequest.h
include/alibabacloud/imm/model/ListVideoFramesResult.h
include/alibabacloud/imm/model/ListVideoTasksRequest.h
include/alibabacloud/imm/model/ListVideoTasksResult.h
include/alibabacloud/imm/model/ListVideosRequest.h
include/alibabacloud/imm/model/ListVideosResult.h
include/alibabacloud/imm/model/MergeFigureClustersRequest.h
include/alibabacloud/imm/model/MergeFigureClustersResult.h
include/alibabacloud/imm/model/OpenImmServiceRequest.h
include/alibabacloud/imm/model/OpenImmServiceResult.h
include/alibabacloud/imm/model/PutProjectRequest.h
include/alibabacloud/imm/model/PutProjectResult.h
include/alibabacloud/imm/model/ListTriggersRequest.h
include/alibabacloud/imm/model/ListTriggersResult.h
include/alibabacloud/imm/model/LiveTranscodingRequest.h
include/alibabacloud/imm/model/LiveTranscodingResult.h
include/alibabacloud/imm/model/QueryFigureClustersRequest.h
include/alibabacloud/imm/model/QueryFigureClustersResult.h
include/alibabacloud/imm/model/QueryLocationDateClustersRequest.h
include/alibabacloud/imm/model/QueryLocationDateClustersResult.h
include/alibabacloud/imm/model/QuerySimilarImageClustersRequest.h
include/alibabacloud/imm/model/QuerySimilarImageClustersResult.h
include/alibabacloud/imm/model/QueryStoriesRequest.h
include/alibabacloud/imm/model/QueryStoriesResult.h
include/alibabacloud/imm/model/RefreshOfficePreviewTokenRequest.h
include/alibabacloud/imm/model/RefreshOfficePreviewTokenResult.h
include/alibabacloud/imm/model/RefreshWebofficeTokenRequest.h
include/alibabacloud/imm/model/RefreshWebofficeTokenResult.h
include/alibabacloud/imm/model/RemoveStoryFilesRequest.h
include/alibabacloud/imm/model/RemoveStoryFilesResult.h
include/alibabacloud/imm/model/ResumeBatchRequest.h
include/alibabacloud/imm/model/ResumeBatchResult.h
include/alibabacloud/imm/model/ResumeBindingRequest.h
include/alibabacloud/imm/model/ResumeBindingResult.h
include/alibabacloud/imm/model/ResumeTriggerRequest.h
include/alibabacloud/imm/model/ResumeTriggerResult.h
include/alibabacloud/imm/model/SearchImageFigureClusterRequest.h
include/alibabacloud/imm/model/SearchImageFigureClusterResult.h
include/alibabacloud/imm/model/SemanticQueryRequest.h
include/alibabacloud/imm/model/SemanticQueryResult.h
include/alibabacloud/imm/model/SimpleQueryRequest.h
include/alibabacloud/imm/model/SimpleQueryResult.h
include/alibabacloud/imm/model/StopBindingRequest.h
include/alibabacloud/imm/model/StopBindingResult.h
include/alibabacloud/imm/model/SuspendBatchRequest.h
include/alibabacloud/imm/model/SuspendBatchResult.h
include/alibabacloud/imm/model/SuspendTriggerRequest.h
include/alibabacloud/imm/model/SuspendTriggerResult.h
include/alibabacloud/imm/model/UpdateBatchRequest.h
include/alibabacloud/imm/model/UpdateBatchResult.h
include/alibabacloud/imm/model/UpdateDatasetRequest.h
include/alibabacloud/imm/model/UpdateDatasetResult.h
include/alibabacloud/imm/model/UpdateFaceGroupRequest.h
include/alibabacloud/imm/model/UpdateFaceGroupResult.h
include/alibabacloud/imm/model/UpdateFigureClusterRequest.h
include/alibabacloud/imm/model/UpdateFigureClusterResult.h
include/alibabacloud/imm/model/UpdateFileMetaRequest.h
include/alibabacloud/imm/model/UpdateFileMetaResult.h
include/alibabacloud/imm/model/UpdateImageRequest.h
include/alibabacloud/imm/model/UpdateImageResult.h
include/alibabacloud/imm/model/UpdateLocationDateClusterRequest.h
include/alibabacloud/imm/model/UpdateLocationDateClusterResult.h
include/alibabacloud/imm/model/UpdateProjectRequest.h
include/alibabacloud/imm/model/UpdateProjectResult.h
include/alibabacloud/imm/model/UpdateSetRequest.h
include/alibabacloud/imm/model/UpdateSetResult.h
include/alibabacloud/imm/model/UpdateStoryRequest.h
include/alibabacloud/imm/model/UpdateStoryResult.h )
include/alibabacloud/imm/model/UpdateStoryResult.h
include/alibabacloud/imm/model/UpdateTriggerRequest.h
include/alibabacloud/imm/model/UpdateTriggerResult.h )
set(imm_src
src/ImmClient.cc
src/model/AddImageMosaicRequest.cc
src/model/AddImageMosaicResult.cc
src/model/AddStoryFilesRequest.cc
src/model/AddStoryFilesResult.cc
src/model/AttachOSSBucketRequest.cc
src/model/AttachOSSBucketResult.cc
src/model/BatchDeleteFileMetaRequest.cc
src/model/BatchDeleteFileMetaResult.cc
src/model/BatchGetFigureClusterRequest.cc
src/model/BatchGetFigureClusterResult.cc
src/model/BatchGetFileMetaRequest.cc
src/model/BatchGetFileMetaResult.cc
src/model/BatchIndexFileMetaRequest.cc
@@ -252,68 +244,74 @@ set(imm_src
src/model/BatchUpdateFileMetaResult.cc
src/model/CompareImageFacesRequest.cc
src/model/CompareImageFacesResult.cc
src/model/ConvertOfficeFormatRequest.cc
src/model/ConvertOfficeFormatResult.cc
src/model/CreateArchiveFileInspectionTaskRequest.cc
src/model/CreateArchiveFileInspectionTaskResult.cc
src/model/CreateBatchRequest.cc
src/model/CreateBatchResult.cc
src/model/CreateBindingRequest.cc
src/model/CreateBindingResult.cc
src/model/CreateCompressPointCloudTaskRequest.cc
src/model/CreateCompressPointCloudTaskResult.cc
src/model/CreateCustomizedStoryRequest.cc
src/model/CreateCustomizedStoryResult.cc
src/model/CreateDatasetRequest.cc
src/model/CreateDatasetResult.cc
src/model/CreateDetectVideoLabelsTaskRequest.cc
src/model/CreateDetectVideoLabelsTaskResult.cc
src/model/CreateFacesSearchingTaskRequest.cc
src/model/CreateFacesSearchingTaskResult.cc
src/model/CreateFigureClusteringTaskRequest.cc
src/model/CreateFigureClusteringTaskResult.cc
src/model/CreateFigureClustersMergingTaskRequest.cc
src/model/CreateFigureClustersMergingTaskResult.cc
src/model/CreateGrabFrameTaskRequest.cc
src/model/CreateGrabFrameTaskResult.cc
src/model/CreateGroupFacesJobRequest.cc
src/model/CreateGroupFacesJobResult.cc
src/model/CreateFileCompressionTaskRequest.cc
src/model/CreateFileCompressionTaskResult.cc
src/model/CreateFileUncompressionTaskRequest.cc
src/model/CreateFileUncompressionTaskResult.cc
src/model/CreateImageModerationTaskRequest.cc
src/model/CreateImageModerationTaskResult.cc
src/model/CreateImageSplicingTaskRequest.cc
src/model/CreateImageSplicingTaskResult.cc
src/model/CreateImageToPDFTaskRequest.cc
src/model/CreateImageToPDFTaskResult.cc
src/model/CreateLocationDateClusteringTaskRequest.cc
src/model/CreateLocationDateClusteringTaskResult.cc
src/model/CreateMediaConvertTaskRequest.cc
src/model/CreateMediaConvertTaskResult.cc
src/model/CreateMergeFaceGroupsJobRequest.cc
src/model/CreateMergeFaceGroupsJobResult.cc
src/model/CreateOfficeConversionTaskRequest.cc
src/model/CreateOfficeConversionTaskResult.cc
src/model/CreateProjectRequest.cc
src/model/CreateProjectResult.cc
src/model/CreateSetRequest.cc
src/model/CreateSetResult.cc
src/model/CreateSimilarImageClusteringTaskRequest.cc
src/model/CreateSimilarImageClusteringTaskResult.cc
src/model/CreateStoryRequest.cc
src/model/CreateStoryResult.cc
src/model/CreateVideoCompressTaskRequest.cc
src/model/CreateVideoCompressTaskResult.cc
src/model/CreateTriggerRequest.cc
src/model/CreateTriggerResult.cc
src/model/CreateVideoLabelClassificationTaskRequest.cc
src/model/CreateVideoLabelClassificationTaskResult.cc
src/model/CreateVideoModerationTaskRequest.cc
src/model/CreateVideoModerationTaskResult.cc
src/model/DecodeBlindWatermarkRequest.cc
src/model/DecodeBlindWatermarkResult.cc
src/model/DeleteBatchRequest.cc
src/model/DeleteBatchResult.cc
src/model/DeleteBindingRequest.cc
src/model/DeleteBindingResult.cc
src/model/DeleteDatasetRequest.cc
src/model/DeleteDatasetResult.cc
src/model/DeleteFileMetaRequest.cc
src/model/DeleteFileMetaResult.cc
src/model/DeleteImageRequest.cc
src/model/DeleteImageResult.cc
src/model/DeleteOfficeConversionTaskRequest.cc
src/model/DeleteOfficeConversionTaskResult.cc
src/model/DeleteLocationDateClusterRequest.cc
src/model/DeleteLocationDateClusterResult.cc
src/model/DeleteProjectRequest.cc
src/model/DeleteProjectResult.cc
src/model/DeleteSetRequest.cc
src/model/DeleteSetResult.cc
src/model/DeleteStoryRequest.cc
src/model/DeleteStoryResult.cc
src/model/DeleteVideoRequest.cc
src/model/DeleteVideoResult.cc
src/model/DeleteVideoTaskRequest.cc
src/model/DeleteVideoTaskResult.cc
src/model/DeleteTriggerRequest.cc
src/model/DeleteTriggerResult.cc
src/model/DetachOSSBucketRequest.cc
src/model/DetachOSSBucketResult.cc
src/model/DetectImageBodiesRequest.cc
src/model/DetectImageBodiesResult.cc
src/model/DetectImageCarsRequest.cc
src/model/DetectImageCarsResult.cc
src/model/DetectImageCodesRequest.cc
src/model/DetectImageCodesResult.cc
src/model/DetectImageCroppingRequest.cc
@@ -322,136 +320,114 @@ set(imm_src
src/model/DetectImageFacesResult.cc
src/model/DetectImageLabelsRequest.cc
src/model/DetectImageLabelsResult.cc
src/model/DetectImageQRCodesRequest.cc
src/model/DetectImageQRCodesResult.cc
src/model/DetectImageScoreRequest.cc
src/model/DetectImageScoreResult.cc
src/model/DetectImageTagsRequest.cc
src/model/DetectImageTagsResult.cc
src/model/DetectQRCodesRequest.cc
src/model/DetectQRCodesResult.cc
src/model/DetectMediaMetaRequest.cc
src/model/DetectMediaMetaResult.cc
src/model/DetectTextAnomalyRequest.cc
src/model/DetectTextAnomalyResult.cc
src/model/EncodeBlindWatermarkRequest.cc
src/model/EncodeBlindWatermarkResult.cc
src/model/FindImagesRequest.cc
src/model/FindImagesResult.cc
src/model/FindSimilarFacesRequest.cc
src/model/FindSimilarFacesResult.cc
src/model/ExtractDocumentTextRequest.cc
src/model/ExtractDocumentTextResult.cc
src/model/FuzzyQueryRequest.cc
src/model/FuzzyQueryResult.cc
src/model/GenerateDRMLicenseRequest.cc
src/model/GenerateDRMLicenseResult.cc
src/model/GenerateVideoPlaylistRequest.cc
src/model/GenerateVideoPlaylistResult.cc
src/model/GenerateWebofficeTokenRequest.cc
src/model/GenerateWebofficeTokenResult.cc
src/model/GetBatchRequest.cc
src/model/GetBatchResult.cc
src/model/GetBindingRequest.cc
src/model/GetBindingResult.cc
src/model/GetDRMLicenseRequest.cc
src/model/GetDRMLicenseResult.cc
src/model/GetDatasetRequest.cc
src/model/GetDatasetResult.cc
src/model/GetDetectVideoLabelsResultRequest.cc
src/model/GetDetectVideoLabelsResultResult.cc
src/model/GetFigureClusterRequest.cc
src/model/GetFigureClusterResult.cc
src/model/GetFileMetaRequest.cc
src/model/GetFileMetaResult.cc
src/model/GetImageRequest.cc
src/model/GetImageResult.cc
src/model/GetImageCroppingSuggestionsRequest.cc
src/model/GetImageCroppingSuggestionsResult.cc
src/model/GetImageQualityRequest.cc
src/model/GetImageQualityResult.cc
src/model/GetMediaMetaRequest.cc
src/model/GetMediaMetaResult.cc
src/model/GetImageModerationResultRequest.cc
src/model/GetImageModerationResultResult.cc
src/model/GetOSSBucketAttachmentRequest.cc
src/model/GetOSSBucketAttachmentResult.cc
src/model/GetOfficeConversionTaskRequest.cc
src/model/GetOfficeConversionTaskResult.cc
src/model/GetOfficePreviewURLRequest.cc
src/model/GetOfficePreviewURLResult.cc
src/model/GetProjectRequest.cc
src/model/GetProjectResult.cc
src/model/GetSetRequest.cc
src/model/GetSetResult.cc
src/model/GetStoryRequest.cc
src/model/GetStoryResult.cc
src/model/GetTaskRequest.cc
src/model/GetTaskResult.cc
src/model/GetVideoRequest.cc
src/model/GetVideoResult.cc
src/model/GetVideoTaskRequest.cc
src/model/GetVideoTaskResult.cc
src/model/GetWebofficeURLRequest.cc
src/model/GetWebofficeURLResult.cc
src/model/GetTriggerRequest.cc
src/model/GetTriggerResult.cc
src/model/GetVideoLabelClassificationResultRequest.cc
src/model/GetVideoLabelClassificationResultResult.cc
src/model/GetVideoModerationResultRequest.cc
src/model/GetVideoModerationResultResult.cc
src/model/IndexFileMetaRequest.cc
src/model/IndexFileMetaResult.cc
src/model/IndexImageRequest.cc
src/model/IndexImageResult.cc
src/model/IndexVideoRequest.cc
src/model/IndexVideoResult.cc
src/model/ListBatchesRequest.cc
src/model/ListBatchesResult.cc
src/model/ListBindingsRequest.cc
src/model/ListBindingsResult.cc
src/model/ListDatasetsRequest.cc
src/model/ListDatasetsResult.cc
src/model/ListFaceGroupsRequest.cc
src/model/ListFaceGroupsResult.cc
src/model/ListImagesRequest.cc
src/model/ListImagesResult.cc
src/model/ListOfficeConversionTaskRequest.cc
src/model/ListOfficeConversionTaskResult.cc
src/model/ListProjectsRequest.cc
src/model/ListProjectsResult.cc
src/model/ListRegionsRequest.cc
src/model/ListRegionsResult.cc
src/model/ListSetTagsRequest.cc
src/model/ListSetTagsResult.cc
src/model/ListSetsRequest.cc
src/model/ListSetsResult.cc
src/model/ListTasksRequest.cc
src/model/ListTasksResult.cc
src/model/ListVideoAudiosRequest.cc
src/model/ListVideoAudiosResult.cc
src/model/ListVideoFramesRequest.cc
src/model/ListVideoFramesResult.cc
src/model/ListVideoTasksRequest.cc
src/model/ListVideoTasksResult.cc
src/model/ListVideosRequest.cc
src/model/ListVideosResult.cc
src/model/MergeFigureClustersRequest.cc
src/model/MergeFigureClustersResult.cc
src/model/OpenImmServiceRequest.cc
src/model/OpenImmServiceResult.cc
src/model/PutProjectRequest.cc
src/model/PutProjectResult.cc
src/model/ListTriggersRequest.cc
src/model/ListTriggersResult.cc
src/model/LiveTranscodingRequest.cc
src/model/LiveTranscodingResult.cc
src/model/QueryFigureClustersRequest.cc
src/model/QueryFigureClustersResult.cc
src/model/QueryLocationDateClustersRequest.cc
src/model/QueryLocationDateClustersResult.cc
src/model/QuerySimilarImageClustersRequest.cc
src/model/QuerySimilarImageClustersResult.cc
src/model/QueryStoriesRequest.cc
src/model/QueryStoriesResult.cc
src/model/RefreshOfficePreviewTokenRequest.cc
src/model/RefreshOfficePreviewTokenResult.cc
src/model/RefreshWebofficeTokenRequest.cc
src/model/RefreshWebofficeTokenResult.cc
src/model/RemoveStoryFilesRequest.cc
src/model/RemoveStoryFilesResult.cc
src/model/ResumeBatchRequest.cc
src/model/ResumeBatchResult.cc
src/model/ResumeBindingRequest.cc
src/model/ResumeBindingResult.cc
src/model/ResumeTriggerRequest.cc
src/model/ResumeTriggerResult.cc
src/model/SearchImageFigureClusterRequest.cc
src/model/SearchImageFigureClusterResult.cc
src/model/SemanticQueryRequest.cc
src/model/SemanticQueryResult.cc
src/model/SimpleQueryRequest.cc
src/model/SimpleQueryResult.cc
src/model/StopBindingRequest.cc
src/model/StopBindingResult.cc
src/model/SuspendBatchRequest.cc
src/model/SuspendBatchResult.cc
src/model/SuspendTriggerRequest.cc
src/model/SuspendTriggerResult.cc
src/model/UpdateBatchRequest.cc
src/model/UpdateBatchResult.cc
src/model/UpdateDatasetRequest.cc
src/model/UpdateDatasetResult.cc
src/model/UpdateFaceGroupRequest.cc
src/model/UpdateFaceGroupResult.cc
src/model/UpdateFigureClusterRequest.cc
src/model/UpdateFigureClusterResult.cc
src/model/UpdateFileMetaRequest.cc
src/model/UpdateFileMetaResult.cc
src/model/UpdateImageRequest.cc
src/model/UpdateImageResult.cc
src/model/UpdateLocationDateClusterRequest.cc
src/model/UpdateLocationDateClusterResult.cc
src/model/UpdateProjectRequest.cc
src/model/UpdateProjectResult.cc
src/model/UpdateSetRequest.cc
src/model/UpdateSetResult.cc
src/model/UpdateStoryRequest.cc
src/model/UpdateStoryResult.cc )
src/model/UpdateStoryResult.cc
src/model/UpdateTriggerRequest.cc
src/model/UpdateTriggerResult.cc )
add_library(imm ${LIB_TYPE}
${imm_public_header}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,86 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_ADDIMAGEMOSAICREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_ADDIMAGEMOSAICREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT AddImageMosaicRequest : public RpcServiceRequest {
public:
struct Targets {
struct Boundary {
float x;
float width;
float y;
std::string referPos;
float height;
};
Boundary boundary;
int sigma;
int blurRadius;
std::string color;
int mosaicRadius;
std::string type;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
AddImageMosaicRequest();
~AddImageMosaicRequest();
std::vector<Targets> getTargets() const;
void setTargets(const std::vector<Targets> &targets);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
std::string getImageFormat() const;
void setImageFormat(const std::string &imageFormat);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
int getQuality() const;
void setQuality(int quality);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::vector<Targets> targets_;
std::string targetURI_;
std::string imageFormat_;
std::string projectName_;
CredentialConfig credentialConfig_;
int quality_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_ADDIMAGEMOSAICREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_ADDIMAGEMOSAICRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_ADDIMAGEMOSAICRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteVideoTaskResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT AddImageMosaicResult : public ServiceResult
{
public:
DeleteVideoTaskResult();
explicit DeleteVideoTaskResult(const std::string &payload);
~DeleteVideoTaskResult();
AddImageMosaicResult();
explicit AddImageMosaicResult(const std::string &payload);
~AddImageMosaicResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEOTASKRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_ADDIMAGEMOSAICRESULT_H_

View File

@@ -33,18 +33,18 @@ public:
};
AddStoryFilesRequest();
~AddStoryFilesRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::vector<Files> getFiles() const;
void setFiles(const std::vector<Files> &files);
std::string getObjectId() const;
void setObjectId(const std::string &objectId);
private:
std::string projectName_;
std::string datasetName_;
std::string projectName_;
std::vector<Files> files_;
std::string objectId_;
};

View File

@@ -30,17 +30,17 @@ class ALIBABACLOUD_IMM_EXPORT BatchDeleteFileMetaRequest : public RpcServiceRequ
public:
BatchDeleteFileMetaRequest();
~BatchDeleteFileMetaRequest();
std::vector<std::string> getURIs() const;
void setURIs(const std::vector<std::string> &uRIs);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::vector<std::string> getURIs() const;
void setURIs(const std::vector<std::string> &uRIs);
private:
std::vector<std::string> uRIs_;
std::string projectName_;
std::string datasetName_;
std::string projectName_;
std::vector<std::string> uRIs_;
};
} // namespace Model
} // namespace Imm

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATESETREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATESETREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_BATCHGETFIGURECLUSTERREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_BATCHGETFIGURECLUSTERREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,26 +26,23 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateSetRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT BatchGetFigureClusterRequest : public RpcServiceRequest {
public:
CreateSetRequest();
~CreateSetRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSetName() const;
void setSetName(const std::string &setName);
std::string getSetId() const;
void setSetId(const std::string &setId);
BatchGetFigureClusterRequest();
~BatchGetFigureClusterRequest();
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::vector<std::string> getObjectIds() const;
void setObjectIds(const std::vector<std::string> &objectIds);
private:
std::string project_;
std::string accessKeyId_;
std::string setName_;
std::string setId_;
std::string datasetName_;
std::string projectName_;
std::vector<std::string> objectIds_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATESETREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_BATCHGETFIGURECLUSTERREQUEST_H_

View File

@@ -0,0 +1,353 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_BATCHGETFIGURECLUSTERRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_BATCHGETFIGURECLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT BatchGetFigureClusterResult : public ServiceResult
{
public:
struct FigureClustersItem
{
struct Cover
{
struct ImageScore
{
float overallQualityScore;
};
struct AddressesItem
{
std::string language;
std::string township;
std::string addressLine;
std::string country;
std::string city;
std::string district;
std::string province;
};
struct FiguresItem
{
struct Boundary
{
long left;
long top;
long height;
long width;
};
struct HeadPose
{
float pitch;
float roll;
float yaw;
};
std::string beard;
float maskConfidence;
std::string gender;
float figureClusterConfidence;
Boundary boundary;
float beardConfidence;
std::string figureId;
std::string mouth;
std::string emotion;
long age;
float mouthConfidence;
HeadPose headPose;
std::string figureType;
float genderConfidence;
std::string mask;
float emotionConfidence;
float hatConfidence;
float glassesConfidence;
float sharpness;
std::string figureClusterId;
float faceQuality;
float attractive;
float ageSD;
std::string glasses;
float figureConfidence;
std::string hat;
};
struct LabelsItem
{
float centricScore;
std::string language;
float labelConfidence;
std::string labelName;
long labelLevel;
std::string parentLabelName;
};
struct CroppingSuggestionsItem
{
struct Boundary1
{
long left;
long top;
long height;
long width;
};
std::string aspectRatio;
Boundary1 boundary1;
float confidence;
};
struct OCRContentsItem
{
struct Boundary2
{
long left;
long top;
long height;
long width;
};
std::string contents;
std::string language;
float confidence;
Boundary2 boundary2;
};
struct VideoStreamsItem
{
std::string codecTimeBase;
std::string rotate;
std::string sampleAspectRatio;
std::string colorSpace;
long index;
std::string colorRange;
std::string codecName;
long bitDepth;
std::string profile;
std::string colorPrimaries;
std::string language;
long height;
std::string pixelFormat;
long width;
std::string timeBase;
std::string colorTransfer;
std::string codecTag;
std::string frameRate;
long frameCount;
double startTime;
double duration;
long bitrate;
std::string displayAspectRatio;
std::string codecTagString;
long hasBFrames;
std::string averageFrameRate;
std::string codecLongName;
long level;
};
struct SubtitlesItem
{
std::string codecTag;
std::string codecTagString;
std::string language;
std::string content;
std::string codecLongName;
double startTime;
long index;
double duration;
long height;
std::string codecName;
long bitrate;
long width;
};
struct AudioStreamsItem
{
std::string codecTag;
std::string codecTimeBase;
std::string channelLayout;
long frameCount;
double startTime;
long index;
double duration;
std::string codecName;
long bitrate;
std::string sampleFormat;
long channels;
std::string codecTagString;
long sampleRate;
std::string language;
std::string codecLongName;
std::string lyric;
std::string timeBase;
};
struct AudioCoversItem
{
struct ImageScore3
{
float overallQualityScore;
};
struct CroppingSuggestionsItem6
{
struct Boundary7
{
long left;
long top;
long height;
long width;
};
std::string aspectRatio;
float confidence;
Boundary7 boundary7;
};
struct OCRContentsItem8
{
struct Boundary9
{
long left;
long top;
long height;
long width;
};
std::string contents;
std::string language;
float confidence;
Boundary9 boundary9;
};
std::string eXIF;
std::vector<AudioCoversItem::CroppingSuggestionsItem6> croppingSuggestions4;
long imageHeight;
long imageWidth;
std::vector<AudioCoversItem::OCRContentsItem8> oCRContents5;
ImageScore3 imageScore3;
};
std::string produceTime;
std::string timezone;
std::string artist;
std::string objectACL;
std::string contentType;
std::string accessControlRequestMethod;
long size;
std::string album;
std::string contentLanguage;
std::string oSSTagging;
std::vector<AddressesItem> addresses;
long streamCount;
std::string customLabels;
long videoHeight;
long imageWidth;
std::vector<SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
std::string formatLongName;
long programCount;
double startTime;
std::string filename;
std::vector<LabelsItem> labels;
double duration;
long orientation;
std::vector<CroppingSuggestionsItem> croppingSuggestions;
std::string eXIF;
std::string performer;
long imageHeight;
long pageCount;
ImageScore imageScore;
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
std::vector<VideoStreamsItem> videoStreams;
std::string fileAccessTime;
std::string projectName;
std::vector<AudioCoversItem> audioCovers;
long videoWidth;
std::string contentEncoding;
std::string uRI;
std::vector<AudioStreamsItem> audioStreams;
std::string objectType;
std::string serverSideEncryptionKeyId;
std::string ownerId;
std::string fileModifiedTime;
std::string language;
std::string fileCreateTime;
std::string serverSideEncryption;
std::string formatName;
std::string composer;
std::string objectId;
std::string createTime;
std::string title;
std::string travelClusterId;
std::string oSSExpiration;
std::vector<FiguresItem> figures;
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string contentMd5;
std::string contentDisposition;
std::string customId;
std::string updateTime;
std::string oSSUserMeta;
std::vector<OCRContentsItem> oCRContents;
std::string accessControlAllowOrigin;
std::string oSSCRC64;
long oSSTaggingCount;
std::string oSSURI;
std::string serverSideDataEncryption;
std::string latLong;
std::string oSSObjectType;
};
long videoCount;
std::string projectName;
std::string objectId;
long metaLockVersion;
std::string createTime;
float maxAge;
std::string gender;
float averageAge;
std::string name;
std::string objectType;
long imageCount;
float minAge;
Cover cover;
std::string customLabels;
std::string ownerId;
std::string datasetName;
std::string customId;
std::string updateTime;
long faceCount;
};
BatchGetFigureClusterResult();
explicit BatchGetFigureClusterResult(const std::string &payload);
~BatchGetFigureClusterResult();
std::vector<FigureClustersItem> getFigureClusters()const;
protected:
void parse(const std::string &payload);
private:
std::vector<FigureClustersItem> figureClusters_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_BATCHGETFIGURECLUSTERRESULT_H_

View File

@@ -30,17 +30,17 @@ class ALIBABACLOUD_IMM_EXPORT BatchGetFileMetaRequest : public RpcServiceRequest
public:
BatchGetFileMetaRequest();
~BatchGetFileMetaRequest();
std::vector<std::string> getURIs() const;
void setURIs(const std::vector<std::string> &uRIs);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::vector<std::string> getURIs() const;
void setURIs(const std::vector<std::string> &uRIs);
private:
std::vector<std::string> uRIs_;
std::string projectName_;
std::string datasetName_;
std::string projectName_;
std::vector<std::string> uRIs_;
};
} // namespace Model
} // namespace Imm

View File

@@ -28,6 +28,19 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT BatchIndexFileMetaRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct Files {
std::map<std::string, std::string> customLabels;
struct FiguresItem {
@@ -46,22 +59,25 @@ public:
};
BatchIndexFileMetaRequest();
~BatchIndexFileMetaRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::vector<Files> getFiles() const;
void setFiles(const std::vector<Files> &files);
private:
std::string projectName_;
std::string notifyTopicName_;
Notification notification_;
std::string notifyEndpoint_;
std::string datasetName_;
std::string projectName_;
std::string notifyTopicName_;
std::vector<Files> files_;
};
} // namespace Model

View File

@@ -46,16 +46,16 @@ public:
};
BatchUpdateFileMetaRequest();
~BatchUpdateFileMetaRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::vector<Files> getFiles() const;
void setFiles(const std::vector<Files> &files);
private:
std::string projectName_;
std::string datasetName_;
std::string projectName_;
std::vector<Files> files_;
};
} // namespace Model

View File

@@ -28,31 +28,34 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CompareImageFacesRequest : public RpcServiceRequest {
public:
struct Source {
std::string uRI2;
std::string uRI1;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CompareImageFacesRequest();
~CompareImageFacesRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getFaceIdA() const;
void setFaceIdA(const std::string &faceIdA);
std::string getFaceIdB() const;
void setFaceIdB(const std::string &faceIdB);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageUriB() const;
void setImageUriB(const std::string &imageUriB);
std::string getImageUriA() const;
void setImageUriA(const std::string &imageUriA);
std::string getSetId() const;
void setSetId(const std::string &setId);
Source getSource() const;
void setSource(const Source &source);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
private:
std::string project_;
std::string faceIdA_;
std::string faceIdB_;
std::string accessKeyId_;
std::string imageUriB_;
std::string imageUriA_;
std::string setId_;
Source source_;
std::string projectName_;
CredentialConfig credentialConfig_;
};
} // namespace Model
} // namespace Imm

View File

@@ -32,55 +32,17 @@ namespace AlibabaCloud
class ALIBABACLOUD_IMM_EXPORT CompareImageFacesResult : public ServiceResult
{
public:
struct FaceA
{
struct FaceAttributes
{
struct FaceBoundary
{
int left;
int top;
int height;
int width;
};
FaceBoundary faceBoundary;
};
std::string faceId;
FaceAttributes faceAttributes;
};
struct FaceB
{
struct FaceAttributes1
{
struct FaceBoundary2
{
int left;
int top;
int height;
int width;
};
FaceBoundary2 faceBoundary2;
};
std::string faceId;
FaceAttributes1 faceAttributes1;
};
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:
float similarity_;
FaceA faceA_;
std::string setId_;
FaceB faceB_;
};
}

View File

@@ -1,102 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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 getProject() const;
void setProject(const std::string &project);
bool getPdfVector() const;
void setPdfVector(bool pdfVector);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getPassword() const;
void setPassword(const std::string &password);
long getStartPage() const;
void setStartPage(long startPage);
bool getFitToPagesWide() const;
void setFitToPagesWide(bool fitToPagesWide);
std::string getTgtFilePrefix() const;
void setTgtFilePrefix(const std::string &tgtFilePrefix);
std::string getModelId() const;
void setModelId(const std::string &modelId);
long getMaxSheetRow() const;
void setMaxSheetRow(long maxSheetRow);
long getMaxSheetCount() const;
void setMaxSheetCount(long maxSheetCount);
long getEndPage() const;
void setEndPage(long endPage);
std::string getTgtFileSuffix() const;
void setTgtFileSuffix(const std::string &tgtFileSuffix);
bool getSheetOnePage() const;
void setSheetOnePage(bool sheetOnePage);
long getMaxSheetCol() const;
void setMaxSheetCol(long maxSheetCol);
std::string getTgtType() const;
void setTgtType(const std::string &tgtType);
bool getHidecomments() const;
void setHidecomments(bool hidecomments);
bool getFitToPagesTall() const;
void setFitToPagesTall(bool fitToPagesTall);
std::string getSrcUri() const;
void setSrcUri(const std::string &srcUri);
std::string getTgtFilePages() const;
void setTgtFilePages(const std::string &tgtFilePages);
std::string getTgtUri() const;
void setTgtUri(const std::string &tgtUri);
private:
std::string srcType_;
std::string project_;
bool pdfVector_;
std::string accessKeyId_;
std::string password_;
long startPage_;
bool fitToPagesWide_;
std::string tgtFilePrefix_;
std::string modelId_;
long maxSheetRow_;
long maxSheetCount_;
long endPage_;
std::string tgtFileSuffix_;
bool sheetOnePage_;
long maxSheetCol_;
std::string tgtType_;
bool hidecomments_;
bool fitToPagesTall_;
std::string srcUri_;
std::string tgtFilePages_;
std::string tgtUri_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATREQUEST_H_

View File

@@ -0,0 +1,90 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEARCHIVEFILEINSPECTIONTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEARCHIVEFILEINSPECTIONTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateArchiveFileInspectionTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CreateArchiveFileInspectionTaskRequest();
~CreateArchiveFileInspectionTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getPassword() const;
void setPassword(const std::string &password);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string userData_;
Notification notification_;
std::string password_;
std::string notifyEndpoint_;
std::string targetURI_;
std::string projectName_;
std::string notifyTopicName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEARCHIVEFILEINSPECTIONTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEARCHIVEFILEINSPECTIONTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEARCHIVEFILEINSPECTIONTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateArchiveFileInspectionTaskResult : public ServiceResult
{
public:
CreateArchiveFileInspectionTaskResult();
explicit CreateArchiveFileInspectionTaskResult(const std::string &payload);
~CreateArchiveFileInspectionTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEARCHIVEFILEINSPECTIONTASKRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEBATCHREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEBATCHREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateBatchRequest : public RpcServiceRequest {
public:
struct Notification {
std::string endpoint;
std::string topic;
};
struct Input {
struct OSS {
std::string bucket;
std::string prefix;
std::string string;
std::vector<std::string> matchExpressions;
};
OSS oSS;
};
struct Actions {
std::string name;
std::string string;
std::vector<std::string> parameters;
};
CreateBatchRequest();
~CreateBatchRequest();
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
Input getInput() const;
void setInput(const Input &input);
std::string getServiceRole() const;
void setServiceRole(const std::string &serviceRole);
std::vector<Actions> getActions() const;
void setActions(const std::vector<Actions> &actions);
private:
Notification notification_;
std::string projectName_;
std::map<std::string, std::string> tags_;
Input input_;
std::string serviceRole_;
std::vector<Actions> actions_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEBATCHREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEBATCHRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEBATCHRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteOfficeConversionTaskResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT CreateBatchResult : public ServiceResult
{
public:
DeleteOfficeConversionTaskResult();
explicit DeleteOfficeConversionTaskResult(const std::string &payload);
~DeleteOfficeConversionTaskResult();
CreateBatchResult();
explicit CreateBatchResult(const std::string &payload);
~CreateBatchResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEBATCHRESULT_H_

View File

@@ -30,19 +30,19 @@ class ALIBABACLOUD_IMM_EXPORT CreateBindingRequest : public RpcServiceRequest {
public:
CreateBindingRequest();
~CreateBindingRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getBucketOwnerId() const;
void setBucketOwnerId(const std::string &bucketOwnerId);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getURI() const;
void setURI(const std::string &uRI);
private:
std::string projectName_;
std::string bucketOwnerId_;
std::string datasetName_;
std::string projectName_;
std::string uRI_;
};
} // namespace Model

View File

@@ -0,0 +1,116 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATECOMPRESSPOINTCLOUDTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATECOMPRESSPOINTCLOUDTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateCompressPointCloudTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct OctreeOption {
double pointResolution;
std::string libraryName;
bool doVoxelGridDownDownSampling;
double octreeResolution;
};
struct KdtreeOption {
int quantizationBits;
std::string libraryName;
int compressionLevel;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CreateCompressPointCloudTaskRequest();
~CreateCompressPointCloudTaskRequest();
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getCompressMethod() const;
void setCompressMethod(const std::string &compressMethod);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::vector<std::string> getPointCloudFields() const;
void setPointCloudFields(const std::vector<std::string> &pointCloudFields);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::string getPointCloudFileFormat() const;
void setPointCloudFileFormat(const std::string &pointCloudFileFormat);
OctreeOption getOctreeOption() const;
void setOctreeOption(const OctreeOption &octreeOption);
std::string getUserData() const;
void setUserData(const std::string &userData);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
KdtreeOption getKdtreeOption() const;
void setKdtreeOption(const KdtreeOption &kdtreeOption);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
private:
Notification notification_;
std::string notifyEndpoint_;
std::string compressMethod_;
std::string projectName_;
std::string notifyTopicName_;
std::map<std::string, std::string> tags_;
std::vector<std::string> pointCloudFields_;
std::string sourceURI_;
std::string pointCloudFileFormat_;
OctreeOption octreeOption_;
std::string userData_;
std::string targetURI_;
KdtreeOption kdtreeOption_;
CredentialConfig credentialConfig_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATECOMPRESSPOINTCLOUDTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATECOMPRESSPOINTCLOUDTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATECOMPRESSPOINTCLOUDTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateCompressPointCloudTaskResult : public ServiceResult
{
public:
CreateCompressPointCloudTaskResult();
explicit CreateCompressPointCloudTaskResult(const std::string &payload);
~CreateCompressPointCloudTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATECOMPRESSPOINTCLOUDTASKRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateCustomizedStoryRequest : public RpcServiceRequest {
public:
struct Cover {
std::string uRI;
};
struct Files {
std::string uRI;
};
CreateCustomizedStoryRequest();
~CreateCustomizedStoryRequest();
std::map<std::string, std::string> getCustomLabels() const;
void setCustomLabels(const std::map<std::string, std::string> &customLabels);
Cover getCover() const;
void setCover(const Cover &cover);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getStoryType() const;
void setStoryType(const std::string &storyType);
std::string getStorySubType() const;
void setStorySubType(const std::string &storySubType);
std::vector<Files> getFiles() const;
void setFiles(const std::vector<Files> &files);
std::string getStoryName() const;
void setStoryName(const std::string &storyName);
private:
std::map<std::string, std::string> customLabels_;
Cover cover_;
std::string datasetName_;
std::string projectName_;
std::string storyType_;
std::string storySubType_;
std::vector<Files> files_;
std::string storyName_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DECODEBLINDWATERMARKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DECODEBLINDWATERMARKRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DecodeBlindWatermarkResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT CreateCustomizedStoryResult : public ServiceResult
{
public:
DecodeBlindWatermarkResult();
explicit DecodeBlindWatermarkResult(const std::string &payload);
~DecodeBlindWatermarkResult();
std::string getTargetUri()const;
CreateCustomizedStoryResult();
explicit CreateCustomizedStoryResult(const std::string &payload);
~CreateCustomizedStoryResult();
std::string getObjectId()const;
protected:
void parse(const std::string &payload);
private:
std::string targetUri_;
std::string objectId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DECODEBLINDWATERMARKRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATECUSTOMIZEDSTORYRESULT_H_

View File

@@ -30,35 +30,35 @@ class ALIBABACLOUD_IMM_EXPORT CreateDatasetRequest : public RpcServiceRequest {
public:
CreateDatasetRequest();
~CreateDatasetRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
long getDatasetMaxBindCount() const;
void setDatasetMaxBindCount(long datasetMaxBindCount);
long getDatasetMaxTotalFileSize() const;
void setDatasetMaxTotalFileSize(long datasetMaxTotalFileSize);
std::string getDescription() const;
void setDescription(const std::string &description);
long getDatasetMaxRelationCount() const;
void setDatasetMaxRelationCount(long datasetMaxRelationCount);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getDescription() const;
void setDescription(const std::string &description);
long getDatasetMaxEntityCount() const;
void setDatasetMaxEntityCount(long datasetMaxEntityCount);
long getDatasetMaxFileCount() const;
void setDatasetMaxFileCount(long datasetMaxFileCount);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
long getDatasetMaxEntityCount() const;
void setDatasetMaxEntityCount(long datasetMaxEntityCount);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
long getDatasetMaxTotalFileSize() const;
void setDatasetMaxTotalFileSize(long datasetMaxTotalFileSize);
private:
std::string projectName_;
long datasetMaxBindCount_;
long datasetMaxTotalFileSize_;
std::string description_;
long datasetMaxRelationCount_;
std::string datasetName_;
std::string description_;
long datasetMaxEntityCount_;
long datasetMaxFileCount_;
std::string projectName_;
long datasetMaxEntityCount_;
std::string templateId_;
long datasetMaxTotalFileSize_;
};
} // namespace Model
} // namespace Imm

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFACESSEARCHINGTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFACESSEARCHINGTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateFacesSearchingTaskRequest : public RpcServiceRequest {
public:
struct Sources {
std::string uRI;
};
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
CreateFacesSearchingTaskRequest();
~CreateFacesSearchingTaskRequest();
long getTopK() const;
void setTopK(long topK);
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getMaxResult() const;
void setMaxResult(const std::string &maxResult);
private:
long topK_;
std::vector<Sources> sources_;
std::string userData_;
Notification notification_;
std::string datasetName_;
std::string projectName_;
std::string notifyTopicName_;
std::string maxResult_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFACESSEARCHINGTASKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFACESSEARCHINGTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFACESSEARCHINGTASKRESULT_H_
#include <string>
#include <vector>
@@ -29,25 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateVideoCompressTaskResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT CreateFacesSearchingTaskResult : public ServiceResult
{
public:
CreateVideoCompressTaskResult();
explicit CreateVideoCompressTaskResult(const std::string &payload);
~CreateVideoCompressTaskResult();
CreateFacesSearchingTaskResult();
explicit CreateFacesSearchingTaskResult(const std::string &payload);
~CreateFacesSearchingTaskResult();
std::string getTaskId()const;
std::string getTaskType()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string taskType_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFACESSEARCHINGTASKRESULT_H_

View File

@@ -28,27 +28,43 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateFigureClusteringTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
CreateFigureClusteringTaskRequest();
~CreateFigureClusteringTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
private:
std::string userData_;
std::string projectName_;
std::string notifyTopicName_;
Notification notification_;
std::string notifyEndpoint_;
std::string datasetName_;
std::string projectName_;
std::string notifyTopicName_;
std::map<std::string, std::string> tags_;
};
} // namespace Model

View File

@@ -28,34 +28,53 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateFigureClustersMergingTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
CreateFigureClustersMergingTaskRequest();
~CreateFigureClustersMergingTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getFrom() const;
void setFrom(const std::string &from);
std::string getTo() const;
void setTo(const std::string &to);
std::vector<std::string> getFroms() const;
void setFroms(const std::vector<std::string> &froms);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::string getTo() const;
void setTo(const std::string &to);
private:
std::string userData_;
std::string projectName_;
std::string notifyTopicName_;
Notification notification_;
std::string notifyEndpoint_;
std::string datasetName_;
std::string from_;
std::string to_;
std::vector<std::string> froms_;
std::string projectName_;
std::string notifyTopicName_;
std::map<std::string, std::string> tags_;
std::string to_;
};
} // namespace Model
} // namespace Imm

View File

@@ -0,0 +1,103 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFILECOMPRESSIONTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFILECOMPRESSIONTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateFileCompressionTaskRequest : public RpcServiceRequest {
public:
struct Sources {
std::string alias;
std::string uRI;
};
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CreateFileCompressionTaskRequest();
~CreateFileCompressionTaskRequest();
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
std::string getSourceManifestURI() const;
void setSourceManifestURI(const std::string &sourceManifestURI);
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getPassword() const;
void setPassword(const std::string &password);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
bool getAllowCrossRegion() const;
void setAllowCrossRegion(bool allowCrossRegion);
std::string getCompressedFormat() const;
void setCompressedFormat(const std::string &compressedFormat);
private:
std::vector<Sources> sources_;
std::string sourceManifestURI_;
std::string userData_;
Notification notification_;
std::string password_;
std::string notifyEndpoint_;
std::string targetURI_;
std::string projectName_;
std::string notifyTopicName_;
CredentialConfig credentialConfig_;
bool allowCrossRegion_;
std::string compressedFormat_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFILECOMPRESSIONTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFILECOMPRESSIONTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFILECOMPRESSIONTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateFileCompressionTaskResult : public ServiceResult
{
public:
CreateFileCompressionTaskResult();
explicit CreateFileCompressionTaskResult(const std::string &payload);
~CreateFileCompressionTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFILECOMPRESSIONTASKRESULT_H_

View File

@@ -0,0 +1,97 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateFileUncompressionTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
struct Target {
std::string manifestURI;
std::string uRI;
};
CreateFileUncompressionTaskRequest();
~CreateFileUncompressionTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getPassword() const;
void setPassword(const std::string &password);
std::vector<std::string> getSelectedFiles() const;
void setSelectedFiles(const std::vector<std::string> &selectedFiles);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
Target getTarget() const;
void setTarget(const Target &target);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string userData_;
Notification notification_;
std::string password_;
std::vector<std::string> selectedFiles_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
CredentialConfig credentialConfig_;
Target target_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEDETECTVIDEOLABELSTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEDETECTVIDEOLABELSTASKRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateDetectVideoLabelsTaskResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT CreateFileUncompressionTaskResult : public ServiceResult
{
public:
CreateDetectVideoLabelsTaskResult();
explicit CreateDetectVideoLabelsTaskResult(const std::string &payload);
~CreateDetectVideoLabelsTaskResult();
CreateFileUncompressionTaskResult();
explicit CreateFileUncompressionTaskResult(const std::string &payload);
~CreateFileUncompressionTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
@@ -50,4 +50,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEDETECTVIDEOLABELSTASKRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEFILEUNCOMPRESSIONTASKRESULT_H_

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
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:
std::string jobType_;
std::string setId_;
std::string jobId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEGROUPFACESJOBRESULT_H_

View File

@@ -28,6 +28,19 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateImageModerationTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
@@ -43,39 +56,42 @@ public:
~CreateImageModerationTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::vector<std::string> getScenes() const;
void setScenes(const std::vector<std::string> &scenes);
long getMaxFrames() const;
void setMaxFrames(long maxFrames);
long getInterval() const;
void setInterval(long interval);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getReviewer() const;
void setReviewer(const std::string &reviewer);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::vector<std::string> getScenes() const;
void setScenes(const std::vector<std::string> &scenes);
long getInterval() const;
void setInterval(long interval);
private:
std::string userData_;
Notification notification_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::string notifyEndpoint_;
std::string sourceURI_;
std::vector<std::string> scenes_;
long maxFrames_;
long interval_;
CredentialConfig credentialConfig_;
std::string reviewer_;
std::map<std::string, std::string> tags_;
std::string sourceURI_;
std::vector<std::string> scenes_;
long interval_;
};
} // namespace Model
} // namespace Imm

View File

@@ -28,6 +28,19 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateImageSplicingTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct Sources {
long rotate;
std::string uRI;
@@ -45,56 +58,59 @@ public:
};
CreateImageSplicingTaskRequest();
~CreateImageSplicingTaskRequest();
long getPadding() const;
void setPadding(long padding);
long getAlign() const;
void setAlign(long align);
std::string getBackgroundColor() const;
void setBackgroundColor(const std::string &backgroundColor);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getScaleType() const;
void setScaleType(const std::string &scaleType);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
long getMargin() const;
void setMargin(long margin);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
long getAlign() const;
void setAlign(long align);
long getQuality() const;
void setQuality(long quality);
std::string getBackgroundColor() const;
void setBackgroundColor(const std::string &backgroundColor);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
std::string getUserData() const;
void setUserData(const std::string &userData);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
std::string getScaleType() const;
void setScaleType(const std::string &scaleType);
std::string getImageFormat() const;
void setImageFormat(const std::string &imageFormat);
std::string getDirection() const;
void setDirection(const std::string &direction);
long getPadding() const;
void setPadding(long padding);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
private:
long padding_;
long align_;
std::string backgroundColor_;
Notification notification_;
std::string notifyEndpoint_;
std::string scaleType_;
std::string projectName_;
long margin_;
std::string notifyTopicName_;
std::vector<Sources> sources_;
CredentialConfig credentialConfig_;
long align_;
long quality_;
std::string backgroundColor_;
std::map<std::string, std::string> tags_;
std::vector<Sources> sources_;
std::string userData_;
std::string notifyEndpoint_;
std::string targetURI_;
std::string scaleType_;
std::string imageFormat_;
std::string direction_;
long padding_;
CredentialConfig credentialConfig_;
};
} // namespace Model
} // namespace Imm

View File

@@ -0,0 +1,94 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEIMAGETOPDFTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEIMAGETOPDFTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateImageToPDFTaskRequest : public RpcServiceRequest {
public:
struct Sources {
long rotate;
std::string uRI;
};
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CreateImageToPDFTaskRequest();
~CreateImageToPDFTaskRequest();
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
private:
std::vector<Sources> sources_;
std::string userData_;
Notification notification_;
std::string notifyEndpoint_;
std::string targetURI_;
std::string projectName_;
std::string notifyTopicName_;
CredentialConfig credentialConfig_;
std::map<std::string, std::string> tags_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEIMAGETOPDFTASKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEGRABFRAMETASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEGRABFRAMETASKRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEIMAGETOPDFTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEIMAGETOPDFTASKRESULT_H_
#include <string>
#include <vector>
@@ -29,25 +29,25 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateGrabFrameTaskResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT CreateImageToPDFTaskResult : public ServiceResult
{
public:
CreateGrabFrameTaskResult();
explicit CreateGrabFrameTaskResult(const std::string &payload);
~CreateGrabFrameTaskResult();
CreateImageToPDFTaskResult();
explicit CreateImageToPDFTaskResult(const std::string &payload);
~CreateImageToPDFTaskResult();
std::string getTaskId()const;
std::string getTaskType()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string taskType_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEGRABFRAMETASKRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEIMAGETOPDFTASKRESULT_H_

View File

@@ -0,0 +1,85 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATELOCATIONDATECLUSTERINGTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATELOCATIONDATECLUSTERINGTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateLocationDateClusteringTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct LocationOptions {
std::string string;
std::vector<std::string> locationDateClusterLevels;
};
struct DateOptions {
long minDays;
long gapDays;
long maxDays;
};
CreateLocationDateClusteringTaskRequest();
~CreateLocationDateClusteringTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
LocationOptions getLocationOptions() const;
void setLocationOptions(const LocationOptions &locationOptions);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getTags() const;
void setTags(const std::string &tags);
DateOptions getDateOptions() const;
void setDateOptions(const DateOptions &dateOptions);
private:
std::string userData_;
Notification notification_;
std::string datasetName_;
std::string projectName_;
LocationOptions locationOptions_;
std::string notifyTopicName_;
std::string tags_;
DateOptions dateOptions_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATELOCATIONDATECLUSTERINGTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATELOCATIONDATECLUSTERINGTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATELOCATIONDATECLUSTERINGTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateLocationDateClusteringTaskResult : public ServiceResult
{
public:
CreateLocationDateClusteringTaskResult();
explicit CreateLocationDateClusteringTaskResult(const std::string &payload);
~CreateLocationDateClusteringTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATELOCATIONDATECLUSTERINGTASKRESULT_H_

View File

@@ -40,17 +40,6 @@ public:
double startTime;
std::string uRI;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
struct Targets {
std::string container;
struct Image {
@@ -66,6 +55,19 @@ public:
};
SnapshotsItem snapshotsItem;
std::vector<SnapshotsItem> snapshots;
struct AnimationsItem {
int number;
double frameRate;
std::string format;
int width;
double interval;
double startTime;
std::string scaleType;
std::string uRI;
int height;
};
AnimationsItem animationsItem;
std::vector<AnimationsItem> animations;
struct SpritesItem {
int tileHeight;
int number;
@@ -96,6 +98,8 @@ public:
Segment segment;
struct Subtitle {
bool disableSubtitle;
int integer;
std::vector<int> stream;
struct ExtractSubtitle {
std::string format;
std::string uRI;
@@ -103,6 +107,7 @@ public:
ExtractSubtitle extractSubtitle;
};
Subtitle subtitle;
bool stripMetadata;
struct Preset {
std::string name;
std::string type;
@@ -143,6 +148,8 @@ public:
std::vector<WatermarksItem> watermarks;
};
FilterVideo filterVideo;
int integer;
std::vector<int> stream;
bool disableVideo;
struct TranscodeVideo {
std::string resolutionOption;
@@ -167,6 +174,8 @@ public:
};
Video video;
struct Audio {
long long;
std::vector<long> stream;
bool disableAudio;
struct TranscodeAudio {
std::string codec;
@@ -186,34 +195,62 @@ public:
Audio audio;
std::string uRI;
float speed;
double pTSOffset;
};
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CreateMediaConvertTaskRequest();
~CreateMediaConvertTaskRequest();
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
std::vector<Targets> getTargets() const;
void setTargets(const std::vector<Targets> &targets);
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::vector<Sources> getSources() const;
void setSources(const std::vector<Sources> &sources);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::vector<Targets> getTargets() const;
void setTargets(const std::vector<Targets> &targets);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
private:
std::vector<Sources> sources_;
std::vector<Targets> targets_;
std::string userData_;
Notification notification_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::vector<Sources> sources_;
std::string notifyEndpoint_;
CredentialConfig credentialConfig_;
std::vector<Targets> targets_;
std::map<std::string, std::string> tags_;
};
} // namespace Model

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateMergeFaceGroupsJobRequest : public RpcServiceRequest {
public:
CreateMergeFaceGroupsJobRequest();
~CreateMergeFaceGroupsJobRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getCustomMessage() const;
void setCustomMessage(const std::string &customMessage);
std::string getGroupIdFrom() const;
void setGroupIdFrom(const std::string &groupIdFrom);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getGroupIdTo() const;
void setGroupIdTo(const std::string &groupIdTo);
std::string getSetId() const;
void setSetId(const std::string &setId);
private:
std::string project_;
std::string accessKeyId_;
std::string notifyEndpoint_;
std::string customMessage_;
std::string groupIdFrom_;
std::string notifyTopicName_;
std::string groupIdTo_;
std::string setId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEMERGEFACEGROUPSJOBREQUEST_H_

View File

@@ -28,88 +28,139 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateOfficeConversionTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct TrimPolicy {
bool disableDeleteUnusedPicture;
bool disableDeleteRepeatedStyle;
bool disableDeleteUnusedShape;
bool disableDeleteEmptyCell;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
CreateOfficeConversionTaskRequest();
~CreateOfficeConversionTaskRequest();
std::string getSrcType() const;
void setSrcType(const std::string &srcType);
std::string getProject() const;
void setProject(const std::string &project);
std::string getIdempotentToken() const;
void setIdempotentToken(const std::string &idempotentToken);
bool getPdfVector() const;
void setPdfVector(bool pdfVector);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getUserData() const;
void setUserData(const std::string &userData);
long getSheetCount() const;
void setSheetCount(long sheetCount);
bool getShowComments() const;
void setShowComments(bool showComments);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getPassword() const;
void setPassword(const std::string &password);
long getStartPage() const;
void setStartPage(long startPage);
std::string getPages() const;
void setPages(const std::string &pages);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
bool getFitToPagesWide() const;
void setFitToPagesWide(bool fitToPagesWide);
std::string getTgtFilePrefix() const;
void setTgtFilePrefix(const std::string &tgtFilePrefix);
std::string getSourceType() const;
void setSourceType(const std::string &sourceType);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getModelId() const;
void setModelId(const std::string &modelId);
int getDisplayDpi() const;
void setDisplayDpi(int displayDpi);
long getMaxSheetRow() const;
void setMaxSheetRow(long maxSheetRow);
long getMaxSheetCount() const;
void setMaxSheetCount(long maxSheetCount);
bool getFitToHeight() const;
void setFitToHeight(bool fitToHeight);
long getEndPage() const;
void setEndPage(long endPage);
std::string getTgtFileSuffix() const;
void setTgtFileSuffix(const std::string &tgtFileSuffix);
bool getSheetOnePage() const;
void setSheetOnePage(bool sheetOnePage);
long getMaxSheetCol() const;
void setMaxSheetCol(long maxSheetCol);
std::string getTgtType() const;
void setTgtType(const std::string &tgtType);
bool getHidecomments() const;
void setHidecomments(bool hidecomments);
bool getFitToPagesTall() const;
void setFitToPagesTall(bool fitToPagesTall);
std::string getSrcUri() const;
void setSrcUri(const std::string &srcUri);
std::string getTgtFilePages() const;
void setTgtFilePages(const std::string &tgtFilePages);
std::string getTgtUri() const;
void setTgtUri(const std::string &tgtUri);
bool getFitToWidth() const;
void setFitToWidth(bool fitToWidth);
long getQuality() const;
void setQuality(long quality);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
long getSheetIndex() const;
void setSheetIndex(long sheetIndex);
bool getHoldLineFeed() const;
void setHoldLineFeed(bool holdLineFeed);
bool getLongText() const;
void setLongText(bool longText);
std::string getTargetType() const;
void setTargetType(const std::string &targetType);
TrimPolicy getTrimPolicy() const;
void setTrimPolicy(const TrimPolicy &trimPolicy);
long getMaxSheetColumn() const;
void setMaxSheetColumn(long maxSheetColumn);
bool getFirstPage() const;
void setFirstPage(bool firstPage);
bool getPaperHorizontal() const;
void setPaperHorizontal(bool paperHorizontal);
std::string getUserData() const;
void setUserData(const std::string &userData);
long getScalePercentage() const;
void setScalePercentage(long scalePercentage);
long getStartPage() const;
void setStartPage(long startPage);
std::string getTargetURIPrefix() const;
void setTargetURIPrefix(const std::string &targetURIPrefix);
std::string getTargetURI() const;
void setTargetURI(const std::string &targetURI);
std::string getPaperSize() const;
void setPaperSize(const std::string &paperSize);
long getImageDPI() const;
void setImageDPI(long imageDPI);
bool getLongPicture() const;
void setLongPicture(bool longPicture);
long getMaxSheetRow() const;
void setMaxSheetRow(long maxSheetRow);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
private:
std::string srcType_;
std::string project_;
std::string idempotentToken_;
bool pdfVector_;
std::string accessKeyId_;
std::string userData_;
long sheetCount_;
bool showComments_;
Notification notification_;
std::string password_;
long startPage_;
std::string pages_;
std::string notifyEndpoint_;
bool fitToPagesWide_;
std::string tgtFilePrefix_;
std::string sourceType_;
std::string projectName_;
std::string notifyTopicName_;
std::string modelId_;
int displayDpi_;
long maxSheetRow_;
long maxSheetCount_;
bool fitToHeight_;
long endPage_;
std::string tgtFileSuffix_;
bool sheetOnePage_;
long maxSheetCol_;
std::string tgtType_;
bool hidecomments_;
bool fitToPagesTall_;
std::string srcUri_;
std::string tgtFilePages_;
std::string tgtUri_;
bool fitToWidth_;
long quality_;
std::map<std::string, std::string> tags_;
std::string sourceURI_;
long sheetIndex_;
bool holdLineFeed_;
bool longText_;
std::string targetType_;
TrimPolicy trimPolicy_;
long maxSheetColumn_;
bool firstPage_;
bool paperHorizontal_;
std::string userData_;
long scalePercentage_;
long startPage_;
std::string targetURIPrefix_;
std::string targetURI_;
std::string paperSize_;
long imageDPI_;
bool longPicture_;
long maxSheetRow_;
CredentialConfig credentialConfig_;
};
} // namespace Model
} // namespace Imm

View File

@@ -37,20 +37,14 @@ namespace AlibabaCloud
CreateOfficeConversionTaskResult();
explicit CreateOfficeConversionTaskResult(const std::string &payload);
~CreateOfficeConversionTaskResult();
std::string getStatus()const;
std::string getTaskId()const;
int getPercent()const;
std::string getCreateTime()const;
std::string getTgtLoc()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string status_;
std::string taskId_;
int percent_;
std::string createTime_;
std::string tgtLoc_;
std::string eventId_;
};
}

View File

@@ -30,44 +30,38 @@ class ALIBABACLOUD_IMM_EXPORT CreateProjectRequest : public RpcServiceRequest {
public:
CreateProjectRequest();
~CreateProjectRequest();
long getEngineConcurrency() const;
void setEngineConcurrency(long engineConcurrency);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
long getDatasetMaxBindCount() const;
void setDatasetMaxBindCount(long datasetMaxBindCount);
std::string getDescription() const;
void setDescription(const std::string &description);
long getDatasetMaxRelationCount() const;
void setDatasetMaxRelationCount(long datasetMaxRelationCount);
long getDatasetMaxFileCount() const;
void setDatasetMaxFileCount(long datasetMaxFileCount);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
long getProjectMaxDatasetCount() const;
void setProjectMaxDatasetCount(long projectMaxDatasetCount);
long getDatasetMaxEntityCount() const;
void setDatasetMaxEntityCount(long datasetMaxEntityCount);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
long getDatasetMaxTotalFileSize() const;
void setDatasetMaxTotalFileSize(long datasetMaxTotalFileSize);
std::string getServiceRole() const;
void setServiceRole(const std::string &serviceRole);
long getProjectQueriesPerSecond() const;
void setProjectQueriesPerSecond(long projectQueriesPerSecond);
long getDatasetMaxRelationCount() const;
void setDatasetMaxRelationCount(long datasetMaxRelationCount);
std::string getDescription() const;
void setDescription(const std::string &description);
long getDatasetMaxEntityCount() const;
void setDatasetMaxEntityCount(long datasetMaxEntityCount);
long getDatasetMaxFileCount() const;
void setDatasetMaxFileCount(long datasetMaxFileCount);
std::string getTemplateId() const;
void setTemplateId(const std::string &templateId);
private:
long engineConcurrency_;
std::string projectName_;
long datasetMaxBindCount_;
std::string description_;
long datasetMaxRelationCount_;
long datasetMaxFileCount_;
std::string projectName_;
long projectMaxDatasetCount_;
long datasetMaxEntityCount_;
std::string templateId_;
long datasetMaxTotalFileSize_;
std::string serviceRole_;
long projectQueriesPerSecond_;
long datasetMaxRelationCount_;
std::string description_;
long datasetMaxEntityCount_;
long datasetMaxFileCount_;
std::string templateId_;
};
} // namespace Model
} // namespace Imm

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
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 getVideoCount()const;
int getImageCount()const;
std::string getCreateTime()const;
std::string getSetName()const;
std::string getSetId()const;
int getVideoLength()const;
int getFaceCount()const;
protected:
void parse(const std::string &payload);
private:
std::string modifyTime_;
int videoCount_;
int imageCount_;
std::string createTime_;
std::string setName_;
std::string setId_;
int videoLength_;
int faceCount_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATESETRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_MERGEFIGURECLUSTERSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_MERGEFIGURECLUSTERSREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATESIMILARIMAGECLUSTERINGTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATESIMILARIMAGECLUSTERINGTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,38 +26,45 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT MergeFigureClustersRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT CreateSimilarImageClusteringTaskRequest : public RpcServiceRequest {
public:
MergeFigureClustersRequest();
~MergeFigureClustersRequest();
std::string getCustomMessage() const;
void setCustomMessage(const std::string &customMessage);
std::string getClusterIdFrom() const;
void setClusterIdFrom(const std::string &clusterIdFrom);
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
CreateSimilarImageClusteringTaskRequest();
~CreateSimilarImageClusteringTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getFigureType() const;
void setFigureType(const std::string &figureType);
std::string getClusterIdTo() const;
void setClusterIdTo(const std::string &clusterIdTo);
std::string getNotifyTopicEndpoint() const;
void setNotifyTopicEndpoint(const std::string &notifyTopicEndpoint);
std::string getTags() const;
void setTags(const std::string &tags);
private:
std::string customMessage_;
std::string clusterIdFrom_;
std::string userData_;
Notification notification_;
std::string datasetName_;
std::string projectName_;
std::string notifyTopicName_;
std::string datasetName_;
std::string figureType_;
std::string clusterIdTo_;
std::string notifyTopicEndpoint_;
std::string tags_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_MERGEFIGURECLUSTERSREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATESIMILARIMAGECLUSTERINGTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATESIMILARIMAGECLUSTERINGTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATESIMILARIMAGECLUSTERINGTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateSimilarImageClusteringTaskResult : public ServiceResult
{
public:
CreateSimilarImageClusteringTaskResult();
explicit CreateSimilarImageClusteringTaskResult(const std::string &payload);
~CreateSimilarImageClusteringTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATESIMILARIMAGECLUSTERINGTASKRESULT_H_

View File

@@ -28,34 +28,58 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateStoryRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct Address {
std::string country;
std::string province;
std::string city;
std::string district;
std::string township;
};
CreateStoryRequest();
~CreateStoryRequest();
long getMinFileCount() const;
void setMinFileCount(long minFileCount);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getCustomLabels() const;
void setCustomLabels(const std::string &customLabels);
std::string getStoryStartTime() const;
void setStoryStartTime(const std::string &storyStartTime);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getStoryType() const;
void setStoryType(const std::string &storyType);
std::string getCustomId() const;
void setCustomId(const std::string &customId);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::string getUserData() const;
void setUserData(const std::string &userData);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
long getMaxFileCount() const;
void setMaxFileCount(long maxFileCount);
std::string getStorySubType() const;
void setStorySubType(const std::string &storySubType);
long getMinFileCount() const;
void setMinFileCount(long minFileCount);
std::string getUserData() const;
void setUserData(const std::string &userData);
long getMaxFileCount() const;
void setMaxFileCount(long maxFileCount);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getStoryStartTime() const;
void setStoryStartTime(const std::string &storyStartTime);
Address getAddress() const;
void setAddress(const Address &address);
std::string getCustomId() const;
void setCustomId(const std::string &customId);
std::string getStoryEndTime() const;
void setStoryEndTime(const std::string &storyEndTime);
std::string getObjectId() const;
@@ -64,19 +88,21 @@ public:
void setStoryName(const std::string &storyName);
private:
long minFileCount_;
std::string projectName_;
std::string customLabels_;
std::string storyStartTime_;
Notification notification_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::string storyType_;
std::string customId_;
std::map<std::string, std::string> tags_;
std::string userData_;
std::string notifyEndpoint_;
long maxFileCount_;
std::string storySubType_;
long minFileCount_;
std::string userData_;
long maxFileCount_;
std::string datasetName_;
std::string storyStartTime_;
Address address_;
std::string customId_;
std::string storyEndTime_;
std::string objectId_;
std::string storyName_;

View File

@@ -0,0 +1,75 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATETRIGGERREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATETRIGGERREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateTriggerRequest : public RpcServiceRequest {
public:
struct Notification {
std::string endpoint;
std::string topic;
};
struct Input {
struct OSS {
std::string bucket;
std::string prefix;
std::string string;
std::vector<std::string> matchExpressions;
};
OSS oSS;
};
struct Actions {
std::string name;
std::string string;
std::vector<std::string> parameters;
};
CreateTriggerRequest();
~CreateTriggerRequest();
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
Input getInput() const;
void setInput(const Input &input);
std::string getServiceRole() const;
void setServiceRole(const std::string &serviceRole);
std::vector<Actions> getActions() const;
void setActions(const std::vector<Actions> &actions);
private:
Notification notification_;
std::string projectName_;
std::map<std::string, std::string> tags_;
Input input_;
std::string serviceRole_;
std::vector<Actions> actions_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATETRIGGERREQUEST_H_

View File

@@ -0,0 +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_CREATETRIGGERRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATETRIGGERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateTriggerResult : public ServiceResult
{
public:
CreateTriggerResult();
explicit CreateTriggerResult(const std::string &payload);
~CreateTriggerResult();
std::string getId()const;
protected:
void parse(const std::string &payload);
private:
std::string id_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATETRIGGERRESULT_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateVideoCompressTaskRequest : public RpcServiceRequest {
public:
CreateVideoCompressTaskRequest();
~CreateVideoCompressTaskRequest();
std::string getTargetSubtitle() const;
void setTargetSubtitle(const std::string &targetSubtitle);
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getTargetContainer() const;
void setTargetContainer(const std::string &targetContainer);
std::string getCustomMessage() const;
void setCustomMessage(const std::string &customMessage);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getTargetList() const;
void setTargetList(const std::string &targetList);
std::string getVideoUri() const;
void setVideoUri(const std::string &videoUri);
std::string getTargetSegment() const;
void setTargetSegment(const std::string &targetSegment);
private:
std::string targetSubtitle_;
std::string project_;
std::string accessKeyId_;
std::string notifyEndpoint_;
std::string targetContainer_;
std::string customMessage_;
std::string notifyTopicName_;
std::string targetList_;
std::string videoUri_;
std::string targetSegment_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOCOMPRESSTASKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEDETECTVIDEOLABELSTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEDETECTVIDEOLABELSTASKREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEVIDEOLABELCLASSIFICATIONTASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOLABELCLASSIFICATIONTASKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,8 +26,21 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateDetectVideoLabelsTaskRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT CreateVideoLabelClassificationTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
@@ -39,33 +52,36 @@ public:
std::string serviceRole;
std::string policy;
};
CreateDetectVideoLabelsTaskRequest();
~CreateDetectVideoLabelsTaskRequest();
CreateVideoLabelClassificationTaskRequest();
~CreateVideoLabelClassificationTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string userData_;
Notification notification_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::string sourceURI_;
std::string notifyEndpoint_;
CredentialConfig credentialConfig_;
std::map<std::string, std::string> tags_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEDETECTVIDEOLABELSTASKREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOLABELCLASSIFICATIONTASKREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEVIDEOLABELCLASSIFICATIONTASKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEVIDEOLABELCLASSIFICATIONTASKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT CreateVideoLabelClassificationTaskResult : public ServiceResult
{
public:
CreateVideoLabelClassificationTaskResult();
explicit CreateVideoLabelClassificationTaskResult(const std::string &payload);
~CreateVideoLabelClassificationTaskResult();
std::string getTaskId()const;
std::string getEventId()const;
protected:
void parse(const std::string &payload);
private:
std::string taskId_;
std::string eventId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEVIDEOLABELCLASSIFICATIONTASKRESULT_H_

View File

@@ -28,6 +28,19 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateVideoModerationTaskRequest : public RpcServiceRequest {
public:
struct Notification {
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
};
struct CredentialConfig {
struct ChainItem {
std::string role;
@@ -43,39 +56,42 @@ public:
~CreateVideoModerationTaskRequest();
std::string getUserData() const;
void setUserData(const std::string &userData);
Notification getNotification() const;
void setNotification(const Notification &notification);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::vector<std::string> getScenes() const;
void setScenes(const std::vector<std::string> &scenes);
long getMaxFrames() const;
void setMaxFrames(long maxFrames);
long getInterval() const;
void setInterval(long interval);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getReviewer() const;
void setReviewer(const std::string &reviewer);
std::map<std::string, std::string> getTags() const;
void setTags(const std::map<std::string, std::string> &tags);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::vector<std::string> getScenes() const;
void setScenes(const std::vector<std::string> &scenes);
long getInterval() const;
void setInterval(long interval);
private:
std::string userData_;
Notification notification_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::string notifyEndpoint_;
std::string sourceURI_;
std::vector<std::string> scenes_;
long maxFrames_;
long interval_;
CredentialConfig credentialConfig_;
std::string reviewer_;
std::map<std::string, std::string> tags_;
std::string sourceURI_;
std::vector<std::string> scenes_;
long interval_;
};
} // namespace Model
} // namespace Imm

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DECODEBLINDWATERMARKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DECODEBLINDWATERMARKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DecodeBlindWatermarkRequest : public RpcServiceRequest {
public:
DecodeBlindWatermarkRequest();
~DecodeBlindWatermarkRequest();
int getImageQuality() const;
void setImageQuality(int imageQuality);
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getWatermarkType() const;
void setWatermarkType(const std::string &watermarkType);
std::string getTargetUri() const;
void setTargetUri(const std::string &targetUri);
std::string getModel() const;
void setModel(const std::string &model);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
std::string getOriginalImageUri() const;
void setOriginalImageUri(const std::string &originalImageUri);
private:
int imageQuality_;
std::string project_;
std::string accessKeyId_;
std::string watermarkType_;
std::string targetUri_;
std::string model_;
std::string imageUri_;
std::string originalImageUri_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DECODEBLINDWATERMARKREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_GETSETREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETSETREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEBATCHREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEBATCHREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,20 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT GetSetRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT DeleteBatchRequest : public RpcServiceRequest {
public:
GetSetRequest();
~GetSetRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSetId() const;
void setSetId(const std::string &setId);
DeleteBatchRequest();
~DeleteBatchRequest();
std::string getId() const;
void setId(const std::string &id);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
private:
std::string project_;
std::string accessKeyId_;
std::string setId_;
std::string id_;
std::string projectName_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_GETSETREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEBATCHREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETESETRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETESETRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DELETEBATCHRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETEBATCHRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteSetResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT DeleteBatchResult : public ServiceResult
{
public:
DeleteSetResult();
explicit DeleteSetResult(const std::string &payload);
~DeleteSetResult();
std::string getSetId()const;
DeleteBatchResult();
explicit DeleteBatchResult(const std::string &payload);
~DeleteBatchResult();
protected:
void parse(const std::string &payload);
private:
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETESETRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEBATCHRESULT_H_

View File

@@ -30,20 +30,20 @@ class ALIBABACLOUD_IMM_EXPORT DeleteBindingRequest : public RpcServiceRequest {
public:
DeleteBindingRequest();
~DeleteBindingRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
bool getCleanup() const;
void setCleanup(bool cleanup);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getURI() const;
void setURI(const std::string &uRI);
bool getCleanup() const;
void setCleanup(bool cleanup);
private:
std::string projectName_;
bool cleanup_;
std::string datasetName_;
std::string projectName_;
std::string uRI_;
bool cleanup_;
};
} // namespace Model
} // namespace Imm

View File

@@ -30,14 +30,14 @@ class ALIBABACLOUD_IMM_EXPORT DeleteDatasetRequest : public RpcServiceRequest {
public:
DeleteDatasetRequest();
~DeleteDatasetRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
private:
std::string projectName_;
std::string datasetName_;
std::string projectName_;
};
} // namespace Model
} // namespace Imm

View File

@@ -30,16 +30,16 @@ class ALIBABACLOUD_IMM_EXPORT DeleteFileMetaRequest : public RpcServiceRequest {
public:
DeleteFileMetaRequest();
~DeleteFileMetaRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getURI() const;
void setURI(const std::string &uRI);
private:
std::string projectName_;
std::string datasetName_;
std::string projectName_;
std::string uRI_;
};
} // namespace Model

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DeleteImageRequest : public RpcServiceRequest {
public:
DeleteImageRequest();
~DeleteImageRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
std::string getSetId() const;
void setSetId(const std::string &setId);
private:
std::string project_;
std::string accessKeyId_;
std::string imageUri_;
std::string setId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEIMAGEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DELETESETREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETESETREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DELETELOCATIONDATECLUSTERREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETELOCATIONDATECLUSTERREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,23 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DeleteSetRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT DeleteLocationDateClusterRequest : public RpcServiceRequest {
public:
DeleteSetRequest();
~DeleteSetRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSetId() const;
void setSetId(const std::string &setId);
DeleteLocationDateClusterRequest();
~DeleteLocationDateClusterRequest();
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getObjectId() const;
void setObjectId(const std::string &objectId);
private:
std::string project_;
std::string accessKeyId_;
std::string setId_;
std::string datasetName_;
std::string projectName_;
std::string objectId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DELETESETREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DELETELOCATIONDATECLUSTERREQUEST_H_

View File

@@ -0,0 +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_DELETELOCATIONDATECLUSTERRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETELOCATIONDATECLUSTERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteLocationDateClusterResult : public ServiceResult
{
public:
DeleteLocationDateClusterResult();
explicit DeleteLocationDateClusterResult(const std::string &payload);
~DeleteLocationDateClusterResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETELOCATIONDATECLUSTERRESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DeleteOfficeConversionTaskRequest : public RpcServiceRequest {
public:
DeleteOfficeConversionTaskRequest();
~DeleteOfficeConversionTaskRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getTaskId() const;
void setTaskId(const std::string &taskId);
private:
std::string project_;
std::string accessKeyId_;
std::string taskId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEOFFICECONVERSIONTASKREQUEST_H_

View File

@@ -30,14 +30,11 @@ class ALIBABACLOUD_IMM_EXPORT DeleteProjectRequest : public RpcServiceRequest {
public:
DeleteProjectRequest();
~DeleteProjectRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
private:
std::string project_;
std::string accessKeyId_;
std::string projectName_;
};
} // namespace Model
} // namespace Imm

View File

@@ -30,16 +30,16 @@ class ALIBABACLOUD_IMM_EXPORT DeleteStoryRequest : public RpcServiceRequest {
public:
DeleteStoryRequest();
~DeleteStoryRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getObjectId() const;
void setObjectId(const std::string &objectId);
private:
std::string projectName_;
std::string datasetName_;
std::string projectName_;
std::string objectId_;
};
} // namespace Model

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_LISTSETSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_LISTSETSREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DELETETRIGGERREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETRIGGERREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,23 +26,20 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT ListSetsRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT DeleteTriggerRequest : public RpcServiceRequest {
public:
ListSetsRequest();
~ListSetsRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getMarker() const;
void setMarker(const std::string &marker);
DeleteTriggerRequest();
~DeleteTriggerRequest();
std::string getId() const;
void setId(const std::string &id);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
private:
std::string project_;
std::string accessKeyId_;
std::string marker_;
std::string id_;
std::string projectName_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_LISTSETSREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETRIGGERREQUEST_H_

View File

@@ -0,0 +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_DELETETRIGGERRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DELETETRIGGERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DeleteTriggerResult : public ServiceResult
{
public:
DeleteTriggerResult();
explicit DeleteTriggerResult(const std::string &payload);
~DeleteTriggerResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETETRIGGERRESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DeleteVideoRequest : public RpcServiceRequest {
public:
DeleteVideoRequest();
~DeleteVideoRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getResources() const;
void setResources(bool resources);
std::string getVideoUri() const;
void setVideoUri(const std::string &videoUri);
std::string getSetId() const;
void setSetId(const std::string &setId);
private:
std::string project_;
std::string accessKeyId_;
bool resources_;
std::string videoUri_;
std::string setId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEOREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
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:
std::string videoUri_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DELETEVIDEORESULT_H_

View File

@@ -28,19 +28,33 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectImageBodiesRequest : public RpcServiceRequest {
public:
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
DetectImageBodiesRequest();
~DetectImageBodiesRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
float getSensitivity() const;
void setSensitivity(float sensitivity);
private:
std::string project_;
std::string accessKeyId_;
std::string imageUri_;
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
float sensitivity_;
};
} // namespace Model
} // namespace Imm

View File

@@ -34,15 +34,15 @@ namespace AlibabaCloud
public:
struct BodiesItem
{
struct BodyBoundary
struct Boundary
{
int left;
int top;
int height;
int width;
long left;
long top;
long height;
long width;
};
float bodyConfidence;
BodyBoundary bodyBoundary;
float confidence;
Boundary boundary;
};
@@ -50,13 +50,11 @@ namespace AlibabaCloud
explicit DetectImageBodiesResult(const std::string &payload);
~DetectImageBodiesResult();
std::vector<BodiesItem> getBodies()const;
std::string getImageUri()const;
protected:
void parse(const std::string &payload);
private:
std::vector<BodiesItem> bodies_;
std::string imageUri_;
};
}

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTIMAGECARSREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGECARSREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectImageCarsRequest : public RpcServiceRequest {
public:
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
DetectImageCarsRequest();
~DetectImageCarsRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGECARSREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTQRCODESRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTQRCODESRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTIMAGECARSRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGECARSRESULT_H_
#include <string>
#include <vector>
@@ -29,48 +29,53 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DetectQRCodesResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT DetectImageCarsResult : public ServiceResult
{
public:
struct SuccessDetailsItem
struct CarsItem
{
struct QRCodesItem
struct Boundary
{
struct QRCodesRectangle
long left;
long top;
long height;
long width;
};
struct LicensePlatesItem
{
struct Boundary1
{
std::string left;
std::string top;
std::string height;
std::string width;
long left;
long top;
long height;
long width;
};
QRCodesRectangle qRCodesRectangle;
Boundary1 boundary1;
double confidence;
std::string content;
};
std::vector<SuccessDetailsItem::QRCodesItem> qRCodes;
std::string srcUri;
};
struct FailDetailsItem
{
std::string errorCode;
std::string errorMessage;
std::string srcUri;
double carColorConfidence;
double confidence;
std::string carType;
std::string carColor;
std::vector<CarsItem::LicensePlatesItem> licensePlates;
double carTypeConfidence;
Boundary boundary;
};
DetectQRCodesResult();
explicit DetectQRCodesResult(const std::string &payload);
~DetectQRCodesResult();
std::vector<SuccessDetailsItem> getSuccessDetails()const;
std::vector<FailDetailsItem> getFailDetails()const;
DetectImageCarsResult();
explicit DetectImageCarsResult(const std::string &payload);
~DetectImageCarsResult();
std::vector<CarsItem> getCars()const;
protected:
void parse(const std::string &payload);
private:
std::vector<SuccessDetailsItem> successDetails_;
std::vector<FailDetailsItem> failDetails_;
std::vector<CarsItem> cars_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTQRCODESRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGECARSRESULT_H_

View File

@@ -43,15 +43,15 @@ public:
~DetectImageCodesRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
std::string sourceURI_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm

View File

@@ -41,20 +41,20 @@ public:
};
DetectImageCroppingRequest();
~DetectImageCroppingRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
std::string getAspectRatios() const;
void setAspectRatios(const std::string &aspectRatios);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
std::string sourceURI_;
std::string aspectRatios_;
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm

View File

@@ -28,22 +28,30 @@ namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectImageFacesRequest : public RpcServiceRequest {
public:
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
DetectImageFacesRequest();
~DetectImageFacesRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRealUid() const;
void setRealUid(const std::string &realUid);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string project_;
std::string accessKeyId_;
std::string realUid_;
std::string imageUri_;
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm

View File

@@ -34,66 +34,56 @@ namespace AlibabaCloud
public:
struct FacesItem
{
struct FaceAttributes
struct Boundary
{
struct FaceBoundary
{
int left;
int top;
int height;
int width;
};
struct HeadPose
{
float pitch;
float roll;
float yaw;
};
FaceBoundary faceBoundary;
std::string beard;
float beardConfidence;
HeadPose headPose;
std::string glasses;
std::string mask;
float maskConfidence;
float glassesConfidence;
long left;
long top;
long height;
long width;
};
struct EmotionDetails
struct HeadPose
{
float cALM;
float sCARED;
float hAPPY;
float sURPRISED;
float sAD;
float dISGUSTED;
float aNGRY;
float pitch;
float roll;
float yaw;
};
std::string faceId;
float attractiveConfidence;
FaceAttributes faceAttributes;
float genderConfidence;
float emotionConfidence;
std::string beard;
float maskConfidence;
std::string gender;
EmotionDetails emotionDetails;
float faceConfidence;
float figureClusterConfidence;
Boundary boundary;
float beardConfidence;
std::string figureId;
std::string mouth;
std::string emotion;
long age;
float mouthConfidence;
HeadPose headPose;
std::string figureType;
float genderConfidence;
std::string mask;
float emotionConfidence;
float hatConfidence;
float glassesConfidence;
float sharpness;
std::string figureClusterId;
float faceQuality;
float attractive;
std::string emotion;
int age;
float ageConfidence;
float ageSD;
std::string glasses;
float figureConfidence;
std::string hat;
};
DetectImageFacesResult();
explicit DetectImageFacesResult(const std::string &payload);
~DetectImageFacesResult();
std::string getImageUri()const;
std::vector<FacesItem> getFaces()const;
protected:
void parse(const std::string &payload);
private:
std::string imageUri_;
std::vector<FacesItem> faces_;
};

View File

@@ -41,20 +41,20 @@ public:
};
DetectImageLabelsRequest();
~DetectImageLabelsRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
float getThreshold() const;
void setThreshold(float threshold);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
std::string sourceURI_;
float threshold_;
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectImageQRCodesRequest : public RpcServiceRequest {
public:
DetectImageQRCodesRequest();
~DetectImageQRCodesRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
private:
std::string project_;
std::string accessKeyId_;
std::string imageUri_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESREQUEST_H_

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DetectImageQRCodesResult : public ServiceResult
{
public:
struct QRCodesItem
{
struct QRCodeBoundary
{
int left;
int top;
int height;
int width;
};
std::string content;
QRCodeBoundary qRCodeBoundary;
};
DetectImageQRCodesResult();
explicit DetectImageQRCodesResult(const std::string &payload);
~DetectImageQRCodesResult();
std::string getImageUri()const;
std::vector<QRCodesItem> getQRCodes()const;
protected:
void parse(const std::string &payload);
private:
std::string imageUri_;
std::vector<QRCodesItem> qRCodes_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGEQRCODESRESULT_H_

View File

@@ -43,15 +43,15 @@ public:
~DetectImageScoreRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
std::string sourceURI_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm

View File

@@ -1,51 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectImageTagsRequest : public RpcServiceRequest {
public:
DetectImageTagsRequest();
~DetectImageTagsRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getRealUid() const;
void setRealUid(const std::string &realUid);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
private:
std::string project_;
std::string accessKeyId_;
std::string realUid_;
std::string imageUri_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSREQUEST_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DetectImageTagsResult : public ServiceResult
{
public:
struct TagsItem
{
float centricScore;
std::string tagName;
float tagConfidence;
std::string tagEnName;
std::string parentTagEnName;
int tagLevel;
std::string parentTagName;
};
DetectImageTagsResult();
explicit DetectImageTagsResult(const std::string &payload);
~DetectImageTagsResult();
std::string getImageUri()const;
std::vector<TagsItem> getTags()const;
protected:
void parse(const std::string &payload);
private:
std::string imageUri_;
std::vector<TagsItem> tags_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTIMAGETAGSRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTMEDIAMETAREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTMEDIAMETAREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectMediaMetaRequest : public RpcServiceRequest {
public:
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
DetectMediaMetaRequest();
~DetectMediaMetaRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTMEDIAMETAREQUEST_H_

View File

@@ -0,0 +1,171 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_DETECTMEDIAMETARESULT_H_
#define ALIBABACLOUD_IMM_MODEL_DETECTMEDIAMETARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT DetectMediaMetaResult : public ServiceResult
{
public:
struct VideoStreamsItem
{
std::string codecTimeBase;
std::string rotate;
std::string sampleAspectRatio;
std::string colorSpace;
long index;
std::string colorRange;
std::string codecName;
long bitDepth;
std::string profile;
std::string colorPrimaries;
std::string language;
long height;
std::string pixelFormat;
long width;
std::string timeBase;
std::string colorTransfer;
std::string codecTag;
std::string frameRate;
long frameCount;
double startTime;
double duration;
long bitrate;
std::string displayAspectRatio;
std::string codecTagString;
long hasBFrames;
std::string averageFrameRate;
std::string codecLongName;
long level;
};
struct AudioStreamsItem
{
std::string codecTag;
std::string codecTimeBase;
std::string channelLayout;
long frameCount;
double startTime;
long index;
double duration;
std::string codecName;
long bitrate;
std::string sampleFormat;
long channels;
std::string codecTagString;
long sampleRate;
std::string language;
std::string codecLongName;
std::string lyric;
std::string timeBase;
};
struct SubtitlesItem
{
std::string codecTag;
std::string codecTagString;
std::string language;
std::string content;
std::string codecLongName;
double startTime;
long index;
double duration;
long height;
std::string codecName;
long bitrate;
long width;
};
struct AddressesItem
{
std::string language;
std::string township;
std::string addressLine;
std::string country;
std::string city;
std::string district;
std::string province;
};
DetectMediaMetaResult();
explicit DetectMediaMetaResult(const std::string &payload);
~DetectMediaMetaResult();
std::string getArtist()const;
std::string getProduceTime()const;
std::string getComposer()const;
std::vector<VideoStreamsItem> getVideoStreams()const;
long getSize()const;
long getVideoWidth()const;
std::string getFormatLongName()const;
long getProgramCount()const;
double getStartTime()const;
std::string getTitle()const;
std::string getAlbum()const;
double getDuration()const;
long getBitrate()const;
std::string getAlbumArtist()const;
std::vector<AudioStreamsItem> getAudioStreams()const;
std::vector<AddressesItem> getAddresses()const;
long getStreamCount()const;
std::string getPerformer()const;
std::string getLanguage()const;
long getVideoHeight()const;
std::vector<SubtitlesItem> getSubtitles()const;
std::string getFormatName()const;
std::string getLatLong()const;
protected:
void parse(const std::string &payload);
private:
std::string artist_;
std::string produceTime_;
std::string composer_;
std::vector<VideoStreamsItem> videoStreams_;
long size_;
long videoWidth_;
std::string formatLongName_;
long programCount_;
double startTime_;
std::string title_;
std::string album_;
double duration_;
long bitrate_;
std::string albumArtist_;
std::vector<AudioStreamsItem> audioStreams_;
std::vector<AddressesItem> addresses_;
long streamCount_;
std::string performer_;
std::string language_;
long videoHeight_;
std::vector<SubtitlesItem> subtitles_;
std::string formatName_;
std::string latLong_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTMEDIAMETARESULT_H_

View File

@@ -1,48 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT DetectQRCodesRequest : public RpcServiceRequest {
public:
DetectQRCodesRequest();
~DetectQRCodesRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getSrcUris() const;
void setSrcUris(const std::string &srcUris);
private:
std::string project_;
std::string accessKeyId_;
std::string srcUris_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_DETECTQRCODESREQUEST_H_

View File

@@ -30,14 +30,14 @@ class ALIBABACLOUD_IMM_EXPORT DetectTextAnomalyRequest : public RpcServiceReques
public:
DetectTextAnomalyRequest();
~DetectTextAnomalyRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getContent() const;
void setContent(const std::string &content);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
private:
std::string projectName_;
std::string content_;
std::string projectName_;
};
} // namespace Model
} // namespace Imm

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_ENCODEBLINDWATERMARKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_ENCODEBLINDWATERMARKREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT EncodeBlindWatermarkRequest : public RpcServiceRequest {
public:
EncodeBlindWatermarkRequest();
~EncodeBlindWatermarkRequest();
std::string getImageQuality() const;
void setImageQuality(const std::string &imageQuality);
std::string getWatermarkUri() const;
void setWatermarkUri(const std::string &watermarkUri);
std::string getProject() const;
void setProject(const std::string &project);
std::string getContent() const;
void setContent(const std::string &content);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getWatermarkType() const;
void setWatermarkType(const std::string &watermarkType);
std::string getTargetUri() const;
void setTargetUri(const std::string &targetUri);
std::string getModel() const;
void setModel(const std::string &model);
std::string getTargetImageType() const;
void setTargetImageType(const std::string &targetImageType);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
private:
std::string imageQuality_;
std::string watermarkUri_;
std::string project_;
std::string content_;
std::string accessKeyId_;
std::string watermarkType_;
std::string targetUri_;
std::string model_;
std::string targetImageType_;
std::string imageUri_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_ENCODEBLINDWATERMARKREQUEST_H_

View File

@@ -1,53 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_ENCODEBLINDWATERMARKRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_ENCODEBLINDWATERMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT EncodeBlindWatermarkResult : public ServiceResult
{
public:
EncodeBlindWatermarkResult();
explicit EncodeBlindWatermarkResult(const std::string &payload);
~EncodeBlindWatermarkResult();
std::string getContent()const;
std::string getTargetUri()const;
protected:
void parse(const std::string &payload);
private:
std::string content_;
std::string targetUri_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_ENCODEBLINDWATERMARKRESULT_H_

View File

@@ -0,0 +1,59 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_EXTRACTDOCUMENTTEXTREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_EXTRACTDOCUMENTTEXTREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT ExtractDocumentTextRequest : public RpcServiceRequest {
public:
struct CredentialConfig {
struct ChainItem {
std::string role;
std::string roleType;
std::string assumeRoleFor;
};
ChainItem chainItem;
std::vector<ChainItem> chain;
std::string serviceRole;
std::string policy;
};
ExtractDocumentTextRequest();
~ExtractDocumentTextRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
CredentialConfig getCredentialConfig() const;
void setCredentialConfig(const CredentialConfig &credentialConfig);
std::string getSourceURI() const;
void setSourceURI(const std::string &sourceURI);
private:
std::string projectName_;
CredentialConfig credentialConfig_;
std::string sourceURI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_EXTRACTDOCUMENTTEXTREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_
#ifndef ALIBABACLOUD_IMM_MODEL_EXTRACTDOCUMENTTEXTRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_EXTRACTDOCUMENTTEXTRESULT_H_
#include <string>
#include <vector>
@@ -29,23 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ConvertOfficeFormatResult : public ServiceResult
class ALIBABACLOUD_IMM_EXPORT ExtractDocumentTextResult : public ServiceResult
{
public:
ConvertOfficeFormatResult();
explicit ConvertOfficeFormatResult(const std::string &payload);
~ConvertOfficeFormatResult();
int getPageCount()const;
ExtractDocumentTextResult();
explicit ExtractDocumentTextResult(const std::string &payload);
~ExtractDocumentTextResult();
std::string getDocumentText()const;
protected:
void parse(const std::string &payload);
private:
int pageCount_;
std::string documentText_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_CONVERTOFFICEFORMATRESULT_H_
#endif // !ALIBABACLOUD_IMM_MODEL_EXTRACTDOCUMENTTEXTRESULT_H_

View File

@@ -1,129 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT FindImagesRequest : public RpcServiceRequest {
public:
FindImagesRequest();
~FindImagesRequest();
std::string getRemarksArrayBIn() const;
void setRemarksArrayBIn(const std::string &remarksArrayBIn);
std::string getProject() const;
void setProject(const std::string &project);
std::string getExternalId() const;
void setExternalId(const std::string &externalId);
std::string getFacesModifyTimeRange() const;
void setFacesModifyTimeRange(const std::string &facesModifyTimeRange);
std::string getOCRContentsMatch() const;
void setOCRContentsMatch(const std::string &oCRContentsMatch);
int getLimit() const;
void setLimit(int limit);
std::string getRemarksDPrefix() const;
void setRemarksDPrefix(const std::string &remarksDPrefix);
std::string getSourceType() const;
void setSourceType(const std::string &sourceType);
std::string getOrder() const;
void setOrder(const std::string &order);
std::string getGroupId() const;
void setGroupId(const std::string &groupId);
std::string getOrderBy() const;
void setOrderBy(const std::string &orderBy);
std::string getTagNames() const;
void setTagNames(const std::string &tagNames);
std::string getMarker() const;
void setMarker(const std::string &marker);
std::string getRemarksCPrefix() const;
void setRemarksCPrefix(const std::string &remarksCPrefix);
std::string getModifyTimeRange() const;
void setModifyTimeRange(const std::string &modifyTimeRange);
std::string getAddressLineContentsMatch() const;
void setAddressLineContentsMatch(const std::string &addressLineContentsMatch);
std::string getGender() const;
void setGender(const std::string &gender);
std::string getRemarksArrayAIn() const;
void setRemarksArrayAIn(const std::string &remarksArrayAIn);
std::string getImageSizeRange() const;
void setImageSizeRange(const std::string &imageSizeRange);
std::string getRemarksBPrefix() const;
void setRemarksBPrefix(const std::string &remarksBPrefix);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getLocationBoundary() const;
void setLocationBoundary(const std::string &locationBoundary);
std::string getImageTimeRange() const;
void setImageTimeRange(const std::string &imageTimeRange);
std::string getTagsModifyTimeRange() const;
void setTagsModifyTimeRange(const std::string &tagsModifyTimeRange);
std::string getAgeRange() const;
void setAgeRange(const std::string &ageRange);
std::string getRemarksAPrefix() const;
void setRemarksAPrefix(const std::string &remarksAPrefix);
std::string getSourceUriPrefix() const;
void setSourceUriPrefix(const std::string &sourceUriPrefix);
std::string getEmotion() const;
void setEmotion(const std::string &emotion);
std::string getCreateTimeRange() const;
void setCreateTimeRange(const std::string &createTimeRange);
std::string getSetId() const;
void setSetId(const std::string &setId);
private:
std::string remarksArrayBIn_;
std::string project_;
std::string externalId_;
std::string facesModifyTimeRange_;
std::string oCRContentsMatch_;
int limit_;
std::string remarksDPrefix_;
std::string sourceType_;
std::string order_;
std::string groupId_;
std::string orderBy_;
std::string tagNames_;
std::string marker_;
std::string remarksCPrefix_;
std::string modifyTimeRange_;
std::string addressLineContentsMatch_;
std::string gender_;
std::string remarksArrayAIn_;
std::string imageSizeRange_;
std::string remarksBPrefix_;
std::string accessKeyId_;
std::string locationBoundary_;
std::string imageTimeRange_;
std::string tagsModifyTimeRange_;
std::string ageRange_;
std::string remarksAPrefix_;
std::string sourceUriPrefix_;
std::string emotion_;
std::string createTimeRange_;
std::string setId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_FINDIMAGESREQUEST_H_

View File

@@ -1,208 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT FindImagesResult : public ServiceResult
{
public:
struct ImagesItem
{
struct Address
{
std::string township;
std::string addressLine;
std::string country;
std::string city;
std::string district;
std::string province;
};
struct ImageQuality
{
float clarityScore;
float compositionScore;
float color;
float contrastScore;
float exposure;
float overallScore;
float contrast;
float clarity;
float colorScore;
float exposureScore;
};
struct TagsItem
{
float centricScore;
float tagConfidence;
std::string tagName;
int tagLevel;
std::string parentTagName;
};
struct OCRItem
{
struct OCRBoundary
{
int left;
int top;
int height;
int width;
};
OCRBoundary oCRBoundary;
float oCRConfidence;
std::string oCRContents;
};
struct FacesItem
{
struct FaceAttributes
{
struct FaceBoundary
{
int left;
int top;
int height;
int width;
};
struct HeadPose
{
float pitch;
float roll;
float yaw;
};
FaceBoundary faceBoundary;
std::string beard;
float beardConfidence;
HeadPose headPose;
std::string glasses;
std::string mask;
float maskConfidence;
float glassesConfidence;
};
struct EmotionDetails
{
float cALM;
float sCARED;
float hAPPY;
float sURPRISED;
float sAD;
float dISGUSTED;
float aNGRY;
};
EmotionDetails emotionDetails;
std::string faceId;
float faceConfidence;
float faceQuality;
float attractive;
FaceAttributes faceAttributes;
float genderConfidence;
float emotionConfidence;
std::string gender;
std::string emotion;
int age;
std::string groupId;
};
struct CroppingSuggestionItem
{
struct CroppingBoundary
{
int left;
int top;
int height;
int width;
};
std::string aspectRatio;
float score;
CroppingBoundary croppingBoundary;
};
ImageQuality imageQuality;
std::string modifyTime;
Address address;
std::string sourceType;
std::string sourceUri;
std::string facesFailReason;
std::string croppingSuggestionStatus;
std::string croppingSuggestionFailReason;
std::string addressFailReason;
std::string remarksA;
std::string addressModifyTime;
std::string remarksB;
std::string imageFormat;
std::string tagsFailReason;
std::string remarksArrayB;
std::string facesModifyTime;
std::string exif;
std::string remarksC;
std::string remarksD;
int imageWidth;
std::string remarksArrayA;
std::string sourcePosition;
std::vector<ImagesItem::TagsItem> tags;
std::vector<ImagesItem::FacesItem> faces;
std::string addressStatus;
std::string facesStatus;
std::string imageQualityModifyTime;
std::vector<ImagesItem::CroppingSuggestionItem> croppingSuggestion;
std::string createTime;
std::string externalId;
std::string tagsModifyTime;
std::string imageQualityFailReason;
std::string orientation;
std::string imageUri;
std::string oCRStatus;
std::string oCRModifyTime;
std::string imageTime;
std::string croppingSuggestionModifyTime;
int imageHeight;
std::string imageQualityStatus;
std::string tagsStatus;
std::string oCRFailReason;
std::vector<ImagesItem::OCRItem> oCR;
int fileSize;
std::string location;
};
FindImagesResult();
explicit FindImagesResult(const std::string &payload);
~FindImagesResult();
std::vector<ImagesItem> getImages()const;
std::string getNextMarker()const;
std::string getSetId()const;
protected:
void parse(const std::string &payload);
private:
std::vector<ImagesItem> images_;
std::string nextMarker_;
std::string setId_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_FINDIMAGESRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT FindSimilarFacesRequest : public RpcServiceRequest {
public:
FindSimilarFacesRequest();
~FindSimilarFacesRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
float getMinSimilarity() const;
void setMinSimilarity(float minSimilarity);
std::string getResponseFormat() const;
void setResponseFormat(const std::string &responseFormat);
int getLimit() const;
void setLimit(int limit);
std::string getFaceId() const;
void setFaceId(const std::string &faceId);
std::string getImageUri() const;
void setImageUri(const std::string &imageUri);
std::string getSetId() const;
void setSetId(const std::string &setId);
private:
std::string project_;
std::string accessKeyId_;
float minSimilarity_;
std::string responseFormat_;
int limit_;
std::string faceId_;
std::string imageUri_;
std::string setId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESREQUEST_H_

View File

@@ -1,90 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF 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 <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT FindSimilarFacesResult : public ServiceResult
{
public:
struct FacesItem
{
struct FaceAttributes
{
struct FaceBoundary2
{
int left;
int top;
int height;
int width;
};
FaceBoundary2 faceBoundary2;
};
struct SimilarFacesItem
{
struct FaceAttributes1
{
struct FaceBoundary
{
int left;
int top;
int height;
int width;
};
FaceBoundary faceBoundary;
};
std::string faceId;
float similarity;
FaceAttributes1 faceAttributes1;
std::string externalId;
std::string imageUri;
};
std::string faceId;
FaceAttributes faceAttributes;
std::vector<FacesItem::SimilarFacesItem> similarFaces;
float similarity;
std::string externalId;
std::string imageUri;
};
FindSimilarFacesResult();
explicit FindSimilarFacesResult(const std::string &payload);
~FindSimilarFacesResult();
std::vector<FacesItem> getFaces()const;
protected:
void parse(const std::string &payload);
private:
std::vector<FacesItem> faces_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_FINDSIMILARFACESRESULT_H_

View File

@@ -30,23 +30,29 @@ class ALIBABACLOUD_IMM_EXPORT FuzzyQueryRequest : public RpcServiceRequest {
public:
FuzzyQueryRequest();
~FuzzyQueryRequest();
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getQuery() const;
void setQuery(const std::string &query);
long getMaxResults() const;
void setMaxResults(long maxResults);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getOrder() const;
void setOrder(const std::string &order);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getQuery() const;
void setQuery(const std::string &query);
std::string getSort() const;
void setSort(const std::string &sort);
long getMaxResults() const;
void setMaxResults(long maxResults);
private:
std::string projectName_;
std::string nextToken_;
std::string query_;
long maxResults_;
std::string datasetName_;
std::string order_;
std::string projectName_;
std::string query_;
std::string sort_;
long maxResults_;
};
} // namespace Model
} // namespace Imm

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_IMM_MODEL_CREATEGRABFRAMETASKREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_CREATEGRABFRAMETASKREQUEST_H_
#ifndef ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSEREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,35 +26,29 @@
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT CreateGrabFrameTaskRequest : public RpcServiceRequest {
class ALIBABACLOUD_IMM_EXPORT GenerateDRMLicenseRequest : public RpcServiceRequest {
public:
CreateGrabFrameTaskRequest();
~CreateGrabFrameTaskRequest();
std::string getProject() const;
void setProject(const std::string &project);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
GenerateDRMLicenseRequest();
~GenerateDRMLicenseRequest();
std::string getProtectionSystem() const;
void setProtectionSystem(const std::string &protectionSystem);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getCustomMessage() const;
void setCustomMessage(const std::string &customMessage);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getTargetList() const;
void setTargetList(const std::string &targetList);
std::string getVideoUri() const;
void setVideoUri(const std::string &videoUri);
std::string getKeyId() const;
void setKeyId(const std::string &keyId);
private:
std::string project_;
std::string accessKeyId_;
std::string protectionSystem_;
std::string notifyEndpoint_;
std::string customMessage_;
std::string projectName_;
std::string notifyTopicName_;
std::string targetList_;
std::string videoUri_;
std::string keyId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_CREATEGRABFRAMETASKREQUEST_H_
#endif // !ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSEREQUEST_H_

View File

@@ -0,0 +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_GENERATEDRMLICENSERESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GenerateDRMLicenseResult : public ServiceResult
{
public:
GenerateDRMLicenseResult();
explicit GenerateDRMLicenseResult(const std::string &payload);
~GenerateDRMLicenseResult();
long getStates()const;
std::string getLicense()const;
std::string getDeviceInfo()const;
protected:
void parse(const std::string &payload);
private:
long states_;
std::string license_;
std::string deviceInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSERESULT_H_

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